Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31208 - Samba-init modification to allow a conf.d/samba file with parameters for daemons
Summary: Samba-init modification to allow a conf.d/samba file with parameters for daemons
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on: 48871
Blocks:
  Show dependency tree
 
Reported: 2003-10-15 09:06 UTC by Xavier
Modified: 2004-06-11 07:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier 2003-10-15 09:06:56 UTC
Will be possible to patch start() with this ?
-        start-stop-daemon --start --quiet --exec /usr/sbin/smbd
+        start-stop-daemon --start --quiet --exec /usr/sbin/smbd -- $SMBD_OPTS
-        start-stop-daemon --start --quiet --exec /usr/sbin/nmbd
+        start-stop-daemon --start --quiet --exec /usr/sbin/nmbd -- $NMBD_OPTS
to be able to pass options to the daemons ...
In my case I want to add '-l log_directory' to change logging location files
(if changed should be needed to create a samba default file in conf.d to show 
the new parameter options)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Donny Davies (RETIRED) gentoo-dev 2004-02-14 21:59:18 UTC
Do you fancy doing up a fancy example config for it then?

Theres another bug asking for -D anyways...
Comment 2 Xavier 2004-02-16 07:44:53 UTC
Example /etc/conf.d/samba file:

SMBD_OPTS="-l /var/log/samba"
NMBD_OPTS="-l /var/log/samba"
Comment 3 Donny Davies (RETIRED) gentoo-dev 2004-02-16 09:05:21 UTC
That's not what I was expecting.

How about making something with some meat?  If you dont want to
do more than typing 2 lines in here, that's ok, I just thought
you were more interested.

Thanks anyways.
Comment 4 Xavier 2004-02-17 12:30:44 UTC
Sorry about that, I don't understand fully your statement (my english it's not so good)

I try to make something more elaborated ( I chek for more Samba options to include) but I don't know when I can reply to this...

Don't worry, I feel rigth with your comments. ;-)
Comment 5 Christian Andreetta (RETIRED) gentoo-dev 2004-05-15 09:00:13 UTC
suggestion included in proposed ebuild for samba 3.0.4 (please see bug 48871)
Comment 6 Christian Andreetta (RETIRED) gentoo-dev 2004-06-11 07:09:31 UTC
fixed in bug 48871