Bug 165425
Summary: | old-fashion(FSSTND-1.x?) hierarchy for games | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | SEKINE Tatsuo <sekine.t> |
Component: | filesystem | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | hdegoede, rvokal, wart |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-06-28 05:17:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 187224 |
Description
SEKINE Tatsuo
2005-08-09 08:03:43 UTC
Hi, I'm an FE-packager packaging amongst other things quite a few games, when packaging one of my own games I noticed that there was no /var/games but only /var/lib/games, so I've made my own packages uses /var/lib/games and filed a bug against a package I had recently reviewed of which I knew it used /var/games see bug 187224 . The owner of this package pointed out that /var/games is ok and that the filesystem (and gnome-games) packages are wrong (by the FHS). Strange enough, the filesystem changelog contains: * Tue May 16 2000 Preston Brown <pbrown> - /etc/opt, /usr/share/{info,man/man*,misc,doc} (FHS 2.1) - added /var/games. Data should move from /var/lib/games to there (FHS 2.1) - bump version up to 2.0 already! After this there are no /var/games related changelog messages! Ping? Can we please get some resolution on this, not nescesarrily a fix but atleats a decission what is the prefered location for new packages? Currently some FE contributers are putting shared score files under /var/games and other /var/lib/games. I assume in the end we will want only one of those 2, so some packages will need to be migrated including scriptlets to keep the exisiting hiscores intact. The longer this situation exists the more packages will need fixing. So please tell us what its going to be /var/games (as the FHS and the filesystem ChangeLog say?) or /var/lib/games (which is actually in filesystem and used by core packages). I agree with the proposed fix. FHS clearly states it should be /var/games and providing a backward compatible symlink for /var/lib/games. Will fix in next update of filesystem. Read ya, Phil Phil, What about the files currently in /var/lib/games, I assume you're going to provide a pre script which moves all files in /var/lib/games to /var/games if /var/lib/games is not a symlink or something similar. If there are still files left in /var/lib/games then rpm can't replace /var/lib/games with a symlink right? Also if the filesystem package does the migration then all packages who still have hiscores in /var/lib/games need todo is Requires: filesystem >= fixedversion Otherwise all packages with hiscores currently in /var/lib/games need to provide there own migation scripts. Urgs, didn't think about that. Problem with that is that it's really very ugly to do so especially as filesystem has to be one of the first packages in the system and can't require anything like /bin/sh to be present. I'm changing this now so that filesystem provides at least both directories now so games can then use the official FHS compliant place to store their files or the old one, whichever they prefere. Read ya, Phil |