cloud image have -generic kernel installed

Reported by Scott Moser on 2011-12-08
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
High
Ben Howard

Bug Description

I noticed this because I found that the -generic kernel was in the .tar.gz files (it should not be), but the situation is worse.

Current oneiric and precise builds have 'linux-generic' installed, which then makes its way into the tarball.

This means that the images are greatly larger than they should be, and the .tar.gz files are harder to deal with.

Scott Moser (smoser) on 2011-12-08
summary: - cloud image tarballs have -generic kernel
+ cloud image have -generic kernel installed
Ben Howard (utlemming) on 2011-12-08
Changed in ubuntu:
status: Confirmed → In Progress
Ben Howard (utlemming) wrote :

Fix uploaded to staging branch: http://bazaar.launchpad.net/~utlemming/ubuntu-on-ec2/automated-ec2-builds.901826/revision/447

Confirmed Fix -- diff of 20111207 build for Oneiric to fix:
< libgssapi-krb5-2 1.9.1+dfsg-1ubuntu2.1
---
> libgssapi-krb5-2 1.9.1+dfsg-1ubuntu2.2
158c158
< libk5crypto3 1.9.1+dfsg-1ubuntu2.1
---
> libk5crypto3 1.9.1+dfsg-1ubuntu2.2
161,162c161,162
< libkrb5-3 1.9.1+dfsg-1ubuntu2.1
< libkrb5support0 1.9.1+dfsg-1ubuntu2.1
---
> libkrb5-3 1.9.1+dfsg-1ubuntu2.2
> libkrb5support0 1.9.1+dfsg-1ubuntu2.2
234,235d233
< linux-generic 3.0.0.13.15
< linux-image-3.0.0-13-generic 3.0.0-13.22
237d234
< linux-image-generic 3.0.0.13.15
238a236
> linux-virtual 3.0.0.13.15

Ben Howard (utlemming) wrote :

Submitted merge request https://code.launchpad.net/~utlemming/ubuntu-on-ec2/automated-ec2-builds.901826/+merge/85016.

Fix Bug 901826 by setting the linux-image flavor.

~/bin/mfdiff/mfdiff amd64 oneiric 20111207.manifest FIX.manifest
new: {'linux-virtual': '3.0.0.13.15'}
removed: {'linux-image-generic': '3.0.0.13.15', 'linux-image-3.0.0-13-generic': '3.0.0-13.22', 'linux-generic': '3.0.0.13.15'}

PROOF of fix:
~/bin/mfdiff/mfdiff amd64 oneiric ubuntu-11.10-server-cloudimg-amd64.manifest FIX.manifest
new: {}
removed: {}
changed: ['update-manager-core', 'linux-image-virtual', 'apport', 'libk5crypto3', 'libpam-runtime', 'dnsutils', 'libldap-2.4-2', 'tzdata', 'python-gobject-cairo', 'python-software-properties', 'lxcguest', 'libpam0g', 'libisc62', 'accountsservice', 'liblwres60', 'libgssapi-krb5-2', 'python-gobject', 'libisccfg62', 'libfreetype6', 'python-problem-report', 'libbind9-60', 'python-apport', 'libpam-modules-bin', 'linux-virtual', 'upstart', 'initramfs-tools', 'libdns69', 'libpam-modules', 'bind9-host', 'libkrb5-3', 'libaccountsservice0', 'libisccc60', 'initramfs-tools-bin', 'linux-image-3.0.0-13-virtual', 'libkrb5support0', 'command-not-found', 'command-not-found-data']

Ben Howard (utlemming) on 2011-12-08
Changed in ubuntu:
status: In Progress → Fix Released
Ben Howard (utlemming) on 2011-12-08
Changed in ubuntu:
status: Fix Released → Fix Committed
Martin Pitt (pitti) on 2012-02-06
Changed in ubuntu:
milestone: precise-alpha-2 → ubuntu-12.04-beta-1
Martin Pitt (pitti) on 2012-03-02
Changed in ubuntu:
milestone: ubuntu-12.04-beta-1 → ubuntu-12.04-beta-2
Scott Moser (smoser) wrote :

Calling this fix-released to get it off any list.

The cloud images of beta2 do not have -generic installed.

$ dpkg-query --show | grep "^linux"
linux-firmware 1.71
linux-image-3.2.0-17-virtual 3.2.0-17.27
linux-image-virtual 3.2.0.17.17
linux-virtual 3.2.0.17.17
$ cat /etc/cloud/build.info
build_name: server
serial: 20120229.1

Changed in ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers