Bug 991350 - systemctl hibernate tries to call /usr/bin/systemd-sleep-grub which has been removed
Summary: systemctl hibernate tries to call /usr/bin/systemd-sleep-grub which has been ...
Status: RESOLVED DUPLICATE of bug 941758
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 42.2
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: systemd maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-29 22:25 UTC by Thomas Leineweber
Modified: 2016-08-17 18:02 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Leineweber 2016-07-29 22:25:11 UTC
with a current Leap 42.2 systemctl hibernate tries to call /usr/bin/systemd-sleep-grub, but fails:

Jul 30 00:04:00 x1.box systemd[1]: Starting Hibernate...
Jul 30 00:04:00 x1.box systemd[4154]: systemd-hibernate.service: Failed at step EXEC spawning /usr/bin/systemd-sleep-grub: No such file or directory
Jul 30 00:04:00 x1.box systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=203/EXEC
Jul 30 00:04:00 x1.box systemd[1]: Failed to start Hibernate.
Jul 30 00:04:00 x1.box systemd[1]: Dependency failed for Hibernate.

The script was removed in https://build.opensuse.org/request/show/407291. Nevertheless, hibernation tries to call this script. It has not been removed from the service /usr/lib/systemd/system/systemd-hibernate.service

[Service]
Type=oneshot
ExecStart=/usr/bin/systemd-sleep-grub pre
ExecStart=/usr/lib/systemd/systemd-sleep hibernate
ExecStopPost=/usr/bin/systemd-sleep-grub post

Version information:

> rpm -q systemd
systemd-228-5.3.x86_64
Comment 1 Thomas Blume 2016-08-01 11:11:59 UTC
Duplicate of bug 941758.
Sleep functionality has been moved to a grub2 subpackage.

*** This bug has been marked as a duplicate of bug 941758 ***