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 1192935 - [rpcsvcgssd service] service rpcsvcgssd force-reload should not start the service if rpcsvcgssd is not running
Summary: [rpcsvcgssd service] service rpcsvcgssd force-reload should not start the ser...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: nfs-utils
Version: 6.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-16 09:32 UTC by Yongcheng Yang
Modified: 2016-08-29 08:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 20:04:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yongcheng Yang 2015-02-16 09:32:14 UTC
Description of problem:
"service rpcsvcgssd force-reload" should not start the service if rpcsvcgssd is not running.
As the LSB said "force-reload	cause the configuration to be reloaded if the service supports this, otherwise restart the service if it is running". But i find that the "force-reload" just acts the same as "restart" due to /etc/init.d/rpcsvcgssd

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

How reproducible:
100%

Steps to Reproduce:
1.service rpcsvcgssd stop
2.service rpcsvcgssd force-reload
3.service rpcsvcgssd status

Actual results:
[16:34:46 root@ ~~]# service_rpcsvcgssd stop
Shutting down RPC svcgssd: [  OK  ]
:: [   PASS   ] :: Service have to implement stop function (Expected 0, got 0)
--------------------------------------------------------------------------------
[16:34:46 root@ ~~]# service_rpcsvcgssd condrestart
:: [   PASS   ] :: Service have to implement condrestart function (Expected 0, got 0)
--------------------------------------------------------------------------------
[16:34:46 root@ ~~]# service_rpcsvcgssd try-restart
:: [   PASS   ] :: Service have to implement try-restart function (Expected 0, got 0)
--------------------------------------------------------------------------------
[16:34:46 root@ ~~]# service_rpcsvcgssd force-reload
Shutting down RPC svcgssd: [FAILED]
Starting RPC svcgssd: [  OK  ]
:: [   PASS   ] :: Service have to implement force-reload function (Expected 0, got 0)
--------------------------------------------------------------------------------
[16:34:47 root@ ~~]# service_rpcsvcgssd status
rpc.svcgssd (pid 44903) is running...

Expected results:
The "force-reload" does nothing when the rpcsvcgssd service is not running.

Additional info:
The same action on rhel7 not start the service if rpc-svcgssd is not running

Comment 2 Steve Dickson 2015-02-16 12:58:00 UTC

*** This bug has been marked as a duplicate of bug 1192926 ***

Comment 3 Steve Dickson 2016-08-24 20:04:36 UTC
restart | force-reload | reload


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