Bug 37251 - chkconfig --add smb does not function.
chkconfig --add smb does not function.
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-23 15:29 EDT by Eugene Kanter
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-23 15:29:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eugene Kanter 2001-04-23 15:29:11 EDT
[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 15:45:48 EDT
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 16:21:03 EDT
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 16:25:34 EDT
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.