Hello, Please see the patch or the salsa merge request:
https://salsa.debian.org/ceph-team/ceph/-/merge_requests/13 Cheers, -- Luke Yasuda GPG Fingerprint: 4E09 8D19 00AA 3F72 1899 2614 09B3 316E 13A1 1EFC
From 2ea6281812aed6eabcc6a2b63b5ce9a404a8d539 Mon Sep 17 00:00:00 2001 From: Luke Yasuda <[email protected]> Date: Thu, 8 Oct 2026 12:07:32 +0900 Subject: [PATCH] ceph-common.postinst: do not fail when unlocking ceph user usermod now returns 20 instead of 0 when unlocking a passwordless user, do not fail on this. Closes: #1150288 --- debian/ceph-common.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/ceph-common.postinst b/debian/ceph-common.postinst index bbff53077..52d99b79f 100644 --- a/debian/ceph-common.postinst +++ b/debian/ceph-common.postinst @@ -53,9 +53,9 @@ if [ "${1}" = "configure" ] || [ "${1}" = "reconfigure" ] ; then # Unlock $SERVER_USER in case it is locked from an uninstall if [ -f /etc/shadow ]; then - usermod -U -e '' $SERVER_USER + usermod -U -e '' $SERVER_USER || true else - usermod -U $SERVER_USER + usermod -U $SERVER_USER || true fi # adjust file and directory permissions -- 2.55.0
signature.asc
Description: OpenPGP digital signature

