[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jailkit-dev] [bug #20071] /lib/tls removed from Debian (Testing), jailk
From: |
anonymous |
Subject: |
[Jailkit-dev] [bug #20071] /lib/tls removed from Debian (Testing), jailkit does not pick up on changes |
Date: |
Wed, 7 Mar 2018 19:06:30 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36 |
Follow-up Comment #3, bug #20071 (project jailkit):
Related to this, jk_cp does not correctly pick up changes to symlinks either.
Curiously, what it says it's doing (creating a symlink to the new target) is
correct, it just doesn't actually do it.
In this example, ld-linux-x86-64.so.2 pointed to a version of ld.so from
debian jessie; I updated to debian stretch and now the link points to a bad
filename:
address@hidden:/var/www/clients/client3/web8# ls -l lib64
total 0
lrwxrwxrwx 1 root root 32 Jul 28 2016 ld-linux-x86-64.so.2 ->
/lib/x86_64-linux-gnu/ld-2.19.so
address@hidden:/var/www/clients/client3/web8# ls -l /lib64/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 32 Jun 15 2017 /lib64/ld-linux-x86-64.so.2 ->
/lib/x86_64-linux-gnu/ld-2.24.so
I tried to force that symlink to update via jk_cp -f, and the command output
says it created the symlink correctly:
address@hidden:/var/www/clients/client3/web8# jk_cp -f -j `pwd`
/lib64/ld-linux-x86-64.so.2
Creating symlink /var/www/clients/client3/web8/lib64/ld-linux-x86-64.so.2 to
/lib/x86_64-linux-gnu/ld-2.24.so
Copying /lib/x86_64-linux-gnu/ld-2.24.so to
/var/www/clients/client3/web8/lib/x86_64-linux-gnu/ld-2.24.so
However in fact it did not change the symlink at all, it still points to the
old (removed) target:
address@hidden:/var/www/clients/client3/web8# md5sum
lib64/ld-linux-x86-64.so.2
md5sum: lib64/ld-linux-x86-64.so.2: No such file or directory
address@hidden:/var/www/clients/client3/web8# ls -l lib64/ld-linux-x86-64.so.2
lrwxrwxrwx 1 root root 32 Jul 28 2016 lib64/ld-linux-x86-64.so.2 ->
/lib/x86_64-linux-gnu/ld-2.19.so
address@hidden:/var/www/clients/client3/web8# ls -l
lib/x86_64-linux-gnu/ld-2.19.so
ls: cannot access 'lib/x86_64-linux-gnu/ld-2.19.so': No such file or
directory
address@hidden:/var/www/clients/client3/web8# ls -l
lib/x86_64-linux-gnu/ld-2.24.so
-rwxr-xr-x 1 root root 153288 Jun 15 2017 lib/x86_64-linux-gnu/ld-2.24.so
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20071>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Jailkit-dev] [bug #20071] /lib/tls removed from Debian (Testing), jailkit does not pick up on changes,
anonymous <=