Red Hat Bugzilla – Bug 757141
RFE: filter non-ghost-in-var-(lock|run)
Last modified: 2011-12-22 17:44:09 EST
I believe that the non-ghost-in-var-(lock|run) checks should only complain about files, not directories. If a directory is marked %ghost then it will not be created at rpm install time and if the package depends on a tmpfiles.d snippet to get the directory created then the package probably won't work until after a reboot.
Upstream says that guidelines vary between distros and suggest filtering this one downstream:
Yep, I directed Paul here, and I believe the filtering should be done in configs targeted at Fedora versions that have tmpfs /var/lock and /var/run (I suppose there's no such EL release out yet).
rpmlint-1.4-1.fc15 has been submitted as an update for Fedora 15.
rpmlint-1.4-1.fc16 has been submitted as an update for Fedora 16.
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpmlint-1.4-1.fc15'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
rpmlint-1.4-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.4-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.