Verified with 1.0.0-0ubuntu4~18.04.0 on Bionic: + sudo apt-get install -qq ec2-hibinit-agent Selecting previously unselected package ec2-hibinit-agent. (Reading database ... 84048 files and directories currently installed.) Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~18.04.0_all.deb ... Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Created symlink /etc/systemd/system/multi-user.target.wants/hibinit-agent.service → /lib/systemd/system/hibinit-agent.service. + sleep 3 + curl http://169.254.169.254/latest/meta-data/hibernation/configured <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html> + 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 Tue 2019-03-12 11:54:08 UTC; 4s ago Docs: file:/usr/share/doc/ec2-hibinit-agent/README
Mar 12 11:54:08 ip-172-31-10-41 systemd[1]: Starting EC2 instance hibernation setup agent... Mar 12 11:54:08 ip-172-31-10-41 /hibinit-agent[1816]: Instance Launch has not enabled Hibernation Configured Flag. h Mar 12 11:54:08 ip-172-31-10-41 hibinit-agent[1816]: Instance Launch has not enabled Hibernation Configured Flag. hi Mar 12 11:54:08 ip-172-31-10-41 systemd[1]: Started EC2 instance hibernation setup agent. + true + sudo apt-get install -qq ec2-hibinit-agent Selecting previously unselected package ec2-hibinit-agent. (Reading database ... 84048 files and directories currently installed.) Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~18.04.0_all.deb ... Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Created symlink /etc/systemd/system/multi-user.target.wants/hibinit-agent.service → /lib/systemd/system/hibinit-agent.service. + sleep 3 + curl http://169.254.169.254/latest/meta-data/hibernation/configured <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>404 - Not Found</title> </head> <body> <h1>404 - Not Found</h1> </body> </html> + 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 Tue 2019-03-12 11:54:23 UTC; 4s ago Docs: file:/usr/share/doc/ec2-hibinit-agent/README Mar 12 11:54:23 ip-172-31-5-191 systemd[1]: Starting EC2 instance hibernation setup agent... Mar 12 11:54:23 ip-172-31-5-191 /hibinit-agent[28551]: Instance Launch has not enabled Hibernation Configured Flag. Mar 12 11:54:23 ip-172-31-5-191 hibinit-agent[28551]: Instance Launch has not enabled Hibernation Configured Flag. h Mar 12 11:54:23 ip-172-31-5-191 systemd[1]: Started EC2 instance hibernation setup agent. ...skipping... ● hibinit-agent.service - EC2 instance hibernation setup agent Loaded: loaded (/lib/systemd/system/hibinit-agent.service; enabled; vendor preset: enabled) Active: inactive (dead) since Tue 2019-03-12 11:54:23 UTC; 4s ago Docs: file:/usr/share/doc/ec2-hibinit-agent/README Mar 12 11:54:23 ip-172-31-5-191 systemd[1]: Starting EC2 instance hibernation setup agent... Mar 12 11:54:23 ip-172-31-5-191 /hibinit-agent[28551]: Instance Launch has not enabled Hibernation Configured Flag. Mar 12 11:54:23 ip-172-31-5-191 hibinit-agent[28551]: Instance Launch has not enabled Hibernation Configured Flag. h Mar 12 11:54:23 ip-172-31-5-191 systemd[1]: Started EC2 instance hibernation setup agent. ~ + sudo apt-get install -qq ec2-hibinit-agent Selecting previously unselected package ec2-hibinit-agent. (Reading database ... 84048 files and directories currently installed.) Preparing to unpack .../ec2-hibinit-agent_1.0.0-0ubuntu4~18.04.0_all.deb ... Unpacking ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Setting up ec2-hibinit-agent (1.0.0-0ubuntu4~18.04.0) ... Created symlink /etc/systemd/system/multi-user.target.wants/hibinit-agent.service → /lib/systemd/system/hibinit-agent.service. + sleep 3 + curl http://169.254.169.254/latest/meta-data/hibernation/configured true+ 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 Tue 2019-03-12 11:55:03 UTC; 3s ago Docs: file:/usr/share/doc/ec2-hibinit-agent/README Main PID: 1865 (code=exited, status=0/SUCCESS) Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Allocating 4194304000 bytes in /swap-hibinit Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Swap pre-heating is skipped, the swap blocks won't be touched d Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Running: mkswap /swap-hibinit Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Running: swapon /swap-hibinit Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Updating the kernel offset for the swapfile: /swap-hibinit Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Updating GRUB to use the device /dev/xvda1 with offset 235520 f Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: GRUB configuration is updated Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Setting swap device to 51713 with offset 235520 Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Done updating the swap offset. Turning swapoff Mar 12 11:55:03 ip-172-31-7-41 hibinit-agent[1848]: Running: swapoff /swap-hibinit + true ** Tags removed: verification-needed-bionic ** Tags added: verification-done-bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1817926 Title: Hibinit-agent starts even when instance hibernation is disabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1817926/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
