[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#578023: openoffice.org on GNU/kFreeBSD



Our /proc also have the same symlink, so we could just use
similar implementation. I will take care about this part.

Did you test that? Even with libc0.1 2.10.2-7 it fails the same way for me...

Now I am really confused :-(

The problem seems be due to combination of chroot and bind/nullfs mount.

(sid)Nemám #ádné jméno!@io:~/r$ /bin/ls -sl /proc/self/exe
0 lr--r--r-- 1 1013 1000 0 27. dub 11.43 /proc/self/exe -> /bin/ls

(sid)Nemám #ádné jméno!@io:~/r$ cp /bin/ls .
(sid)Nemám #ádné jméno!@io:~/r$ ./ls  -sl /proc/self/exe
0 lr--r--r-- 1 1013 1000 0 27. dub 11.43 /proc/self/exe -> unknown

(sid)Nemám #ádné jméno!@io:~/r$ cp /bin/ls /var/tmp/
(sid)Nemám #ádné jméno!@io:~/r$ /var/tmp/ls  -sl /proc/self/exe
0 lr--r--r-- 1 1013 1000 0 27. dub 11.43 /proc/self/exe -> /var/tmp/ls

So under usual setup $ORIGIN should work fine even for libc0.1 2.10.2-7.
I do not know how the buildd are configured and whether it works on them using 2.10.2-7.

I tried harder to get $ORIGIN working also under combination of chroot and bind/nullfs mount, scheduled for libc0.1 2.10.2-8.
I hope it would be sufficient.

Petr

Reply to: