Bug 5033 - Mis-named links in /etc/rc.d cause Samba not to start
Summary: Mis-named links in /etc/rc.d cause Samba not to start
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: samba
Version: 6.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-09-09 20:36 UTC by roncemer
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-09-09 21:07:24 UTC

Attachments (Terms of Use)

Description roncemer 1999-09-09 20:36:49 UTC
In samba-2.0.5a-1.i386.rpm and/or
samba-client-2.0.5a-1.i386.rpm, there are two links that are


These links both point to the file /etc/rc.d/init.d/smb,
which is correct.  However, the NAMES of the links are
incorrect.  Instead of beginning with "K", they should both
begin with "S" to cause samba to be started for runlevels 3
and 5.

This bug completely prevents the automatic startup of samba
on all systems which have been updated with the above-listed
RPMs.  This is disastrous for users who don't understand the
runlevel mechanism.

The simple fix is as follows.  After installing the
above-listed RPMs, log in as root and type the following

cd /etc/init.d/rc3.d
mv K35smb S35smb
cd /etc/init.d/rc5.d
mv K35smb S35smb

This will start samba back up.

Also, there should be a note to the user that installing
updates to samba causes the /etc/smb.conf file to be
replaced.  The file is saved in /etc/smb.conf.rpmsave, so
the old settings can be copied from the old file to the new.
 However, most users are inept in this area and would prefer
that the installation procedure take care of this for them.
 The end-user reality dictates that any config file that is
replaced by an installation must have its settings preserved
in the new file (at least the most important settings).

Comment 1 Bill Nottingham 1999-09-09 21:07:59 UTC
Samba is no longer started by default.
If the user wants to start it, they can configure it with

The smb.conf behavior is the behavior that RPM has always had.
It does not attempt to merge configuration files; that way
madness lies.

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