Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165729 - wrong use of config file in net-fs/samba-3.0.24
Summary: wrong use of config file in net-fs/samba-3.0.24
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-07 09:31 UTC by Natanael Copa
Modified: 2007-02-07 09:35 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 Natanael Copa 2007-02-07 09:31:48 UTC
the /etc/conf.d/samba contains lots of "config options" which should be set to things like: "start-stop-daemon --stop --quiet --pidfile /var/run/samba/smbd.pid" and "unset TMP TMPDIR"

IMHO, that is not a config option. Its script internals.


Reproducible: Always

Steps to Reproduce:
1. give a non-rocket scientist the task to configure samba
2. point him/her to /etc/conf.d/samba
3. run...

Actual Results:  
User screams loud.

Expected Results:  
Users should be satisfied and comment during lunch break how cool Gentoo is.

conf.d should only contain config options, not half the init.d script.

Seriously, the guy here found out he would rather rewrite the init.d script than patch it (he tried to make it run with busybox ash instead of ash)

Why not use /etc/init.d/{smbd,nmbd,winbind} scripts? Then will the user have the power to start/reload/stop serivces independently of each other.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-07 09:35:18 UTC
You know, user config is in /etc/samba/smb.conf; so move there and leave 
/etc/conf.d/samba alone unless you have special needs.