Package: fai-client
Version: 3.2.4+svn4837-0ubuntu2
Severity: normal

Hi,

We noted a problem when launching faireboot the following way:

ssh installing_host -l root faireboot

Reboot never occurs.  The problem seems related to the fact that ssh is
closing the session before the backgrounded init call has finished or
even started.  So the init/reboot process is aborted.

The solution we found to solve this problem was to add a sleep time
after the init call in faireboot script

##########################################################
if [ "X" == "X$SSH_CLIENT" -a "$TERM" != "dumb" ]; then

   exec reboot -dfi
   else
   killall -CONT rcS
   killall rcS
   init 6 &

   # addition here
   sleep 10

fi
##########################################################

Would it be possible to add a default/configurable sleep time after the
init call in faireboot?  It would allow us to keep in sync with fai
without having to "patch" it after each new version is released?

Thank you very much in advance!

Best regards,

Benoit 

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
  APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 
'intrepid')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-11-server (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to