On Wednesday 2015-11-25 17:50, Nathan Cutler wrote:
In one of the %post scriptlets we are running systemd-tmpfiles to ensure that files in /var/run are created when the package is installed. [...] the RH maintainer would rather put the /var/run/... files in %files and not run systemd-tmpfiles at all.
Having the /var/run/... files in %files will ensure that they are available immediately when the package is installed. At the next reboot, they will disappear but systemd-tmpfiles is run at boot and will re-create them.
The extra directories/files make rpm slower than it already is (its database is really horribly laid out), and when you are in a rescue system, `rpm -V` will needlessy complain about the missing file if you did not mark it %ghost, %noverify, or some combination thereof. Even the remotely legitimate case of removing /var/run/xyz directories on (a) package removal, and (b) on ancient system where /var/run is not yet a tmpfs can be rejected as well, because the program may create any number of run files which rpm definitely is not tracking and therefore won't remove. IOW, save yourself the trouble of listing /var/run/xyz. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org