Subject: Re: Error in startup scripts for samba?
To: Paul Goyette <paul@whooppee.com>
From: Luke Mewburn <lukem@wasabisystems.com>
List: current-users
Date: 05/13/2001 17:23:49
On Sat, May 12, 2001 at 05:15:54PM -0700, Paul Goyette wrote:
> Not sure if this is the right list, but hre goes...
>
> It seems that the /etc/{n,s}mbd.sh scripts supplied in the samba package
> have a small bug.
>
> Rather than setting the {n,s}mbd_flags variable, they set variable
> command_args (to have a value "-D"). Although this may make nmbd and
> smbd happy, it confuses anything which gets started later on in the
> startup process, like inetd and cron, since neither of those programs
> understands the -D flag.
Are they installed as /etc/rc.d/nmbd or /etc/rc.d/nmbd.sh ? The latter
gets sourced into rc's current shell and that would cause problems.
Rename them to not have the .sh extension and see what happens.