I wasn't clear whether directories specified in tmpfiles.d conf files ought to be packaged in the manifest as normal, with %ghost, or not at all. Note that if they are not packaged as normal, the %tmpfiles_create macro needs to be used in %post in order for the directory to be present between package installation and the next reboot.

+

I wasn't clear whether directories specified in tmpfiles.d conf files ought to be packaged in the manifest as normal, with %ghost, or not at all. This statement clears it up: https://fedorahosted.org/fesco/ticket/525

+

The directories ought to be packaged as normal.

−

--[[User:Twaugh|Tim Waugh]] 09:34, 27 November 2013 (UTC)

+

--[[User:Twaugh|Tim Waugh]] 09:37, 27 November 2013 (UTC)

Latest revision as of 09:38, 27 November 2013

It should be noted that the manpage should be read carefully if what is intended to do is anything more than just creating top-level directories in /var/run or /var/lock. For instance, pki-ca-9.0.5-1.fc15.noarch, pki-kra-9.0.2-1.fc15.noarch, and pki-ocsp-9.0.1-1.fc15.noarch (at least) do something in the line (example from pki-ca):

I wasn't clear whether directories specified in tmpfiles.d conf files ought to be packaged in the manifest as normal, with %ghost, or not at all. This statement clears it up: https://fedorahosted.org/fesco/ticket/525
The directories ought to be packaged as normal.