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 /etc/sysconfig/bootloader: ## 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 # # #LOADER_TYPE="grub2-efi" ^^^ remove! LOADER_TYPE="grub2" I filed a bug for this: https://bugzilla.opensuse.org/show_bug.cgi?id=963610 Greetings, Björn -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org