Geert Stappers
2025-04-26 20:40:01 UTC
Reply
PermalinkPackage: radvd
Wish: Do `adduser _radvd` on new installs.
Actual: Make it possible to increase Standards-Version.
Standards-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.
radvd picked a username in the past,Wish: Do `adduser _radvd` on new installs.
Actual: Make it possible to increase Standards-Version.
Standards-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.
it is not picking 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
There is no requirement to change the username
acknowledgeAdvantage I see is that systems getting a system user
that can by the leading underscore easily identified as system user.
and it's probably a bad idea.
One disadvantage I see is upgraded systems getting user 'radvd' un-used.And only upgraded systems get that unused system user.
Now asking debian-***@lists.debian.org for their view on this rename.
Groeten
Geert Stappers
Debian Maintainer of the radvd package
--
Silence is hard to parse
Silence is hard to parse