[opensuse-factory] broken init command under systemd-init
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it? I just booted with 3 on cmdline, logged in root, then issued 'init 1'. Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 08/09/12 15:55, Felix Miata escribió:
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
I just booted with 3 on cmdline,
Using exactly what cmdline ? logged in root, then issued 'init 1'.
Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command.
Does systemctl isolate rescue.target has the same behaviour ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2012/09/08 16:05 (GMT-0300) Cristian Rodríguez composed:
Felix Miata composed:
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
I just booted with 3 on cmdline,
Using exactly what cmdline ?
root=LABEL=HS80suse122 ipv4only=1 noresume splash=verbose vga=794 video=1152x864@60 3
logged in root, then issued 'init 1'.
Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command.
Does systemctl isolate rescue.target has the same behaviour ?
Welcome to openSUSE 12.2 "Mantis" - Kernel 3.4.6-2.10-desktop (tty3). hs80e login: hs80e # Dependency failed. Aborted start of Getty on tty1. hs80e # systemctl isolate rescue.target -> KDM startup on tty7 When I Ctrl-Alt-F3 back to tty3, no prompt is available as if instead init 5 had been issued with sysvinit-init installed, but working logins do exist on tty[1,2,4,5,6]. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Felix Miata <mrmazda@earthlink.net> [09-08-12 14:57]:
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
I just booted with 3 on cmdline, logged in root, then issued 'init 1'. Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command.
re: init 1 takes you to runlevel one and immediately back to runlevel 5. I have noticed that "init 1" does not work as previous, but... issueing "init s" will leave you in "single user mode" (previous init 1) and allow root login and subsequent operations. but(again)... init 3 from "single user mode" does not get you to text level but gives you an X login screen (runlevel 5). runlevels as such and reaching them via init 1-3 apparently are no longer supported but I haven't bothered to research systemd docs to see replacement commands. Lack of notice of this type of operation change is *not* something that should have been left to users/admins to research. Some knowledgable individual *should* have taken to time to write a faq and provided a link to post *specific* questions. I like the idea/function of systemd but do not like that I have to *search* for obscure documentation to find ways to perform operations that were simple via systemv-init, realizing that they became simple only due to repetitive use. At least I *could* google for those commands. If that *simple* faq does exist, it should *always* be provided/announced prominently where-ever systemd is employed. I do not mind change or the need to learn new ways. I do mind not being able to find the *explanation* of the *ways*. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2012-09-09 00:57, Patrick Shanahan wrote:
If that *simple* faq does exist, it should *always* be provided/announced prominently where-ever systemd is employed.
http://doc.opensuse.org/ Reference book, chapter 6. I don't know (yet) if what you ask is documented there, I still haven't read it completely. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlBL2NQACgkQja8UbcUWM1wbVgD+K/mCDcahbYsfWtrJuRX9U/os /LpqzEwi/J8RU3ujHT8A/2fjJo91YvkI1LNhM7fBlB4vgedlKHRCEpRCHvxMCoGN =7hn+ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Carlos E. R. <robin.listas@telefonica.net> [09-08-12 19:48]:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2012-09-09 00:57, Patrick Shanahan wrote:
If that *simple* faq does exist, it should *always* be provided/announced prominently where-ever systemd is employed.
http://doc.opensuse.org/ Reference book, chapter 6.
I don't know (yet) if what you ask is documented there, I still haven't read it completely.
Yes, I have it since it was "announced" yesterday or day before but also haven't had the opportunity to read it yet. I have it on my phone :^). -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [09-08-12 20:30]:
* Carlos E. R. <robin.listas@telefonica.net> [09-08-12 19:48]:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2012-09-09 00:57, Patrick Shanahan wrote:
If that *simple* faq does exist, it should *always* be provided/announced prominently where-ever systemd is employed.
http://doc.opensuse.org/ Reference book, chapter 6.
I don't know (yet) if what you ask is documented there, I still haven't read it completely.
Yes, I have it since it was "announced" yesterday or day before but also haven't had the opportunity to read it yet. I have it on my phone :^).
afterthought: But it was just provided, not when systemd was implemented a ??year?? ago :^( -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2012-09-09 02:32, Patrick Shanahan wrote:
afterthought: But it was just provided, not when systemd was implemented a ??year?? ago :^(
Absolutely. I wrote a bugzilla on that fact. I appreciate a lot the effort the documentation chaps did to document systemd in openSUSE, but it pains me that it was not done before. Maybe they were taken by surprise. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREIAAYFAlBL5FwACgkQja8UbcUWM1yILgEAlmfRZqElu7w7MZv72CqS2b1n PdGAJfk2vXj9fwh21cQA/0mObG+OS+VLx8WAtH2bcLkarO7vox3gd3AGuQkMSZFm =rd2S -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sun, 09 Sep 2012 02:35:40 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
Maybe they were taken by surprise.
As translator you know how it works. Five minutes before release you get docs for translation. I can bet on that document writer life is not much different, they get someone that can write synopsis, or proof read docs, when all development is done. -- Rajko. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2012-09-08 at 22:01 -0500, Rajko wrote:
On Sun, 09 Sep 2012 02:35:40 +0200 "Carlos E. R." <> wrote:
Maybe they were taken by surprise.
As translator you know how it works.
Actually, no. I get the translation strings for the software a month before, at least :-) We don't translate docs.
Five minutes before release you get docs for translation. I can bet on that document writer life is not much different, they get someone that can write synopsis, or proof read docs, when all development is done.
Yes... - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlBVziAACgkQtTMYHG2NR9Uf2ACfQ+tP/kn5y3bBEcNW2vAHA8ay AJUAnik2gCEGivcSGfCBRr+11Mdhio7I =Pq4g -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, 2012-09-08 at 18:57 -0400, Patrick Shanahan wrote:
* Felix Miata <mrmazda@earthlink.net> [09-08-12 14:57]:
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
I just booted with 3 on cmdline, logged in root, then issued 'init 1'. Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command.
re: init 1 takes you to runlevel one and immediately back to runlevel 5.
I have noticed that "init 1" does not work as previous, but...
issueing "init s" will leave you in "single user mode" (previous init 1) and allow root login and subsequent operations.
but(again)... init 3 from "single user mode" does not get you to text level but gives you an X login screen (runlevel 5).
runlevels as such and reaching them via init 1-3 apparently are no longer supported but I haven't bothered to research systemd docs to see replacement commands.
Hm. I just tried re-installing systemd-init on my 12.1 laptop, and 3 on the cmdline worked more or less as before (modulo some breakage). systemd.unit=runlevelN.target appears to be the new/improved way to spell 'N', but that doesn't appear to be mandated as of 12.1 at least. /sbin/telinit is also provided by both sysvinit-init and systemd-sysvinit in 12.1. The systemd <==> runlevel connection is nicely documented as well, so I'm hopeful that it isn't an intermediate step in the systemd "weaning" process. (systemctl isolate runlevel3.target is progress? Oh dear.) -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2012/09/09 07:32 (GMT+0700) Mike Galbraith composed:
Hm. I just tried re-installing systemd-init on my 12.1 laptop, and 3 on the cmdline worked more or less as before (modulo some breakage).
I started the thread, which is about using the init (or telinit) *command*, not from choosing a non-default initial "runlevel" via cmdline option. NAICT, 3 on cmdline produces the same net result it did 10 years ago, give or take a few changes in what shows onscreen between making a Grub menu choice and when the "init" process completes. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sun, 2012-09-09 at 01:41 -0400, Felix Miata wrote:
On 2012/09/09 07:32 (GMT+0700) Mike Galbraith composed:
Hm. I just tried re-installing systemd-init on my 12.1 laptop, and 3 on the cmdline worked more or less as before (modulo some breakage).
I started the thread, which is about using the init (or telinit) *command*, not from choosing a non-default initial "runlevel" via cmdline option. NAICT, 3 on cmdline produces the same net result it did 10 years ago, give or take a few changes in what shows onscreen between making a Grub menu choice and when the "init" process completes.
Yes, and telinit here running 12.1 also worked as it has for ages when I tried it, so hopefully something just went broke in factory, as things occasionally do. -Mike -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 9/8/2012 2:55 PM, Felix Miata wrote:
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
I just booted with 3 on cmdline, logged in root, then issued 'init 1'. Instead of dropping to single, it went all in (runlevel 5, starting KDM) instead of shutting down network services and giving me a chance to restart everything single doesn't require, by subsequently issuing an init 3 command.
Principle of least surprise, yet another one tossed out the window. -- bkw -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le samedi 08 septembre 2012 à 14:55 -0400, Felix Miata a écrit :
Is init command no longer supposed to symlink to or call whatever immemorable 3X-15X command string is supposed to replace it?
It is still being supported. There is a bug already opened which looks like your bug (https://bugzilla.novell.com/show_bug.cgi?id=772312): you are been switched to the equivalent of runlevel 1 but sulogin might be killed somehow and then you return to runlevel 5. Of course, I welcome any help in fixing this. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (8)
-
Brian K. White
-
Carlos E. R.
-
Cristian Rodríguez
-
Felix Miata
-
Frederic Crozat
-
Mike Galbraith
-
Patrick Shanahan
-
Rajko