[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Purging conffiles in stateless packages



Gioele Barabucci <gioele@svario.it> writes:

> is there a guideline 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`)?

The short answer from a Policy perspective is no, I don't think we have
any guidance about that.

At first glance, I'm inclined to agree with you that override files in
/etc shouldn't be removed, partly due to the reasons you stated and partly
by reasoning from analogy with optional /etc/default files, which we
historically haven't removed.  However, I'm not convinced that's correct;
I think there's an okay argument on the other side as well.

If you feel like Policy should offer some guidance here (which seems like
a reasonable request to me), feel free to open a bug against Policy.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: