Mailinglist Archive: opensuse (1367 mails)

< Previous Next >
[opensuse] Re: systemd-sleep-grub debugging (SOLVED)
Bjoern Voigt wrote:
If my PC goes sleeping, systemd-sleep-grub does not call grub2-once any-more.
This causes failing sleep mode entry (hibernate), if the running kernel is
not the default kernel.

I see, that /usr/bin/systemd-sleep-grub is a shell script and some logging
can be found in Systemd journal. But logging is not very detailed.

What is a good strategy to debug the script?
I didn't find a way to debug this.

But I found a fix for my grub2-once problem. The LOADER_TYPE comment in
/etc/sysconfig/bootloader caused the problem


## Path: System/Bootloader
## Description: Bootloader configuration
## Type: list(grub,grub2,grub2-efi,none)
## Default: grub2
# Type of bootloader in use.
# For making the change effect run bootloader configuration tool
# and configure newly selected bootloader
^^^ remove!

I filed a bug for this:

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >