Re: Joe [and MANY others] doesn't delete its config directory[ies] on purge
On Mon, Feb 11, 2002 at 10:45:32PM -0500, Matt Zimmerman wrote:
> On Mon, Feb 11, 2002 at 07:31:03PM -0600, Adam Heath wrote:
>
> > I also take exception to you calling this a dpkg bug. If files exist in a
> > directory that dpkg does not know about, it doesn't touch them. Do you
> > honestly want dpkg to remove those files, just so it can remove the directory?
>
> I thought he was referring to #59343/#59344/#61531/#69553/#93037/#94409/
> #107174/#111841/#112439/#112515/#113843, where empty directories that
> contained only conffiles are left behind after a purge.
>
> Curretly, packages must rmdir --ignore-fail-on-non-empty in the maintainer
> script to avoid this situation.
It makes sense it's a dpkg bug... IMHO, there should be something more in the policy
about the structure of /etc. It and FHS are not specific enough about non-essential
files like passwd.
Anyway, I'll stop my bitching about /etc until I can think of a good
solution to that dpkg bug. It's 2 years old!
- Adam
Reply to: