Bug 19345 - Option --add does not add
Summary: Option --add does not add
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils
Version: 7.3
Hardware: alpha
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-18 21:10 UTC by Michal Jaegermann
Modified: 2014-03-17 02:16 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-10-18 21:18:41 UTC
Embargoed:


Attachments (Terms of Use)

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.


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