Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492432 - portage should disallow or warn on installing to /run and /var/run
Summary: portage should disallow or warn on installing to /run and /var/run
Status: RESOLVED DUPLICATE of bug 493154
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-24 15:21 UTC by Ben Kohler
Modified: 2013-12-02 21:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2013-11-24 15:21:16 UTC
On newer systems, /run lives on tmpfs and /var/run is a symlink to the same place, so ebuilds should not be installing anything there.  The packages immediately become "damaged" after a reboot. Some example offenders:

# qcheck cups gdm mariadb wpa_supplicant
Checking dev-db/mariadb-5.5.32 ...
 AFK: /var/run/mysqld/.keep_dev-db_mariadb-0
  * 650 out of 651 files are good
Checking gnome-base/gdm-3.8.4-r3 ...
 AFK: /run/gdm/greeter
  * 167 out of 168 files are good
Checking net-print/cups-1.7.0 ...
 AFK: /var/spool/cups/tmp/.keep_net-print_cups-0
  * 464 out of 465 files are good
Checking net-wireless/wpa_supplicant-2.0-r2 ...
 AFK: /var/run/wpa_supplicant
 AFK: /var/run/wpa_supplicant/.keep_net-wireless_wpa_supplicant-0
  * 51 out of 53 files are good
#
Comment 1 Ben Kohler gentoo-dev 2013-12-02 21:16:31 UTC

*** This bug has been marked as a duplicate of bug 493154 ***