[Pkg-sysvinit-devel] Bug#708934: Bug#708934: Bug#708934: how to avoid all mounts for LXC systems?

Steve Langasek vorlon at debian.org
Mon May 20 00:34:16 UTC 2013


On Sun, May 19, 2013 at 09:20:11PM -0300, Henrique de Moraes Holschuh wrote:
> On Sun, 19 May 2013, Steve Langasek wrote:
> > I strongly recommend a more generic approach of detecting whether the
> > required mount is already mounted, and skipping the operation if it is.

> There is the non-obvious, and quite vexing issue of mount options.

Non-obvious, but it did occur to me as I was writing this comment because of
a related bug in Ubuntu about failing to remount initramfs-mounted
filesystems with the mount options specified in /etc/fstab.

I think it doesn't actually impact the correct design here.  Either your
mount does have a compatible set of mount options, in which case you don't
need to do anything; or it doesn't, in which case a remount is the correct
course of action and if it fails, it fails.  The proper course of action for
the admin in the case of a mismatch is the same, no matter how this is
handled within the lxc environment - it needs to be fixed in the
configuration outside the container.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20130519/b15b8e56/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list