Can't get match rules for my user's session bus
To reproduce:
call GetAllMatchRules.py as a regular user.
Expected result:
Match rule information
Actual result:
GetConnectionMatchRules failed: did you enable the Stats interface?
Additional context:
I modified GetAllMatchRules.py to provide additional information at which point I get
GetConnectionMatchRules failed: did you enable the Stats interface?: org.freedesktop.DBus.Error.AccessDenied: The caller does not have the necessary privileged to call this method
I also tried calling it as root, and it does provide information, so it's not a problem of it not having been enabled at all.
bus/example-session-disable-stats.conf.in claims that " If the Stats interface was enabled at compile-time, users can use it on the session bus by default. Systems providing isolation of processes with LSMs might want to restrict this. This can be achieved by copying this file in @EXPANDED_SYSCONFDIR@/dbus-1/session.d/ ". However, no such explicit disabling has occurred.
I even tried getting silly and commenting out all denies, for everything, and doing a reload, but the same problem occurs.