[Pkg-samba-maint] Bug#675906: samba: smb.conf needs a conf.d folder

Steve Langasek vorlon at debian.org
Mon Jun 4 17:49:43 UTC 2012


tags 675906 moreinfo unreproducible
thanks

On Mon, Jun 04, 2012 at 01:39:55AM -0400, Chris Capon wrote:
> Dear Maintainer,

> Each time a new version of Samba is release, we get a system prompt asking
> about overwriting our customized smb.conf

That seems unlikely.  ucf will only prompt when there are changes to the
maintainer's version of the config file, and this config file rarely
changes.

> with the package maintainers new version.  In general, the package
> maintainer's version is what we want, but to add additional shares
> requires customization.

Additional shares should never result in a prompt, because there's specific
code in the maintainer scripts to handle added shares and automatically
merge them before calling ucf.

> Rather than having to hand maintain the customizations each release, it
> would be nice if the packaged smb.conf automatically included add-ons from
> a conf.d folder or some similar process.  This way we could add additional
> shares while still using the new smb.conf which comes with each release. 
> Thus, no more prompts.

conf.d directories are a cheap hack, and in this particular case should be
entirely unnecessary.  So perhaps you can elaborate on the problem you're
seeing, and we can find out why the automerging isn't working correctly for
you.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20120604/bd638090/attachment.pgp>


More information about the Pkg-samba-maint mailing list