Bug #43285
closedUse of /home in cephadm RPM packaging violates openSUSE packaging policies
0%
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. "
Updated by Nathan Cutler over 4 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 32212
Updated by Sage Weil over 4 years ago
- Status changed from Fix Under Review to Resolved