Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-21 Thread Arthur de Jong
tags 523483 + pending thanks On Sat, 2009-04-18 at 22:30 +0200, Sergio Gelato wrote: > Indeed. Some other packages have taken the approach of only editing such > files if they contain a comment that says something like "delete this line > to keep this file from being managed by debconf". I disli

Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-18 Thread Sergio Gelato
* Arthur de Jong [2009-04-18 18:51:30 +0200]: > I'm not saying nsswitch.conf should be a conffile. What I'm saying is > that if an admin manually made changes to a file, those changes should > not be automatically undone when some package is removed. ... or installed. >

Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-18 Thread Arthur de Jong
On Sat, 2009-04-18 at 16:10 +0200, Sergio Gelato wrote: > You almost make it sound like /etc/nsswitch.conf ought to be a > conffile after all. But then why are you editing it in postinst? > (Unconditionally, I may add: the admin doesn't get a chance to say > "leave nsswitch.conf alone"; you're aski

Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-18 Thread Sergio Gelato
* Arthur de Jong [2009-04-17 22:33:16 +0200]: > I'm a bit reluctant to automatically remove stuff from nsswitch.conf > because the admin, when he installed the package, indicated that > nsswitch.conf should be edited or the admin may have edited it manually > to include ldap lookups. You almost ma

Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-17 Thread Arthur de Jong
On Fri, 2009-04-10 at 17:04 +0200, Sergio Gelato wrote: > The postinst script for this package edits /etc/nsswitch.conf based on > the answers to debconf questions. > > The changes should be undone when the package is removed (unless perhaps > it is being replaced with libnss-ldap), but currently

Bug#523483: libnss-ldapd: postrm doesn't undo postinst's changes to /etc/nsswitch.conf

2009-04-10 Thread Sergio Gelato
Package: libnss-ldapd Version: 0.6.7.1 (Also found in version 0.6.8.) The postinst script for this package edits /etc/nsswitch.conf based on the answers to debconf questions. The changes should be undone when the package is removed (unless perhaps it is being replaced with libnss-ldap), but curr