Public bug reported: I installed walinuxagent into a container and was surprised that it installed a kernel and bootloader. See below for demonstration.
Why would walinuxagent be tied to a specific kernel version? This is even more odd/harmful given the new azure specific kernel packages. $ lxc launch ubuntu-daily:artful atest $ sleep 10 $ lxc exec atest -- apt-get update $ lxc exec atest -- apt-cache show walinuxagent Package: walinuxagent Priority: extra Section: python Installed-Size: 840 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Microsoft Corporation <walinuxag...@microsoft.com> Architecture: amd64 Version: 2.2.12-0ubuntu1 Depends: cloud-init (>= 0.7.3~bzr826-0ubuntu2), isc-dhcp-client, openssh-server (>= 1:5.9p1), openssl (>= 1.0), passwd (>= 4.1.4.2), util-linux (>= 2.0), init-system-helpers (>= 1.18~), python3:any (>= 3.3.2-2~) Recommends: linux-image-extra-virtual Filename: pool/main/w/walinuxagent/walinuxagent_2.2.12-0ubuntu1_amd64.deb Size: 135064 MD5sum: 9dd67d90a23ec57af24cd4dc6500d78d SHA1: 2e2020417921f05d644ba9f6d71c78d0f506a87f SHA256: d6f306159e38a9f4a2ce0ce0276c683dd976f761691d5d8dcb2d8536be03e8c0 Description-en: Windows Azure Linux Agent The Windows Azure Linux Agent supports the provisioning and running of Linux VMs in the Windows Azure cloud. This package should be installed on Linux disk images that are built to run in the Windows Azure environment. Description-md5: 6c6e08b89d2f59e8bdc1b7bf37e6f34c Homepage: http://go.microsoft.com/fwlink/?LinkId=250998 Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu Supported: 9m $ lxc exec atest -- apt-get install walinuxagent Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.10.0-22-generic linux-image-extra-4.10.0-22-generic linux-image-extra-virtual linux-image-generic os-prober thermald wireless-regdb Suggested packages: multiboot-doc grub-emu xorriso desktop-base fdutils linux-doc-4.10.0 | linux-source-4.10.0 linux-tools linux-headers-4.10.0-22-generic The following NEW packages will be installed: crda grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common iw libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware linux-image-4.10.0-22-generic linux-image-extra-4.10.0-22-generic linux-image-extra-virtual linux-image-generic os-prober thermald walinuxagent wireless-regdb 0 upgraded, 19 newly installed, 0 to remove and 8 not upgraded. Need to get 93.2 MB of archives. After this operation, 442 MB of additional disk space will be used. Do you want to continue? [Y/n] n Abort. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: walinuxagent 2.2.12-0ubuntu1 ProcVersionSignature: Ubuntu 4.10.0-22.24-generic 4.10.15 Uname: Linux 4.10.0-22-generic x86_64 ApportVersion: 2.20.5-0ubuntu4 Architecture: amd64 Date: Tue Jun 27 13:59:29 2017 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) LANG=C.UTF-8 SourcePackage: walinuxagent UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: walinuxagent (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful third-party-packages uec-images -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1700770 Title: should not Recommend linux-image-extra-virtual To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/1700770/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs