[Pkg-samba-maint] Bug#649265: Bug#649265: winbind: add wins to nsswitch.conf

Christian PERRIER bubulle at debian.org
Mon Nov 21 06:06:08 UTC 2011


Quoting Osamu Aoki (osamu at debian.org):

> > The current mechanism used by libnss-mdns for updating /etc/nsswitch.conf is
> > not policy-compliant. 
> 
> Is it?
> 
> Actually, I initially thought it was not policy-compliant without
> looking into facts.  But /etc/nsswitch.conf does not look like conffile.
> It is a generated file by base-files.postinst.  So, as long as
> base-files and libnss-mdns maintainers cordinate each other, I see
> no problem in terms of policy.

Oh, doh. Shouldn't it be a conffile anyway? As a local admin, I would
hate seeing my carefully crafted nsswitch.conf file broken by
packages' updates just because "it is policy-compliant as this is not
a conffile". And I certainly know about Debian-haters who would
happily use this as an argument to bash us for doing that (forgetting
that most other distros happily break such files during upgrades...)

So, well, sounds like a goodpolicy-compliant method to update
nsswitch.conf would indeed be a great enhancemeent to bring. Thinking
out loud, it could be something like /etc/nsswitch.conf.d/ but I'm not
sure that's easy to do without hacking many things.


-------------- 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/20111121/56814eeb/attachment.pgp>


More information about the Pkg-samba-maint mailing list