Hello all,
I’m facing Xorg freezes when the laptop resume from sleep (suspend to RAM) since on TW when there fuse sshfs mounts. So starting up yesterday to track down what could be the culprit:
**root@raiatea:~ #** systemctl status systemd-suspend.service
● systemd-suspend.service - Suspend
Loaded: loaded (/usr/lib/systemd/system/systemd-suspend.service; static)
Active: inactive (dead)
Docs: man:systemd-suspend.service(8)
déc. 19 23:05:17 raiatea.local systemd[1]: **systemd-suspend.service: Main process exited, code=exited, status=1/FAILURE**
déc. 19 23:05:17 raiatea.local systemd[1]: **systemd-suspend.service: Failed with result 'exit-code'.**
déc. 19 23:05:17 raiatea.local systemd[1]: **Failed to start Suspend.**
déc. 20 01:25:26 raiatea.local systemd[1]: Starting Suspend...
déc. 20 01:25:26 raiatea.local systemd-sleep[16161]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
déc. 20 01:25:26 raiatea.local systemd-sleep[16157]: Suspending system...
déc. 20 05:26:48 raiatea.local systemd-sleep[16157]: System resumed.
déc. 20 05:26:48 raiatea.local systemd-sleep[16312]: INFO: Skip running /usr/lib/systemd/system-sleep/grub2.sleep for suspend
déc. 20 05:26:48 raiatea.local systemd[1]: systemd-suspend.service: Succeeded.
déc. 20 05:26:48 raiatea.local systemd[1]: Finished Suspend.
**root@raiatea:~ #**
Ok so systemd-suspend.service
couldn’t execute, let’s check system’s log (output was too long to post inline so here’s the relevant events: https://susepaste.org/22069673)
It looks like fuse sshfs mounts is locking down systemd-suspend.service’s proper execution. These mounts are in /etc/fstab and are protected by a key’s passphrase, which i believe is the problem. Unmounting mounts settle the problem and resuming works as expected.
I’ll try later to make passwordless ssh keys and see if it’s indeed the problem, even if I don’t like having my ssh keys with no passphrase.