Project

General

Profile

Actions

Bug #12201

closed

RPM packaging wrongfully creates directories under /var/run

Added by Nathan Cutler almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On recent RPM-based distros /var/run is either bind-mounted or symlinked to /run, which is a tmpfs volume. As a result, it doesn't make sense for packaging to create directories/files under it, because they will disappear at the next reboot. Instead, the directories/files are to be created under %{_tmpfilesdir} and systemd re-creates them.


Related issues 1 (0 open1 closed)

Copied to devops - Backport #12364: RPM packaging wrongfully creates directories under /var/runRejectedNathan Cutler07/02/2015Actions
Actions #2

Updated by Nathan Cutler almost 9 years ago

  • Subject changed from packaging creates directories under /var/run to RPM packaging wrongfully creates directories under /var/run
  • Description updated (diff)
Actions #3

Updated by Nathan Cutler almost 9 years ago

  • Status changed from New to Pending Backport
Actions #4

Updated by Nathan Cutler almost 9 years ago

  • Status changed from Pending Backport to Resolved
  • Backport deleted (hammer)
Actions

Also available in: Atom PDF