So here is how did I fix it:
- I call:
mount -o remount,ro aufs .
instead of
mount -o remount,ro .
This fixes my issue. No more problems at all.
It's a busybox issue while calling mount(2) command IMHO!
I tried strace with the first command and it calls
mount("aufs", "/union", 0x807e6ec, \
MS_READONLY|MS_REMOUNT|MS_VERBOSE, "xino=...")
which causes segmentation fault. But when I call strace with the second
command, it calls
mount("aufs", "/union", 0, MS_READONLY|MS_REMOUNT|MS_VERBOSE, NULL )
As you can see, using the second way doesn't pass any arguments to the
mount command, but NULL.
NOTE: I tried with patched and unpatched opts.c, works in both cases.
So, I think the problem is fixed, at least for me.
Tomas M
slax.org
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642