[systemd-devel] "Inactive/dead" services that are enabled are indistinguishable from unused or oneshot services
lennart at poettering.net
Thu Mar 17 14:58:00 PDT 2011
On Thu, 17.03.11 22:48, Lennart Poettering (lennart at poettering.net) wrote:
> > Unfortunately, new rsyslog.service (and services using "systemctl stop"
> > directly) can affect such display, which I think shows the flawed
> > assumption that "enabled" in systemd means "should be active,
> > period" (with the exception of "oneshot" units) on my part, and I don't
> > know easy solution to this, short of adding another enabled-like state.
> Hmm, yeah. This problem is hard. But I think simply showing "enabled but
> not running" is already quite useful, even if a service on that list is
> not necessarily buggy, but just not hooked in by anything.
Thinking about this, maybe a simpler solution would be to add a switch
to list all services that have been running since the boot but are not
running anymore. That would be quite trivial to implement. Does that
make sense to you?
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel