Manoj Srivastava wrote: > Ok, my solution again. For games that do not need a prebuilt > score file, touch the file in postinst and *set the permission to be > group writable*. All the games work with that that I tried, > including, actually, Maelstrom.
I have no problem with this. > For any games that shall not work that way, put the file > somewhere, and move it into /var/lib in postinst when no such > exists. (I do not know a game that can't handle zero length files > with proper permissions) > Joey> 2. Have to handle score files that come with some scores already > Joey> in them, for you to try to beat. (Ie, Maelstrom's score file) > > Does that. Presumably you mean your solution does that by having the postinst copy /usr/lib/maelstrom/scores to /var/lib/games in the postinst. Which it does, but that leaves /usr/lib/maelstrom/scores sitting there, never to be used again. What a waste of space, especially if you scale this up to lambdacore and have a 2mb lambdacore file sitting in /usr forever after. > Joey> 3 We already have a mechanism for doing this (conffiles). Why > Joey> re-implement it on a package by package basis? > > Because it does not. We do not need the complexities of the > conffile solution What complexities? A conffile seems less complex and error-prone than implementing your proposal in a few dozen postinst's. > and they are not configuration files in the first > place. Configuration files, for which our solution exists, belong in > /etc/ We do not need to use the conffile solution. Other means > exist. If conffiles were originally only meant for configuration files, and we've found a new use for the machanism, well, great! That just means conffiles are a nice general solution to a general problem that has manifestations the implementor didn't envision. Nothing wrong with that. > Joey> 4 These are variable data files, and the fsstnd says the place > Joey> for them is /var, not /etc. > > Fine. They are not conffiles. we agree here. I thought at one point you were proposing sylinks into /etc for some score files? -- see shy jo

