[Pkg-utopia-maintainers] Bug#1099086: might be less verbose in calling adduser
Marc Haber
mh+debian-packages at zugschlus.de
Fri Feb 28 06:20:59 GMT 2025
Package: dbus-system-bus-common
Version: 1.16.0-1
Severity: minor
Hi,
dbus-system-bus-common's postinst makes relly sure that adduser behaves
policy compliant:
if [ "$1" = configure ]; then
in_sysroot adduser --system \
--quiet \
--home /nonexistent \
--no-create-home \
--disabled-password \
--group "$MESSAGEUSER"
fi
That is kind of redundant since system users already get a disabled
password, home /nonexistent and /nonexistent never gets created. So, I
think that adduser --system --group "$MESSAGEUSER" will already do what
is policy compliant.
Please consider simplifying your adduser call, or maybe migrate to
systemd-sysusers which might actually fit the systemd/dbus universe
better.
Greetings
Marc
P.S.: The explicit call to --no-create-home has triggered 1099073 in
adduser which we will fix.
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.15-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages dbus-system-bus-common depends on:
ii adduser 3.141
dbus-system-bus-common recommends no packages.
dbus-system-bus-common suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list