Die 20.12.2017 hora 21:26 scripsi:
> 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
[...]
> 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.

The culprit has been found. It is the ldconfig(8) command which is run
by the system on various occasions, such as from RPM post-install
scripts. If I run ldconfig manually it reproducibly recreates the bad
symlink.

Now why is ldconfig doing that and how can I change that misbehaviour?

-- 
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