Ticket #176 (closed enhancement: fixed)

Opened 2 years ago

Last modified 23 months ago

update tmpfiles.d guidelines

Reported by: michich Owned by: spot
Priority: minor Milestone:
Component: Guideline Draft Version:
Keywords: Cc:
Blocked By: Blocking:

Description

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.

Change History

comment:1 Changed 2 years ago by spot

  • Status changed from new to assigned
  • Owner set to spot

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

comment:2 Changed 23 months ago by michich

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

comment:3 Changed 23 months ago by limb

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.

comment:4 Changed 23 months ago by spot

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.