When booting OS 13.2 with any of the “Advanced options”, that is with anything but the latest kernel installed (3.17.6 on this box), and trying to suspend to disk, my laptop ends up with an incorrect grubenv like the following:
# GRUB Environment Block
next_entry=Advanced options for openSUSE>openSUSE, with Linux 3.16.7-7-desktop (recovery mode)
##############################################################################################
Not surprisingly, the next boot is in “recovery mode”, the “next_entry” in grubenv is not reset, so every boot after that is the same, without Grub menu (understandably) until grubenv is manually cleared.
When originally booting with the first “default” “openSUSE” menu option (that is, with the latest kernel installed), everything works as expected.
So that is not related to HW, swap or the usual troubles with hibernation.
My guess is that a script or something is wrong counting the grub configuration lines, landing one line after the correct one when writing grubenv on suspend and therefore picking the “(recovery mode)” line that causes the following harm.
Please, systemd experts, point me to the culprit script or whatever, or even to an existing bugreport if there is one (a quick search didn’t find this specific trouble…).
To be clear, I need help to submit a to-the-point bug report if this behaviour is not already known.
I seldom use suspend-to-disk, and discovered this just by chance while testing the recently updated kernel, so I don’t really need to fix my system.