🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #111

Bug#1150293: shadowconfig produces different /etc/gshadow when using DPKG_ROOT

#111
From: Johannes Schauer Marin Rodrigues
Date: Thu, 08 Oct 2026 06:00
34 lines
2994 bytes
Package: passwd
Version: 1:4.20.2-1
Severity: normal
Tags: patch
Control: close -1 1:4.20.3-1

Hi,

since upstream commit 52f69b786e7b7c34ca340ba4c672a8d616dbf4d5 or upstream pull
request https://github.com/shadow-maint/shadow/pull/1482, the format of
/etc/gshadow changed. The minimum password age field (the fourth) used to have
the value zero but is now empty. The meaning remains the same but for
bit-by-bit identical output, the shadowconfig has to be adjusted to produce the
same output as produced by the new version of pwconv.

The issue is fixed in this MR (thus tagging this bug with 'patch'):

https://salsa.debian.org/debian/shadow/-/merge_requests/31

Above MR got merged and uploaded in version 1:4.20.3-1 of src:shadow. This bug
is merely a tracking bug for the documentation in the mmdebstrap autopkgtest:

https://salsa.debian.org/debian/mmdebstrap/-/blob/master/debian/tests/control?ref_type=heads#L44

This helps maintaining a manually curated list of packages which trigger the
(rather long) mmdebstrap autopkgtest because they broke it in the past. It is
thus a reminder that the package passwd should remain part of the list.

Lets see if the BTS server control pseudo-header allows closing this bug
immediately after filing it. :)

Thanks!

cheers, josch
Technical Details
Message-ID: <NLPkB-4dlj-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Johannes Schauer Marin Rodrigues <josch@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150293: shadowconfig produces different /etc/gshadow when using DPKG_ROOT
Date: Thu, 08 Oct 2026 08:00:01 +0200
Message-ID: <NLPkB-4dlj-3@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 05:57:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Johannes Schauer Marin Rodrigues <josch@debian.org>, 1150293@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-shadow-devel@lists.alioth.debian.org
X-Debian-Pr-Message: report 1150293
X-Debian-Pr-Package: passwd
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: shadow
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0+nmu1
X-Debian-User: josch
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995660
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 08 Oct 2026 07:55:30 +0200
X-Original-Message-ID: <179143893066.731294.6766182709799114148.reportbug@localhost>