Bug 43204 - systemd chokes on network FUSE mounts like sshfs
Summary: systemd chokes on network FUSE mounts like sshfs
Status: CLOSED NOTABUG
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 10:13 UTC by T.C. Hollingsworth
Modified: 2012-01-16 13:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description T.C. Hollingsworth 2011-11-23 10:13:12 UTC
When adding an sshfs mount to /etc/fstab thusly:

sshfs#tc@192.168.0.3:/home/tc /mnt/ssh fuse defaults,idmap=user 1 2

systemd fails to mount it with the following errors in syslog:

Nov 23 11:09:00 indestructible systemd[1]: Job sshfs\x23tc\x40192.168.0.3.device/start timed out.
Nov 23 11:09:00 indestructible systemd[1]: Job mnt-ssh.mount/start failed with result 'dependency'.
Nov 23 11:09:00 indestructible systemd[1]: Job fsck@sshfs\x23tc\x40192.168.0.3.service/start failed with result 'dependency'.
Nov 23 11:09:00 indestructible systemd[1]: Job sshfs\x23tc\x40192.168.0.3.device/start failed with result 'timeout'.

It also fails when creating a similar "mnt-ssh.mount" unit file.

$ rpm -q systemd fuse fuse-sshfs
systemd-37-3.fc16.x86_64
fuse-2.8.6-1.fc16.x86_64
fuse-sshfs-2.3-1.fc16.x86_64
Comment 1 T.C. Hollingsworth 2011-11-23 10:21:23 UTC
I forgot to mention: this isn't a key issue or anything like that because "mount -a" handles it just fine.
Comment 2 T.C. Hollingsworth 2012-01-16 13:18:53 UTC
Sorry, just needed to set the fsck value at the end properly.

Thanks to Kay in the RH bug for pointing this out.  :-)


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.