http://bugzilla.novell.com/show_bug.cgi?id=466484
User diego.ercolani@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=466484#c130
--- Comment #130 from Diego Ercolani 2009-04-07 16:48:44 MDT ---
Created an attachment (id=284642)
--> (http://bugzilla.novell.com/attachment.cgi?id=284642)
/etc/init.d/{boot.localfs,halt} /var/log/boot.{omsg,faill.msg} as requested in
comment #128
As requested, here it is a new "session" dump.
The included halt script is the last kind of modification I did:
if "mount -o remount,ro /" fails, control is left to the shell.
In the attached boot.fail.msg, mount -o remount failed and so I've done some
dump like:
lsof
fuser -va /
ps axuwwwwww
and finally a strace -f mount -o remount,ro / >>/var/log/boot.fail.msg 2>&1
I know, probably in last "strace" the fail of the remount,ro can be caused by
the strace itself but I don't know how to avoid it.
After last strace, I issued a logout and correctly mount -o remount,ro / had a
success run so session had a graceful shutdown.
A little notice:
After exit to shell,I firstly issued a "ps auxwwww" without redirecting its
output to /var/log, I noticed that there was a zombie process (it was
bacula-sd), after that I tryied to mount readonly the root without success and
then I issued some diagnostic command (ps, lsof, fuser) redirecting output to
/var/log/boot.fail.msg and then I close the session with a logout, and the halt
script retryied successfully the mount remount,ro process.
Examining the log on the next session, I noticed that in ps axuwwwww command I
redirected to /var/log/boot.fail.msg doesn't appear any bacula-sd process....
Can be possible that after a while the zombie process exited and then it left
the / filesystem free to be remounted RO?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.