should not Recommend linux-image-extra-virtual
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
walinuxagent (Ubuntu) |
Confirmed
|
Undecided
|
Łukasz Zemczak |
Bug Description
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 <email address hidden>
Original-
Architecture: amd64
Version: 2.2.12-0ubuntu1
Depends: cloud-init (>= 0.7.3~bzr826-
Recommends: linux-image-
Filename: pool/main/
Size: 135064
MD5sum: 9dd67d90a23ec57
SHA1: 2e2020417921f05
SHA256: d6f306159e38a9f
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: 6c6e08b89d2f59e
Homepage: http://
Bugs: https:/
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
libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware
linux-
linux-
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-
The following NEW packages will be installed:
crda grub-common grub-gfxpayload
libfreetype6 libnl-3-200 libnl-genl-3-200 linux-firmware
linux-
linux-
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
ProcVersionSign
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-
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: walinuxagent
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in walinuxagent (Ubuntu): | |
status: | New → Confirmed |
Correct, packages may not depend on the -extra flavour of the kernel, as that does not at all make any guarantees that the running kernel as the necessory features.
If there are any specific kernel modules that walinuxagent utilises they must be moved to the linux-azure / linux-virtual main image packages.
Dependency on -extra package is not allowed.