Die 20.12.2017 hora 21:26 scripsi:
> I've recently upgraded Bacula on an openSUSE Leap 42.3 system from
> release 5.2.13 to the release 7.4.4 packages from
> https://build.opensuse.org/package/show/home%3AXimi1970%3AopenSUSE%3AExtra/bacula
> [...] After installation of the bacula-director
> and bacula-mysql packages, the symlinks for the libbaccats library in
> /usr/lib64 look like this:
> 
> libbaccats.so -> /etc/alternatives/libbaccats.so
> libbaccats-mysql.so -> libbaccats-mysql-7.4.4.so
> libbaccats-stub.so -> libbaccats-7.4.4.so
> libbaccats-7.4.4.so -> libbaccats-stub-7.4.4.so
> 
> The last two are obviously nonsense and cause any attempts to run the
> director or the dbcheck utility to fail with the error message:
> 
> Fatal error: Please replace this null libbaccats library with a proper one.
> 
> This is of course easily fixed by issuing the commands:
> 
> ln -sf libbaccats-stub-7.4.4.so libbaccats-stub.so
> ln -sf /etc/alternatives/libbaccats-7.4.4.so libbaccats-7.4.4.so
> 
> [But] Every other day or so,
> "something" resets the libbaccats-7.4.4.so symlink to the incorrect
> value libbaccats-stub-7.4.4.so.

After some observation it looks like the breakage happens every time I
install or update some package via RPM. For example, the last time it
happened, the bad link showed

# stat /usr/lib64/libbaccats-7.4.4.so
  File: '/usr/lib64/libbaccats-7.4.4.so' -> 'libbaccats-stub.so'
  Size: 18              Blocks: 0          IO Block: 4096   symbolic link
Device: fe01h/65025d    Inode: 1310818     Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2017-12-24 11:34:45.215051071 +0100
Modify: 2017-12-24 11:34:44.923039440 +0100
Change: 2017-12-24 11:34:44.923039440 +0100
 Birth: -

which fell exactly in the time when zypper installed an update

2017-12-24 11:34:14 <1> xenon(7684) [zypp++]
ExternalProgram.cc(start_program):249 Executing 'rpm' '--root' '/'
'--dbpath' '/var/lib/rpm' '-U' '--percent' '--noglob' '--force'
'--nodeps' '--'
'/var/cache/zypp/packages/download.opensuse.org-oss_1/x86_64/libevdocument3-4-3.20.2-6.1.x86_64.rpm'
2017-12-24 11:34:14 <1> xenon(7684) [zypp++]
ExternalProgram.cc(start_program):412 pid 7718 launched
2017-12-24 11:34:45 <1> xenon(7684) [zypp++]
ExternalProgram.cc(checkStatus):513 Pid 7718 successfully completed

The system was not otherwise in use at that time so I see no other
candidate for causing the damage.

-- 
Tilman Schmidt                    E-Mail: til...@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeöffnet mindestens haltbar bis: (siehe Rückseite)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to