reassign 610600 sudo-ldap
thanks

On Thu, 10 Feb 2011, Bdale Garbee wrote:

> reassign 610600 base-files
> thanks
> 
> On Thu, 10 Feb 2011 20:37:44 +0100, Ulrich Zehl <ulr...@topfen.net> wrote:
> > Unconditionally adding a line to nsswitch.conf via the base-files package
> > will work, because the non-LDAP sudo does not read it in any case.
> 
> Ok, thanks for commenting on this.
> 
> I'll reassign this to the base-files package for action.  If the
> maintainer(s) agree to add the entry in question, then I'll be happy to
> update future sudo-ldap packages to depend on a suitably fresh version
> of base-files.  That won't directly help folks updating from lenny to
> squeeze right now, but if we can get updates to both packages into the
> first squeeze point release, it might still help a lot of people...

Hmm, that would not be a good solution.

The base-files package does not handle /etc/nsswitch.conf via dpkg's
conffile mechanism, so just changing the default which is installed by
debootstrap on an initial Debian install will not magically modify
already existing nsswitch.conf files.

Also, the libc documentation about nsswitch.conf talks about a default
configuration if no such file exists. Since this sudoers thing is not
part of the default configuration, but an "extra", I think it would be
much cleaner if whatever package that needs to modify the default file
does so.

Usually, policy forbids that a package modifies the "configuration file"
of another package, but in this case /etc/nsswitch.conf is not a conffile
in dpkg sense but just a default. This is on purpose so that packages
that need to modify such file do so without having to ask me about
that.

Therefore, I think we should just modify sudo-ldap so that the required
line is added to /etc/nsswitch.con on postinst and removed on purge,
as only users of sudo-ldap need such line, i.e. please do not rely
on base-files and just do with nsswitch.conf whatever is required for it
to work with your package.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to