Skip to content

Instantly share code, notes, and snippets.

@1ridic
Created February 15, 2024 07:02
Show Gist options
  • Save 1ridic/aba21679b7753a36b57afcecc671df8a to your computer and use it in GitHub Desktop.
Save 1ridic/aba21679b7753a36b57afcecc671df8a to your computer and use it in GitHub Desktop.
`journalctl -b -u systemd-suspend-then-hibernate.service` with `systemd.log_level=debug`
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:50:52 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:00 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:18 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:19 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:19 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:19 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Feb 15 14:51:19 test systemd[1]: systemd-suspend-then-hibernate.service: Installed new job systemd-suspend-then-hibernate.service/start as 3161
Feb 15 14:51:19 test systemd[1]: systemd-suspend-then-hibernate.service: starting held back, waiting for: sleep.target
Feb 15 14:51:20 test systemd[1]: systemd-suspend-then-hibernate.service: Will spawn child (service_enter_start): /usr/lib/systemd/systemd-sleep
Feb 15 14:51:20 test systemd[1]: systemd-suspend-then-hibernate.service: Passing 0 fds to service
Feb 15 14:51:20 test systemd[1]: systemd-suspend-then-hibernate.service: About to execute: /usr/lib/systemd/systemd-sleep suspend-then-hibernate
Feb 15 14:51:20 test systemd[1]: systemd-suspend-then-hibernate.service: Forked /usr/lib/systemd/systemd-sleep as 2695
Feb 15 14:51:20 test (md-sleep)[2695]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Feb 15 14:51:20 test (md-sleep)[2695]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Feb 15 14:51:20 test systemd[1]: systemd-suspend-then-hibernate.service: Changed dead -> start
Feb 15 14:51:20 test systemd[1]: Starting System Suspend then Hibernate...
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:20 test systemd-sleep[2695]: sd-bus: starting bus by connecting to /run/systemd/private...
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state AUTHENTICATING → RUNNING
Feb 15 14:51:20 test systemd-sleep[2695]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=FreezeUnit cookie=1 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:20 test systemd-sleep[2695]: Got message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:20 test systemd-sleep[2695]: AC: The power supply is currently online.
Feb 15 14:51:20 test systemd-sleep[2695]: BAT0: The battery status is 'Not charging', assuming the battery is not used as a power source of this machine.
Feb 15 14:51:20 test systemd-sleep[2695]: Found at least one online non-battery power supply, system is running on AC.
Feb 15 14:51:20 test systemd-sleep[2695]: Set timerfd wake alarm for 1h 59min 59s
Feb 15 14:51:20 test systemd-sleep[2695]: Successfully forked off '(sd-exec-strv)' as PID 2696.
Feb 15 14:51:20 test (sd-exec-strv)[2696]: About to execute /usr/lib/systemd/system-sleep/tlp (null)
Feb 15 14:51:20 test (sd-exec-strv)[2696]: Successfully forked off '(direxec)' as PID 2697.
Feb 15 14:51:20 test (sd-exec-strv)[2696]: /usr/lib/systemd/system-sleep/tlp succeeded.
Feb 15 14:51:20 test systemd-sleep[2695]: (sd-exec-strv) succeeded.
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:20 test systemd-sleep[2695]: sd-bus: starting bus by connecting to /run/dbus/system_bus_socket...
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state AUTHENTICATING → HELLO
Feb 15 14:51:20 test systemd-sleep[2695]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:20 test systemd-sleep[2695]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.79 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=1 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state HELLO → RUNNING
Feb 15 14:51:20 test systemd-sleep[2695]: Sent message type=method_call sender=n/a destination=org.freedesktop.home1 path=/org/freedesktop/home1 interface=org.freedesktop.home1.Manager member=LockAllHomes cookie=2 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:20 test systemd-sleep[2695]: Got message type=error sender=org.freedesktop.DBus destination=:1.79 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=2 signature=s error-name=org.freedesktop.DBus.Error.NameHasNoOwner error-message=Destination does not exist
Feb 15 14:51:20 test systemd-sleep[2695]: systemd-homed is not running, locking of home directories skipped.
Feb 15 14:51:20 test systemd-sleep[2695]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:20 test systemd-sleep[2695]: Performing sleep operation 'suspend'...
Feb 15 14:51:29 test systemd-sleep[2695]: Using sleep state 'mem'.
Feb 15 14:51:29 test systemd-sleep[2695]: System returned from sleep operation 'suspend-then-hibernate'.
Feb 15 14:51:29 test systemd-sleep[2695]: Successfully forked off '(sd-exec-strv)' as PID 2767.
Feb 15 14:51:29 test (sd-exec-strv)[2767]: About to execute /usr/lib/systemd/system-sleep/tlp (null)
Feb 15 14:51:29 test (sd-exec-strv)[2767]: Successfully forked off '(direxec)' as PID 2768.
Feb 15 14:51:29 test (sd-exec-strv)[2767]: /usr/lib/systemd/system-sleep/tlp succeeded.
Feb 15 14:51:29 test systemd-sleep[2695]: (sd-exec-strv) succeeded.
Feb 15 14:51:29 test systemd-sleep[2695]: Attempting to estimate battery discharge rate after wakeup from 8s sleep
Feb 15 14:51:29 test systemd-sleep[2695]: BAT0: Battery was not discharged during suspension
Feb 15 14:51:29 test systemd-sleep[2695]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:29 test systemd-sleep[2695]: sd-bus: starting bus by connecting to /run/systemd/private...
Feb 15 14:51:29 test systemd-sleep[2695]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:29 test systemd-sleep[2695]: Bus n/a: changing state AUTHENTICATING → RUNNING
Feb 15 14:51:29 test systemd-sleep[2695]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=ThawUnit cookie=1 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2695]: Got message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2695]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Child 2695 belongs to systemd-suspend-then-hibernate.service.
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code=exited, status=0/SUCCESS (success)
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Running next main command for state start.
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Will spawn child (service_run_next_main): /usr/lib/systemd/systemd-sleep
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Passing 0 fds to service
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: About to execute: /usr/lib/systemd/systemd-sleep suspend-then-hibernate
Feb 15 14:51:29 test systemd[1]: systemd-suspend-then-hibernate.service: Forked /usr/lib/systemd/systemd-sleep as 2921
Feb 15 14:51:29 test (md-sleep)[2921]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Feb 15 14:51:29 test (md-sleep)[2921]: Found cgroup2 on /sys/fs/cgroup/, full unified hierarchy
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:29 test systemd-sleep[2921]: sd-bus: starting bus by connecting to /run/systemd/private...
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state AUTHENTICATING → RUNNING
Feb 15 14:51:29 test systemd-sleep[2921]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=FreezeUnit cookie=1 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2921]: Got message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:29 test systemd-sleep[2921]: AC: The power supply is currently online.
Feb 15 14:51:29 test systemd-sleep[2921]: BAT0: The battery status is 'Not charging', assuming the battery is not used as a power source of this machine.
Feb 15 14:51:29 test systemd-sleep[2921]: Found at least one online non-battery power supply, system is running on AC.
Feb 15 14:51:29 test systemd-sleep[2921]: Set timerfd wake alarm for 1h 59min 59s
Feb 15 14:51:29 test systemd-sleep[2921]: Successfully forked off '(sd-exec-strv)' as PID 2922.
Feb 15 14:51:29 test (sd-exec-strv)[2922]: About to execute /usr/lib/systemd/system-sleep/tlp (null)
Feb 15 14:51:29 test (sd-exec-strv)[2922]: Successfully forked off '(direxec)' as PID 2923.
Feb 15 14:51:29 test (sd-exec-strv)[2922]: /usr/lib/systemd/system-sleep/tlp succeeded.
Feb 15 14:51:29 test systemd-sleep[2921]: (sd-exec-strv) succeeded.
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:29 test systemd-sleep[2921]: sd-bus: starting bus by connecting to /run/dbus/system_bus_socket...
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state AUTHENTICATING → HELLO
Feb 15 14:51:29 test systemd-sleep[2921]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2921]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.80 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=1 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state HELLO → RUNNING
Feb 15 14:51:29 test systemd-sleep[2921]: Sent message type=method_call sender=n/a destination=org.freedesktop.home1 path=/org/freedesktop/home1 interface=org.freedesktop.home1.Manager member=LockAllHomes cookie=2 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:29 test systemd-sleep[2921]: Got message type=error sender=org.freedesktop.DBus destination=:1.80 path=n/a interface=n/a member=n/a cookie=4294967295 reply_cookie=2 signature=s error-name=org.freedesktop.DBus.Error.NameHasNoOwner error-message=Destination does not exist
Feb 15 14:51:29 test systemd-sleep[2921]: systemd-homed is not running, locking of home directories skipped.
Feb 15 14:51:29 test systemd-sleep[2921]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:29 test systemd-sleep[2921]: Performing sleep operation 'suspend'...
Feb 15 14:51:36 test systemd-sleep[2921]: Using sleep state 'mem'.
Feb 15 14:51:36 test systemd-sleep[2921]: System returned from sleep operation 'suspend-then-hibernate'.
Feb 15 14:51:36 test systemd-sleep[2921]: Successfully forked off '(sd-exec-strv)' as PID 2962.
Feb 15 14:51:36 test (sd-exec-strv)[2962]: About to execute /usr/lib/systemd/system-sleep/tlp (null)
Feb 15 14:51:36 test (sd-exec-strv)[2962]: Successfully forked off '(direxec)' as PID 2963.
Feb 15 14:51:36 test (sd-exec-strv)[2962]: /usr/lib/systemd/system-sleep/tlp succeeded.
Feb 15 14:51:36 test systemd-sleep[2921]: (sd-exec-strv) succeeded.
Feb 15 14:51:36 test systemd-sleep[2921]: Attempting to estimate battery discharge rate after wakeup from 6s sleep
Feb 15 14:51:36 test systemd-sleep[2921]: BAT0: Battery was not discharged during suspension
Feb 15 14:51:36 test systemd-sleep[2921]: Bus n/a: changing state UNSET → OPENING
Feb 15 14:51:36 test systemd-sleep[2921]: sd-bus: starting bus by connecting to /run/systemd/private...
Feb 15 14:51:36 test systemd-sleep[2921]: Bus n/a: changing state OPENING → AUTHENTICATING
Feb 15 14:51:36 test systemd-sleep[2921]: Bus n/a: changing state AUTHENTICATING → RUNNING
Feb 15 14:51:36 test systemd-sleep[2921]: Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 path=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=ThawUnit cookie=1 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Feb 15 14:51:36 test systemd-sleep[2921]: Got message type=method_return sender=org.freedesktop.systemd1 destination=n/a path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=n/a error-name=n/a error-message=n/a
Feb 15 14:51:36 test systemd-sleep[2921]: Bus n/a: changing state RUNNING → CLOSED
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Child 2921 belongs to systemd-suspend-then-hibernate.service.
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code=exited, status=0/SUCCESS (success)
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Deactivated successfully.
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Service will not restart (restart setting)
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Changed start -> dead
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Job 3161 systemd-suspend-then-hibernate.service/start finished, result=done
Feb 15 14:51:36 test systemd[1]: Finished System Suspend then Hibernate.
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Consumed 833ms CPU time.
Feb 15 14:51:36 test systemd[1]: systemd-suspend-then-hibernate.service: Releasing resources...
Feb 15 14:51:43 test systemd[1]: systemd-suspend-then-hibernate.service: Collecting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment