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

Re: RFS: (RC bugfix, NMU) mindi



Bilal Akhtar wrote:

> On 11/28/2010 03:04 PM, Didier 'OdyX' Raboud wrote:
>>
>> I'm really not confident with considering /var/lib/* files as conffiles.
> 
> FYI its /usr/lib/ . And the package does use those files as conffiles
> (see the comment on the postrm file which I am removing in this NMU).

/me facepalms. That's even worse: Mindi is not supposed to modify things in 
/usr/lib (see FHS). Marking those "runtime created files" as conffiles, when 
they are not configuration files is just plain wrong.

>> IMHO the correct solution for this particular bug is to force the removal
>> of those files on purge so: differentiating remove from purge in postrm
>> and removing the files in a non-blocking way.
> 
> Since this is a configuration file, it would be removed on purge by dpkg
> as its now recognized as a conffile by dpkg.

Those are _not_ configuration files, I don't see any valid reason to 
consider them so. The point of conffiles is to handle maintainer and user 
configuration files updates, not to handle removal of left-overs in 
/usr/lib.

>> Are you willing to prepare a new NMU implementing this ?
> 
> I don't think so. Anyway, *thanks* a lot for the review!

Well; we'll have to agree to disagree then. I will propose one with my 
solution.

Cheers, 

OdyX


Reply to: