-----BEGIN PGP SIGNED MESSAGE-----
On Wed, Jul 14, 2010 at 09:43:26AM -0400, Hartl, Gerhard L. wrote:
> I'm attempting to create a base Linux image and keep getting stuck in the
> same spot. The image is capturing properly, but when Linux is going
> through post load, something breaks ssh. I don't understand why
> "/etc/init.d/ext_sshd stop" would halt ssh on the private interface?!?
I ran into this same problem. The issue is the RHEL5 init script for sshd;
when asked to "stop", it runs killproc on sshd (the command string).
This kills both the private and public SSH daemons.
I modified the RHEL script to instead call 'killproc -p' on the PID, not the
> diff /tmp/ext_sshd /etc/init.d/sshd
< OPTIONS='-f /etc/ssh/external_sshd_config'
< if [ -f $PID_FILE ]; then
< killproc -p $PID_FILE
> if [ -n "`pidfileofproc $SSHD`" ] ; then
> killproc $SSHD
Scott M. Sorrentino <sms...@cornell.edu>
CIT Systems & Operations, Cornell University
705 Rhodes Hall // (607) 254-8535
GnuPG fingerprint: 6E30 0B83 43F8 CF8B 3B44 7DBE 6AAE DFC9 1DE6 8C1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
-----END PGP SIGNATURE-----