Bug 50151

Summary: init.d/sshd fails if $OPTIONS set
Product: [Retired] Red Hat Linux Reporter: Pekka Savola <pekkas>
Component: opensshAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-07 03:55:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pekka Savola 2001-07-27 12:10:59 UTC
openssh-2.9p3

init.d/sshd has:

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

if you actually specify $OPTIONS in /etc/sysconfig/sshd, with e.g.:

OPTIONS="-6"

, sshd the init script will misinterpret it; 'service sshd start' will
complain about known '-6'.

Working command is:

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

(also see: #30327 for the original suggestion)

Comment 1 Glen Foster 2001-07-30 19:24:12 UTC
This defect is considered MUST-FIX for Fairfax

Comment 2 Nalin Dahyabhai 2001-08-07 03:55:53 UTC
This will be fixed in 2.9p2-4 and later.

Comment 3 Pekka Savola 2001-08-14 19:23:42 UTC
Fix veried in -5.