Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Alexander Skwar wrote:
 Well, I also found myself being unable to start sshd, but
 these most often were due to some configuration changes.

And exactly for this is why test-restart was proposed by me.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7ov8AlpOsGhXcE0RCo76AJ99+twCQ7bUX3o7+nccQeK3zZmAJgCfW1M1
evoO2iPzcCYigA2y3BZoGD0=
=r9AQ
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Hans-Werner Hilse
Hi,

On Mon, 17 Sep 2007 11:15:24 -0300 Arturo 'Buanzo' Busleiman
[EMAIL PROTECTED] wrote:

 Alexander Skwar wrote:
  Well, I also found myself being unable to start sshd, but
  these most often were due to some configuration changes.
 
 And exactly for this is why test-restart was proposed by me.

I would propose to change the restart option (i.e. introduce a
corresponding handler in /etc/init.d/sshd) to actually do checkconfig()
before stopping, not just before starting sshd.

I created a bug for this issue, patch attached:
http://bugs.gentoo.org/show_bug.cgi?id=192825

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-17 Thread Albert Hopkins
On Mon, 2007-09-17 at 11:15 -0300, Arturo 'Buanzo' Busleiman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 Alexander Skwar wrote:
  Well, I also found myself being unable to start sshd, but
  these most often were due to some configuration changes.
 
 And exactly for this is why test-restart was proposed by me.

There is a sshd -t.  From the man page:

-t  Test mode.  Only check the validity of the configuration
file and sanity of the keys. This is useful for updating sshd
reliably as configuration options may change.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Re: Re: SSH won't restart

2007-09-16 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Alexander Skwar wrote:
 For what? What should it safeguard against? You can't just start
 a 2nd instance of sshd while the 1st is still running, as they
 (usually) should then bind to the same port. That won't work, obviously.

Ok, ok, you win.

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
Servicios Ofrecidos: http://www.buanzo.com.ar/pro/
Unase a los Foros GNU/Buanzo - La palabra Comunidad en su maxima expresion.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG7aY+AlpOsGhXcE0RCodyAJ48G9e/joDbmI6eERj+8GleoNtGfQCeKXVM
rCLVs4P1C64OcgSxYPueGF0=
=/wFw
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list