Package: debhelper
Severity: serious
Version: 13.24.2
Dear Maintainer,
We recently noticed that dh_installsysusers adds lines to postinstall
scripts in the form of
`systemd-sysusers ${DPKG_ROOT:+--root="$DPKG_ROOT"} <package>.conf`
systemd-sysusers provides a config mechanism to supply a range for uids
and gids, see manpage sysusers.d.5
This config option only makes sense if configured for the whole system,
eg. in /etc/sysusers.d/00-ranges.conf.
The above mentioned invocation of `systemd-sysusers <package>.conf` will
ignore such configuration as it only searches for files with the name
<package>.conf in the configuration paths.
To honor user provided configuration I'd suggest running
systemd-sysusers without the <package>.conf argument in maintainer scripts.
Severity is serious in my opinion, as this behavior dismisses local
configuration opposing what was laid out in the debian policy.
Best regards,
Valentin