On Sun, Aug 26, 2018 at 12:41:48PM +0200, Gioele Barabucci wrote: > the policy lacks guidelines on how to treat user-provided configuration > files during configuration purging in packages for programs that follow the > "stateless" paradigm (default in `/usr`, override in `/etc`).
btw, I think the term 'stateless' is a misnomer here, clearly there's
state being kept in /etc.
then, policy says what to do with configuration files when a package is
purged: they should be removed. :-D
> That means that purging the package will remove also all the configuration
> files provided by the sysadmin. Should this be the normality or should this
> be avoided?
yes, that should be the normality and this is how purge worked since
basically forever, and I don't see a new compelling reason to change
this.
If you want to keep your configuration files/modifications, don't purge
a package. And do backups.
> Could the policy be more explicit on what maintscripts are supposed to do in
> packages for stateless programs?
I don't think this (nice) new paradigm changes anything and do think
that all types of configuration files should be treated the same.
I'd suggest to close this bug as 'wontfix'.
--
cheers,
Holger
-------------------------------------------------------------------------------
holger@(debian|reproducible-builds).org
signature.asc
Description: PGP signature

