On Mon, Aug 20, 2012 at 01:14:00PM +0200, Dominique Leuenberger a.k.a DimStar wrote:
Quoting Michal Vyskocil <mvyskocil@suse.cz>:
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.
But I agree on the fact that it needs to be defined for best practice and then adhered to (a bunch of packages are likely not even touching the files in /var/run during install)
That's true - I forgot that (/var)/run is tmpfs by default, so packages should NOT own files there as it breaks rpm -V. I will add it to my TODO. Thanks Dominique Michal Vyskocil -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org