Re: hibernate stops working after upgrade to F29 from F28

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

 



Hi Sam,

Thanks very much again!

On Sun, 4 Nov 2018 16:52:13 -0800 Samuel Sieb <samuel@xxxxxxxx> wrote:

> On 11/4/18 3:08 PM, Ranjan Maitra wrote:
> > On Sun, 4 Nov 2018 13:25:47 -0800 Samuel Sieb <samuel@xxxxxxxx> wrote:
> >> These definitely seem relevant.  You said it's an EFI system.  Is
> >> /boot/efi mounted correctly?
> > 
> > Thanks! I would guess so, given that it worked as expected with F28 (systemd 238-9).
> > 
> > df -h
> > /dev/nvme0n1p1 vfat      952M   18M  934M   2% /boot/efi
> 
> The error opening /boot/efi is curious.  Can you follow the instructions 
> in 
> https://lists.freedesktop.org/archives/systemd-devel/2013-March/010004.html 
> to enable debug logging for logind (the second part written by Lennart, 
> not the quoted part).  Reboot after those changes and try my 
> instructions again with running journalctl before trying to hibernate.

Here is the output:

Nov 04 19:12:41 machine.name systemd-logind[805]: Got message type=method_call sender=:1.129 destination=org.freedesktop.login1 path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=ListInhibitors cookie=2 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Sent message type=method_return sender=n/a destination=:1.129 path=n/a interface=n/a member=n/a cookie=40 reply_cookie=2 signature=a(ssssuu) error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name polkitd[776]: Registered Authentication Agent for unix-process:1606:17251 (system bus name :1.130 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Nov 04 19:12:41 machine.name systemd-logind[805]: Got message type=method_call sender=:1.129 destination=org.freedesktop.login1 path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=SetWallMessage cookie=3 reply_cookie=0 signature=sb error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=GetConnectionUnixUser cookie=41 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Got message type=method_return sender=org.freedesktop.DBus destination=:1.14 path=n/a interface=n/a member=n/a cookie=20 reply_cookie=41 signature=u error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Sent message type=method_call sender=n/a destination=org.freedesktop.PolicyKit1 path=/org/freedesktop/PolicyKit1/Authority interface=org.freedesktop.PolicyKit1.Authority member=CheckAuthorization cookie=42 reply_cookie=0 signature=(sa{sv})sa{ss}us error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Got message type=method_return sender=:1.10 destination=:1.14 path=n/a interface=n/a member=n/a cookie=175 reply_cookie=42 signature=(bba{ss}) error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Sent message type=method_return sender=n/a destination=:1.129 path=n/a interface=n/a member=n/a cookie=43 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Got message type=method_call sender=:1.129 destination=org.freedesktop.login1 path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=Hibernate cookie=4 reply_cookie=0 signature=b error-name=n/a error-message=n/a
Nov 04 19:12:41 machine.name systemd-logind[805]: Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Nov 04 19:12:41 machine.name systemd-logind[805]: Enough swap for hibernation, Active(anon)=234032 kB, size=20967420 kB, used=0 kB, threshold=98%
Nov 04 19:12:41 machine.name audit[805]: AVC avc:  denied  { read } for  pid=805 comm="systemd-logind" name="nvme0n1p1" dev="devtmpfs" ino=17833 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=blk_file permissive=0
Nov 04 19:12:41 machine.name audit[805]: SYSCALL arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=7fffb9486130 a2=80000 a3=0 items=0 ppid=1 pid=805 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-logind" exe="/usr/lib/systemd/systemd-logind" subj=system_u:system_r:systemd_logind_t:s0 key=(null)
Nov 04 19:12:41 machine.name audit: PROCTITLE proctitle="/usr/lib/systemd/systemd-logind"
Nov 04 19:12:41 machine.name systemd-logind[805]: Failed to open file system "/boot/efi": Permission denied
Nov 04 19:12:41 machine.name systemd-logind[805]: Cannot read boot configuration from ESP, assuming hibernation is not possible.
Nov 04 19:12:41 machine.name kernel: audit: type=1400 audit(1541380361.892:226): avc:  denied  { read } for  pid=805 comm="systemd-logind" name="nvme0n1p1" dev="devtmpfs" ino=17833 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:nvme_device_t:s0 tclass=blk_file permissive=0
Nov 04 19:12:41 machine.name kernel: audit: type=1300 audit(1541380361.892:226): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=7fffb9486130 a2=80000 a3=0 items=0 ppid=1 pid=805 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-logind" exe="/usr/lib/systemd/systemd-logind" subj=system_u:system_r:systemd_logind_t:s0 key=(null)
Nov 04 19:12:41 machine.name kernel: audit: type=1327 audit(1541380361.892:226): proctitle="/usr/lib/systemd/systemd-logind"
Nov 04 19:12:41 machine.name systemd-logind[805]: Sent message type=error sender=n/a destination=:1.129 path=n/a interface=n/a member=n/a cookie=44 reply_cookie=4 signature=s error-name=org.freedesktop.login1.SleepVerbNotSupported error-message=Resume not configured, can't hibernate
Nov 04 19:12:41 machine.name systemd-logind[805]: Failed to process message type=method_call sender=:1.129 destination=org.freedesktop.login1 path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member=Hibernate cookie=4 reply_cookie=0 signature=b error-name=n/a error-message=n/a: Resume not configured, can't hibernate
Nov 04 19:12:41 machine.name polkitd[776]: Unregistered Authentication Agent for unix-process:1606:17251 (system bus name :1.130, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)

> >> What user are you running systemctl as?
> > 
> > mortal user.
> 
> Does it work if you do "sudo systemctl hibernate"? 

No, it has the same effect, that is, nothing happens beyond the error message.

 Did you try 
> installing the pm-utils package I linked you to from koji?  See if 
> "pm-hibernate" works.

Sorry, it works, and flawlessly. I am wondering if I should just upgrade the source rpm and then forget about this mess of systemd.

> >> Where are you running it?  From a console or from a graphical terminal
> >> window?
> > 
> >  From a CLI terminal. What is a console?
> 
> If you press CTRL-ALT-F3, you should get a text console.  Pressing 
> ALT-F2 should get you back to your graphical session.  If that doesn't 
> work, try ALT-F1 (I'm not sure if gdm always starts a new console now).

I see. I am using a text console. 

Thanks again!
Ranjan
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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