"Igor Karasynskyi":
> Yes you are right :) my first RO branch has 0777 and branches after
> that has 1777, this patch fixed this problem, thank you very much :)

Goooood news!


> About this problem with remount branch as RO:
> 1) I have image of Gentoo distributive (with 2.4 kernel)
> 2) after that I mounted branch in which I'm upgraded this image to 2.6
> and other system software
> So as you see my system boot with 2.6 kernel with aufs and mount this
> braches, then chroot to them and start init. If I run system with
> upgraded software (to 2.6) all work's fine, but if I just boot system
> without (mounting branch with 2.6 upgrade) I receive error with
> remount, so problem occurred only in this situation.

Do you mean that you are running aufs in 2.4 kernel?
Aufs doesn't support linux-2.4.

----------------------------------------------------------------------

> I apply your patch and repeat situation, netconsole log attached.

Thank you for your test.
There were sevral files are opened when you modify the branch
permission.

libc-2.3.4.so, libuuid.so.1.2, libblkid.so.1.0, ld-2.3.4.so, mount,
libnss_files-2.3.4.so, libnss_nis-2.3.4.so, libnsl-2.3.4.so,
libnss_compat-2.3.4.so, libc-2.3.4.so, libdl-2.3.4.so, ld-2.3.4.so,
bash, vcsa2

The trigger was last 'vcsa2.' Is this file executable or something?
And, most importantly, Is this file inside aufs?
All other files existed in aufs and on the branch which was indexed as
2. Does vcsa2 exist on the same branch?
(branches are indexed from 0. you can check them the line in
/proc/mounts or /sys/fs/aufs/brs, "br:br0:br1:br2:...)


Junjiro Okajima

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to