Skip to content

zfs-zed prevents hibernation via systemd #27

@curiousercreative

Description

@curiousercreative

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions