[CentOS] initlog is deprecated

Stephen Harris lists at spuddy.org
Sun Feb 20 23:23:13 UTC 2011


On Sun, Feb 20, 2011 at 05:16:47PM -0600, Johnny Hughes wrote:

> If you take a look at man sshd, there may be a switch you can pass in to

No.  This has nothing to do with sshd configuration.

As I previously said, the problem is purely 100% in the init script.
The "generic" script from OpenSSH throws this warning with CentOS 5
because of this line in /etc/init.d/sshd

        initlog -c "$SSHD $OPTIONS" && success || failure

The fix is to change it to
        $SSHD $OPTIONS && success || failure

-- 

rgds
Stephen



More information about the CentOS mailing list