[Pkg-samba-maint] Bug#629406: samba-common: create empty /etc/samba/dhcp.conf even if samba-common/dhcp=false

Steve Langasek steve.langasek at canonical.com
Mon Jun 6 17:20:48 UTC 2011

On Mon, Jun 06, 2011 at 02:17:04PM +0200, Luca Capello wrote:
> The following question is asked at samba-common installation:

>   Samba Server

>   If your computer gets IP address information from a DHCP server on the
>   network, the DHCP server may also provide information about WINS
>   servers ("NetBIOS name servers") present on the network.  This
>   requires a change to your smb.conf file so that DHCP-provided WINS
>   settings will automatically be read from /etc/samba/dhcp.conf.

>   The dhcp3-client package must be installed to take advantage of this feature.

>   Modify smb.conf to use WINS settings from DHCP?

> Even if I chose "No", every time the machine is rebooted (or a DHCP
> connection is renewed) an empty /etc/samba/dhcp.conf file is created.
> This is particular annoying given that etckeeper always complains:

>   ** etckeeper detected uncommitted changes in /etc prior to apt run
>   ** Aborting apt run. Manually commit and restart.

The debconf question has never been intended to govern whether the dhcp hook
script runs, only whether samba makes use of the information.  We could
possibly move this file into /run, if that would help.

Doesn't etckeeper have an 'ignore' facility?

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: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20110606/ca0720e7/attachment.pgp>

More information about the Pkg-samba-maint mailing list