All of lore.kernel.org
 help / color / mirror / Atom feed
* umount fails on shutdown: causes next boot to fail
@ 2004-07-28  8:38 Luke Kenneth Casson Leighton
  2004-07-28  9:03 ` Luke Kenneth Casson Leighton
  0 siblings, 1 reply; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2004-07-28  8:38 UTC (permalink / raw)
  To: SE-Linux

hi,

got a bit of an issue with umount failing.

i have noticed that a double-reboot is required to clear things
if a filesystem is not unmounted at shutdown time...

... and now i have a filesystem (/var) that doesn't unmount
_even during a regular shutdown_.

i have:

- killed everything (with run_init /etc/init.d/everything stop)

- done lsof /var to double _check_ i've killed everything that
  could use /var

- done a shutdown.

- watched the shutdown messages.

- observed an "umount failed: /dev/hda6 (/var) busy"

and consequently noted that, as always, /var cannot be remounted
on startup: something somewhere in the initialisation actually
tries to _create_ /var and is told by selinux to bugger off
(fortunately), and entry into runlevel 2, as previously mentioned,
goes pear-shaped.

reboot required, and then it's all hunky-dory after that.


does anyone have _any_ clues as to why, even when there are no
files open on /var, a filesystem could not be umounted?

i think i will try again and this time actually manually try
a umount /var myself.

i really don't want to do umount -f /var but i will if i have to.

l.

-- 
-- 
Information I post is with honesty, integrity, and the expectation that
you will take full responsibility if acting on the information contained,
and that, should you find it to be flawed or even mildly useful, you
will act with both honesty and integrity in return - and tell me.
--
<a href="http://lkcl.net">      lkcl.net      </a> <br />
<a href="mailto:lkcl@lkcl.net"> lkcl@lkcl.net </a> <br />


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-28  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28  8:38 umount fails on shutdown: causes next boot to fail Luke Kenneth Casson Leighton
2004-07-28  9:03 ` Luke Kenneth Casson Leighton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.