ec2-ami-tools patch for excluding persistent network files

Bug #308548 reported by Eric Hammond
4
Affects Status Importance Assigned to Milestone
Ubuntu on EC2
Invalid
Undecided
Unassigned
Beta3
Invalid
Undecided
Unassigned
VMBuilder
Invalid
Undecided
Unassigned
ec2-ami-tools (Ubuntu)
Fix Released
Undecided
Unassigned
vm-builder (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm not sure how to report a bug against the ec2-ami-tools package available in intrepid multiverse but that's where this belongs.

When an AMI is run and the resulting instance is rebundled, the new AMI is unusable if one of the following files is present:

  Ubuntu
  /etc/udev/rules.d/70-persistent-net.rules

  Debian
  /etc/udev/rules.d/z25_persistent-net.rules

This *may* not be a problem with Intrepid (?), but it definitely is a problem with some previous releases. The attached patch makes sure that the ec2-bundle-vol command excludes these files so that the resulting image can be used no matter which distro or release it was running.

It is fine for this patch to be included in Intrepid and I would ask that it be included there since that archive is the current best place to go for this software if one is using Ubuntu or Debian.

Revision history for this message
Eric Hammond (esh) wrote :
Eric Hammond (esh)
Changed in vmbuilder:
status: New → Invalid
Changed in vm-builder:
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ec2-ami-tools - 1.3-31057-0ubuntu1

---------------
ec2-ami-tools (1.3-31057-0ubuntu1) jaunty; urgency=low

  * New upstream version. (LP: #310547)
  * debian/patches/exclude-udev-rules.patch: Exclude the copying of
    /etc/udev/rules.d/70-persistent-net.rules and
    /etc/udev/rules.d/z25_persistent-net.rules when rebundling an image.
    (LP: #308548)
  * debian/patches/point-to-right-place: Updated patch to take in account
    ec2-migrate-manifest and ec2-migrate-bundle.

 -- Chuck Short <email address hidden> Tue, 13 Jan 2009 11:46:59 -0500

Changed in ec2-ami-tools:
status: New → Fix Released
Revision history for this message
Chuck Short (zulcss) wrote :

Retargetted for ec2-ami-tools

Changed in ubuntu-on-ec2:
status: New → Invalid
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.