fai install problem: dhcp3-client config file

Eoin Ryan eoin.ryan at ul.ie
Thu Sep 11 21:27:23 CEST 2003


Hi all,

After working through many problems getting fai setup this problem has
me totally stumped ;(.

Everything appears to go smoothly until after the additional packages
get installed.  It bombs out by complaining about the existance of
/etc/dhcp3/dhclient.conf.

I have tried many things such as removing the package/config files
before beginning the setup again but without success...

Below I have listed the few lines where the error actually happens.
Note that I don't get a chance to fill in Y/N/D/Z, it gives the error
immediately.

I've also included the config file and the entire output of fai-setup
below.

Thanks in adv,
Eoin.

====================The Immediate Error===========================
Configuration file `/etc/dhcp3/dhclient.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** dhclient.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing
dhcp3-client (--configure):
 EOF on stdin at conffile prompt
Errors were encountered while processing:
 dhcp3-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
===================================================================


=====================The config file================================
# $Id: fai.conf,v 1.73 2003/07/18 10:00:09 lange Exp $

# /etc/fai/fai.conf -- configuration for FAI (Fully Automatic
# Installation)

# installserver must be the name seen by the install clients
installserver=wulffile
httpserver=ftp.ie.debian.org
ftpserver=ftp.ie.debian.org
debdist=woody # distribution: woody, sarge, sid

FAI_DEBOOTSTRAP="$debdist ftp://$ftpserver/debian"
#FAI_DEBOOTSTRAP="$debdist http://$httpserver/debmirror/debian"
#FAI_DEBOOTSTRAP="$debdist file:/files/scratch/debmirror/debian"
#FAI_DEBOOTSTRAP_OPTS="--arch i386
--exclude=pcmcia-cs,ppp,pppconfig,pppoe,pppoeconf,dhcp-client"

# Location of the Debian mirror; this is used for creating the nfsroot
# and for installing packages on the install clients
#
# - FAI_SOURCES_LIST can contain more than one line
#   there you can use nfs, ftp or http access. If undefined, FAI will
#   use /etc/fai/sources.list or /etc/apt/sources.list instead
# - if FAI_DEBMIRROR is defined, install clients mount it to $MNTPOINT

# Access to an official Debian mirror via FTP or HTTP
#FAI_SOURCES_LIST="deb ftp://$ftpserver/debian $debdist main contrib
non-free
#deb http://non-us.debian.org/debian-non-US $debdist/non-US main contrib
non-free
#deb ftp://$ftpserver/debian $debdist-proposed-updates main contrib
non-free
#deb http://security.debian.org/ $debdist/updates main contrib non-free"

# Access to Debian mirror created by mkdebmirror
#FAI_SOURCES_LIST="deb http://$httpserver/debmirror/debian $debdist main
contrib non-free
#deb http://$httpserver/debmirror/debian-non-US $debdist/non-US main
contrib non-free
#deb http://$httpserver/debmirror/debian $debdist-proposed-updates main
contrib non-free
#deb http://$httpserver/debmirror/debian-security/ $debdist/updates main
contrib non-free"

#
# Access to Debian mirror via NFS mounted directory
#
# NFS remote location of mirror
#FAI_DEBMIRROR=$installserver:/files/scratch/debmirror
# mount point where the mirror will be mounted;
# must not be used by other filesystems
#MNTPOINT=/mnt2
# define both MNTPOINT and FAI_DEBMIRROR or none
#FAI_SOURCES_LIST="deb file:$MNTPOINT/debian $debdist main contrib
non-free
#deb file:$MNTPOINT/debian/ $debdist-proposed-updates main contrib
non-free
#deb file:$MNTPOINT/debian-non-US $debdist/non-US main contrib non-free
#deb file:$MNTPOINT/debian-security/ $debdist/updates main contrib
non-free"

# local repository
# this repository holds your local packages that can be installed to
# the install clients
FAI_LOCAL_REPOSITORY="deb file:/fai/files packages/"

# extra packages which will be installed into nfsroot
# add lvm, raidtools2 only if needed
NFSROOT_PACKAGES="expect"
# the encrypted root password on all install clients during
# installation process; used when log in via ssh; pw is: fai
FAI_ROOTPW="56hNVqht51tzc"

# location of a identity.pub file; this user can log to the install
# clients in as root without a password; only useful with
# FAI_FLAGS="sshd"
#SSH_IDENTITY=/home/admin/.ssh/identity.pub

# this kernel package will be used when booting the install clients
KERNELPACKAGE=/usr/lib/fai/kernel/kernel-image-2.4.20_fai1_i386.deb

# Beowulf nodes can only connect to their master server - called
# atom00 for the clients - so they must know it during
# installation. This line will be added to $nfsroot/etc/hosts
#NFSROOT_ETC_HOSTS="192.168.42.250 atom00"

# if your install server has multiple ethernet device, use this one to
# determine its hostname. Default eth0. Set to the interface to which
# the Beowulf clients are connected.
SERVERINTERFACE=eth0

# LOGUSER: an account on the install server which saves all log-files
# and which can change the kernel that is booted via
# network. Configure .rhosts for this account and PAM, so that root can
# log in from all install clients without password. This account
# should have write permissions for /boot/fai. For example, you can use
# write permissions for the group linuxadm. chgrp linuxadm
# /boot/fai;chmod g+w /boot/fai. If the variable is undefined, this
# feature is disabled
LOGUSER=fai
# use ssh or rsh for copying log files to user fai and for changing
# tftp symbolic link
FAI_REMOTESH=ssh
FAI_REMOTECP=scp

# set protocol type for saving logs, default is rcp/scp. Set to ftp if
# desired.
FAI_LOGPROTO=
# Name of log-server. If undefined, the install server will be used. 
LOGSERVER=
# writable directory on remote server, when using FTP protocol
LOGREMOTEDIR="upload"
# password for login to log server, when using FTP protocol
LOGPASSWD=

# the configuration space on the install server
FAI_CONFIGDIR=/usr/local/share/fai
# the location of the config space, as seen by the install client
# this should be <install server>:$FAI_CONFIGDIR
# it can also be overwritten in T170 via BOOTP and DHCP 
FAI_LOCATION=$installserver:$FAI_CONFIGDIR

# which of DHCP and/or BOOTP should the server create setups for.
# Default are to create setups for both
FAI_BOOT="dhcp"

#
# the following variables are read only for most users
#

# directory on the install server where the nfsroot for FAI is
# created, approx size: 160MB, also defined in bootptab or dhcp.conf
NFSROOT=/usr/lib/fai/nfsroot

# the local configuration directory on the install client
FAI=/fai

# the type of operating system (linux, sunos)
OS_TYPE=`uname -s |  tr /A-Z/ /a-z/`
=====================================================================================







==================The full output of fai-setup============
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/home/fai/.ssh/known_hosts remained unchanged.
/home/fai/.ssh/authorized_keys created.
User account fai set up.
Creating FAI nfsroot can take a long time and will
need more than 160MB disk space in /usr/lib/fai/nfsroot.
/usr/lib/fai/nfsroot already exists. Removing /usr/lib/fai/nfsroot
Creating nfsroot for woody using debootstrap
dpkg: base-passwd: dependency problems, but configuring anyway as you
request:
 base-passwd depends on libc6 (>= 2.2.4-4); however:
  Package libc6 is not installed.
dpkg: base-files: dependency problems, but configuring anyway as you
request:
 base-files depends on awk; however:
  Package awk is not installed. 
dpkg: regarding .../archives/dpkg_1.9.21_i386.deb containing dpkg,
pre-dependency problem:
 dpkg pre-depends on libc6 (>= 2.2.4-4)
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../archives/dpkg_1.9.21_i386.deb containing dpkg,
pre-dependency problem:
 dpkg pre-depends on libncurses5 (>= 5.2.20020112a-1)
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../archives/dpkg_1.9.21_i386.deb containing dpkg,
pre-dependency problem:
 dpkg pre-depends on libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810)
dpkg: warning - ignoring pre-dependency problem !
dpkg: dpkg: dependency problems, but configuring anyway as you request:
 dpkg depends on libc6 (>= 2.2.4-4); however:
  Package libc6 is not installed.
 dpkg depends on libncurses5 (>= 5.2.20020112a-1); however:
  Package libncurses5 is not installed.
 dpkg depends on libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810); however:
  Package libstdc++2.10-glibc2.2 is not installed.
Package `sysvinit' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
dpkg: debconf: dependency problems, but configuring anyway as you
request:
 debconf depends on fileutils (>= 4.0-5); however:
  Package fileutils is not installed.
dpkg: regarding .../bash_2.05a-11_i386.deb containing bash,
pre-dependency problem:
 bash pre-depends on libncurses5 (>= 5.2.20020112a-1)
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../archives/dpkg_1.9.21_i386.deb containing dpkg,
pre-dependency problem:
 dpkg pre-depends on libncurses5 (>= 5.2.20020112a-1)
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../archives/dpkg_1.9.21_i386.deb containing dpkg,
pre-dependency problem:
 dpkg pre-depends on libstdc++2.10-glibc2.2 (>= 1:2.95.4-0.010810)
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../login_20000902-12_i386.deb containing login,
pre-dependency problem:
 login pre-depends on libpam0g (>= 0.72-1)
  libpam0g is unpacked, but has never been configured.
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../ncurses-bin_5.2.20020112a-7_i386.deb containing
ncurses-bin, pre-dependency problem:
 ncurses-bin pre-depends on libncurses5 (>= 5.2.20020112a-1)
  libncurses5 is unpacked, but has never been configured.
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../shellutils_2.0.11-11_i386.deb containing shellutils,
pre-dependency problem:
 shellutils pre-depends on login | hurd
  login is unpacked, but has never been configured.
  hurd is not installed.
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../util-linux_2.11n-4_i386.deb containing util-linux,
pre-dependency problem:
 util-linux pre-depends on libncurses5 (>= 5.2.20020112a-1)
  libncurses5 is unpacked, but has never been configured.
dpkg: warning - ignoring pre-dependency problem !
dpkg: regarding .../util-linux_2.11n-4_i386.deb containing util-linux,
pre-dependency problem:
 util-linux pre-depends on slang1 (>> 1.3.0-0)
  slang1 is unpacked, but has never been configured.
dpkg: warning - ignoring pre-dependency problem !
init: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
Looking for keymap to install:
NONE
Looking for keymap to install:
NONE
o default for console-data/keymap/qwerty/macedonian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/latvian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/ukrainian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/lithuanian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/russian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/canadian/variant - picking one
No default for console-data/keymap/qwerty/turkish/standard/keymap -
picking one
No default for console-data/keymap/fggiod/layout - picking one
No default for console-data/keymap/fggiod/turkish/standard/keymap -
picking one
No default for console-data/keymap/dvorak/layout - picking one
No default for console-data/keymap/qwertz/german/apple_usb/keymap -
picking one
No default for console-data/keymap/qwertz/swiss/variant - picking one

If you have information about what choice should be the default for
the above questions which gave warnings, please mail it to
console-data at packages.debian.org.  Thanks for your help.
Looking for keymap to install:
NONE
Starting internet superserver: inetd
Warning: Fake start-stop-daemon called, doing nothing
.

Automatically converting /etc/network/interfaces succeeded.
Old interfaces file saved as interfaces.dpkg-old.
hostname: Unknown host
Creating base.tgz
Upgrading /usr/lib/fai/nfsroot
No default for console-data/keymap/qwerty/macedonian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/latvian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/ukrainian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/lithuanian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/russian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/canadian/variant - picking one
No default for console-data/keymap/qwerty/turkish/standard/keymap -
picking one
No default for console-data/keymap/fggiod/layout - picking one
No default for console-data/keymap/fggiod/turkish/standard/keymap -
picking one
No default for console-data/keymap/dvorak/layout - picking one
No default for console-data/keymap/qwertz/german/apple_usb/keymap -
picking one
No default for console-data/keymap/qwertz/swiss/variant - picking one

If you have information about what choice should be the default for
the above questions which gave warnings, please mail it to
console-data at packages.debian.org.  Thanks for your help.
depmod: Can't open /lib/modules/2.4.18-bf2.4/modules.dep for writing
Looking for keymap to install:
NONE
No default for console-data/keymap/qwerty/macedonian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/latvian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/ukrainian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/lithuanian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/russian/standard/keymap -
picking one
No default for console-data/keymap/qwerty/canadian/variant - picking one
No default for console-data/keymap/qwerty/turkish/standard/keymap -
picking one
No default for console-data/keymap/fggiod/layout - picking one
No default for console-data/keymap/fggiod/turkish/standard/keymap -
picking one
No default for console-data/keymap/dvorak/layout - picking one
No default for console-data/keymap/qwertz/german/apple_usb/keymap -
picking one
No default for console-data/keymap/qwertz/swiss/variant - picking one

If you have information about what choice should be the default for
the above questions which gave warnings, please mail it to
console-data at packages.debian.org.  Thanks for your help.
Looking for keymap to install:
NONE
Adding additional packages to /usr/lib/fai/nfsroot:
dhcp3-client ssh portmap file rdate cfengine cvs bootpc rsync wget
rsh-client less dump reiserfsprogs dpkg-dev ext2resize strace hdparm
parted
dnsutils ntpdate dosfstools sysutils dialog discover mdetect libnet-perl
grub libdetect0 read-edid kudzu hwtools
hostname: Unknown host
hostname: Unknown host
hostname: Unknown host
hostname: Unknown host
dpkg - warning: while removing dhcp-client, directory `/var/lib/dhcp'
not empty so not removed.
Creating SSH2 RSA key
Creating SSH2 DSA key
Restarting OpenBSD Secure Shell server: sshd.
Creating CVS repository in /var/lib/cvs...

Configuration file `/etc/dhcp3/dhclient.conf'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** dhclient.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing
dhcp3-client (--configure):
 EOF on stdin at conffile prompt
Errors were encountered while processing:
 dhcp3-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
=========================================================================







-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20030911/5234f553/attachment.bin 


More information about the linux-fai mailing list