Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1269814 > unrolled thread

Bug#1120513: dh_installsysusers overrides documented configuration mechanisms

Started byValentin Kleibel <valentin@vrvis.at>
First post2025-11-11 15:10 +0100
Last post2025-11-11 15:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1120513: dh_installsysusers overrides documented configuration mechanisms Valentin Kleibel <valentin@vrvis.at> - 2025-11-11 15:10 +0100

#1269814 — Bug#1120513: dh_installsysusers overrides documented configuration mechanisms

FromValentin Kleibel <valentin@vrvis.at>
Date2025-11-11 15:10 +0100
SubjectBug#1120513: dh_installsysusers overrides documented configuration mechanisms
Message-ID<LPXei-caSY-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web