packages: nss_db/nss_db.spec - remove db from nss config on package removal...

Jan Rękorajski baggins at pld-linux.org
Fri Feb 10 12:23:50 CET 2012


On Fri, 10 Feb 2012, Elan Ruusamäe wrote:

> On 10/02/12 01:35, Zbyniu Krzystolik wrote:
> > glen wrote:
> >> >  Author: glen                         Date: Thu Feb  9 22:59:22 2012 GMT
> >> >  Module: packages                      Tag: HEAD
> >> >  ---- Log message:
> >> >  - remove db from nss config on package removal,
> > Why do you think you know better than admin what should be in his configs?
> >
> 
> there are any other use cases? why would you want nss provider listed in 
> nss config when package itself providing that service is removed?

Because it was never added there by a package, and removed from default
nsswitch.conf 5 years ago.

Revision 1.673  2007/02/05 13:07:03  arekm
- install nsswitch without db entries in it (nss_db is not in default glibc)

> in that case all %post/%preun actions from openldap.spec should be 
> removed too?

That's something completely different.

-- 
Jan Rękorajski                                 | PLD/Linux
SysAdm                                         | http://www.pld-linux.org/
baggins<at>mimuw.edu.pl
baggins<at>pld-linux.org


More information about the pld-devel-en mailing list