Bug#1074082: mmdebstrap: tests expect /var/log/faillog to exist

2024-06-24 Thread Chris Hofstaedtler
Hi!

thank you for your help with sorting out my local test setup.

On Sun, Jun 23, 2024 at 02:24:03AM +0200, Chris Hofstaedtler wrote:
> As you've already noticed, shadow 4.15.2-1 breaks mmdebstrap's
> tests.

Merge request to allow faillog, and lastlog to be absent:

https://salsa.debian.org/debian/mmdebstrap/-/merge_requests/9

Please consider merging it.

Locally I'm seeing a later failure with regard to diversions of
/.lib64.usr-is-merged et al, but that seems unrelated.

Chris



Bug#1074082: mmdebstrap: tests expect /var/log/faillog to exist

2024-06-22 Thread Chris Hofstaedtler
Package: mmdebstrap
Version: 1.5.1-4

Hi!

As you've already noticed, shadow 4.15.2-1 breaks mmdebstrap's
tests.

At least one test (check-against-debootstrap-dist unstable buildd)
is broken like this:

| + cmp /tmp/debian-unstable-debootstrap/var/log/faillog 
/tmp/debian-unstable-mm/var/log/faillog
| cmp: /tmp/debian-unstable-debootstrap/var/log/faillog: No such file or 
directory
| + stat -c %s /tmp/debian-unstable-debootstrap/var/log/faillog
| stat: cannot statx '/tmp/debian-unstable-debootstrap/var/log/faillog': No 
such file or directory
[..]

Indeed newer shadow and PAM versions have removed support for
/var/log/faillog.
It would be great if mmdebstrap would not blindly assume that
faillog must exist. I think the tests already delete faillog
afterwards, but cannot deal with it missing upfront.

Please allow /var/log/faillog to be absent :-)

In the meantime I'll try to understand why it still exists in some
of my tests...

Chris