Hi,

I'm using unionfs as a root filesystem on a rescue and live cd and it
generally works great, so thanks a lot. I've got a small issue, though:

I've mounted unionfs with three branches: read-write tmpfs, read-only
iso9660 and read-only squashfs loopback

dirs=/.tmpfs/.overlay=rw:/.tmpfs/.cdrom=ro:/.tmpfs/.sqfs=ro

The problem is that the symbolic link in e.g. /proc/1/exe doesn't point
to /sbin/init but it points to the original /.tmpfs/.sqfs/sbin/init.
There are some programs (e.g. debian's start-stop-daemon and binary
relocatable programs like mono >= 1.1.10) where that's problematic.

I've tested this setup with unionfs-20050929-0844/linux-2.6.14.2 and
unionfs-20051126-1822/linux-2.6.15-rc4

Is this a known issue and is there a solution or workaround by any
chance?

BTW: That issue doesn't occur when using mount --bind, so it's not like
the kernel always sets the exe link to the original location.

Regards,

Jürg
-- 
Jürg Billeter <[EMAIL PROTECTED]>


_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to