Skip to content
  • Luca Boccassi's avatar
    systemd: start as the D-Bus user/group, rather than root · 760cb1e4
    Luca Boccassi authored and Luca Boccassi's avatar Luca Boccassi committed
    
    
    When starting as root files in /proc/self/fdinfo/ will be owned as root
    and set to 400, so we cannot read them. Nowadays it is not necessary to
    start as root when running under systemd, so just add User/Group with
    the configured user to the system unit.
    
    If libaudit support is enabled, add AmbientCapabilities=CAP_AUDIT_WRITE
    so that we can still write to the audit log.
    
    Signed-off-by: default avatarLuca Boccassi <bluca@debian.org>
    760cb1e4