Public bug reported:

The following bug happens within i386 architecture-structures. I have
tested it with Ubuntu 14.04 (tahr) and 14.10 (unicorn).

strace tlsdate -V
...
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or 
directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
writev(2, [{"tlsdate", 7}, {": ", 2}, {"error while loading shared libra"..., 
36}, {": ", 2}, {"libc.so.6", 9}, {": ", 2}, {"cannot open shared object file", 
30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10tlsdate: error 
while loading shared libraries: libc.so.6: cannot open shared object file: No 
such file or directory
) = 116
exit_group(127)                         = ?
+++ exited with 127 +++

----

If I symlink the libc.so.6 to search path, I get a "permission denied" error.
ln -s /lib/i386-linux-gnu/libc-2.19.so /usr/lib/libc.so.6

strace tlsdate -V
...
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 EACCES (Permission denied)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=20480, ...}) = 0
writev(2, [{"tlsdate", 7}, {": ", 2}, {"error while loading shared libra"..., 
36}, {": ", 2}, {"libc.so.6", 9}, {": ", 2}, {"cannot open shared object file", 
30}, {": ", 2}, {"Permission denied", 17}, {"\n", 1}], 10tlsdate: error while 
loading shared libraries: libc.so.6: cannot open shared object file: Permission 
denied
) = 108
exit_group(127)                         = ?
+++ exited with 127 +++

** Affects: tlsdate (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1406761

Title:
  on i386 libc.so.6 not found and usable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tlsdate/+bug/1406761/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to