Bug#839988: systemd-fstab-generator ignore noauto flag on _netdev mount points
Javier Barroso
javibarroso at gmail.com
Fri Oct 7 08:12:49 BST 2016
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)"
I think that mount should not be started by systemd until I invoke mount
command
Thanks
PD: I'm attaching reportbug generated txt and subjects ( copy + paste
broke the format)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug-systemd-files.tar.gz
Type: application/x-gzip
Size: 118091 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20161007/acbf841d/attachment-0001.bin>
More information about the Pkg-systemd-maintainers
mailing list