From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: SE-Linux <selinux@tycho.nsa.gov>
Subject: umount fails on shutdown: causes next boot to fail
Date: Wed, 28 Jul 2004 09:38:32 +0100 [thread overview]
Message-ID: <20040728083831.GC28362@lkcl.net> (raw)
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.
next reply other threads:[~2004-07-28 8:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 8:38 Luke Kenneth Casson Leighton [this message]
2004-07-28 9:03 ` umount fails on shutdown: causes next boot to fail Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040728083831.GC28362@lkcl.net \
--to=lkcl@lkcl.net \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.