Package: radvd Version: 1:2.20-1 Severity: wishlist Hi, Wish: Do `adduser _radvd` on new installs. Actual: Make it possible to increase Standards-Version. Version 4.5.0 ============= Released January, 2020. 9.2.1 When maintainers choose a new hardcoded or dynamically generated username for packages to use, they should start this username with an underscore. Groeten Geert Stappers
radvd picked a username in the past, it is not picking a new username. There is no requirement to change the username, and it's probably a bad idea. Chris
The plan is to pick a new username ....--- a/debian/radvd.postinst +++ b/debian/radvd.postinst @@ -3,8 +3,8 @@ set -e if [ "" = configure ]; then - if ! getent passwd radvd >/dev/null; then - adduser --quiet --system --no-create-home --home /run/radvd radvd + if ! getent passwd _radvd >/dev/null; then + adduser --quiet --system --no-create-home --home /run/radvd _radvd fi for i in /run/radvd; do if dpkg-statoverride --list >/dev/null; then --- a/debian/radvd.init +++ b/debian/radvd.init @@ -16,7 +16,7 @@ DESC=radvd CONFIG=/etc/radvd.conf PIDDIR=/var/run/radvd PIDFILE=/radvd.pid -OPTIONS="-u radvd -p " +OPTIONS="-u _radvd -p " PROC_SYS_IP6_FORWARDING=/proc/sys/net/ipv6/conf/all/forwarding . /lib/lsb/init-functions acknowledge Advantage I see is that systems getting a system user that can by the leading underscore easily identified as system user. One disadvantage I see is upgraded systems getting user 'radvd' un-used. And only upgraded systems get that unused system user. Now asking debian-devel@lists.debian.org for their view on this rename. Groeten Geert Stappers Debian Maintainer of the radvd package
While you are at it, please switch to sysusers (see dh_installsysusers). Where is the corresponding change in the systemd unit? Do you need to store persistent data accessible by others, or could you just switch to dynamic user allocation? (DynamicUser=true) Bastian
Work in progress, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104229 Groeten Geert Stappers
user debian-release@lists.debian.org usertag 1104169 + bsp-2025-04-be-leuven usertag 1104229 + bsp-2025-04-be-leuven thank you Current changes are at Salsa in the branch BSP_2025_04_be_Leuven https://salsa.debian.org/debian/radvd/-/tree/BSP_2025_04_be_Leuven They wait on further TLC Groeten Geert Stappers
Control: tags -1 pending Stop <screenshot> stappers@aantje:~$ sudo dpkg -i radvd_2.21-1_amd64.deb Selecting previously unselected package radvd. (Reading database ... 24110 files and directories currently installed.) Preparing to unpack radvd_2.21-1_amd64.deb ... Unpacking radvd (1:2.21-1) ... Setting up radvd (1:2.21-1) ... Creating user '_radvd' (n/a) with UID 988 and GID 65534. Created symlink '/etc/systemd/system/multi-user.target.wants/radvd.service' → '/usr/lib/systemd/system/radvd.service'. stappers@aantje:~$ </screenshot> Groeten Geert Stappers DD, maintainer of radvd