noauto option ignored in /etc/fstab?

Xen list at xenhideout.nl
Fri Dec 1 08:09:36 UTC 2017


Josef Wolf schreef op 01-12-2017 8:50:
> Hello,
> 
> I have the following line in /etc/fstab:
> 
>   UUID=XXXX-XXXX-XXXX-XXXX /boot ext4 noauto,relatime 0 2
> 
> The noauto option should prevent the fs to be mounted during boot.
> 
> That worked great in every distro I have touched in the last 20 years.
> 
> But since I reinstalled this box with 16.04 LTS, this FS is mounted 
> during
> boot.
> 
> Any ideas what causes this FS to be mounted during boot?

It's most likely that systemd pulls in this target in some way.

Here are the services that require boot.mount on my system:

         "unattended-upgrades.service"->"boot.mount" [color="green"];
         "unattended-upgrades.service"->"boot.mount" [color="black"];

         "local-fs.target"->"boot.mount" [color="green"];
         "local-fs.target"->"boot.mount" [color="black"];

Local-fs.target should derive from fstab.

But unattended-upgrades may pull this mount in regardless.



More information about the ubuntu-users mailing list