Bug#763751: systemd: mounts automounts on boot even with option "noauto"
Michael Biebl
biebl at debian.org
Thu Oct 2 13:46:49 BST 2014
Am 02.10.2014 um 13:08 schrieb Jakobus Schürz:
> Package: systemd
> Version: 204-14~bpo70+1
> Severity: normal
>
> Dear Maintainer,
>
> Systemd mounts automount-mountpoints on boot. The options in my /etc/fstab i tried
>
> 1) defaults,noauto -> no mount on boottime
> 2) x-systemd.automount,defaults,noauto -> mount on boottime
> 3) comment=systemd.automount,defaults,noauto -> mount on boottime
> 4) defaults,noauto,comment=systemd.automount -> mount on boottime
> 5) defaults,noauto,x-systemd.automount -> no mount on boottime, but
> error "don't know x-systemd..."
>
> The manpage of systemd.mount from my system says,
> "comment=systemd.automount" is to use.
>
> In
> http://www.freedesktop.org/software/systemd/man/systemd.mount.html
> I found:
>
> "noauto, auto
> With noauto, this mount will not be added as a dependency for
> local-fs.target. This means that it will not be mounted automatically
> during boot, unless it is pulled in by some other unit. Option auto has
> the opposite meaning and is the default."
>
> In the man systemd.mount on my system, this missing.
>
> So do I have to wait, until a newer systemd is backportet (or i upgrade
> to jessie)??
auto, noauto have an effect on .mount units afaics and not on .automount
units, i.e. the automount unit is started irregardless of what you use.
That your mount point is mounted, is not due to systemd mounting it, but
something accessing the directory triggering the automount.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141002/e78c23c3/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list