Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 724954

Summary: stop target from init script misbehaves
Product: Red Hat Enterprise Linux 6 Reporter: Michal Nowak <mnowak>
Component: opensshAssignee: Jan F. Chadima <jchadima>
Status: CLOSED NEXTRELEASE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: mvadkert, ohudlick, pvrabec
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-27 12:42:18 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 Michal Nowak 2011-07-22 12:23:45 UTC
Description of problem:

Start sshd service and then stop it:

[newman@dhcp-25-35 ~]$ sudo service sshd start
Starting sshd:                                             [  OK  ]
[newman@dhcp-25-35 ~]$ sudo service sshd stop
Stopping sshd: Stopping sshd:                              [FAILED]

Return code == 1.

I verified sshd process was running after start() and is not running after stop().

Version-Release number of selected component (if applicable):

openssh-5.3p1-62.el6.x86_64

How reproducible:

always

I'd expect stop() to return 1 when it actually terminates sshd process.

Comment 2 Michal Nowak 2011-07-25 10:00:24 UTC
Well, I wanted this bug to be fixed in RHEL6 because it makes my test to fail. Can you be more verbose on why this bug should by closed from your point of view?

Comment 3 Jan F. Chadima 2011-07-25 10:50:56 UTC
sorry

Comment 4 Miroslav Vadkerti 2011-07-26 14:39:10 UTC
This bug may be caused by the fix of
https://bugzilla.redhat.com/show_bug.cgi?id=698777
which is not a bug really and will be removed from the next build. 
If this test case passes with latest released
openssh-5.3p1-52.el6_1.2 package this request should be closed as not a bug or something like that. Of course we can wait for next build and retest.

Comment 5 Miroslav Vadkerti 2011-07-26 15:20:29 UTC
According to the reporter this bug is not reproducable with openssh-5.3p1-52.el6_1.2. We will retest with the latest openssh when it gets build to be sure though.

Comment 6 Jan F. Chadima 2011-07-27 12:42:18 UTC
This bug is repaired by unrolling the init script change.