When setting saned user via SANED_USER option in /etc/conf.d/saned for openrc, it is ignored. Reproducible: Always Steps to Reproduce: 1. emerge -1 sane-backends 2. echo 'SANED_USER="saned"' >> /etc/conf.d/saned 3. /etc/init.d/saned restart 4. ps aux | grep saned Actual Results: saned is still running as root Expected Results: saned is running as saned user It looks like saned is using getopt_long for parsing options, and username is optional for option '-a': https://gitlab.com/sane-project/backends/-/blob/master/frontend/saned.c?ref_type=heads#L3457 It looks like in that case argument must be in same option, like it's described here: https://cfengine.com/blog/2021/optional-arguments-with-getopt-long/ Getting rid of whitespace like here helps: diff --git a/init.d/saned b/init.d/saned index e7f2ebd..e5328fa 100755 --- a/init.d/saned +++ b/init.d/saned @@ -4,7 +4,7 @@ pidfile="/var/run/saned/saned.pid" command="/usr/sbin/saned" -command_args="-a ${SANED_USER:-root}" +command_args="-a${SANED_USER:-root}" start_pre() { checkpath -d -o ${SANED_USER:-root} ${pidfile%/*}