On 03.06.2012 12:21, Andreas B. Mundt wrote:
> Hi,
> 
> first, thank you all for the work on a refurbished autofs package!  I
> would like to draw your attention to #639529, as it would be great to
> fix this before the wheezy freeze and it's just a minor modification.
> 
> Let me sum up, as the lengthy history of the issue might be confusing:
> 
> The name service switch functionality allows to assign different
> resources for various informations like passwords, groups etc.
> The resource to use is defined in "/etc/nsswitch.conf".  Everybody
> using the autfs-ldap package needs to add:
> 
>       "automount:      files ldap"

Will it be bad if this line will be left out after removing
autofs-ldap package, ie, when automount nsswitch entry is
listing non-existing lookup method?  I guess I should try...

I mean, is it a bug to leave "ldap" in there on autofs-ldap
removal?

Because I want to minimize messing up with this file as much
as possible.  For example, the user might reorder the entries
after installation, but on removal and reinstall we'll move
"ldap" entry there to the end, which might be considered a
bug too...

Thanks,

/mjt

> to "/etc/nsswitch.conf".  This activates the look up of mount points
> in LDAP.  For example, this has to be done in debian-edu and
> debian-lan.
> 
> The patches already attached above make sure the line needed is added
> on installation and removed after purging the autofs-ldap package.
> Modifying "/etc/nsswitch.conf" is fine, cf. [1].  A similar patch has
> been applied to sudo-ldap, cf. #639530.
> 
> Thanks,
> 
>       Andi
> 
> 
> 
> [1] Modifying nsswitch.conf shouldn't be a problem, quoting from
>     <URL:http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=610600#34>:
> 
>     "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.conf 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."
> 
> 
> --
> 
> ----------------------------------
> 
> A N D R E A S   B.   M U N D T
> 
> GPG key: 4096R/617B586D 2010-03-22 Andreas B. Mundt--<andreas.b.mu...@web.de>
>                                    Andreas B. Mundt--<andi.mu...@web.de>
> 
> ============================================================================
> 
> 
> 




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