Jan Engelhardt wrote:
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.
/var/run is diallowed in modern distros, please use /run.
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),
With that argument we'd need to avoid listing anything in %files... IMO if there are discrete files that can be owned by a package they also should be owned by a package.
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.
%tmpfiles_create + %ghost is the combination currently expected by rpmlint. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org