(In reply to Simon McVittie from comment #6)
> Perhaps it would be better to make the stop command exit
> nonzero?
Straw man:
ExecStop=/bin/sh -c "echo Stopping the system dbus-daemon is not supported. Reboot the system instead.; exit 1"
... which does work, but logs "Unit dbus.service entered failed state" during shutdown. It seems better to avoid "crying wolf" if possible, because it can hide real issues.
(In reply to Simon McVittie from comment #6)
> Perhaps it would be better to make the stop command exit
> nonzero?
Straw man:
ExecStop=/bin/sh -c "echo Stopping the system dbus-daemon is not supported. Reboot the system instead.; exit 1"
... which does work, but logs "Unit dbus.service entered failed state" during shutdown. It seems better to avoid "crying wolf" if possible, because it can hide real issues.