#176 update tmpfiles.d guidelines
Closed: Fixed None Opened 11 years ago by michich.

I propose to update the tmpfiles.d guidelines:
https://fedoraproject.org/wiki/Packaging:Tmpfiles.d

My new proposed version of the page is at:
https://fedoraproject.org/wiki/User:Michich/draft-tmpfiles.d

These are the main changes I made:
dropped the irrelevant talk of "both systemd and upstart"
prefer talking of /run everywhere instead of /var/run
ship the packaged files in %{_prefix}/lib/tmpfiles.d/, not %{_sysconfdir}/tmpfiles.d/.
do not mark the files as %config and add an explanation why.
use the more usual 'd' specifier instead of 'D'.
nudge the packagers into thinking about the permission mode of their directories, because I saw them copying the "0710" dogmatically.


action Draft changes approved (+1:5, 0:0, -1:2)

The draft was approved 3 weeks ago, but the Guidelines haven't been updated. Is it a normal delay?

Updated.

Proposed annoucetext:

"Guidelines for usage of tmpfiles.d have been updated to better reflect the current stage of Fedora and other Fedora guidelines. In summary:

* Dropped the irrelevant talk of "both systemd and upstart"
* Prefer talking of /run everywhere instead of /var/run
* Ship the packaged files in %{_prefix}/lib/tmpfiles.d/, not %{_sysconfdir}/tmpfiles.d/.
* Do not mark the files as %config and add an explanation why.
* Use the more usual 'd' specifier instead of 'D'.
* Nudge packagers into thinking about the permission mode of their directories, rather than copying the "0710" dogmatically.

Metadata Update from @limb:
- Issue assigned to spot

7 years ago

Login to comment on this ticket.

Metadata