public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* umount -r
@ 2013-05-10  4:05 Bruce Dubbs
  2013-05-13 12:41 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Dubbs @ 2013-05-10  4:05 UTC (permalink / raw)
  To: util-linux

We have as a part of our shutdown scripts:

umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc

What we expect is that the rootfs (/) will fail, but be remounted read 
only.  This doesn't seem to be happening because we get messages about 
recovery needed during the next boot.

We can work around it by adding

mount -n -o remount,ro /

I have a report that umount works as expected in version 2.21.2, but not 
in 2.22.2 or later.  I this a misunderstanding about umount or a bug?

   -- Bruce Dubbs
      linuxfromscratch

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

* Re: umount -r
  2013-05-10  4:05 umount -r Bruce Dubbs
@ 2013-05-13 12:41 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2013-05-13 12:41 UTC (permalink / raw)
  To: Bruce Dubbs; +Cc: util-linux

On Thu, May 09, 2013 at 11:05:58PM -0500, Bruce Dubbs wrote:
> We have as a part of our shutdown scripts:
> 
> umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc
> 
> What we expect is that the rootfs (/) will fail, but be remounted read only.
> This doesn't seem to be happening because we get messages about recovery
> needed during the next boot.
> 
> We can work around it by adding
> 
> mount -n -o remount,ro /
> 
> I have a report that umount works as expected in version 2.21.2, but not in
> 2.22.2 or later.  I this a misunderstanding about umount or a bug?

Please, run

 LIBMOUNT_DEBUG=0xffff umount -a -d -r -t notmpfs,nosysfs,nodevtmpfs,noproc &> umount.log

and send me the log file.

    Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

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

end of thread, other threads:[~2013-05-13 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10  4:05 umount -r Bruce Dubbs
2013-05-13 12:41 ` Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox