[Bug 493020] [NEW] vmbuilder: Deletes most of /dev on interrupt

Soren Hansen soren at ubuntu.com
Sun Dec 6 11:34:06 GMT 2009

On Sun, Dec 06, 2009 at 01:27:23AM -0000, Eric Hammond wrote:
> I'm running vmbuilder on the latest EC2 Karmic AMI.  When I Ctrl-C
> interrupt the run, it deletes almost all of the devices in /dev making
> the system somewhat unusable.

Luckily, /dev is regenerated by "udevadm trigger" or a reboot. This
happens if for some reason unmount /dev fails, after which vmbuilder
tries to clean up after itself by removing the entire chroot directory
(including the bind mounted /dev). I'll take a look at this shortly.

> Let me know if you are unable to reproduce this problem or need
> further information.

I would like the full debug log, if possible.

Soren Hansen                 | 
Lead virtualisation engineer | Ubuntu Server Team
Canonical Ltd.               | http://www.ubuntu.com/

vmbuilder: Deletes most of /dev on interrupt
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

More information about the Ubuntu-server-bugs mailing list