Wheezy nfsroot / FAI 4.0.3

Thomas Lange lange at informatik.uni-koeln.de
Fri Jul 20 00:04:36 CEST 2012


Even I'm on vacation, I just spend some time to look into your
problems.

 >Setting up dracut (020-1) ...
 >dracut: Generating /boot/initrd.img-3.2.0-3-amd64
 >E: No '/dev/log' or 'logger' included for syslog logging
 >F: Failed to install /etc/idmapd.conf
 >dpkg: error processing dracut (--configure):
 > subprocess installed post-installation script returned error exit status 1
 >dpkg: dependency problems prevent configuration of linux-image-3.2.0-3-amd64:

The line E: can be ignored for now. The problem is the fatal error
(F:) of dracut, which cannot install /etc/idmapd.conf. It seems that
no idmapd.conf is available when dracut is called. This may be because
of ucf (called in nfs-common.postinst) or that nfs-common is not in
the depends list of dracut-network and therfore is set up after dracut
is called. Currently I do not know why this did not caused problems
with dracut 019.

A simple workaround is to create an empty idmapd.conf in
fai-make-nfsroot. NFS v4 will not work but it generates the nfsroot
and the initrd. But I'm not sure if it solves all problems.


--- ~/fai-4.0.3/bin/fai-make-nfsroot 2012-06-26 16:22:27.715039242 +0200
+++ /usr/sbin/fai-make-nfsroot  2012-07-19 23:48:04.417783953 +0200
@@ -374,7 +374,7 @@
 
     # liloconfig, dump needs these files
     echo "# UNCONFIGURED FSTAB FOR BASE SYSTEM" > etc/fstab
-
+    > etc/idmapd.conf
     # Work around Ubuntu's failure in installing rsyslog with
     # "start: Unable to connect to Upstart: Failed to connect to
     # socket /com/ubuntu/upstart: Connection refused"


-- 
regards Thomas


More information about the linux-fai mailing list