Problems with nfsroot-setup / sshd

Andre Timmermann _fai.darktim at darktim.de
Tue Jul 5 08:56:28 CEST 2005


Hello,

currently I am not able to set up the nfsroot for fai:

# fai-setup
Account $LOGUSER=fai already exists.
Make sure that all install clients can
log into this account without a password.
/home/nogroup/fai/.ssh/known_hosts remained unchanged.
/home/nogroup/fai/.ssh/authorized_keys created.
User account fai set up.
Creating FAI nfsroot can take a long time and will
need more than 250MB disk space in /shares/nfsroot/fai/install.
/shares/nfsroot/fai/install already exists.
Removing /shares/nfsroot/fai/install
find: warning: you have specified the -xdev option after a non-option
argument !, but options are not positional (-xdev affects tests
specified before it as well as those specified after it).  Please
specify options before other arguments.

find: warning: you have specified the -maxdepth option after a
non-option argument !, but options are not positional (-maxdepth affects
tests specified before it as well as those specified after it).  Please
specify options before other arguments.

Creating nfsroot for sid using debootstrap
Creating base.tgz
tar: Semantics of -l option will change in the future releases.
tar: Please use --one-file-system option instead.
,,/etc/fai/sources.list"
-> ,,/shares/nfsroot/fai/install/etc/apt/sources.list"
Upgrading /shares/nfsroot/fai/install
Adding additional packages to /shares/nfsroot/fai/install:
module-init-tools dhcp3-client file rdate
hwinfo portmap bootpc rsync wget rsh-client less dump reiserfsprogs
usbutils hdparm smartmontools parted lvm2 vim dnsutils ntpdate
dosfstools cvs jove xfsprogs xfsdump sysutils dialog discover mdetect
libnet-perl netcat libapt-pkg-perl ssh
grub lilo kudzu dmidecode hwtools read-edid
Backing up any LVM2 metadata that may exist...done.
Starting portmap daemon: portmap.
Checking available versions of rmt, updating links
in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating rmt (/usr/sbin/rmt) to point to /usr/sbin/rmt-dump.
Updating rmt.8.gz (/usr/share/man/man8/rmt.8.gz) to point
to /usr/share/man/man8/rmt-dump.8.gz.
Recovering jove files ... Done.
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
chage: can't open shadow password fileadduser: `/usr/bin/chage -M 99999
sshd' returned error code 1.  Aborting.
Cleaning up.
Removing user `sshd'.
dpkg: error processing openssh-server (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ssh:
 ssh depends on openssh-server; however:
  Package openssh-server is not configured yet.
dpkg: error processing ssh (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openssh-server
 ssh
E: Sub-process /usr/bin/dpkg returned an error code (1)

As you can see, there is a problem installing the ssh-server in the
nfsroot.

I am using debina sid for the host and for the
install-system, /etc/fai/make-fai-nfsroot.conf shows the line
FAI_DEBOOTSTRAP="sid http://$mirrorhost/debian", whis is my local debian
mirror.

Anything I can do to solve the problem?

Greetz,
Andre




More information about the linux-fai mailing list