This is related to this message I posted yesterday:
http://www.redhat.com/archives/libguestfs/2010-January/msg00016.html
fakechroot doesn't sufficiently contain dracut, which is what was very
indirectly causing that problem.
However we don't need to run /sbin/new-kernel-package (in the kernel
%post script). It takes a long time because dracut is so slow, and it
builds an initrd that we never use. So the easiest thing here is to
disable this (and also nscd which some %post scripts are trying to
run).
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://et.redhat.com/~rjones/libguestfs/
See what it can do:
http://et.redhat.com/~rjones/libguestfs/recipes.html