Siduction Forum
Siduction Forum => Siduction News => Topic started by: devil on 2013/12/23, 02:34:57
-
http://news.siduction.org/2013/12/siduction-2013-2-rc1-released-with-systemd/
-
Hey devil,
perfect timing! This RC will feed my new box which has arrived today. Thanks for the meal.
-
shoot me down in flames if I am wrong but :
from : http://news.siduction.org/2013/12/siduction-2013-2-rc1-released-with-systemd/ (http://news.siduction.org/2013/12/siduction-2013-2-rc1-released-with-systemd/)
Changing Runlevels, Reboot and Shutdown
Changing runlevels is also different from Syvinit. What was known as runlevel 3 is now multi-user.target, init 5 changes to graphical.target
systemctl isolate graphical.target – Will take you to what you know as init 3
systemctl isolate multi-user.target – Will take you to what you know as init 5
are these two lines above the wrong way round ?
I have been using the two commands the other way around for months to get to init 3
-
Of course you are right, will fix it right away. Good find :)
greetz
devil
-
systemctl isolate multi-user.target
A lot to type... Will you devs set aliases to shorten the way to "init 3" or do we users have to do it?
-
Init 3 and 5 work for now as well. And aliases are up to the user :)
greetz
devil
-
it might be a good idea to do the things systemd like - beside the fact that systemd-sysv give $user the choice to use the "old" commands. There is no such thing like init 3 in systemd, this is now a non-graphical target. Correct terminology may help with problems eventually (just in case ...)
To be true, i use the old terminology too :)
-
On KDE systems, this command seems to work well:
systemctl stop kdm
When I use
systemctl isolate multi-user.target
sometimes it closes eth0 and networking is killed. Of course this is a big problem in a ssh remote connection. I am trying to learn exactly what the repeatable scenario is -- I have experienced this on multiple KDE systems, but it is a little bit subtle to repeat.
-
I don't understand the logic behind the new terminology... The non-graphical target is called multi-user.target but the graphical target also is a multi-user environment - so why "multi-user.target" for non-graphical? Or isn't it possible anymore to switch users in the graphical environment? oO
-
That terminology fits to the debian runlevels and LSB specification:
ID Name
0 Halt
1 Single-user Mode
2 Multi-user Mode
3 Multi-user Mode with Networking
4 Not used/User-definable
5 Start the system normally with appropriate display manager
6 Reboot
as you can read here: https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification (https://en.wikipedia.org/wiki/Runlevel#Linux_Standard_Base_specification) . So our "init 3" has always been the multiuser mode (non-graphical), and "init 5" was multiuser plus gui (pure debian itself differs here a bit from siduction). Init 1 or singleuser ist often used as a basic root-only rescue mode without network, reachable by adding "single" at the grub kernel-line.
-
Thanks for the explanation. The new terminology is like learning Cobol... :S
-
spacepenguin - these are the old school unix states as written by der_bud.
debian play these things not like the other kids in the sandbox, they use only 1,2,6,0 - so sidux came up with the unix-like inits. init 3 is right translated and used with non-graphical multiuser wiith networking :)
-
I don't understand the logic behind the new terminology... The non-graphical target is called multi-user.target but the graphical target also is a multi-user environment - so why "multi-user.target" for non-graphical?
No the graphical.target has no of its own mult-user but uses the system target multi-user.target.
For example in systemd you can define a spenguin.target:
needs graphical.target
Because graphical.target is defined in need of multi-user.target, your spenguin.target has all of graphical and multi-user!
-
Ok. I got it, thanks. But why do we have to write it all in clear text now? That's why I mentioned Cobol...
-
You don't. You can either use init 3/5 as long as it works or make an alias to your liking.
greetz
devil