Package: fai-client
Version: 3.1.3
Severity: normal
Tags: patch
make-fai-nfsroot fails if $loguserhome/*.pub does not exist. However, as
these files have no immediate meaning (.ssh/authorized_keys contains the
pubkeys of the users allowed to log in), it would be better not to copy
these files at all (and avoid failing, as the shell runs in
exit-on-error mode).
--- make-fai-nfsroot (revision 4210)
+++ make-fai-nfsroot (working copy)
@@ -159,14 +159,12 @@
mkdir -p -m 700 $NFSROOT/root/.ssh
if [ -n "$LOGUSER" ] ; then
loguserhome=`eval "cd ~$LOGUSER 2>/dev/null && pwd;true"`
- # is copying of *.pub important?
[ -f $loguserhome/.ssh/known_hosts ] && cp
$loguserhome/.ssh/known_hosts $NFSROOT/root/.ssh/known_hosts
[ -d $loguserhome/.ssh ] && {
[ -f $loguserhome/.ssh/id_dsa ] &&
cp -p $loguserhome/.ssh/id_dsa* $NFSROOT/root/.ssh/
[ -f $loguserhome/.ssh/id_rsa ] &&
cp -p $loguserhome/.ssh/id_rsa* $NFSROOT/root/.ssh/
- cp -p $loguserhome/.ssh/*.pub $NFSROOT/root/.ssh/
}
fi
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages fai-client depends on:
ii cfengine2 2.1.20-1 Tool for configuring and maintaini
ii file 4.17-5 Determines file type using "magic"
ii libapt-pkg-perl 0.1.20 Perl interface to libapt-pkg
ii perl 5.8.8-7 Larry Wall's Practical Extraction
fai-client recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]