Mailinglist Archive: opensuse-factory (1578 mails)

< Previous Next >
Re: [opensuse-factory] Runlevels in 12.1?
  • From: Hendrik Woltersdorf <hendrikw@xxxxxxxx>
  • Date: Fri, 11 Nov 2011 19:50:19 +0100
  • Message-id: <4EBD6E6B.3080004@arcor.de>
Am 11.11.2011 17:29, schrieb Bruno Friedmann:
On 11/11/2011 04:23 PM, jdd wrote:
Le 11/11/2011 15:02, Michal Vyskocil a écrit :

systemd.special(7) for details about these units.
I beg we have to use a "multi-user.target"

init
init [OPTIONS...] {COMMAND}

Send control commands to the init daemon.

--help Show this help
--no-wall Don't send wall message before halt/power-off/reboot

Commands:
0 Power-off the machine
6 Reboot the machine
2, 3, 4, 5 Start runlevelX.target unit
1, s, S Enter rescue mode
q, Q Reload init daemon configuration
u, U Reexecute init daemon

but where are located the "target" files, I only see default in /etc/systemd

jdd

stuff is located under /lib/systemd/ and mainly system

Yast2 runlevels is able to fix the target you want ( init 3, 5 etc) and create
the correct systemd target


I did a little "man systemctl" and found the "isolate" command, that should be similar to the old init commands.
So I tested:

systemctl isolate runlevel3.target

systemctl isolate runlevel5.target

and it worked.
I guess (and did not test) that linking the default-target to runlevel3.target should boot a system without X.

see:
hendrik@lthendrik:~> ls -l /etc/systemd/system/default.target
lrwxrwxrwx 1 root root 36 7. Nov 19:54 /etc/systemd/system/default.target -> /lib/systemd/system/runlevel5.target


Hendrik

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

< Previous Next >
This Thread
Follow Ups