Mailinglist Archive: opensuse (794 mails)

< Previous Next >
Re: [opensuse] systemctl stop graphical.target
Dave Howorth composed on 2017-11-28 22:51 (UTC):

I'm still curious why systemctl start graphical.target works then?
Have you tried it yourself? I haven't. My guess is that it might work only if a
"lower level" target was current, such as multi-user.

Personally, I'm with carlos, if he's correct. Just remember init 3 and
init 5!

AFAICT, neither init nor telinit is technically an alias:

# which telinit
/sbin/telinit
# which init
/sbin/init
# ls -gG /sbin/*init
lrwxrwxrwx 1 26 Sep 6 03:29 /sbin/init -> ../usr/lib/systemd/systemd
lrwxrwxrwx 1 18 Sep 6 03:29 /sbin/telinit -> /usr/bin/systemctl
# ls -gG /usr/bin/systemctl /usr/lib/systemd/systemd
-rwxr-xr-x 1 696304 Sep 3 06:23 /usr/bin/systemctl
-rwxr-xr-x 1 1589144 Sep 3 06:23 /usr/lib/systemd/systemd

<https://www.freedesktop.org/software/systemd/man/systemd.html> says:
"...init and telinit are mostly equivalent when invoked from normal login
sessions."

I've had problems with incomplete switching via the *init systemd aliases, so
most often I boot to multi-user and run startx, thus avoiding all the above.
--
"Wisdom is supreme; therefore get wisdom. Whatever else you
get, get wisdom." Proverbs 4:7 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups