I've just pushed a commit to cloud-init's upstream packaging for this at [1] It should get pulled into the next ubuntu Stable Release of cloud-init. A "cloud-init daily" ppa build should occur tonight and arrive at [2].
You can test that PPA with: sudo add-apt-repository ppa:cloud-init-dev/daily sudo apt-get update It would be helpful if you provided feedback here that the changes fix the issue you are having. Also, please provide some info on where you were seeing an issue. I'm trying to grab information on where this grub-legacy-ec2 code still runs. Thanks! [1] https://git.launchpad.net/cloud-init/commit/?h=ubuntu/xenial&id=f12fc84e8bf88b [2] https://launchpad.net/~cloud-init-dev/+archive/ubuntu/daily ** Also affects: cloud-init (Ubuntu Artful) Importance: Undecided Status: New ** Also affects: cloud-init (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: cloud-init (Ubuntu Artful) Status: New => Fix Released ** Changed in: cloud-init (Ubuntu Artful) Importance: Undecided => Medium ** Changed in: cloud-init (Ubuntu Xenial) Status: New => Confirmed ** Changed in: cloud-init (Ubuntu Xenial) Importance: Undecided => Low -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1581416 Title: grub-legacy-ec2 installs files in /etc/kernel/kernel/post(inst|rm).d Status in cloud-init package in Ubuntu: Fix Released Status in cloud-init source package in Xenial: Confirmed Status in cloud-init source package in Artful: Fix Released Bug description: Hi, can't use apport, so reporting this via the web. $ lsb_release -rd Description: Ubuntu 16.04 LTS Release: 16.04 $ apt-cache policy grub-legacy-ec2 grub-legacy-ec2: Installed: 0.7.7~bzr1212-0ubuntu1 Candidate: 0.7.7~bzr1212-0ubuntu1 Version table: *** 0.7.7~bzr1212-0ubuntu1 500 500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 500 http://de.archive.ubuntu.com/ubuntu xenial/main i386 Packages 100 /var/lib/dpkg/status The debian/grub-legacy-ec2.install file seems to be wrong, files end up in $ dpkg -L grub-legacy-ec2 | grep /etc /etc /etc/kernel /etc/kernel/kernel /etc/kernel/kernel/postinst.d /etc/kernel/kernel/postinst.d/x-grub-legacy-ec2 /etc/kernel/kernel/postrm.d /etc/kernel/kernel/postrm.d/x-grub-legacy-ec2 where they will not be picked up by linux-image-* postinst scripts. Cheers Wolfgang To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1581416/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp