I researched this issue a bit. I don't have it on my machine.

The "Access Denied" is an error that comes from sd_bus_call, aka D-Bus. org.freedesktop.DBus.Error.AccessDenied I think. Here's the source: https://github.com/systemd/systemd/blob/master/src/systemctl/systemctl.c

You can trace the D-Bus stuff like so:

# SYSTEMD_LOG_LEVEL=debug systemctl
Sent message type=method_call sender=n/a destination=org.freedesktop.systemd1 object=/org/freedesktop/systemd1 interface=org.freedesktop.systemd1.Manager member=ListUnitsByPatterns cookie=1 reply_cookie=0 error=n/a
Got message type=method_return sender=n/a destination=n/a object=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 error=n/a
UNIT                                                                                      LOAD   ACTIVE SUB       DESCRIPTION
proc-sys-fs-binfmt_misc.automount                                                         loaded active running   Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:02.0-drm-card0-card0\x2deDP\x2d1-intel_backlight.device    loaded active plugged   /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
sys-devices-pci0000:00-0000:00:03.0-sound-card0.device                                    loaded active plugged   Haswell-ULT HD Audio Controller
...

Why would D-Bus give Access denied to your call? I didn't find an answer.

On Sun, May 28, 2017 at 10:44 AM, stan <stanl-fedorauser@vfemail.net> wrote:
On Mon, 25 May 2015 07:36:12 +0100
Russel Winder <russel@winder.org.uk> wrote:

> I am guessing all of my Fedora Rawhide machines are in a "broken"
> state as whenever I try to use systemctl, I get:
>
> # systemctl
> Failed to list units: Access denied
> #
>
> but this is root, access can never be denied. Huh?

I don't have this issue in Rawhide.  I just finished updating to the
latest updates (at least those that weren't skipped), and systemctl
works just fine.  Are there any messages in journalctl when you try to
run the command?  journalctl -r will show the most recent messages
first, and journalctl -f will follow (tail) the messages, showing them
as they arrive.
_______________________________________________
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-leave@lists.fedoraproject.org