Bug in sshd bootscript

Larry Lawrence larry at linuxfromscratch.org
Thu Jan 16 18:01:39 PST 2003


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
-- 
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