[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu4~18.04.6

---
ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.6) bionic; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
swapfile priority issues with additional or multiple swapfiles enabled.
(LP: #1968805)
- d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell   Thu, 21 Apr 2022
17:03:54 +1200

** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu9.2

---
ec2-hibinit-agent (1.0.0-0ubuntu9.2) focal; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
swapfile priority issues with additional or multiple swapfiles enabled.
(LP: #1968805)
- d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell   Wed, 13 Apr 2022
16:00:11 +1200

** Changed in: ec2-hibinit-agent (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu11.21.10.1

---
ec2-hibinit-agent (1.0.0-0ubuntu11.21.10.1) impish; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
swapfile priority issues with additional or multiple swapfiles enabled.
(LP: #1968805)
- d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell   Wed, 13 Apr 2022
16:09:38 +1200

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-06-06 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent -
1.0.0-0ubuntu11.22.04.1

---
ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.1) jammy; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
swapfile priority issues with additional or multiple swapfiles enabled.
(LP: #1968805)
- d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell   Wed, 13 Apr 2022
16:19:30 +1200

** Changed in: ec2-hibinit-agent (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

** Changed in: ec2-hibinit-agent (Ubuntu Impish)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-06-03 Thread Matthew Ruffell
Performing verification for Bionic.

Bionic seems to hibernate okay on both Xen and KVM based instances, so I tested 
both t2.medium and c5.large instance types. Each had 20gb of storage, with 
advanced > enable encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I started two sets of instances, one with 1.0.0-0ubuntu4~18.04.5 from
-updates, and the other with 1.0.0-0ubuntu4~18.04.6 from -proposed.

After leaving each instance for a few minutes to finish setting up
hibinit-agent.service, I pressed Instance State > Hibernate.

Both instances hibernated successfully, and within 30 seconds of
pressing the hibernate button.

I then started both instances, and ssh'd in. My screen sessions were
both active, so hibernation was successful.

The base case of no additional swapfile configured results in correct
hibernation for both -updates and -proposed packages.

I then followed the below steps, and added an additional swapfile to
each instance.

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

I went back to the console and pressed Instance State > Hibernate.

This time, both instances hibernated successfully, and completed within
30 seconds of pressing the hibernate button. Bionic has a different
behaviour to that of Focal and onward, where the -updates package would
stay running, and be force stopped 20 minutes later. On Bionic, both
hibernate successfully.

I then started both instances. Both instances came up correctly, and I
could ssh in. But my screen sessions were missing, and journalctl showed
this was a fresh boot for both instances. It seems Bionic has issues
resuming from hibernation when there is an additional swapfile set, but
most users do not notice it, because the instance comes up and starts
correctly, as if hibernation had been successful.

Journalctl in both suggests that it wasn't aware that it was hibernated
in the first place as no attempt to resume was made, so perhaps we are
setting the resume= variable on the kernel command line wrong. I
checked, and Bionic sets it as:

resume_offset=401408 resume=PARTUUID=80f6dacd-01

I checked the offsets manually with

$ findmnt -no PARTUUID -T /swap-hibinit
80f6dacd-01

$ sudo filefrag -v /swap-hibinit
Filesystem type is: ef53
File size of /swap-hibinit is 4194304000 (1024000 blocks of 4096 bytes)
 ext: logical_offset:physical_offset: length:   expected: flags:
   0:0..   0: 401408..401408:  1: 
   
everything matched. Very strange. It should have resumed...

Regardless of the outcome, I checked journalctl of the previous boot,
and for the instance with -updates enabled, we see:

Jun 03 05:04:02 ip-172-31-26-1 systemd-logind[1108]: Suspend key pressed.
Jun 03 05:04:02 ip-172-31-26-1 systemd-logind[1108]: Requested operation not 
supported, ignoring.
Jun 03 05:04:02 ip-172-31-26-1 kernel: Adding 4095996k swap on /swap-hibinit.  
Priority:-3 extents:5 across:43827
Jun 03 05:04:02 ip-172-31-26-1 systemd[1]: Reached target Sleep.
Jun 03 05:04:02 ip-172-31-26-1 systemd[1]: Starting Hibernate...
Jun 03 05:04:02 ip-172-31-26-1 kernel: PM: Image not found (code -16)
Jun 03 05:04:02 ip-172-31-26-1 systemd-sleep[3321]: Suspending system...
Jun 03 05:04:02 ip-172-31-26-1 kernel: PM: hibernation entry

/swap-hibinit is still enabled at priority -3, so this specific
launchpad bug still exists on Bionic, and the /swap file will be
selected for hibernation instead, due to it having a priority of -2.

On the instance with -proposed enabled:

Jun 03 05:04:02 ip-172-31-25-176 systemd-logind[3432]: Suspend key pressed.
Jun 03 05:04:02 ip-172-31-25-176 systemd-logind[3432]: Requested operation not 
supported, ignoring.
Jun 03 05:04:02 ip-172-31-25-176 kernel: Adding 4095996k swap on /swap-hibinit. 
 Priority:32767 extents:5 across:
Jun 03 05:04:02 ip-172-31-25-176 systemd[1]: Reached target Sleep.
Jun 03 05:04:02 ip-172-31-25-176 systemd[1]: Starting Hibernate...
Jun 03 05:04:02 ip-172-31-25-176 kernel: PM: Image not found (code -16)
Jun 03 05:04:02 ip-172-31-25-176 systemd-sleep[4314]: Suspending system...
Jun 03 05:04:02 ip-172-31-25-176 kernel: PM: hibernation entry

/swap-hibinit is added with priority 32767, and will be selected over
/swapfile, since it beats -2.

The changes in this SRU are still beneficial and needed, and worth the
regression risk even though there is no behavioural change to the user
with the package in -proposed versus the package in -updates. It also
keeps the code in ec2-hibinit-agent in sync with focal and onward
regards to changes.

I think we should look into the hibernation issue with Bionic in a
separate bug, and track it there, and keep this bug about making sure
/swap-hibinit is enabled with 

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-26 Thread Matthew Ruffell
Performing verification for Jammy.

For some reason hibernation just refused to work on any Xen based
instance type, but it works fine on KVM based instances, such as c5, t3
etc. This is being looked into on bug 1968062, but I think it affects
Jammy as well.

Diverging from the testcase, and using c5.large (kvm) instances instead
of t2.medium (xen).

I started a c5.large instance with 20gb of storage, with advanced > enable 
encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

This is using the current version of ec2-hibinit-agent from -updates:

$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu11
  
I went to the EC2 console and pressed Instance State > Hibernate.

The instance stopped within 30 seconds, and hibernation was successful.
I started the instance again.

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

I went back to the console and pressed Instance State > Hibernate.

The follow was written to journalctl:

May 26 05:06:22 ip-172-31-45-200 systemd-logind[519]: Suspend key pressed.
May 26 05:06:22 ip-172-31-45-200 systemd-logind[519]: Requested suspend 
operation not supported, ignoring.
May 26 05:06:22 ip-172-31-45-200 kernel: Adding 4095996k swap on /swap-hibinit. 
 Priority:-3 extents:5 across:4505596k SSFS
May 26 05:06:22 ip-172-31-45-200 root[2917]: ACPI action undefined: LNXSLPBN:00

The instance did not hibernate, and stayed running for 20 minutes, until
it timed out and was force stopped.

We can see from the logs that /swap-hibinit was added at priority -3,
and /swapfile is -2. /swapfile was chosen for hibernation, but as since
kernel command line and grub is not set up for this, it fails.

I terminated the instance.

I then created a new instance, again a c5.large, with 20gb of storage, with 
Advanced > Enable Encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

I enabled -proposed, and installed ec2-hibinit-agent
1.0.0-0ubuntu11.22.04.1

Setting up ec2-hibinit-agent (1.0.0-0ubuntu11.22.04.1) ...
Installing new version of config file /etc/acpi/actions/sleep.sh ...
$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu11.22.04.1
  
I went to the EC2 console and pressed Instance State > Hibernate.

Again, the instance stopped within 30 seconds, and hibernation was
successful.

I started the instance again, and configured a second swapfile:

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.7073 s, 135 MB/s
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=ae0bbc8e-4558-4e6a-936b-ed1341b45056
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

Then, I went back to the EC2 console and selected Instance State >
Hibernate.

The instance stopped within 30 seconds, hibernating successfully.

I then started the instance again, and I could log in:

My screen session is still there, so hibernation went as planned.

$ screen -r
There are several suitable screens on:
3655.pts-4.ip-172-31-27-182 (05/26/22 04:24:13) (Detached)
3472.pts-1.ip-172-31-27-182 (05/26/22 04:19:43) (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

The new package, 1.0.0-0ubuntu11.22.04.1 in -proposed fixes the issue,
and I am able to hibernate with an additional swapfile set. Happy to
mark as verified for Jammy.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-25 Thread Matthew Ruffell
Performing verification for Impish.

For some reason hibernation just refused to work on any Xen based
instance type, but it works fine on KVM based instances, such as c5, t3
etc. This is being looked into on bug 1968062, but I think it affects
Impish as well.

Diverging from the testcase, and using c5.large (kvm) instances instead
of t2.medium (xen).

I started a c5.large instance with 20gb of storage, with advanced > enable 
encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

This is using the current version of ec2-hibinit-agent from -updates:

$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu11
  
I went to the EC2 console and pressed Instance State > Hibernate.

The instance stopped within 30 seconds, and hibernation was successful.
I started the instance again.

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

I went back to the console and pressed Instance State > Hibernate.

The follow was written to journalctl:

May 26 05:06:22 ip-172-31-45-200 systemd-logind[519]: Suspend key pressed.
May 26 05:06:22 ip-172-31-45-200 systemd-logind[519]: Requested suspend 
operation not supported, ignoring.
May 26 05:06:22 ip-172-31-45-200 kernel: Adding 4095996k swap on /swap-hibinit. 
 Priority:-3 extents:5 across:4505596k SSFS
May 26 05:06:22 ip-172-31-45-200 root[2917]: ACPI action undefined: LNXSLPBN:00

The instance did not hibernate, and stayed running for 20 minutes, until
it timed out and was force stopped.

We can see from the logs that /swap-hibinit was added at priority -3,
and /swapfile is -2. /swapfile was chosen for hibernation, but as since
kernel command line and grub is not set up for this, it fails.

I terminated the instance.

I then created a new instance, again a c5.large, with 20gb of storage, with 
Advanced > Enable Encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

I enabled -proposed, and installed ec2-hibinit-agent
1.0.0-0ubuntu11.21.10.1

Setting up ec2-hibinit-agent (1.0.0-0ubuntu11.21.10.1) ...
Installing new version of config file /etc/acpi/actions/sleep.sh ...
$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu11.21.10.1
  
I went to the EC2 console and pressed Instance State > Hibernate.

Again, the instance stopped within 30 seconds, and hibernation was
successful.

I started the instance again, and configured a second swapfile:

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.5124 s, 136 MB/s
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=ae0bbc8e-4558-4e6a-936b-ed1341b45056
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

Then, I went back to the EC2 console and selected Instance State >
Hibernate.

The instance stopped within 30 seconds, hibernating successfully.

I then started the instance again, and I could log in:

My screen session is still there, so hibernation went as planned.

$ screen -r
There are several suitable screens on:
3655.pts-4.ip-172-31-27-182 (05/26/22 04:24:13) (Detached)
3472.pts-1.ip-172-31-27-182 (05/26/22 04:19:43) (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

The new package, 1.0.0-0ubuntu11.21.10.1 in -proposed fixes the issue,
and I am able to hibernate with an additional swapfile set. Happy to
mark as verified for Impish.

** Tags removed: verification-needed-impish
** Tags added: verification-done-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-25 Thread Matthew Ruffell
Performing verification for Focal.

For some reason hibernation just refused to work on any Xen based
instance type, but it works fine on KVM based instances, such as c5, t3
etc. This is being looked into on bug 1968062, but I think it affects
Focal as well.

Diverging from the testcase, and using c5.large (kvm) instances instead
of t2.medium (xen).

I started a c5.large instance with 20gb of storage, with advanced > enable 
encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

This is using the current version of ec2-hibinit-agent from -updates:

$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu9.1
  
I went to the EC2 console and pressed Instance State > Hibernate.

The instance stopped within 30 seconds, and hibernation was successful.
I started the instance again.

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

I went back to the console and pressed Instance State > Hibernate.

The follow was written to journalctl:

May 26 03:25:27 ip-172-31-26-217 systemd-logind[523]: Suspend key pressed.
May 26 03:25:27 ip-172-31-26-217 systemd-logind[523]: Requested suspend 
operation not supported, ignoring.
May 26 03:25:27 ip-172-31-26-217 udisksd[525]: udisks_mount_get_mount_path: 
assertion 'mount->type == UDISKS_MOUNT_TYPE_FILESYSTEM' failed
May 26 03:25:27 ip-172-31-26-217 kernel: Adding 4095996k swap on /swap-hibinit. 
 Priority:-3 extents:9 across:5087228k SSFS
May 26 03:25:27 ip-172-31-26-217 root[2720]: ACPI action undefined: LNXSLPBN:00

The instance did not hibernate, and stayed running for 20 minutes, until
it timed out and was force stopped.

We can see from the logs that /swap-hibinit was added at priority -3,
and /swapfile is -2. /swapfile was chosen for hibernation, but as since
kernel command line and grub is not set up for this, it fails.

I terminated the instance.

I then created a new instance, again a c5.large, with 20gb of storage, with 
Advanced > Enable Encryption > yes.
I also made sure to enable Advanced settings > Stop State (Hibernation) Support 
> Enabled.

I waited for hibinit-agent.service to complete by watching 
$ sudo systemctl status hibinit-agent.service

I enabled -proposed, and installed ec2-hibinit-agent 1.0.0-0ubuntu9.2

Setting up ec2-hibinit-agent (1.0.0-0ubuntu9.2) ...
Installing new version of config file /etc/acpi/actions/sleep.sh ...
$ apt-cache policy ec2-hibinit-agent | grep Installed
  Installed: 1.0.0-0ubuntu9.2
  
I went to the EC2 console and pressed Instance State > Hibernate.

Again, the instance stopped within 30 seconds, and hibernation was
successful.

I started the instance again, and configured a second swapfile:

From there, I made a swapfile, and enabled it:

$ sudo fallocate -l 4G /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
4194304+0 records in
4194304+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 31.7563 s, 135 MB/s
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=ffbed86f-8317-4c16-8ab2-19fd5c3190aa
$ sudo swapon /swapfile
$ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
$ swapon --show
NAME TYPE SIZE USED PRIO
/swapfile file 4G 0B -2

Then, I went back to the EC2 console and selected Instance State >
Hibernate.

The instance stopped within 30 seconds, hibernating successfully.

I then started the instance again, and I could log in:

My screen session is still there, so hibernation went as planned.

$ screen -r
There are several suitable screens on:
3655.pts-4.ip-172-31-27-182 (05/26/22 04:24:13) (Detached)
3472.pts-1.ip-172-31-27-182 (05/26/22 04:19:43) (Detached)
Type "screen [-d] -r [pid.]tty.host" to resume one of them.

The new package, 1.0.0-0ubuntu9.2 in -proposed fixes the issue, and I am
able to hibernate with an additional swapfile set. Happy to mark as
verified for Focal.

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-25 Thread Robie Basak
Unsubscribing sponsors.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-25 Thread Robie Basak
Hello Matthew, or anyone else affected,

Accepted ec2-hibinit-agent into jammy-proposed. The package will build
now and be available at
https://launchpad.net/ubuntu/+source/ec2-hibinit-
agent/1.0.0-0ubuntu11.22.04.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
jammy to verification-done-jammy. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-jammy. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: ec2-hibinit-agent (Ubuntu Jammy)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-jammy

** Changed in: ec2-hibinit-agent (Ubuntu Impish)
   Status: In Progress => Fix Committed

** Tags added: verification-needed-impish

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-20 Thread Heitor Alves de Siqueira
Uploaded to the stable series. Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-19 Thread Launchpad Bug Tracker
This bug was fixed in the package ec2-hibinit-agent - 1.0.0-0ubuntu12

---
ec2-hibinit-agent (1.0.0-0ubuntu12) kinetic; urgency=medium

  * Swapon with maximum priority right before hibernation. This resolves
swapfile priority issues with additional or multiple swapfiles enabled.
(LP: #1968805)
- d/p/lp1968805-Swapon-with-maximum-priority-before-hibernation.patch

 -- Matthew Ruffell   Wed, 11 May 2022
16:02:52 +1200

** Changed in: ec2-hibinit-agent (Ubuntu Kinetic)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-19 Thread Dan Streetman
uploaded to k, thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-18 Thread Heitor Alves de Siqueira
** Tags removed: sts-sponsor
** Tags added: sts-sponsor-halves

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
** Patch added: "debdiff for ec2-hibinit-agent for bionic"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5588358/+files/lp1968805_bionic_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
Attached is a V2 patch for Focal.

** Patch added: "debdiff for ec2-hibinit-agent for focal"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5588357/+files/lp1968805_focal_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
Attached is a V2 patch for Impish.

** Patch added: "debdiff for ec2-hibinit-agent for impish"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5588356/+files/lp1968805_impish_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
Attached is a V2 patch for Jammy

** Patch added: "debdiff for ec2-hibinit-agent for jammy"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5588355/+files/lp1968805_jammy_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
Attached is a V2 patch for Kinetic.

** Patch added: "debdiff for ec2-hibinit-agent for kinetic"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5588354/+files/lp1968805_kinetic_v2.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
** Also affects: ec2-hibinit-agent (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: ec2-hibinit-agent (Ubuntu Kinetic)
   Importance: Medium
 Assignee: Matthew Ruffell (mruffell)
   Status: In Progress

** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
   Status: New => In Progress

** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
   Importance: Undecided => Medium

** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
 Assignee: (unassigned) => Matthew Ruffell (mruffell)

** Patch removed: "debdiff for ec2-hibinit-agent for impish"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580293/+files/lp1968805_impish.debdiff

** Patch removed: "debdiff for ec2-hibinit-agent for jammy"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580294/+files/lp1968805_jammy.debdiff

** Patch removed: "debdiff for ec2-hibinit-agent for bionic"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5581947/+files/lp1968805_bionic.debdiff

** Patch removed: "debdiff for ec2-hibinit-agent for focal"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580292/+files/lp1968805_focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-05-10 Thread Matthew Ruffell
The fix has now been merged upstream with:

commit a2303d269610a6e7415c5045766da605eaa7e30f
From: Matthew Ruffell 
Date: Wed, 20 Apr 2022 15:59:25 +1200
Subject: Swapon with maximum priority before hibernation
Link: 
https://github.com/aws/amazon-ec2-hibinit-agent/commit/a2303d269610a6e7415c5045766da605eaa7e30f

** Description changed:

  [Impact]
  
  It is not uncommon for users to add a swapfile to their AWS instance, in
  case they run short of memory. For users that optionally enable
  Hibernation support, the swapfile generated by ec2-hibinit-agent, /swap-
  hibinit, needs to always be the highest priority when it comes to
  suspend the system, since ec2-hibinit-agent sets up /swap-hibinit to be
  the correct way to suspend and resume via the resume=UUID= and
  resume_offeset= kernel command line parameters.
  
  ec2-hibinit-agent keeps /swap-hibinit swapoff during normal instance
  use, and right before Hibernation occurs, /etc/acpi/actions/sleep.sh
  swapon /swap-hibinit, and calls systemctl hibernate:
  
  do_hibernate() {
  if [ -d /run/systemd/system ]; then
  systemctl hibernate
  
  case "$2" in
  SBTN)
  swapon /swap-hibinit && do_hibernate
  
  Something changed between 18.04 and 20.04, such that new swapfiles are
  added with a lower priority than the previous swapfile when they are
  swapon:
  
  On Focal and later, we see behaviour like if we simply swapon /swap-hibinit 
generated by ec2-hibinit-agent, we
  see it is -2:
  
  $ sudo swapon /swap-hibinit
  $ swapon --show
  NAME  TYPE SIZE USED PRIO
  /swap-hibinit file 3.9G   0B   -2
  
  Turning it off:
  $ sudo swapoff /swap-hibinit
  $ swapon --show
  NAME  TYPE SIZE USED PRIO
  
  Lets add /swapfile in:
  
  $ sudo swapon /swapfile
  $ swapon --show
  NAME  TYPE SIZE USED PRIO
  /swapfile file   4G   0B   -2
  
  Now we enable /swap-hibinit again, and see it is -3:
  
  $ sudo swapon /swap-hibinit
  $ swapon --show
  NAME  TYPE SIZE USED PRIO
  /swapfile file   4G   0B   -2
  /swap-hibinit file 3.9G   0B   -3
  
  Lets add in another swapfile, /swapfile-second, and we see -2, -3, -4:
  
  $ sudo swapon /swapfile-second
  $ swapon --show
  NAME TYPE SIZE USED PRIO
  /swapfilefile   4G   0B   -2
  /swap-hibinitfile 3.9G   0B   -3
  /swapfile-second file   4G   0B   -4
  
  What happens is that if we have a swapfile, say, /swapfile at default
  priority -2, when we go to hibernate, the swapon in
  /etc/acpi/actions/sleep.sh will set the priority of /swap-hibinit to -3.
  systemd / the kernel will then select the highest priority swapfile to
  hibernate to, in this case /swapfile, which is NOT setup for resume= or
  resume_offset= on the kernel command line, and hibernation will fail.
  
  Apr 11 21:08:15 ip-172-31-84-225 kernel: [  240.990073] Adding 4095996k
  swap on /swap-hibinit.  Priority:-3 extents:6 across:4644860k SSFS
  
  This leaves the instance in the "Stopping" state on the EC2 console
  until it hits the 20 minute timeout, at which point it is force stopped.
  
  The fix is to set the priority when we swapon /swap-hibinit to something
  higher than any other swapfile, to ensure we hibernate to /swap-hibinit.
  
  [Testcase]
  
  From the EC2 console, select "Launch Instance".
  
  Create a:
  
  - t2.medium
  - Ubuntu 20.04, 21.04 or 22.04
  - 20gb storage space, advanced > enable encryption > yes.
  - Advanced settings > Stop State (Hibernation) Support > Enabled
  
  On boot wait for ec2-hibinit-agent to complete hibinit-agent.service,
  and see that /swap-hibinit is created, and swapoff.
  
  $ ll /swap-hibinit
  
  Add a swapfile, and switch it on:
  
  $ sudo fallocate -l 4G /swapfile
  $ sudo dd if=/dev/zero of=/swapfile bs=1024 count=4194304
  $ sudo chmod 600 /swapfile
  $ sudo mkswap /swapfile
  $ sudo swapon /swapfile
  $ echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
  $ swapon --show
  NAME  TYPE SIZE USED PRIO
  /swapfile file   4G   0B   -2
  
  Go back to EC2 console, "Instance State" > "Hibernate".
  
  You will see this in journalctl:
  
  Mar 15 11:41:54 ip-172-31-27-108 kernel: [ 520.121761] Adding 16095656k swap 
on /swap-hibinit. Priority:-3 extents:13 across:17611176k SSFS
  Mar 15 11:41:54 ip-172-31-27-108 root: ACPI action undefined: LNXSLPBN:00
  
  and the instance will not hibernate. EC2 console will report "Stopping"
  for 20 minutes until it times out and is force stopped.
  
  If you enable the following ppa and install the test ec2-hibinit-agent
  package:
  
  https://launchpad.net/~mruffell/+archive/ubuntu/sf331069-test
  
  Hibernation should succeed within a minute or two.
  
  [Where problems could occur]
  
  This change will only affect users of instances where Hibernation has
  been explicitly enabled, either from the EC2 instance launch advanced
  settings, or via the "--hibernation-options Configured=true" parameter
  to the "aws ec2" command. For all other users, including those 

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-21 Thread Matthew Ruffell
** Tags added: sts-sponsor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-20 Thread Matthew Ruffell
Attached is a debdiff of ec2-hibinit-agent for Bionic, since it needs it
too.

** Patch added: "debdiff for ec2-hibinit-agent for bionic"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5581947/+files/lp1968805_bionic.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-19 Thread Matthew Ruffell
I opened a pull request upstream with the same patch:

https://github.com/aws/amazon-ec2-hibinit-agent/pull/22

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-18 Thread Dan Streetman
I have no comment on working around this by changing ec2-hibinit-agent,
but is this a dup of bug 1910252 (i.e. maybe fixing that bug would solve
this as well?)

I never found time to fix that bug with upstream systemd (and sru the
fix) but it's probably worth doing at some point.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-13 Thread Ubuntu Foundations Team Bug Bot
The attachment "debdiff for ec2-hibinit-agent for focal" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-12 Thread Matthew Ruffell
Attached is a debdiff for ec2-hibinit-agent on Jammy which fixes this
issue.

** Patch added: "debdiff for ec2-hibinit-agent for jammy"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580294/+files/lp1968805_jammy.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-12 Thread Matthew Ruffell
Attached is a debdiff for ec2-hibinit-agent for impish which fixes this
issue.

** Patch added: "debdiff for ec2-hibinit-agent for impish"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580293/+files/lp1968805_impish.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1968805] Re: Hibernation fails when an additional swapfile is added due to priority mismatch

2022-04-12 Thread Matthew Ruffell
Attached is a debdiff for ec2-hibinit-agent on Focal which fixes this
issue.

** Patch added: "debdiff for ec2-hibinit-agent for focal"
   
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+attachment/5580292/+files/lp1968805_focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968805

Title:
  Hibernation fails when an additional swapfile is added due to priority
  mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1968805/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs