[systemd-bugs] [Bug 81529] New: systemd x-systemd.device-timeout option breaks automount
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jul 19 03:40:39 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=81529
Priority: medium
Bug ID: 81529
Assignee: systemd-bugs at lists.freedesktop.org
Summary: systemd x-systemd.device-timeout option breaks
automount
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: blondie85 at mail.ru
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
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 at 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 at 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 at 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
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20140719/2abb86ad/attachment.html>
More information about the systemd-bugs
mailing list