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

Zbyniu Krzystolik zbyniu at
Fri Feb 10 20:41:00 CET 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?

Succession of these modules matter. There are more logic swtiches like
[NOTFOUND=return]. You also add/remove it in comments. Even if some
module missing but is in config all works, that was dafault for years.
What with upgrade to glibc 2.15, where nss_db is present? It is critical
system service, just leave logic in it to admin.

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

It's different thing, loaded by config modules are required to run it,

%% Absolutely nothing we trust %%

More information about the pld-devel-en mailing list