[xen-tools-discuss] Problem: Ubuntu 14.04 LTS DomU via xen-create-image on Debian Wheezy Dom0
Axel Beckert
abe at deuxchevaux.org
Wed Apr 23 19:04:37 CEST 2014
Hi Dominik,
On Wed, Apr 23, 2014 at 05:44:34PM +0200, Dominik Henze wrote:
> I added the new symlink in the debootstrap folder
> (/usr/share/debootstrap/scripts/) as following, cause I saw in the actual
> package of xen-tools in ubuntu 14.04 that the link is still to gusty.
Did you mean debootstrap instead of xen-tools in the last line?
> The Setup starts as expected but after the following line in the log-file of
> /var/log/xen-tools/test.log xen-tools stopped working
>
> I: Base system installed successfully.
>
>
>
> A few minutes later after any response the process terminates without any
> error or warning. But the lvm of the new device is still mounted in tmp and
> it seems that udevd is still accessing some files inside:
>
> #:/usr/lib/xen-tools# lsof /tmp/iUWdYNtPvu
>
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>
> udevd 3947 root cwd DIR 253,55 4096 2 /tmp/iUWdYNtPvu
>
> udevd 3947 root rtd DIR 253,55 4096 2 /tmp/iUWdYNtPvu
>
> udevd 3947 root txt REG 253,55 239896 467300
> /tmp/iUWdYNtPvu/lib/systemd/systemd-udevd
[...]
> so I cannot umount the tmp-device and I don´t know if I can kill this udevd
> process without having issues on the root-server.
This sounds like
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725192 (which was
fixed in 4.4 RC1)
> I tried to search for processes who still working on the image creation. I
> searched via ps aux for perl, xen-create-image, debootstrap, the tmp folder
> and so on.
No, there should none of them be left. The issue is likely that some
daemons have been started in the chroot during bootstrapping or
package installation while they shouldn't.
> - What is this udevd deamon does with the files ? can I kill it or
> doing something else to umount the tmp-device again
I think you can kill it. Just make sure you only kill the one inside
the chroot, not the one responsible for your Dom0. :-)
> - Are there any ideas or issues of using 14.04 lts on xen-tools
xen-tools 4.4 should work properly and is tested (at least with some
beta version of Ubuntu 14.04). You may also need a newer debootstrap.
There's one in wheezy-backports. (Maybe I should make an official
backport of xen-tools, too. Nevertheless the package from
Unstable/Testing works fine on Debian Stable, too.)
Looking at the not yet released code, there's only a bug fix for
proper Debian Jessie support (kernel package names changed in Wheezy and
there's no more transitional package in Jessie).
Kind regards, Axel
--
/~\ Plain Text Ribbon Campaign | Axel Beckert
\ / Say No to HTML in E-Mail and News | abe at deuxchevaux.org (Mail)
X See http://www.nonhtmlmail.org/campaign.html | abe at noone.org (Mail+Jabber)
/ \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)
More information about the xen-tools-discuss
mailing list