Mon 06 Mar 2006 03:49:23 PM UTC, original submission:
building an ubuntu guest on a debian sarge host fails for me constantly.
command:
vserver vubuntu build -m debootstrap --hostname vubuntu.checon.net --interface eth0:192.168.42.11/24 --context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu
results in error after debootstrap is finished:
>> (...)
>> I: Configuring base-config...
>> I: Configuring ubuntu-minimal...
>> I: Base system installed successfully.
>> /bin/rm: cannot remove directory `/etc/vservers/.defaults/vdirbase/vubuntu/dev/.static/dev': Device or resource busy
>> rm: cannot remove directory `/etc/vservers/.defaults/vdirbase/vubuntu/dev/.static/dev': Device or resource busy
I tried this with
1) vanilla kernel 2.6.15.4 with vserver-patch 2.0.1.3, util-vserver 0.30.209-0bpo1 (from backports.org), debootstrap 0.3.2bpo1
2) vanilla kernel 2.6.15.5 with vserver-path 2.0.2-rc10, util-vserver 0.30.210, debootstrap 0.3.3
./testme.sh and ./testfs.sh are working without any problem.
Building a sarge guest using a similar command works without any problem.
Using just debootstrap directly:
debootstrap breezy /tmp/test http://de.archive.ubuntu.com/ubuntu
finishes successfully, but afterwards /tmp/test/dev/.static/dev keeps being locked (didn't find out by which task).
Using:
debootstrap --variant=buildd breezy ...
works without error and without locks afterwards.
Using:
vserver vubuntu build -m debootstrap --hostname vubuntu.checon.net --interface eth0:192.168.42.11/24 --context 42 -- -d breezy -m http://de.archive.ubuntu.com/ubuntu -- --variant=buildd
works without errors, but afterwards I can't start this vhost ("vshelper.init: can not determine xid of vserver").
|