Article View: linux.debian.bugs.dist
Article #104Bug#1150288: ceph-common is uninstallable because of failure in postinst
From: Luke Yasuda
Date: Thu, 08 Oct 2026 03:30
Date: Thu, 08 Oct 2026 03:30
45 lines
3037 bytes
3037 bytes
Package: ceph-common Version: 20.2.4+ds-1 Severity: serious Justification: 6 Dear maintainer, ceph-common cannot be configured by dpkg as it fails on postinst. -------8<--------8<-------- Setting up librbd1 (20.2.4+ds-1) ... Setting up python3-rbd (20.2.4+ds-1) ... Setting up ceph-common (20.2.4+ds-1) ... usermod: unlocking the user's password would result in a passwordless account. You should set a password with usermod -p to unlock this user's password. dpkg: error processing package ceph-common (--configure): old ceph-common package postinst maintainer script subprocess failed with exit status 20 Processing triggers for libc-bin (2.43-7) ... Processing triggers for ca-certificates (20260816) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Errors were encountered while processing: ceph-common Error: Sub-process /usr/bin/dpkg returned an error code (1) -------8<--------8<-------- This is because usermod returns 20 when unlocking a user, a recent behavior change, I believe. -------8<--------8<-------- #Unlock $SERVER_USER in case it is locked from an uninstall if [ -f /etc/shadow ]; then usermod -U -e '' $SERVER_USER else usermod -U $SERVER_USER fi -------8<--------8<-------- IMO this should be a warning, not an error that stops postinst from being processed further. After a bug number is generated, I'm sending a patch and a merge request on salsa, whichever you prefer.
Technical Details
Message-ID:
<NLMZr-4c9k-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Luke Yasuda <jing@jing.rocks> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150288: ceph-common is uninstallable because of failure in postinst Date: Thu, 08 Oct 2026 05:30:01 +0200 Message-ID: <NLMZr-4c9k-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 8 03:27:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Luke Yasuda <jing@jing.rocks>, 1150288@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team+ceph@tracker.debian.org X-Debian-Pr-Message: report 1150288 X-Debian-Pr-Package: ceph-common X-Debian-Pr-Source: ceph Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995647 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 45 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 08 Oct 2026 03:23:54 +0000 X-Original-Message-ID: <179142983431.1113810.11958766675290340279.reportbug@cfarm421.jing.rocks>