Bug 50151 - init.d/sshd fails if $OPTIONS set
Summary: init.d/sshd fails if $OPTIONS set
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: openssh
Version: 7.3
Hardware: i386
OS: Linux
high
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-27 12:10 UTC by Pekka Savola
Modified: 2008-05-01 15:38 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2001-08-07 03:55:58 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.