[Pkg-samba-maint] new conf file refused interactively still installed with new date

Steve Langasek vorlon at debian.org
Mon Apr 7 17:00:50 UTC 2008


On Mon, Apr 07, 2008 at 11:41:21AM +0200, Michel BRIAND wrote:
> >> samba is now using ucf to handle smb.conf changes. That might be
> >> related.

> >Er, it's not just related, this is the expected behavior.  smb.conf is
> >touched on every update of the samba-common package because of
> >debconf; the ucf prompting/handling just presents the user with an
> >opportunity to incorporate new recommended settings provided by the
> >package, it doesn't mean timestamps will somehow be preserved.

> Ok,

> so smb.conf is handled by ucf in postinst.

> I learned about ucf and it says that Debian policy states that files
> under /etc which are configuration files must preserve user changes.

> Do you think that "user changes" includes timestamp as well ?

No, that has never been a requirement.  The requirement is that it must
preserve user changes, not that it preserve config files completely
unmodified.

-- 
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



More information about the Pkg-samba-maint mailing list