Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zfs-zed prevents hibernation via systemd #27

Open
curiousercreative opened this issue Dec 25, 2024 · 0 comments
Open

zfs-zed prevents hibernation via systemd #27

curiousercreative opened this issue Dec 25, 2024 · 0 comments

Comments

@curiousercreative
Copy link

I've had hibernation (suspend-then-hibernate) working for years on my System76 galp5 but I've noticed in the past few weeks that it's never hibernating, only suspending. Today I investigated and found that hibernation at a system level worked flawlessly (as expected) but that sudo systemctl hibernate would fail. Bellow are relevant log lines from /var/log/syslog. Because I'm not leveraging any zed functionality, I decided to remove the package with sudo apt remove zfs-zed and I confirmed that sudo systemctl hibernate now works flawessly.

Dec 24 15:40:21 localhost zed[129587]: Exiting
Dec 24 15:40:21 localhost goa-daemon[100581]: secret_password_lookup_sync() failed: The name is not activatable
Dec 24 15:40:21 localhost systemd[1]: zfs-zed.service: Deactivated successfully.
Dec 24 15:40:21 localhost goa-daemon[100581]: secret_password_lookup_sync() failed: The name is not activatable
Dec 24 15:40:21 localhost goa-daemon[100581]: secret_password_lookup_sync() failed: The name is not activatable
Dec 24 15:40:21 localhost dbus-broker[955]: A security policy denied :1.1124 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections to org.freedesktop.NetworkManager.
Dec 24 15:40:21 localhost kernel: [359330.003667] video LNXVIDEO:00: Restoring backlight state
Dec 24 15:40:21 localhost kernel: [359330.102168] PM: hibernation: hibernation exit
Dec 24 15:40:21 localhost systemd-sleep[130667]: Failed to put system to sleep. System resumed again: Device or resource busy
Dec 24 15:40:21 localhost systemd[1]: zfs-zed.service: Scheduled restart job, restart counter is at 19.
Dec 24 15:40:21 localhost systemd[1]: Stopped ZFS Event Daemon (zed).
Dec 24 15:40:21 localhost systemd[1]: Started ZFS Event Daemon (zed).
Dec 24 15:40:21 localhost systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 15:40:21 localhost systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
Dec 24 15:40:21 localhost systemd[1]: Failed to start Hibernate.
Dec 24 15:40:21 localhost systemd[1]: Dependency failed for System Hibernation.
Dec 24 15:40:21 localhost systemd[1]: hibernate.target: Job hibernate.target/start failed with result 'dependency'.
Dec 24 15:40:21 localhost systemd[1]: systemd-hibernate.service: Consumed 2.847s CPU time.
Dec 24 15:40:21 localhost zed[130751]: ZFS Event Daemon 2.2.6-1pop1~1729501373~22.04~093edd9 (PID 130751)
Dec 24 15:40:21 localhost systemd[1]: Stopped target Sleep.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant