Bug 122415 - /etc/rc.d/init.d/rpc* files have wrong chkconfig run levels
Summary: /etc/rc.d/init.d/rpc* files have wrong chkconfig run levels
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: nfs-utils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Steve Dickson
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-04 05:18 UTC by Christopher Chan
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-06-14 15:37:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christopher Chan 2004-05-04 05:18:30 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)

Description of problem:
problem: trying to start rpc deamons during halt or reboot.
cause: /etc/rc.d/rc[06].d/S??rpc{gssd,imapd,svcgssd} start
  links exist
cause: chkconfig comment line in /etc/rc.d/init.d/rpc* is wrong

Since system is halted/rebooted before the scripts are started, they 
have no effect.  However, the scripts should have cleanly stopped
these deamons at shutdown.

/etc/rc.d/init.d/killall will stop the deamons, but that happens
AFTER portmap and network have been stopped


in the 3 files the line
# chkconfig 0356 xx xx
should be
# chkconfig 345 xx xx


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


How reproducible:
Always

Steps to Reproduce:
1. shutdown -h now
2. watch for stop messages
3. notice the order of the messages    

Actual Results:  rpc{gssd,imapd,svcgssd} stop do not get called 
before network stop

Expected Results:  rpc{gssd,imapd,svcgssd} stop should occur before 
network stop

Additional info:

Comment 1 Sitsofe Wheeler 2004-06-11 13:23:58 UTC
This also occurs if you try to turn these services off using chkconfig
and you don't specify an explicit level:

e.g.
chkconfig off rpcidmapd
doesn't turn it off on levels 0 and 6


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