[Pkg-shadow-devel] Bug#1124793: shadow: New version breaks a lot of adduser tests

Chris Hofstaedtler zeha at debian.org
Tue Jan 6 19:46:06 GMT 2026


On Tue, Jan 06, 2026 at 08:40:01PM +0100, Chris Hofstädtler wrote:
> Source: shadow
> Version: 1:4.19.0-2
> Severity: serious
> 
> Hi Marc,
> 
> the new src:shadow in unstable appears to break a lot of the tests 
> in src:adduser. Could you please take a look?

Okay, maybe its "just" two tests. As always I have some trouble 
reading autopkgtests logs.


139s autopkgtest [09:30:49]: test package-test-suite:  - - - - - - - - - - stderr - - - - - - - - - -
139s chpasswd: (line 1, user aust) invalid password hash
139s chpasswd: error detected, changes ignored
139s chpasswd: (line 1, user aust) invalid password hash
139s chpasswd: error detected, changes ignored
139s 
139s #   Failed test 'command result 0 (expected 13): /usr/sbin/adduser --stdoutmsglevel=error --stderrmsglevel=error --system --disabled-login aust'
139s #   at debian/tests/lib/AdduserTestsCommon.pm line 72.
139s #          got: ''
139s #     expected: '1'
139s chpasswd: (line 1, user aust) invalid password hash
139s chpasswd: error detected, changes ignored
139s # Looks like you failed 1 test of 90.
139s 
139s #   Failed test 'command success: sh -c /usr/sbin/useradd --badname -d /home/bob -m 'bob;>/hacked' 2>/dev/null'
139s #   at debian/tests/lib/AdduserTestsCommon.pm line 59.
139s #          got: '19'
139s #     expected: '0'
139s # Looks like you failed 1 test of 3.
140s autopkgtest [09:30:50]: test upstream-test-suite-full: preparing testbed
140s Reading package lists...
140s Building dependency tree...
140s Reading state information...
140s Solving dependencies...
140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I'd guess the bob test is a result of the name-checking changes 
upstream. Not sure what the "invalid password hash" thing is about 
however.

Chris



More information about the Pkg-shadow-devel mailing list