grub-legacy-ec2 does not create /boot/grub on install

Bug #759885 reported by Scott Moser on 2011-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Critical
Scott Moser

Bug Description

Binary package hint: cloud-init

recent uec-images builds have been failing on grub-legacy-ec2 installation like:

| Searching for GRUB installation directory ...
| No GRUB directory found. To create a template run 'mkdir /boot/grub' first.
| To install grub, install it manually or try the 'grub-install' command. ###
| Warning, grub-install is used to change your MBR. ###
|
| dpkg: error processing grub-legacy-ec2 (--configure):
| subprocess installed post-installation script returned error exit status 1
| No apport report written because MaxReports is reached already
| Adding 'diversion of /etc/init/ureadahead.conf to
| /etc/init/ureadahead.conf.disabled by cloud-init'
|
| Creating config file /etc/default/grub with new version
| device node not found
| device node not found
| device node not found
| device node not found
| update-rc.d: warning: landscape-client stop runlevel arguments (1) do not
| match LSB Default-Stop values (0 1 6)
| Errors were encountered while processing:
| grub-legacy-ec2
| E: Sub-process /usr/bin/dpkg returned an error code (1)

I need to add /boot/grub to grub-legacy-ec2. it only worked previously because grub-pc (or grub-common) was getting installed and creating that dir for it.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: grub-legacy-ec2 0.6.1-0ubuntu6
ProcVersionSignature: User Name 2.6.38-8.42-virtual 2.6.38.2
Uname: Linux 2.6.38-8-virtual x86_64
Architecture: amd64
Date: Wed Apr 13 14:51:20 2011
Ec2AMI: ami-88bd41e1
Ec2AMIManifest: ubuntu-images-testing-us/ubuntu-natty-daily-amd64-server-20110411.1.manifest.xml
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.large
Ec2Kernel: aki-427d952b
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Scott Moser (smoser) wrote :
Changed in cloud-init (Ubuntu):
assignee: nobody → Scott Moser (smoser)
importance: Undecided → Critical
milestone: none → ubuntu-11.04-beta-2
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cloud-init - 0.6.1-0ubuntu7

---------------
cloud-init (0.6.1-0ubuntu7) natty; urgency=low

  * grub-legacy-ec2: add /boot/grub directory so installation does
    not depend on it already existing (LP: #759885)
 -- Scott Moser <email address hidden> Wed, 13 Apr 2011 11:03:04 -0400

Changed in cloud-init (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers