On Tue, Jul 31, 2007 at 07:49:31PM +0200, Andreas Putzo wrote: > I just realized that it failed because i had /proc not mounted in my > build environment.
I also discovered that if you're doing this in a chroot, even if /proc is mounted, things break -- because the /proc/self/exe symlink is "unchrooted". For example, if the chroot is at /c then it points to /c/bin/foo instead of /bin/foo. The java postinst(s) rely on /proc/self/exe to locate... something (parts of themselves, perhaps). I worked around it by creating a symlink /c/c -> /, so that within the chroot both /bin/foo and /c/bin/foo resolve to /bin/foo. (Actually, because my chroots are unionfs'ed, I apparently have to make symlinks for all three "arms" of the unionfs: the ro dir, the cow dir, and the mountpoint. Go figure.) PS: I may have mentioned this as a separate BTS bug; if so, sorry. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

