Bug 1645814
| Summary: | Hibernation to disk fails after root password is changed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aaron Earl <earl.aaron> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | earl.aaron, lnykryn, msekleta, ssahani, s, systemd-maint, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-01-11 15:22:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Aaron Earl
2018-11-04 00:20:30 UTC
The version of systemd is systemd 239 +PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid Hi, there is no way for the root password to be related to any of the hibernation checks. I'm 99.9% sure that this was just a coincidence. What is the rpm version that you have? Please install 'systemd-tests' rpm and execute: sudo SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/tests/test-sleep and paste or attach the output here. The RPM version is 4.14.2.1
The results of running $ sudo SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/tests/test-sleep:
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
/* configuration */
Standby configured: no
Suspend configured: yes
Hibernate configured: yes
Hibernate+Suspend (Hybrid-Sleep) configured: yes
Hibernate+Reboot configured: yes
Hibernate+Platform configured: yes
Hibernate+Shutdown configured: yes
Freeze configured: yes
/* running system */
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Suspend configured and possible: yes
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Enough swap for hibernation, Active(anon)=1164604 kB, size=67106812 kB, used=0 kB, threshold=98%
Found container virtualization none.
Failed to open "/boot/efi/loader/loader.conf": No such file or directory
Failed to read boot config from "/boot/efi/loader/loader.conf": No such file or directory
Failed to load bootspec config from "/boot/efi/loader": No such file or directory
Cannot read boot configuration from ESP, assuming hibernation is not possible.
Hibernation configured and possible: Advertise error
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Enough swap for hibernation, Active(anon)=1164896 kB, size=67106812 kB, used=0 kB, threshold=98%
Failed to open "/boot/efi/loader/loader.conf": No such file or directory
Failed to read boot config from "/boot/efi/loader/loader.conf": No such file or directory
Failed to load bootspec config from "/boot/efi/loader": No such file or directory
Cannot read boot configuration from ESP, assuming hibernation is not possible.
Hybrid-sleep configured and possible: Advertise error
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory
Enough swap for hibernation, Active(anon)=1165188 kB, size=67106812 kB, used=0 kB, threshold=98%
Failed to open "/boot/efi/loader/loader.conf": No such file or directory
Failed to read boot config from "/boot/efi/loader/loader.conf": No such file or directory
Failed to load bootspec config from "/boot/efi/loader": No such file or directory
Cannot read boot configuration from ESP, assuming hibernation is not possible.
Unable to hibernate system.
Suspend-then-Hibernate configured and possible: no
extent map information for /usr/lib/systemd/tests/test-sleep:
start: 0
length: 20248
flags: 1
number of mapped extents: 1
extent count: 1
first extent location: 61973632
I have followed a suggestion supplied by Krause.Markus [Bug 1645870] and downgraded my systemd package from systemd-239-6.git9f3aed1.fc29 to systemd-239-3.fc29 and can report that my hibernation functionality is restored. The results of running $ sudo SYSTEMD_LOG_LEVEL=debug /usr/lib/systemd/tests/test-sleep: Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory /* configuration */ Standby configured: no Suspend configured: yes Hibernate configured: yes Hibernate+Suspend (Hybrid-Sleep) configured: yes Hibernate+Reboot configured: yes Hibernate+Platform configured: yes Hibernate+Shutdown configured: yes Freeze configured: yes /* running system */ Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Suspend configured and possible: yes Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Hibernation is possible, Active(anon)=785388 kB, size=67106812 kB, used=0 kB, threshold=98% Hibernation configured and possible: yes Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Hibernation is possible, Active(anon)=785388 kB, size=67106812 kB, used=0 kB, threshold=98% Hybrid-sleep configured and possible: yes Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Failed to open configuration file '/etc/systemd/sleep.conf': No such file or directory Hibernation is possible, Active(anon)=785388 kB, size=67106812 kB, used=0 kB, threshold=98% Suspend-then-Hibernate configured and possible: yes extent map information for /usr/lib/systemd/tests/test-sleep: start: 0 length: 21016 flags: 1 number of mapped extents: 1 extent count: 1 first extent location: 61962682 This should be fixed now. *** This bug has been marked as a duplicate of bug 1645870 *** |