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

Re: Bug#201023: dosemu: purging doesmu wipes out all user data under /var/lib/dosemu)



Herbert Xu <herbert@gondor.apana.org.au> writes:

> Steve Greenland <steveg@moregruel.net> wrote:
>> 
>> Why is it so hard to replace 'rm -rf /var/lib/dosemu' with
>> 
>>        rm /var/lib/dosemu/freedos
>>        rmdir /var/lib/dosemu || /bin/true
>> 
>> 
>> Or, slightly more complete:
>> 
>>        for f in /var/lib/dosemu/* ; do
>>                [ -L $f ] && rm $f
>>    done
>>        rmdir /var/lib/dosemu || /bin/true
>
> Well firstly it doesn't purge conffiles from old dosemu packages.
> There used to be a number of conffiles in /var/lib/dosemu.
>
> Secondly I've already given my opinion on this kind of ad hoc
> reaction to this kind of bug reports.
[...]

Sorry if this sounds offensive, but if a postinst has wiped out an
*entire* file system, than, IMHO, this requires not only an ad-hoc but
an *emergency* reaction.

The primary goal now should be to prevent that this disaster repeats
itself somewhere else. Later on, you can discuss amending the policy.


Thanks,

Johannes



Reply to: