#1137102 dbus@user: chdir into user's home

#1137102#5
Date:
2026-05-19 16:16:40 UTC
From:
To:
in order to address issues like in [1] #1032368 the dbus@user/run user
service runscript could be changed as follows:

- exec /usr/bin/dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --nosyslog
+ exec chpst -C "$HOME" /usr/bin/dbus-daemon --session --address=$DBUS_SESSION_BUS_ADDRESS --nofork --nopidfile --nosyslog

Martin, if/when you have the chance to test runit-user-session with runit-dbus-user-session packages,
can you tell if with the above change the issue you reported in #1032368 is fixed?

Best,
Lorenzo

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032368