Bug#814758: Case power button is ignored unless dbus is installed.

Josh Triplett josh at joshtriplett.org
Tue Feb 16 02:01:47 GMT 2016


On Mon, 15 Feb 2016 14:45:18 +0100 Michael Biebl <biebl at debian.org> wrote:
> Am 15.02.2016 um 08:27 schrieb Trent W. Buck:
> > It's failing because dbus isn't installed.
> > Installing dbus fixes the problem.
> > 
> >     systemd Recommends: dbus.
> > 
> >     dbus is Priority: standard.
> > 
> > If a system is created with debootstrap,
> > this means dbus is never installed,
> > and the power button doesn't work:
> 
> This is correct. We discussed this issue a while ago and considered
> making dbus either a hard dependency or bumping its priority to
> important. We decided against it, as we want a minimal debootstrapped
> system to not have dbus installed.

If systemd-logind just needs dbus to check for possible inhibitors,
could systemd-logind simply ignore inhibitors without dbus?
Environments that make use of the inhibitor interface should necessarily
have dbus installed, so without dbus installed, systemd-logind could
still respond to the power button by doing an orderly shutdown.

That seems like useful default behavior in a server environment.

- Josh Triplett




More information about the Pkg-systemd-maintainers mailing list