RedHatInsights / yggdrasil

GNU General Public License v3.0
21 stars 37 forks source link

fix(yggctl): prefer system bus when run as root #143

Closed subpop closed 1 year ago

subpop commented 1 year ago

yggctl will attempt to connect to the session bus only if DBUS_SESSION_BUS_ADDRESS is non-empty and the effective UID of the process is greater than zero. This results in root invocations of yggctl preferring the system bus over the session bus.

Fixes: #142