[Bug 1818670] Review Request: sensu-go - Sensu Go Open Source (Monitoring Program)

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1818670



--- Comment #3 from Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> ---
(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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux