Le lundi 20 août 2012 à 13:14 +0200, Dominique Leuenberger a.k.a DimStar a écrit :
Quoting Michal Vyskocil email@example.com:
Hallo, and I did not find anything related in our packaging guidelines. But I would say that packages should own their (/var)/run/ content, especially the directories added to (/var)/run.
Considering that /run and /var/run live in a tmpfs, I don't see a lot of advantage in owning the files by a package (only for reasons of aesthetics). If owned, the files must be marked as %ghost anyway. Not owning them has no real side effect, as any reboot would clean them out anyway.
Moreover, because those directories are now tmpfs, they should be created either by initscripts or using tmpfiles.d (see man tmpfiles.d, under systemd).