https://bugzilla.redhat.com/show_bug.cgi?id=1818670
--- Comment #3 from Zbigniew Jędrzejewski-Szmek zbyszek@in.waw.pl --- (In reply to Zbigniew Jędrzejewski-Szmek from comment #2)
/var/run/sensu/ → /run/sensu. It also needs %ghost. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_run
I saw that you asked about this on IRC. /var/run is a symlink to /run, so using the /var/run path anywhere doesn't make much sense. Usually, it's just a longer and uglier legacy name. It also matters in one particular case: when /var is separately mounted. In that case, /var/run cannot be resolved before /var is mounted, so using /var/run creates an ordering dependency.
Both in case of /var/run/foo and /run/foo, the directory is stored on a tmpfs, so it doesn't survive reboots. Rpm needs to be told that this is the case, by adding %ghost in the %file list, so that e.g. 'rpm -V' doesn't complain about a missing directory.