Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 37251 - chkconfig --add smb does not function.
chkconfig --add smb does not function.
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
David Lawrence
Depends On:
  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:
Last Closed: 2001-04-23 15:29:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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.