rpmlint dir-or-file-in-var-run error help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm just looking at the rpmlint errors for the xpra package, and one I
am stuck on is this:

xpra.x86_64: E: dir-or-file-in-var-run /var/run/xpra

The package drops a file in /usr/lib/tmpfiles.d which causes the
creation of /var/run/xpra when needed.

The package has this in %{files}:

%ghost %dir %{_localstatedir}/run/xpra

which seems reasonable to me. So I don't really understand the rpmlint
error. I picked two packages at random, fail2ban and systemd, which
also install directories under /var/run and have those directories
listed as %ghost.

So, is the rpmlint error incorrect? Or, should these guidelines:

http://fedoraproject.org/wiki/Packaging:Tmpfiles.d

also apply to /var/run? In which case, many packages need fixing to
use %verify, I think.

Cheers,
Jonathan
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux