Control: tags -1 confirmed
thanks

On Thu, Feb 27, 2025 at 10:43:30PM +0100, Sven Joachim wrote:
> ,----
> | dbus-system-bus-common (1.16.2-1) wird eingerichtet ...
> | warn: The home dir /nonexistent you specified can't be accessed: No such 
> file or directory
> |
> | fatal: The system user `messagebus' already exists. Exiting.
> `----

debian/dbus-system-bus-common.postinst makes really really sure that
adduser is policy compliant:

if [ "$1" = configure ]; then
in_sysroot adduser --system \
        --quiet \
        --home /nonexistent \
        --no-create-home \
        --disabled-password \
        --group "$MESSAGEUSER"
fi

The explicit --no-create-home turns on the warning. I think that adduser
should be quiet in that case, but also dbus should just say "adduser
--system "$MESSAGEUSER".

Greetings
Marc

Reply via email to