should not Recommend linux-image-extra-virtual

Bug #1700770 reported by Scott Moser
6
This bug affects 1 person
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-Maintainer: Microsoft Corporation <email address hidden>
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)

Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

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.

Changed in walinuxagent (Ubuntu):
assignee: nobody → Łukasz Zemczak (sil2100)
Changed in walinuxagent (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.