[Pkg-sysvinit-devel] Bug#670106: initscripts: please ignore noauto sysfs entries in fstab
Carsten Hey
carsten at debian.org
Fri Jun 15 16:33:57 UTC 2012
* Carsten Hey [2012-05-11 00:58 +0200]:
> * Carsten Hey [2012-04-30 02:00 +0200]:
> > * Roger Leigh [2012-04-29 23:19 +0100]:
> > > > > how do other distributions handle noauto in this situation? Do they
> > > > > respect it, ignore it, or not look at fstab at all?
> > > >
> > > > ...
> > >
> > > For current systems, I think it's useful to know what systemd and
> > > upstart are doing. systemd is simple enough to test on Debian;
> > > for upstart we can look at Ubuntu. ...
> > > So if all the others choose to not respect noauto for specific
> > > mounts, that's a point in favour of doing that.
> >
> > Being consistent to other init systems in Debian makes sense. I'll send
> > an other mail after knowing this.
>
> I installed Fedora 16 (uses systemd as init and was released in November
> 2011) and the just released Ubuntu LTS (uses upstart) into a KVM
> container and added a noauto sysfs line for /sys that matches (besides
> noauto) their default mount options to /etc/fstab on both systems.
>
> On both systems, /sys was mounted despite the noauto sysfs entry.
In my previous mail I forgot to mention if others ignore the fstab entry
completely or only ignore the noauto option.
systemd/Fedora and upstart/Ubuntu ignore the noauto option but respect
the other options (or at least some of them). I tested this by adding
relatime as mount option to the noauto sysfs entry on Ubuntu and
replacing relatime with strictatime on Fedora.
I also tested this with the same result for /proc on Fedora.
The attached yet untested patch adapts initscripts to match the
behaviour of the other systems.
Regards
Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-initscripts-ignore-noauto-option-in-fstab-for-sysfs-.patch
Type: text/x-diff
Size: 1546 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120615/7a3e1ef1/attachment.patch>
More information about the Pkg-sysvinit-devel
mailing list