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 and 22 not upgraded. After this operation, 65.5 kB disk space will be freed. Do you want to continue? [Y/n] (Reading database ... 87759 files and directories currently installed.) Removing ec2-hibinit-agent (1.0.0-0ubuntu9) ... (Reading database ... 87744 files and directories currently installed.) Purging configuration files for ec2-hibinit-agent (1.0.0-0ubuntu9) ... Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/40-force-partuuid.cfg' Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-1029-aws Found initrd image: /boot/initrd.img-5.4.0-1029-aws Found linux image: /boot/vmlinuz-5.4.0-1024-aws Found initrd image: /boot/initrd.img-5.4.0-1024-aws Found Ubuntu 20.04.1 LTS (20.04) on /dev/xvda1 done ubuntu@ip-172-31-1-183:~$ sudo apt install ec2-hibinit-agent Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: ec2-hibinit-agent 0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded. Need to get 11.5 kB of archives. After this operation, 66.6 kB of additional disk space will be used. Get:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-proposed/main amd64 ec2-hibinit-agent all 1.0.0-0ubuntu9.1 [11.5 kB] Fetched 11.5 kB in 0s (297 kB/s) Selecting previously unselected package ec2-hibinit-agent. (Reading database ... 87738 files and directories currently installed.) Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu9.1_all.deb ... Unpacking ec2-hibinit-agent (1.0.0-0ubuntu9.1) ... Setting up ec2-hibinit-agent (1.0.0-0ubuntu9.1) ... Created symlink /etc/systemd/system/multi-user.target.wants/hibinit-agent.service → /lib/systemd/system/hibinit-agent.service. ubuntu@ip-172-31-1-183:~$ service hibinit-agent status ● hibinit-agent.service - EC2 instance hibernation setup agent Loaded: loaded (/lib/systemd/system/hibinit-agent.service; enabled; vendor preset: enabled) Active: inactive (dead) since Thu 2020-10-29 20:14:43 UTC; 15s ago Docs: file:/usr/share/doc/ec2-hibinit-agent/README Main PID: 29451 (code=exited, status=0/SUCCESS)
Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Swap pre-heating is skipped, the swap blocks won't be touched during to ensure they are ready Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Running: mkswap /swap-hibinit Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Running: swapon /swap-hibinit Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Updating the kernel offset for the swapfile: /swap-hibinit Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Updating GRUB to use the device PARTUUID=a2f52878-01 with offset 1687552 for resume Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: GRUB configuration is updated Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Setting swap device to 51713 with offset 1687552 Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Done updating the swap offset. Turning swapoff Oct 29 20:14:43 ip-172-31-1-183 hibinit-agent[29451]: Running: swapoff /swap-hibinit Oct 29 20:14:43 ip-172-31-1-183 systemd[1]: hibinit-agent.service: Succeeded. ubuntu@ip-172-31-1-183:~$ date Thu Oct 29 20:15:13 UTC 2020 ubuntu@ip-172-31-1-183:~$ cat /etc/default/grub.d/99-set-swap.cfg GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT no_console_suspend=1 resume_offset=1687552 resume=PARTUUID=a2f52878-01" ubuntu@ip-172-31-1-183:~$ ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done 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/1896638 Title: Path to swapfile doesn't use a static device path To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1896638/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs