Bug#839988: systemd-fstab-generator ignore noauto flag on _netdev mount points

Felipe Sateler fsateler at debian.org
Sat Oct 8 20:33:59 BST 2016


Control: tags -1 moreinfo

On 7 October 2016 at 04:12, Javier Barroso <javibarroso at gmail.com> wrote:
> Package: systemd
> Version: 231-9
> Severity: normal
>
> Dear Maintainer,
>
> Having  on fstab:
>
> //192.168.1.1/Aplicaciones /home/javi/openfiler/Aplicaciones cifs
> user,noauto,_netdev,credentials=/home/javi/.smbcredentials,uid=1000,gid=100,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
>  0 0
> //192.168.1.1/Sistemas /home/javi/openfiler/Sistemas cifs
> user,noauto,_netdev,credentials=/home/javi/.smbcredentials,uid=1000,gid=100,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
>  0 0
> //192.168.1.1/equipoadmon /home/javi/openfiler/equipoadmon cifs
> user,noauto,_netdev,credentials=/home/javi/.smbcredentials,uid=1000,gid=100,rw,iocharset=utf8,file_mode=0777,dir_mode=0777
>  0 0
>
> Produce at boot:
> # journalctl --unit home-javi-openfiler-equipo-admon
> oct 07 08:31:46 fideo systemd[1]: Mounting
> /home/javi/openfiler/equipoadmon...
> oct 07 08:31:51 fideo mount[1192]: mount error(13): Permission denied
> oct 07 08:31:51 fideo mount[1192]: Refer to the mount.cifs(8) manual
> page (e.g. man mount.cifs)
> oct 07 08:31:51 fideo systemd[1]: home-javi-openfiler-equipoadmon.mount:
> Mount process exited, code=exited status=32
> oct 07 08:31:51 fideo systemd[1]: Failed to mount
> /home/javi/openfiler/equipoadmon.
> oct 07 08:31:51 fideo systemd[1]: home-javi-openfiler-equipoadmon.mount:
> Unit entered failed state.
>
> At fstab (5):
> "noauto do not mount when "mount -a" is given (e.g., at boot time)"

The dump you attached shows that the mount unit is indeed not wanted
by anything. Maybe there is something else triggering the mount?
Also, the dump does not contain the other two mounts you quoted from
fstab, is this dump from the same system?

-- 

Saludos,
Felipe Sateler



More information about the Pkg-systemd-maintainers mailing list