Bug in sshd bootscript

Pepijn Verlaan pepijnverlaan at zonnet.nl
Fri Jan 17 04:34:59 PST 2003


On Fri, 2003-01-17 at 02:01, Larry Lawrence wrote:
> On Thu, 16 Jan 2003 12:37:39 +0000, Jochen Held wrote:
> 
> > Hi all,
> > 
> > I couldn't reload sshd configuration with "/etc/rc.d/init.d/sshd reload"
> > in my LFS 4.0-RC1 based system.
> > SSH is a OpenSSH-3.5p1. 
> > 
> > The SSH daemon crashs with following message in /var/log/auth.log:
> > 
> > Jan 16 13:14:07 sesam sshd[119]: RESTART FAILED: av[0]='sshd', error:
> > No such file or directory.
> > 
> > I wouldn't test this with other versions of OpenSSH but think
> > that makes no difference.
> > 
> > So I change all occurences of "sshd" in /etc/rc.d.init.d/sshd to
> > "/usr/sbin/sshd" and all works fine.
> > 
> > Hope it helps Jochen.
> 
> The file /etc/rc.d/init.d/functions sets the path by being sourced into
> sshd with "source $rc_functions".  Your error messages imply that your
> path is correct when invoking sshd.  I suspect a typo in your scripts.
> 
> Larry

I've had exactly the same problem. And there are no typos here,
everything copy-pasted and doublechecked.

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-dev' in the subject header of the message



More information about the blfs-dev mailing list