package cephadm postinst fails when non-standard $HOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ceph (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The postinst script of cephadm fails when the $HOME of the user cephadm is not located in /home.
Instead of using a hard coded path, the entry from `getent passwd cephadm` should be used.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: cephadm 15.2.17-
ProcVersionSign
Uname: Linux 5.4.0-137-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Fri Jan 20 10:50:59 2023
DuplicateSignature:
package:
Setting up cephadm (15.2.17-
mkdir: cannot create directory ‘/home/
dpkg: error processing package cephadm (--configure):
installed cephadm package post-installation script subprocess returned error exit status 1
ErrorMessage: installed cephadm package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-07-29 (175 days ago)
InstallationMedia: Ubuntu-Server 20.04.3 LTS "Focal Fossa" - Release amd64 (20210824)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3.2
apt 2.0.9
SourcePackage: ceph
Title: package cephadm 15.2.17-
UpgradeStatus: Upgraded to focal on 2023-01-20 (0 days ago)
tags: | removed: need-duplicate-check |