Am 09.07.2018 um 05:56 schrieb mario.limoncie...@dell.com: > I think I have an understanding on what's happening here. So when you > configured > your system to have a RESUME= variable on the DEFAULT kernel command line then > the kernel chooses to fill this one at bootup (hence the 8:8). This kernel > command line > is also what's passed to the initramfs, so even if you didn't configure that > resume file > it's what is used for resuming. > > Now the systemd changes have messed this up for you because they are writing > to the > biggest swap (changing your 8:8). > > As a simple fix, I expect if you change your RESUME= to the other swap > partition your > resume behavior will be fine. > > That being said, I think it makes sense to amend the systemd logic to also > look for the > kernel command line RESUME= variable and choose that if the user had put it > on kernel > command line.
Thanks for your feedback, Mario. I agree that systemd should respect what's setup in RESUME (by parsing /proc/cmdline). It should probably also check if /sys/power/resume has already been setup. At this point I guess we should take this upstream. I'll file a corresponding bug report. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature