xentools in feisty creates broken debootstrap'ed images

Bug #121272 reported by Matt Mossholder
4
Affects Status Importance Assigned to Milestone
xen-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xen-tools

When feisty changed /etc/sh away from being equivalent to /bin/bash, the hooks in /usr/lib/xen-tools/edgy.d (and maybe others) broke. Specifically, 30-disable-gettys started performing exactly the opposite as expected on this line:

rm ${prefix}/etc/event.d/tty[^1]

... rather than removing tty2 -> tty6, it now removes tty1 and leaves the others behind. The end result is no functional console in the domU.

Changing the shell of the script to /bin/bash is one obvious fix. Another would be to be more explicit (e.g. rm ${prefix}/etc/event.d/tty[23456])

description: updated
Revision history for this message
Alessandro Tanasi (jekil) wrote :

This is a duplicate of #120514

Anyway thank you for the patch :)

Changed in xen-tools:
status: New → Confirmed
Revision history for this message
Matt Mossholder (matt-mossholder) wrote :

I don't think it is a dupe... 120514 relates to there not being a set of scripts to build feisty with xen-tools. The bug that I am reporting concerns the scripts working incorrectly based on /bin/sh not being BASH anymore.

However, if you are saying that the solution to this bug is covered by 120514, because they are both resolved by a new upstream version, I am good with that :)

   --Matt

Revision history for this message
Simon Huerlimann (huerlisi) wrote :

This has been fixed in some recent releases.

Changed in xen-tools:
status: Confirmed → Fix Committed
Przemek K. (azrael)
Changed in xen-tools (Ubuntu):
status: Fix Committed → Fix Released
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.