I try to set automount for sshfs. The problem is if x-systemd.device-timeout=x is in the middle of option list in fstab systemd automount is not working (can't mount that filesystem) /etc/fstab user@192.168.1.101:/var/cache/pacman/pkg /var/cache/pacman/pkg fuse.sshfs defaults,port=2222,allow_root,reconnect,_netdev,noauto,x-systemd.device-timeout=10,IdentityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount 0 0 systemctl status var-cache-pacman-pkg.mount (...) Process: 2490 ExecMount=/bin/mount -n user@192.168.1.101:/var/cache/pacman/pkg /var/cache/pacman/pkg -t fuse.sshfs -o defaults,port=2222,allow_root,reconnect,_netdev,noautoIdentityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount (code=exited, status=1/FAILURE) ^systemd can't parse it right, 'noautoIdentityFile' x-systemd.device-timeout disappears and no comma If I move x-systemd.device-timeout at the end of option list in /etc/fstab: user@192.168.1.101:/var/cache/pacman/pkg /var/cache/pacman/pkg fuse.sshfs defaults,port=2222,allow_root,reconnect,_netdev,noauto,IdentityFile=/home/user/.ssh/sshfs/sshfs,UserKnownHostsFile=/home/user/.ssh/known_hosts,x-systemd.automount,x-systemd.device-timeout=10 0 0 everything is working fine Archlinux systemd 215-4
This was fixed post-215: http://cgit.freedesktop.org/systemd/systemd/commit/?id=36a259d22c.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.