Project

General

Profile

Actions

Bug #43285

closed

Use of /home in cephadm RPM packaging violates openSUSE packaging policies

Added by Nathan Cutler over 4 years ago. Updated over 4 years ago.

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

0%

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

Description

The "cephadm" RPM package contains a %pre scriptlet which creates a cephadm user if one does not already exist on the system. This user is created with /home/cephadm as the home directory.

openSUSE has a set of packaging guidelines which are, effectively, mandatory for packages in openSUSE:Factory. These guidelines [1] stipulate [2] that users created by packages should not have home directories under /home.

[1] https://en.opensuse.org/openSUSE:Packaging_guidelines#Users_and_Groups

[2] "HOMEDIR should usually be a directory created and owned by the package, with appropriate restrictive permissions. A good choice for the location of the directory is the package's data directory or directory under /var like /var/lib/NAME, in case it has one. "

Actions #1

Updated by Nathan Cutler over 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 32212
Actions #2

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF