[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2021-07-28 Thread Brian Murray
The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release ** Changed in: hibagent (Ubuntu Groovy) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2021-01-20 Thread Balint Reczey
Hibagent is affected as well. https://github.com/aws/ec2-hibernate-linux-agent/issues/8 ** Also affects: hibagent (Ubuntu) Importance: Undecided Status: New ** Bug watch added: github.com/aws/ec2-hibernate-linux-agent/issues #8 https://github.com/aws/ec2-hibernate-linux-agent/issues

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-23 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu4~18.04.5 --- ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.5) bionic; urgency=medium * Always set resume device by PARTUUID instead of by device name. Based on patch by Francis Ginther. (LP: #1896638) -- Balint Recz

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-23 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu4~16.04.4 --- ec2-hibinit-agent (1.0.0-0ubuntu4~16.04.4) xenial; urgency=medium * Always set resume device by PARTUUID instead of by device name. Based on patch by Francis Ginther. (LP: #1896638) -- Balint Recz

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-20 Thread Balint Reczey
Verified 1.0.0-0ubuntu4~18.04.5 on Bionic: ubuntu@ip-172-31-0-42:~$ dpkg -l ec2-hibinit-agent | cat Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-20 Thread Balint Reczey
For the record with the not fixed packages: ubuntu@ip-172-31-0-42:~$ cat /etc/default/grub.d/99-set-swap.cfg GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT no_console_suspend=1 resume_offset=1716224 resume=/dev/xvda1" ubuntu@ip-172-31-0-42:~$ dpkg -l ec2-hibinit-agent Desired=Unknown/Ins

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-03 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu9.1 --- ec2-hibinit-agent (1.0.0-0ubuntu9.1) focal; urgency=medium * Disable suspending the system (LP: #1898087) * Always set resume device by PARTUUID instead of by device name. Based on patch by Francis Gint

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-03 Thread Brian Murray
Hello Francis, or anyone else affected, Accepted ec2-hibinit-agent into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2 -hibinit-agent/1.0.0-0ubuntu4~18.04.5 in a few hours, and then in the -proposed repository. Please help us by testing th

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-11-02 Thread Francis Ginther
I ran this through our automated hibernation testing. On spot checking the logs, I do see the resume path being set to the PARTUUID as expected by this SRU. I consider this to cover `verification-done-focal` for our testing. -- You received this bug notification because you are a member of Ubuntu

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-29 Thread Balint Reczey
Verified 1.0.0-0ubuntu9.1 on Focal: ubuntu@ip-172-31-1-183:~$ sudo apt purge ec2-hibinit-agent Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: ec2-hibinit-agent* 0 upgraded, 0 newly installed, 1 to remove an

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-27 Thread Brian Murray
Hello Francis, or anyone else affected, Accepted ec2-hibinit-agent into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ec2 -hibinit-agent/1.0.0-0ubuntu9.1 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-20 Thread Balint Reczey
I've uploaded the fix for Focal. ** Changed in: ec2-hibinit-agent (Ubuntu Focal) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896638 Title: Path to swapfi

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-20 Thread Balint Reczey
** Description changed: [Impact] * Using the device name on the kernel cmdline in the resume= option leads to failure to resume from hibernation when the device name is not stable, which can be the case for nvme drives. [Test Case] * Set up an EC2 instance to allow hibernation

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-20 Thread Balint Reczey
** Description changed: + [Impact] + + * Using the device name on the kernel cmdline in the resume= option + leads to failure to resume from hibernation when the device name is not + stable, which can be the case for nvme drives. + + [Test Case] + + * Set up an EC2 instance to allow hibernation

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-15 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu11 --- ec2-hibinit-agent (1.0.0-0ubuntu11) groovy; urgency=medium * Disable suspending the system (LP: #1898087) * Always set resume device by PARTUUID instead of by device name. Based on patch by Francis Ginth

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-14 Thread Balint Reczey
** Changed in: ec2-hibinit-agent (Ubuntu Xenial) Status: New => Confirmed ** Changed in: ec2-hibinit-agent (Ubuntu Groovy) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.lau

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-10-02 Thread Balint Reczey
** Changed in: ec2-hibinit-agent (Ubuntu Focal) Status: New => Invalid ** Changed in: ec2-hibinit-agent (Ubuntu Groovy) Status: New => Invalid ** Changed in: ec2-hibinit-agent (Ubuntu Bionic) Status: New => Confirmed ** Changed in: ec2-hibinit-agent (Ubuntu Focal) Sta

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-09-24 Thread Francis Ginther
I've updated the find_device_for_file() function in /usr/bin/hibinit- agent to: def find_device_for_file(filename): # Find the mount point for the swap file ('df -P /swap') df_out = check_output(['df', '-P', filename]).decode('ascii') dev_str = df_out.split("\n")[1].split()[0] lsbl

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-09-22 Thread Francis Ginther
I was unable to get either the by-uuid or by-label paths to work in my initial hacking. The kernel cmdline looked like what I would expect, for example '... resume_offset=225280 resume=/dev/disk/by-label/cloudimg- rootfs', but the hibernation image was not restored. Not currently seeing anything in

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-09-22 Thread Dimitri John Ledkov
although, our cloud images normally boot by-label, thus potentially we should use the same LABEL= device, as specified in fstab of our cloud- images. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/18966

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-09-22 Thread Dimitri John Ledkov
i.e. ext4 /dev/disk/by-uuid/9958d086-4f20-4807-8976-58807a5bc7e0 or some such, if it will be accepted by our initrd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896638 Title: Path to swapfile doe

[Bug 1896638] Re: Path to swapfile doesn't use a static device path

2020-09-22 Thread Dimitri John Ledkov
please use by-id with uuid path as listed in https://wiki.ubuntu.com/FSTAB -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1896638 Title: Path to swapfile doesn't use a static device path To manage n