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


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

Bug#1120513: dh_installsysusers overrides documented configuration mechanisms

From Valentin Kleibel <valentin@vrvis.at>
Newsgroups linux.debian.bugs.dist
Subject Bug#1120513: dh_installsysusers overrides documented configuration mechanisms
Date 2025-11-11 15:10 +0100
Message-ID <LPXei-caSY-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web