systemd: targets which are runlevel-like

Matthew Miller mattdm at mattdm.org
Tue Aug 24 16:31:41 UTC 2010


As I was thinking about Bug 626840, I noticed something. With the current
runlevel system, it's easy to know what your options are. The systemd FAQ
helpfully explains that "systemctl isolate graphical.target" is the
replacement, and that "systemctl list-units --type=target" will show me the
various possibilities.

But it's very difficult to know which of these _might be a good idea_ to use
as the target for systemctl isolate. I'm not sure what'll happen if I say
"systemctl isolate getty.target" -- will I get a nice console-mode
environment, or will I be stuck with only gettys running?

I can generate pretty 'dot' output to find the answer to my question, but I
don't think that's the general-case solution. :)

(As another note: I suggest renaming "isolate" to "switch-to", which I think
captures the meaning better.)

Maybe good documentation is the answer here, but it's definitely a quirk of
the system. Is there some way in which "complete working runlevel" targets
are distinguished from other ones which I am missing?

Thanks!

-- 
Matthew Miller <mattdm at mattdm.org>
Senior Systems Architect -- Instructional & Research Computing Services
Harvard School of Engineering & Applied Sciences


More information about the devel mailing list