Re: machine suspending

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 9, 2021 at 10:53 AM George Avrunin <avrunin@xxxxxxxxxxxxxx> wrote:
>
> Aug 06 17:47:32 ext.math.umass.edu kernel: Lockdown: systemd-logind:
> hibernation is restricted; see man kernel_lockdown.7
> Aug 06 17:47:32 ext.math.umass.edu kernel: Lockdown: systemd-logind:
> hibernation is restricted; see man kernel_lockdown.7
> Aug 06 17:47:32 ext.math.umass.edu NetworkManager[2111]: <info>
> [1628286452.1872] manager: sleep: sleep requested (sleeping: no  enabled: yes)
> Aug 06 17:47:32 ext.math.umass.edu NetworkManager[2111]: <info>



Yeah I have a bit of a gripe with systemd that it doesn't, by default,
insert the sleep request in the log. What exactly requested it? User
hit the power button? User closed the lid? Some service like apcuspd
requested it? I dunno, seems like an obvious thing that needs to go in
the log, one line. And for NetworkManager to be the first indication
that S3 or s2idle was requested is not helpful at all, I see this too
in cases when I close the lid or the GNOME Shell power save timeout is
reached (screen dim or whatever it's called).

I don't know all the different ways sleep can be requested but we need
the logs to indicate where this request is coming from. I don't know
for sure but maybe you can boot with systemd.log_level=debug and get
more detail, probably way too much detail because it's very verbose.
But I'm not sure how to narrow it down. But either way, I think it's
worth a thread on systemd-devel@ and ask if a single line of info
about sleep being initiated can be dumped into the log by default?



-- 
Chris Murphy
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux