public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* read only bind mount ignores ready only
@ 2013-12-11 14:37 Phillip Susi
  2013-12-11 16:49 ` Karel Zak
  2013-12-12 12:05 ` Karel Zak
  0 siblings, 2 replies; 9+ messages in thread
From: Phillip Susi @ 2013-12-11 14:37 UTC (permalink / raw)
  To: util-linux

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forwarding report from
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/712892

It seems that the kernel has a bug where it silently ignores the
MS_RDONLY flag when creating a bind mount.  mount issues a warning
that the mount point appears to be read-write even though you
requested read only.  The reporter suggests a patch to automatically
attempt to remount with MS_RDONLY before issuing this warning to work
around the kernel bug.  What do you think?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSqHjFAAoJEI5FoCIzSKrwP5wH/3vfHcUVra8Zh2GUcTEMU7ex
BEed+jb4KYeuuISO8wxrkGb7eRAw/mHQTTPmVPjouWbG0s7AMXb/k1JQw3VEwtPA
7Mm8Y6jZoMJTiHvegWAKCWiaKcZ2ututJa23OP7RAgWJeGoZVdRtpRCyC6XOT3ES
anUdwKpoZgDILKMdi+ssgfDVjPgDpaOluHkXLvhPlYyYiHb7WeAjEWGryTCt/vXq
74CjnD0l07Ryvg0ZNehxLQG6YJqQyNK69MUlDfNo3Tr66oeZNfbvso2Npkhvi6/E
Ut+6dJr0Z9fasfHb88UmhmLUcSCKM6HRGy29fSKQ3UJDpD77o7smPr/p51YaX0M=
=x0mB
-----END PGP SIGNATURE-----

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

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

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-11 14:37 read only bind mount ignores ready only Phillip Susi
2013-12-11 16:49 ` Karel Zak
2013-12-12 12:05 ` Karel Zak
2013-12-12 14:59   ` Phillip Susi
2013-12-12 16:02     ` Karel Zak
2013-12-12 19:42   ` Miklos Szeredi
2013-12-12 21:53     ` Al Viro
2013-12-13 10:45       ` Karel Zak
2013-12-13  8:18     ` Karel Zak

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