Bug 1662192 - Delete legacy games directories
Summary: Delete legacy games directories
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1664567
TreeView+ depends on / blocked
 
Reported: 2018-12-26 23:23 UTC by Amadeus
Modified: 2019-08-13 19:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1664567 (view as bug list)
Environment:
Last Closed:


Attachments (Terms of Use)

Description Amadeus 2018-12-26 23:23:35 UTC
It is time to get rid of the games directories which haven't been used for the past +20 years.

$ rpm -ql filesystem-3.8-2.fc28.x86_64|grep game
/usr/games
/usr/lib/games
/usr/lib64/games
/usr/local/games
/usr/share/games
/var/games
/var/lib/games

It also makes RHEL look very out of date and certainly not every enterprise-like to have "games" directories on your mission critical servers.

This post https://unix.stackexchange.com/questions/1687/games-directory/1691#1691 explains it well:

It's just a bit of historical cruft. A long time ago, games were an optional part of the system, and might be installed by different people, so they lived in /usr/games rather than /usr/bin. Data such as high scores came to live in /var/games. As time went by, people variously put variable game data in /var/lib/games/NAME or /var/games/NAME and static game data in /usr/lib/NAME or /usr/games/lib/NAME or /usr/games/NAME or /usr/lib/games/NAME (and the same with share instead of lib for architecture-independent data). Nowadays, there isn't any compelling reason to keep games separate, it's just a matter of tradition.

Comment 1 Ondrej Vasik 2019-01-01 20:16:13 UTC
Thanks for report. I'll probably remove at least some of those- although /var/games is listed in FHS as optional standard directory and /var/lib/games is still in use by various games to store things like highscore.

Comment 2 Amadeus 2019-01-01 20:29:04 UTC
Would it be difficult for the games you speak of to create /var/lib/games them self, so we avoid the situation of RHEL ending up with a "games" directory, which just seams wrong in mission critical environments?

Comment 3 Ondrej Vasik 2019-01-09 07:57:44 UTC
I cloned this bugzilla for RHEL. I don't think this is really critical to remove games dirs from mission critical environments, but it is nice to have and good to remove in one of the future updates. Ownership by the games themselves is good plan, but it will take some time - based on my experience, not many maintainers respond to the bugzillas in reasonable timeframe - so we will end up with double ownership or unowned directories anyway.

Comment 4 Ben Cotton 2019-08-13 16:51:49 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 5 Ben Cotton 2019-08-13 19:37:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.


Note You need to log in before you can comment on or make changes to this bug.