[BlueOnyx:24971] CentOS8 / Blueonyx 5210R / issues with jailed rsync
Dirk Estenfeld
dirk.estenfeld at blackpoint.de
Thu Jun 17 11:16:53 -05 2021
Hello,
today a customer reported that rsync in his CentOS8/5210R jailed enviromnent ist not longer runinng:
[stackrr at orbital7 /]$ rsync
rsync: error while loading shared libraries: libpopt.so.0: cannot open shared object file: No such file or directory
I did a locate for libpopt.so.0 and did see that it should be present in every local lib64 directory:
[...]
/home/.sites/site3/usr/lib64/libpopt.so.0.0.0
/home/.sites/site30/home/usr/lib64/libpopt.so.0
/home/.sites/site30/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site30/usr/lib64/libpopt.so.0
/home/.sites/site30/usr/lib64/libpopt.so.0.0.0
/home/.sites/site35/home/usr/lib64/libpopt.so.0
/home/.sites/site35/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site35/usr/lib64/libpopt.so.0
/home/.sites/site35/usr/lib64/libpopt.so.0.0.0
/home/.sites/site37/home/usr/lib64/libpopt.so.0
/home/.sites/site37/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site37/usr/lib64/libpopt.so.0
/home/.sites/site37/usr/lib64/libpopt.so.0.0.0
/home/.sites/site39/home/usr/lib64/libpopt.so.0
/home/.sites/site39/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site39/usr/lib64/libpopt.so.0
/home/.sites/site39/usr/lib64/libpopt.so.0.0.0
/home/.sites/site4/home/usr/lib64/libpopt.so.0
/home/.sites/site4/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site4/usr/lib64/libpopt.so.0
/home/.sites/site4/usr/lib64/libpopt.so.0.0.0
/home/.sites/site41/home/usr/lib64/libpopt.so.0
/home/.sites/site41/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site41/usr/lib64/libpopt.so.0
/home/.sites/site41/usr/lib64/libpopt.so.0.0.0
/home/.sites/site43/home/usr/lib64/libpopt.so.0
/home/.sites/site43/home/usr/lib64/libpopt.so.0.0.0
/home/.sites/site43/usr/lib64/libpopt.so.0
/home/.sites/site43/usr/lib64/libpopt.so.0.0.0
[...]
However it is not:
ls -l /home/.sites/site30/home/usr/lib64/libpopt.so.0 /home/.sites/site35/usr/lib64/libpopt.so.0.0.0 /home/.sites/site4/home/usr/lib64/libpopt.so.0 /home/.sites/site43/home/usr/lib64/libpopt.so.0
ls: cannot access '/home/.sites/site30/home/usr/lib64/libpopt.so.0': No such file or directory
ls: cannot access '/home/.sites/site35/usr/lib64/libpopt.so.0.0.0': No such file or directory
ls: cannot access '/home/.sites/site4/home/usr/lib64/libpopt.so.0': No such file or directory
ls: cannot access '/home/.sites/site43/home/usr/lib64/libpopt.so.0': No such file or directory
alternatively:
ls -l /home/.sites/site30/home/usr/lib64/libpopt.* /home/.sites/site35/usr/lib64/libpopt.* /home/.sites/site4/home/usr/lib64/libpopt.* /home/.sites/site43/home/usr/lib64/libpopt.*
ls: cannot access '/home/.sites/site30/home/usr/lib64/libpopt.*': No such file or directory
ls: cannot access '/home/.sites/site35/usr/lib64/libpopt.*': No such file or directory
ls: cannot access '/home/.sites/site4/home/usr/lib64/libpopt.*': No such file or directory
ls: cannot access '/home/.sites/site43/home/usr/lib64/libpopt.*': No such file or directory
For a site where the client actively uses rsync, I have now done the following workaround:
cp /usr/lib64/libpopt.so.0.0.1 /home/.sites/site37/usr/lib64/
cd /home/.sites/site37/usr/lib64/
ln -s libpopt.so.0.0.1 libpopt.so.0
ls -l | grep pop
lrwxrwxrwx 1 root root 16 Jun 17 18:07 libpopt.so.0 -> libpopt.so.0.0.1
-rwxr-xr-x 1 root root 54688 Jun 17 18:07 libpopt.so.0.0.1
Now rsync is running again.
Now the question is why are the libpopt.so.0.0.0 files not longer in the site<nr>/usr/lib64 directorys and why is in in /usr/lib64 libpopt.so.0.0.1 now and not longer libpopt.so.0.0.0?
@Michael Stauber<mailto:mstauber at solarspeed.net> - maybe you can do some research and find a permanent fix fort hat?
Best regards,
Dirk
blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20210617/cf9186a8/attachment.html>
More information about the Blueonyx
mailing list