Hide Forgot
When adding an sshfs mount to /etc/fstab thusly: sshfs#tc.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 Also filed upstream: https://bugs.freedesktop.org/show_bug.cgi?id=43204
I forgot to mention: this isn't a key issue or anything like that because "mount -a" handles it just fine.
If you add _netdev to the mount options, does that fix things for you? (Also, make sure you run "systemctl enable NetworkManager-wait-online.service")
Nope, same deal. /etc/fstab: sshfs#tc.0.3:/home/tc /mnt/ssh fuse defaults,idmap=user,_netdev 1 2 syslog: Jan 16 13:44:47 invincible systemd[1]: Job sshfs\x23tc\x40192.168.0.3:-home-tc.device/start timed out. Jan 16 13:44:47 invincible systemd[1]: Job mnt-ssh.mount/start failed with result 'dependency'. Jan 16 13:44:47 invincible systemd[1]: Job fsck@sshfs\x23tc\x40192.168.0.3:-home-tc.service/start failed with result 'dependency'. Jan 16 13:44:47 invincible systemd[1]: Job sshfs\x23tc\x40192.168.0.3:-home-tc.device/start failed with result 'timeout'. rpm -q systemd: systemd-37-7.fc16.x86_64
What's "1 2" doing here? I doubt you can fsck it. :)
(In reply to comment #4) > What's "1 2" doing here? I doubt you can fsck it. :) Wow, that was pretty dumb of me. Putting 0s there fixes it with or without "_netdev". Sorry for the noise.