Originally posted by GrayShade
View Post
That said, I also have in my mount options
x-systemd.idle-timeout=180
that tells it to unmount if idle for more than 180 seconds, maybe that helps you a bit workaround your case? I think that if there is no communication to the server it counts as idle?
https://www.freedesktop.org/software...emd.mount.html
It could use the job stop timeout or anything else. But there's no configuration for that, just a compile-time value of 90 seconds.
Or at least that's usually why something is a compile option instead of a config. It's a restricted, "developer-only" option.
In this case, I think it would make more sense to go on Github and either report or contribute a fix for the actual issue you have.
I mean finding out why it's hanging on shutdown only when you pull the cable and the x-systemd.requires=network-online.target isn't working for you.
It's not the first time that people on Arch slam their face on a new exciting systemd bug while people on other rolling distros like Tumbleweed and Gentoo are not using the latest and greatest systemd version (for this exact reason).
Comment