package munge 0.5.13-2build1 failed to install/upgrade: installed munge package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
munge (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
i have uninstalled munge, during installation again, found the bug.
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: munge 0.5.13-2build1
ProcVersionSign
Uname: Linux 5.13.0-28-generic x86_64
ApportVersion: 2.20.11-
AptOrdering:
libmunge2:amd64: Install
munge:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Tue Feb 1 10:52:12 2022
ErrorMessage: installed munge package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-01-27 (4 days ago)
InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819)
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.6
SourcePackage: munge
Title: package munge 0.5.13-2build1 failed to install/upgrade: installed munge package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Not a bug.
DpkgTerminalLog.txt shows the cause of the failure being invalid ownership of the PRNG seed directory:
munged: Error: PRNG seed dir is insecure: invalid ownership of "/var/lib
Unfortunately, the error message is truncated, but the directory in question is presumably "/var/lib/munge". And that directory is apparently not owned by the current "munge" user.
You should be able to fix this by running "sudo chown -R munge:munge /var/lib/munge".