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

Re: does /var/games have to be deleted on purge? (if it's empty..)



On Wed, Apr 8, 2009 at 7:51 PM, Holger Levsen <holger@layer-acht.org> wrote:

> On Mittwoch, 8. April 2009, Bill Allombert wrote:
>> Unless policy is changed to make clear that /var/games can be removed
>> at any time, and thus that package cannot just ship /var/games in the
>> deb and expect it to be available when running the postinst, or at any
>> latter time, I have to object with this bug reports because this
>> introduces a race condition.
>
> I dont understand, can you please explain what race condition you mean?

How about this:

Game a gets installed and ships /var/games
Game b gets installed and ships /var/games
Game a gets purged and removes /var/games
User starts game b and gets a high score
Game b tries to save the high score but fails because /var/games doesn't exist

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
http://synfig.org/User:PaulWise
http://bonedaddy.net/pabs3/


Reply to: