Bug 19345

Summary: Option --add does not add
Product: [Retired] Red Hat Linux Reporter: Michal Jaegermann <michal>
Component: nfs-utilsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-18 21:18:41 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 Jaegermann 2000-10-18 21:10:29 UTC
Is this a bug or a misguided intention?

# chkconfig --list nfs
nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off
# chkconfig --add nfs 
# chkconfig --list nfs
nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off

I know that I can do 'chkconfig --level 345 nfs on' and this will work
but a documentation is far from clear on these points.

The same goes for various other services.

  Michal
  michal

Comment 1 Cristian Gafton 2000-10-18 21:18:38 UTC
I have verified this to be the case with the latest internal build of the
package. The reason it is doing this is because of some missing information in
the init script

/etc/init.d/nfs

- # chkconfig: - 60 20
+ # chkconfig: 345 60 20

This may this wayfor a reason that I am not aware of but that is why chkconfig
does not add and del properly.

Changing component to nfs-utils and arch to Alpha since I assume by this bug
being against RC1 is the proper arch.

Comment 2 Bill Nottingham 2000-10-18 23:19:34 UTC
Um, that's the proper behavior.

--add just adds the links in the default state (in this case, disabled
in all runlevels.)

The --level 345 on is the correct way to activate it.