Bug 37251 - chkconfig --add smb does not function.
Summary: chkconfig --add smb does not function.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: samba
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-23 19:29 UTC by Eugene Kanter
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-23 19:29:15 UTC
Embargoed:


Attachments (Terms of Use)

Description Eugene Kanter 2001-04-23 19:29:11 UTC
[root@localhost /root]# rpm -q --scripts samba
postinstall script (through /bin/sh):
/sbin/chkconfig --add smb
......
[root@localhost /root]# chkconfig --add smb
[root@localhost /root]# chkconfig --list smb
smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@localhost /root]#

Comment 1 Bill Nottingham 2001-04-23 19:45:48 UTC
That's the correct behavior; it adds links for the default settings. To turn
it on, do:

chkconfig --level 345 smb on


Comment 2 Eugene Kanter 2001-04-23 20:21:03 UTC
Please explain the purpose of "chkconfig --add smb" in postinstall scripts.

Does it mean that after rpm -i samba one needs to manually do
chkconfig --level 345 smb?????

Comment 3 Bill Nottingham 2001-04-23 20:25:34 UTC
chkconfig --add adds the /etc/rc<foo>.d/links. If there are no links, it
adds them in whatever the default state for the package is. samba defaults
to off (as do most other things.) If the links already exist, it should
leave them alone.

chkconfig --del removes all the links, regardless of whether they are on
or off.

chkconfig --level x (on|off) changes the links to on or off.



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