Robert Wotzlaw: > $> sudo invoke-rc.d gdm stop ::: > $> sudo /usr/local/sbin/bldchaufs ::: > $> sudo chroot /tmp/jail invoke-rc.d gdm start > > The input of the last command starts a new GNOME Desktop log in > screen. Until now the kernel message shows no aufs warning or > error messages. During the log in from the GNOME Desktop log in > into the GNOME Desktop session the following kernel message > concerning AUFS is logged:
Then how about "When and why it invokes mount(8)?" Probably we need to step into the gdm script. > The question is, why does aufs print the above kernel messages. Still I am guessing (from my old mail) ---------------------------------------------------------------------- I am afraid some process (including aufs-util) might mis-interpret /etc/mtab. ... ---------------------------------------------------------------------- For example, your mtab contains two entries for root (/). /dev/sda5 / ext3 rw,errors=remount-ro 0 0 and a jail root, which are / /tmp/jailcache.ro.root none rw,bind 0 0 --> /dev/sda5 / ext3 /tmp/jailcache.rw.root --> /dev/sda8 /tmp rootonaufs /tmp/jail aufs rw,relatime,si=89f694af8f817535 0 0 As my current guess, if the gdm script tries re-mounting the root mount, then it may search the root entry in /etc/mtab or /proc/mounts and it may find /dev/sda5 / ext3 rw,errors=remount-ro 0 0 or / /tmp/jailcache.ro.root none rw,bind 0 0 --> /dev/sda5 / ext3 It means there is a possibility that the gdm script misundertands "our root dir is ext3". And if gdm invokes remount for root and passes some options for ext3, then the actual (chrooted) root will produce several messages since it is aufs. Of course, aufs doesn't interpret the ext3 options. Do I make myself clear why I am asking "When and why it invokes mount(8)?" and start feeling "we need to step into the gdm script." If the gdm script interprets /etc/mtab (instead of /proc/mounts), then you may be able to modify /etc/mtab manually and make the gdm script quiet. Just my current guess. J. R. Okajima ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure