Version:
dbus-broker: 33
systemd: 255
I didn't want to post this as an "issue" in github since I didn't know if it was dbus or systemd related, or functions as-intended.
I've been exploring "systemd-nspawn" and found that system dbus simply wasn't working.
It was hard to find anything meaningful in the Systemd debug log output, but setting dbus-broker as the default, it got me more information.
First, I found when I "--boot" using "--volatile", the system dbus service starts just fine (same if I use qemu or virtualbox).
But when I DON'T use "--volatile", it fails:
*****
...
Dec 16 17:37:26 containerName systemd[1]: dbus-broker.service: Got notification message from PID 138 (READY=1)
Dec 16 17:37:26 containerName systemd[1]: dbus-broker.service: Changed start -> running
Dec 16 17:37:26 containerName systemd[1]: dbus-broker.service: Job 628 dbus-broker.service/start finished, result=done
Dec 16 17:37:26 containerName systemd[1]: Started D-Bus System Message Bus.
Dec 16 17:37:26 containerName dbus-broker-launch[139]: ERROR launcher_run_child @ ../dbus-broker-33/src/launch/launcher.c +325: Permission denied
Dec 16 17:37:26 containerName dbus-broker-launch[138]: ERROR service_add @ ../dbus-broker-33/src/launch/service.c +1011: Transport endpoint is not connected
Dec 16 17:37:26 containerName dbus-broker-launch[138]: launcher_add_services @ ../dbus-broker-33/src/launch/launcher.c +804
Dec 16 17:37:26 containerName dbus-broker-launch[138]: launcher_run @ ../dbus-broker-33/src/launch/launcher.c +1415
Dec 16 17:37:26 containerName dbus-broker-launch[138]: run @ ../dbus-broker-33/src/launch/main.c +152
Dec 16 17:37:26 containerName dbus-broker-launch[138]: main @ ../dbus-broker-33/src/launch/main.c +178
Dec 16 17:37:26 containerName dbus-broker-launch[138]: Exiting due to fatal error: -107
...
*****
I don't know how I'd be able to test the bus controller from the CLI to see if it's running or whatever.
I know "--volatile" uses a constant/temporary /usr and everything else is recreated temporarily on-the-fly, so I don't know if there's something set (not-recreated) in /var, /etc, /run that would otherwise prevent it from running from a regular boot.