Comment on systemd has been a complete, utter, unmitigated success
avidamoeba@lemmy.ca 2 days agoNetwork not ready by time the mount is executed?
Comment on systemd has been a complete, utter, unmitigated success
avidamoeba@lemmy.ca 2 days agoNetwork not ready by time the mount is executed?
Eryn6844@piefed.blahaj.zone 2 days ago
yup,
tinsuke@lemmy.world 2 days ago
I have a service that pings the server:
And then I make the fstab entry depend on it:
x-systemd.requires=ping-smb.serviceavidamoeba@lemmy.ca 2 days ago
I had something similar when I used to mount an NFS share. I had a bash line that would loop ping and then mount once ping succeeds. Having a separate service that pings and making the mount dependent on it is probably the better thing to do. Should also work when put in
Requires=in a.mountfile.