Your message dated Mon, 20 Apr 2009 17:04:39 +0200
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #520554,
regarding fai-client: faireboot as ssh command does not reboot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
520554: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520554
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
I close this bug because it seems to disappear.
Mail from the submitter:

> Thank you for the follow-up. I have just tested it right now (with 
> 3.2.18+experimental13 minus our patch) and the problem disappeared!  So 
> we consider it as a known problem with 3.2.4 and are able to live with 
> it (since we have a solution).
> As far as we are concerned, you can close this bug.

-- 
regards Thomas


--- End Message ---

Reply via email to