Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You should go home.


comp / comp.os.linux.advocacy / Re: Using telinit {1,3,5} with systemd

SubjectAuthor
* Using telinit {1,3,5} with systemdvallor
+- Re: Using telinit {1,3,5} with systemdLawrence D'Oliveiro
+* Re: Using telinit {1,3,5} with systemdAndrzej Matuch
|`* Re: Using telinit {1,3,5} with systemdvallor
| `* Re: Using telinit {1,3,5} with systemdAndrzej Matuch
|  `* Re: Using telinit {1,3,5} with systemdvallor
|   `- Re: Using telinit {1,3,5} with systemdAndrzej Matuch
`* Re: Using telinit {1,3,5} with systemdcandycanearter07
 +* Re: Using telinit {1,3,5} with systemdrbowman
 |`- Re: Using telinit {1,3,5} with systemdvallor
 `* Re: Using telinit {1,3,5} with systemdLawrence D'Oliveiro
  `* Re: Using telinit {1,3,5} with systemdcandycanearter07
   +* Re: Using telinit {1,3,5} with systemdLawrence D'Oliveiro
   |+- Re: Using telinit {1,3,5} with systemdvallor
   |`* Re: Using telinit {1,3,5} with systemdSebastian Wells
   | `- Re: Using telinit {1,3,5} with systemdLawrence D'Oliveiro
   `* Re: Using telinit {1,3,5} with systemdrbowman
    `* Re: Using telinit {1,3,5} with systemdcandycanearter07
     `* Re: Using telinit {1,3,5} with systemdvallor
      `- Re: Using telinit {1,3,5} with systemdLawrence D'Oliveiro

1
Subject: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Fri, 24 May 2024 01:15 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 01:15:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <v2opnf$1vq77$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 May 2024 03:15:27 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="46cb503e4b9b9ccd5ff648540282b8e8";
logging-data="2091239"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rqc2LCZZ0Cw0rrKNL0aBT"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.1)
Cancel-Lock: sha1:ZagdmJBCuacWUy5SRSt7iseJNgk=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

So after building a kernel and booting it, I've found it easiest
to take the system to single-user mode with

$ telinit 1

...which will take the system to single-user ("rescue") mode and
ask for your root password before proceeding. (Make sure you have
one set.)

Then I build the open Nvidia drivers, install them,
then remove the existing Nvidia drivers with the
following command (that I've scripted):

rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia

...which removes the modules in the proper order,
accounting for dependencies.

Finally, everything is ready to go, so:

# telinit 5

...and the system comes up in all its graphical glory.

I do it this way rather than rebooting because sometimes,
the drivers don't load right when I boot, and windows tear
when they move. If that happens, I do the
"telinit 1"-"rmmod"-"telinit 5"
dance, which has always solved the problem.

(I was pleasantly surprised to find out that systemd
knows about init runlevels. Very helpful.)

Finally, if you want to shutdown the display manager and
just use vty's with getty logins, you could

$ telinit 3

These runlevels are the same as they were with
SysV init on Linux.

--
-v

Subject: Re: Using telinit {1,3,5} with systemd
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Fri, 24 May 2024 05:19 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 05:19:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <v2p81d$26gfp$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 May 2024 07:19:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0cff0ba9dc44f1983d14765f610aa6bd";
logging-data="2310649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lFnxKG+VOazQ/cyoX6w1i"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:h3hWeQZGruhNmateotmASJvYE38=
View all headers

On Fri, 24 May 2024 01:15:27 -0000 (UTC), vallor wrote:

> (I was pleasantly surprised to find out that systemd knows about init
> runlevels. Very helpful.)

systemd offers better compatibility with sysvinit than some other
alternative service managers.

> Finally, if you want to shutdown the display manager and just use vty's
> with getty logins, you could
>
> $ telinit 3
>
> These runlevels are the same as they were with SysV init on Linux.

I thought, on Debian, the normal multiuser+networking runlevel was 3, not
5.

Another advantage with systemd’s symbolic target names is that they are
self-explanatory and get away from these cryptic and arbitrary numbers.

Subject: Re: Using telinit {1,3,5} with systemd
From: Andrzej Matuch
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Fri, 24 May 2024 11:47 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: andrzej@matu.ch (Andrzej Matuch)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 07:47:54 -0400
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <v2pupa$2ae8o$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 May 2024 13:47:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f93b4a615b6964c7740b9cacd833cfca";
logging-data="2439448"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/IrDm9O414+v8aYrpRM797CY/dkQ0GhDU="
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:EHSwyPdEEF+KFMPcYBVAJqUTDpk=
In-Reply-To: <v2opnf$1vq77$2@dont-email.me>
Content-Language: en-US
View all headers

On 2024-05-23 9:15 p.m., vallor wrote:
> So after building a kernel and booting it, I've found it easiest
> to take the system to single-user mode with
>
> $ telinit 1
>
> ...which will take the system to single-user ("rescue") mode and
> ask for your root password before proceeding. (Make sure you have
> one set.)
>
> Then I build the open Nvidia drivers, install them,
> then remove the existing Nvidia drivers with the
> following command (that I've scripted):
>
> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>
> ...which removes the modules in the proper order,
> accounting for dependencies.
>
> Finally, everything is ready to go, so:
>
> # telinit 5
>
> ...and the system comes up in all its graphical glory.
>
> I do it this way rather than rebooting because sometimes,
> the drivers don't load right when I boot, and windows tear
> when they move. If that happens, I do the
> "telinit 1"-"rmmod"-"telinit 5"
> dance, which has always solved the problem.
>
> (I was pleasantly surprised to find out that systemd
> knows about init runlevels. Very helpful.)
>
> Finally, if you want to shutdown the display manager and
> just use vty's with getty logins, you could
>
> $ telinit 3
>
> These runlevels are the same as they were with
> SysV init on Linux.

I'm curious: are you removing the NVIDIA proprietary drivers here or the
open ones? I'm reading that there are issues with the open-kernel ones
because they're in alpha. I was under the impression that you didn't
have too much trouble with them.

--
Andrzej (Andre) Matuch
TG: @AndrzejMatuch
Catholic, paleoconservative, Christ is king.

Subject: Re: Using telinit {1,3,5} with systemd
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Fri, 24 May 2024 17:15 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 17:15:09 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 47
Message-ID: <slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
References: <v2opnf$1vq77$2@dont-email.me>
Injection-Date: Fri, 24 May 2024 19:15:09 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="bc62fc6b308585f3bdf76211b188c53c";
logging-data="2555798"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+mcW8iVK5g+1YEsE+5bj0KkpIDx1HrsHZGedyVwfZu2g=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:s5u+sklMB6cwzwS657QtoBCTiYA=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

vallor <vallor@cultnix.org> wrote at 01:15 this Friday (GMT):
> So after building a kernel and booting it, I've found it easiest
> to take the system to single-user mode with
>
> $ telinit 1
>
> ...which will take the system to single-user ("rescue") mode and
> ask for your root password before proceeding. (Make sure you have
> one set.)
>
> Then I build the open Nvidia drivers, install them,
> then remove the existing Nvidia drivers with the
> following command (that I've scripted):
>
> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>
> ...which removes the modules in the proper order,
> accounting for dependencies.
>
> Finally, everything is ready to go, so:
>
> # telinit 5
>
> ...and the system comes up in all its graphical glory.
>
> I do it this way rather than rebooting because sometimes,
> the drivers don't load right when I boot, and windows tear
> when they move. If that happens, I do the
> "telinit 1"-"rmmod"-"telinit 5"
> dance, which has always solved the problem.
>
> (I was pleasantly surprised to find out that systemd
> knows about init runlevels. Very helpful.)
>
> Finally, if you want to shutdown the display manager and
> just use vty's with getty logins, you could
>
> $ telinit 3
>
> These runlevels are the same as they were with
> SysV init on Linux.

Wow, I never knew about telinit! That will definitely be handy to
remember.
--
user <candycane> is generated from /dev/urandom

Subject: Re: Using telinit {1,3,5} with systemd
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Fri, 24 May 2024 18:33 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: 24 May 2024 18:33:22 GMT
Lines: 20
Message-ID: <lbc4rhFjnhcU2@mid.individual.net>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net ewxZQhxyHOMi9s/lozSysgSZu1NfDQk4fUFiYpqf87YzBSB5/D
Cancel-Lock: sha1:Jv1JgWzSbSUJCkEve46iv2jKwBY= sha256:7ItO5MHJ8fbcLeOdaCuo7yfS5Eg2SMITKxV+bvRapG0=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:

> Wow, I never knew about telinit! That will definitely be handy to
> remember.

I knew about it decades ago and had forgotten about it. On Ubuntu the man
pages says

"telinit may be used to change the SysV system runlevel. Since the concept
of SysV runlevels is obsolete the runlevel requests will be transparently
translated into systemd unit activation requests.

1, s, S Change into system rescue mode. This is translated into an
activation request for rescue.target and is equivalent to systemctl
rescue."

Despite the haters systemctl is here to stay. Might as well learn how to
use it.

Subject: Re: Using telinit {1,3,5} with systemd
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Fri, 24 May 2024 21:31 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 21:31:19 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v2r0v7$2ggpj$3@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 24 May 2024 23:31:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0cff0ba9dc44f1983d14765f610aa6bd";
logging-data="2638643"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MifCpCcEPsh0Dnzw0ijkt"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:xsgkY+j3//1VsSenLl4Q0QkevPc=
View all headers

On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:

> Wow, I never knew about telinit!

It’s really just there for muscle memory for older/more senior sysadmins.
Easier just to use the systemctl commands.

Subject: Re: Using telinit {1,3,5} with systemd
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Fri, 24 May 2024 22:40 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 22:40:04 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 12
Message-ID: <slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 00:40:05 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9757aa7b38993eaf0cba5a2f7ce0be96";
logging-data="2665216"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DGG9Uc9+zpTUVpv0WUCuiD7XGZbv1DTXBHPflROEcFg=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Tfq3F8M4jL8sIqDntKkhbD9ouVA=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 21:31 this Friday (GMT):
> On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:
>
>> Wow, I never knew about telinit!
>
> It’s really just there for muscle memory for older/more senior sysadmins.
> Easier just to use the systemctl commands.

Oh. So how do you go to single user mode with systemctl commands?
--
user <candycane> is generated from /dev/urandom

Subject: Re: Using telinit {1,3,5} with systemd
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Fri, 24 May 2024 23:10 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Fri, 24 May 2024 23:10:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <v2r6ok$2hfmh$7@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 01:10:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8b960b0d1c1f0cbc9fa414c8762c1a10";
logging-data="2670289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/S9woo9yHiE8uoaXUhW8Kp"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:IollD1p1P5N3PpQ61DHPWw1jcn4=
View all headers

On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:

> So how do you go to single user mode with systemctl commands?

The equivalent of “runlevels” is “targets”
<https://www.freedesktop.org/software/systemd/man/latest/systemd.target.html>.

Subject: Re: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 00:38 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 00:38:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <v2rbuh$2i2hv$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me> <v2pupa$2ae8o$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 02:38:42 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1d46a457c3bd4d4f7ea369daf08f4bb9";
logging-data="2689599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4G1z+YVkDptyVTjSbEHIH"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.1)
Cancel-Lock: sha1:jOR/KRYsFFiI8uLDdHMFhiEjYeU=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

On Fri, 24 May 2024 07:47:54 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
in <v2pupa$2ae8o$1@dont-email.me>:

> On 2024-05-23 9:15 p.m., vallor wrote:
>> So after building a kernel and booting it, I've found it easiest to
>> take the system to single-user mode with
>>
>> $ telinit 1
>>
>> ...which will take the system to single-user ("rescue") mode and
>> ask for your root password before proceeding. (Make sure you have one
>> set.)
>>
>> Then I build the open Nvidia drivers, install them,
>> then remove the existing Nvidia drivers with the following command
>> (that I've scripted):
>>
>> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>>
>> ...which removes the modules in the proper order,
>> accounting for dependencies.
>>
>> Finally, everything is ready to go, so:
>>
>> # telinit 5
>>
>> ...and the system comes up in all its graphical glory.
>>
>> I do it this way rather than rebooting because sometimes,
>> the drivers don't load right when I boot, and windows tear when they
>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>> dance, which has always solved the problem.
>>
>> (I was pleasantly surprised to find out that systemd knows about init
>> runlevels. Very helpful.)
>>
>> Finally, if you want to shutdown the display manager and just use vty's
>> with getty logins, you could
>>
>> $ telinit 3
>>
>> These runlevels are the same as they were with SysV init on Linux.
>
> I'm curious: are you removing the NVIDIA proprietary drivers here or the
> open ones? I'm reading that there are issues with the open-kernel ones
> because they're in alpha. I was under the impression that you didn't
> have too much trouble with them.

They are the open ones from Nvidia. (Not nouveau, but the "open" version
of their proprietary drivers.)

https://github.com/NVIDIA/open-gpu-kernel-modules

--
-v

Subject: Re: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 01:05 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 01:05:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <v2rdhj$2i2hv$2@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<lbc4rhFjnhcU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 03:05:55 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1d46a457c3bd4d4f7ea369daf08f4bb9";
logging-data="2689599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Zf/FmR8EZi2r6yDP5IsHA"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.1)
Cancel-Lock: sha1:3CKkJ5edVsRGtqFgB4brntareK4=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

On 24 May 2024 18:33:22 GMT, rbowman <bowman@montana.com> wrote in
<lbc4rhFjnhcU2@mid.individual.net>:

> On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:
>
>> Wow, I never knew about telinit! That will definitely be handy to
>> remember.
>
> I knew about it decades ago and had forgotten about it. On Ubuntu the
> man pages says
>
> "telinit may be used to change the SysV system runlevel. Since the
> concept of SysV runlevels is obsolete the runlevel requests will be
> transparently translated into systemd unit activation requests.
>
> 1, s, S Change into system rescue mode. This is translated into an
> activation request for rescue.target and is equivalent to systemctl
> rescue."
>
> Despite the haters systemctl is here to stay. Might as well learn how to
> use it.

I'm not a hater, I just find remembering "telinit 1" easier than trying to
remember whatever systemctl incantation is needed. (But I'm old school,
so I didn't have to learn it, just know about it.)

--
-v

Subject: Re: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 01:33 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 01:33:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Message-ID: <v2rf5d$2i2hv$4@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<v2r6ok$2hfmh$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 03:33:33 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="1d46a457c3bd4d4f7ea369daf08f4bb9";
logging-data="2689599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/K1ivc6OvgkmNvQi5qA0Yv"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.1)
Cancel-Lock: sha1:2adLuXMlgZZgHjokOKvNK5YErF8=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

On Fri, 24 May 2024 23:10:13 -0000 (UTC), Lawrence D'Oliveiro
<ldo@nz.invalid> wrote in <v2r6ok$2hfmh$7@dont-email.me>:

> On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:
>
>> So how do you go to single user mode with systemctl commands?
>
> The equivalent of “runlevels” is “targets”
> <https://www.freedesktop.org/software/systemd/man/latest/
systemd.target.html>.

so you don't know

Subject: Re: Using telinit {1,3,5} with systemd
From: rbowman
Newsgroups: comp.os.linux.advocacy
Date: Sat, 25 May 2024 02:52 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bowman@montana.com (rbowman)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: 25 May 2024 02:52:03 GMT
Lines: 21
Message-ID: <lbd22jFnt7hU3@mid.individual.net>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qqy60I3EE4htbrkuAHxzIg4Y1IUIDrsGbiArEBmhn7Acsqj2r4
Cancel-Lock: sha1:q9tdLB4TogiS9i7VOc2NeFemYZ0= sha256:+E+vvXolvqP+u7mxUB4sbAzjCBlFUHUL0Rutx25FJt8=
User-Agent: Pan/0.149 (Bellevue; 4c157ba)
View all headers

On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 21:31 this Friday (GMT):
>> On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:
>>
>>> Wow, I never knew about telinit!
>>
>> It’s really just there for muscle memory for older/more senior
>> sysadmins.
>> Easier just to use the systemctl commands.
>
>
> Oh. So how do you go to single user mode with systemctl commands?

rescue
Enter rescue mode. This is equivalent to systemctl isolate rescue.target.
This operation is blocking by default, use --no-block to request
asynchronous behavior.

Subject: Re: Using telinit {1,3,5} with systemd
From: Sebastian Wells
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 06:22 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sebastian@here.com.invalid (Sebastian Wells)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 06:22:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <v2s02r$2okjl$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<v2r6ok$2hfmh$7@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 08:22:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="201389c6344b918882f7df44a1bf9af9";
logging-data="2904693"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HtH9eNZ9iAPMk46u+3ddYqKt+j/EeW1M="
User-Agent: Pan/0.154 (Izium; 517acf4)
Cancel-Lock: sha1:EMpqrrDLX37fH2z4zTETCBW8aPU=
View all headers

On Fri, 24 May 2024 23:10:13 -0000 (UTC), Lawrence D'Oliveiro wrote:

> On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:
>
>> So how do you go to single user mode with systemctl commands?
>
> The equivalent of “runlevels” is “targets”
> <https://www.freedesktop.org/software/systemd/man/latest/
systemd.target.html>.

That document is remarkably useless. All it tells you is how to create a
"target". It says nothing about what the default targets even are, let
alone anything at all about which ones map to the runlevels. I suppose
the target files are created by each distro instead of shipping with
Systemd, otherwise why wouldn't they be listed anywhere?

Double checking, I found that targets I know to exist have no man pages.
For example, I know there's a "multi-user.target".

The only way to find out what all the targets are is to search the
filesystem for them, and there are an absolute fuckton of them, mostly in
/lib/systemd and /usr/lib/systemd, but they appear in other places, too.

I happened to notice files with names like "runlevel5.target". There
seems to be one for each runlevel, at least on Ubuntu. Lucky me
for noticing, I guess.

I couldn't guess how to write a target to bring back /etc/rc.local,
which used to be supported by Systemd but they got rid of it because
it was all four of the Four Olds. Fortunately, I still have some VMs
in Google Cloud that are old enough to have the .target file for
that (or maybe it'll be a .service file, who knows), so I'd just have
to download it.

Subject: Re: Using telinit {1,3,5} with systemd
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 06:41 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 06:41:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <v2s169$2p23e$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<v2r6ok$2hfmh$7@dont-email.me> <v2s02r$2okjl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 08:41:13 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="8b960b0d1c1f0cbc9fa414c8762c1a10";
logging-data="2918510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19F8nONPbyrsefftzMKmffo"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:4EJVc7aJNJf4VOH46M7idy3KKxg=
View all headers

On Sat, 25 May 2024 06:22:20 -0000 (UTC), Sebastian Wells wrote:

> On Fri, 24 May 2024 23:10:13 -0000 (UTC), Lawrence D'Oliveiro wrote:
>
>> The equivalent of “runlevels” is “targets”
>> <https://www.freedesktop.org/software/systemd/man/latest/systemd.target.html>.
>
> That document is remarkably useless. All it tells you is how to
> create a "target". It says nothing about what the default targets
> even are ...

If you’d actually read the doc, you would have seen this part

Importantly, see systemd.special(7) for examples and descriptions
of standard systemd targets.

which gives a link to this page
<https://www.freedesktop.org/software/systemd/man/latest/systemd.special.html>.

Subject: Re: Using telinit {1,3,5} with systemd
From: Andrzej Matuch
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 11:35 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: andrzej@matu.ch (Andrzej Matuch)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 07:35:12 -0400
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <v2sidg$2rbb0$12@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me> <v2pupa$2ae8o$1@dont-email.me>
<v2rbuh$2i2hv$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 25 May 2024 13:35:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="e589a4043c7c7409d767cfd9fed191ef";
logging-data="2993504"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+baVSlx85+mSDetK7+5DgXS0d/5JaCh4="
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:VcpkSiokdK8qTSLev2D2jghuKkM=
In-Reply-To: <v2rbuh$2i2hv$1@dont-email.me>
Content-Language: en-US
View all headers

On 2024-05-24 8:38 p.m., vallor wrote:
> On Fri, 24 May 2024 07:47:54 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
> in <v2pupa$2ae8o$1@dont-email.me>:
>
>> On 2024-05-23 9:15 p.m., vallor wrote:
>>> So after building a kernel and booting it, I've found it easiest to
>>> take the system to single-user mode with
>>>
>>> $ telinit 1
>>>
>>> ...which will take the system to single-user ("rescue") mode and
>>> ask for your root password before proceeding. (Make sure you have one
>>> set.)
>>>
>>> Then I build the open Nvidia drivers, install them,
>>> then remove the existing Nvidia drivers with the following command
>>> (that I've scripted):
>>>
>>> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>>>
>>> ...which removes the modules in the proper order,
>>> accounting for dependencies.
>>>
>>> Finally, everything is ready to go, so:
>>>
>>> # telinit 5
>>>
>>> ...and the system comes up in all its graphical glory.
>>>
>>> I do it this way rather than rebooting because sometimes,
>>> the drivers don't load right when I boot, and windows tear when they
>>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>> dance, which has always solved the problem.
>>>
>>> (I was pleasantly surprised to find out that systemd knows about init
>>> runlevels. Very helpful.)
>>>
>>> Finally, if you want to shutdown the display manager and just use vty's
>>> with getty logins, you could
>>>
>>> $ telinit 3
>>>
>>> These runlevels are the same as they were with SysV init on Linux.
>>
>> I'm curious: are you removing the NVIDIA proprietary drivers here or the
>> open ones? I'm reading that there are issues with the open-kernel ones
>> because they're in alpha. I was under the impression that you didn't
>> have too much trouble with them.
>
> They are the open ones from Nvidia. (Not nouveau, but the "open" version
> of their proprietary drivers.)
>
> https://github.com/NVIDIA/open-gpu-kernel-modules

Why are you removing them? Were they problematic?

--
Andrzej (Andre) Matuch
TG: @AndrzejMatuch
Catholic, paleoconservative, Christ is king.

Subject: Re: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sat, 25 May 2024 20:39 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 20:39:22 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 72
Message-ID: <v2ti9q$318vn$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me> <v2pupa$2ae8o$1@dont-email.me>
<v2rbuh$2i2hv$1@dont-email.me> <v2sidg$2rbb0$12@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 25 May 2024 22:39:23 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0b87c2583285cad37cc058fd07110d1f";
logging-data="3187703"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iXd+EPtuq1QkDoJTuc5fU"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.1)
Cancel-Lock: sha1:CAzKuiUMOdhyF665XknTjSWKg1k=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

On Sat, 25 May 2024 07:35:12 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
in <v2sidg$2rbb0$12@dont-email.me>:

> On 2024-05-24 8:38 p.m., vallor wrote:
>> On Fri, 24 May 2024 07:47:54 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
>> in <v2pupa$2ae8o$1@dont-email.me>:
>>
>>> On 2024-05-23 9:15 p.m., vallor wrote:
>>>> So after building a kernel and booting it, I've found it easiest to
>>>> take the system to single-user mode with
>>>>
>>>> $ telinit 1
>>>>
>>>> ...which will take the system to single-user ("rescue") mode and
>>>> ask for your root password before proceeding. (Make sure you have one
>>>> set.)
>>>>
>>>> Then I build the open Nvidia drivers, install them,
>>>> then remove the existing Nvidia drivers with the following command
>>>> (that I've scripted):
>>>>
>>>> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>>>>
>>>> ...which removes the modules in the proper order,
>>>> accounting for dependencies.
>>>>
>>>> Finally, everything is ready to go, so:
>>>>
>>>> # telinit 5
>>>>
>>>> ...and the system comes up in all its graphical glory.
>>>>
>>>> I do it this way rather than rebooting because sometimes,
>>>> the drivers don't load right when I boot, and windows tear when they
>>>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>>> dance, which has always solved the problem.
>>>>
>>>> (I was pleasantly surprised to find out that systemd knows about init
>>>> runlevels. Very helpful.)
>>>>
>>>> Finally, if you want to shutdown the display manager and just use vty's
>>>> with getty logins, you could
>>>>
>>>> $ telinit 3
>>>>
>>>> These runlevels are the same as they were with SysV init on Linux.
>>>
>>> I'm curious: are you removing the NVIDIA proprietary drivers here or the
>>> open ones? I'm reading that there are issues with the open-kernel ones
>>> because they're in alpha. I was under the impression that you didn't
>>> have too much trouble with them.
>>
>> They are the open ones from Nvidia. (Not nouveau, but the "open" version
>> of their proprietary drivers.)
>>
>> https://github.com/NVIDIA/open-gpu-kernel-modules
>
> Why are you removing them? Were they problematic?

Hello:
>>> I do it this way rather than rebooting because sometimes,
>>> the drivers don't load right when I boot, and windows tear when they
>>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>> dance, which has always solved the problem.

I can't explain why removing the drivers and putting them back
fixes it -- just know it works (thank goodness).

I've reported the problem to Nvidia, haven't anything from them.

--
-v

Subject: Re: Using telinit {1,3,5} with systemd
From: Andrzej Matuch
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Sun, 26 May 2024 01:25 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: andrzej@matu.ch (Andrzej Matuch)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Sat, 25 May 2024 21:25:27 -0400
Organization: A noiseless patient Spider
Lines: 79
Message-ID: <v2u327$342k6$1@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me> <v2pupa$2ae8o$1@dont-email.me>
<v2rbuh$2i2hv$1@dont-email.me> <v2sidg$2rbb0$12@dont-email.me>
<v2ti9q$318vn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 26 May 2024 03:25:28 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f44c19727e6fb74bba03ed6ab5c14a16";
logging-data="3279494"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191WdkdTlnCfNsQRo7RWUNpXpa1UqxDTZ0="
User-Agent: Betterbird (Windows)
Cancel-Lock: sha1:KR5DFUeJIb3PMnuI4DJKnaspdYs=
Content-Language: en-US
In-Reply-To: <v2ti9q$318vn$1@dont-email.me>
View all headers

On 2024-05-25 4:39 p.m., vallor wrote:
> On Sat, 25 May 2024 07:35:12 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
> in <v2sidg$2rbb0$12@dont-email.me>:
>
>> On 2024-05-24 8:38 p.m., vallor wrote:
>>> On Fri, 24 May 2024 07:47:54 -0400, Andrzej Matuch <andrzej@matu.ch> wrote
>>> in <v2pupa$2ae8o$1@dont-email.me>:
>>>
>>>> On 2024-05-23 9:15 p.m., vallor wrote:
>>>>> So after building a kernel and booting it, I've found it easiest to
>>>>> take the system to single-user mode with
>>>>>
>>>>> $ telinit 1
>>>>>
>>>>> ...which will take the system to single-user ("rescue") mode and
>>>>> ask for your root password before proceeding. (Make sure you have one
>>>>> set.)
>>>>>
>>>>> Then I build the open Nvidia drivers, install them,
>>>>> then remove the existing Nvidia drivers with the following command
>>>>> (that I've scripted):
>>>>>
>>>>> rmmod nvidia_drm nvidia_modeset nvidia_uvm nvidia
>>>>>
>>>>> ...which removes the modules in the proper order,
>>>>> accounting for dependencies.
>>>>>
>>>>> Finally, everything is ready to go, so:
>>>>>
>>>>> # telinit 5
>>>>>
>>>>> ...and the system comes up in all its graphical glory.
>>>>>
>>>>> I do it this way rather than rebooting because sometimes,
>>>>> the drivers don't load right when I boot, and windows tear when they
>>>>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>>>> dance, which has always solved the problem.
>>>>>
>>>>> (I was pleasantly surprised to find out that systemd knows about init
>>>>> runlevels. Very helpful.)
>>>>>
>>>>> Finally, if you want to shutdown the display manager and just use vty's
>>>>> with getty logins, you could
>>>>>
>>>>> $ telinit 3
>>>>>
>>>>> These runlevels are the same as they were with SysV init on Linux.
>>>>
>>>> I'm curious: are you removing the NVIDIA proprietary drivers here or the
>>>> open ones? I'm reading that there are issues with the open-kernel ones
>>>> because they're in alpha. I was under the impression that you didn't
>>>> have too much trouble with them.
>>>
>>> They are the open ones from Nvidia. (Not nouveau, but the "open" version
>>> of their proprietary drivers.)
>>>
>>> https://github.com/NVIDIA/open-gpu-kernel-modules
>>
>> Why are you removing them? Were they problematic?
>
> Hello:
>>>> I do it this way rather than rebooting because sometimes,
>>>> the drivers don't load right when I boot, and windows tear when they
>>>> move. If that happens, I do the "telinit 1"-"rmmod"-"telinit 5"
>>>> dance, which has always solved the problem.
>
> I can't explain why removing the drivers and putting them back
> fixes it -- just know it works (thank goodness).
>
> I've reported the problem to Nvidia, haven't anything from them.

So, at least for the immediate future, proprietary drivers are going to
be the only way to get an acceptable experience with NVIDIA. It's too
bad. Apparently, Linux is absolute heaven with AMD hardware.

--
Andrzej (Andre) Matuch
TG: @AndrzejMatuch
Catholic, paleoconservative, Christ is king.

Subject: Re: Using telinit {1,3,5} with systemd
From: candycanearter07
Newsgroups: comp.os.linux.advocacy
Organization: the-candyden-of-code
Date: Mon, 27 May 2024 02:00 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: candycanearter07@candycanearter07.nomail.afraid (candycanearter07)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Mon, 27 May 2024 02:00:05 -0000 (UTC)
Organization: the-candyden-of-code
Lines: 24
Message-ID: <slrnv57q3n.pvf.candycanearter07@candydeb.host.invalid>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<lbd22jFnt7hU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 May 2024 04:00:06 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="504c9355bbf774329d0dff6ba7a45988";
logging-data="4033947"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OKIcnwRAlN+hukhOv+yDdcwRBJKJPm55/RTNfs34Rcg=="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:Z2sduHOVqTaR+5Uqj7wAnU2UpfI=
X-Face: b{dPmN&%4|lEo,wUO\"KLEOu5N_br(N2Yuc5/qcR5i>9-!^e\.Tw9?/m0}/~:UOM:Zf]%
b+ V4R8q|QiU/R8\|G\WpC`-s?=)\fbtNc&=/a3a)r7xbRI]Vl)r<%PTriJ3pGpl_/B6!8pe\btzx
`~R! r3.0#lHRE+^Gro0[cjsban'vZ#j7,?I/tHk{s=TFJ:H?~=]`O*~3ZX`qik`b:.gVIc-[$t/e
ZrQsWJ >|l^I_[pbsIqwoz.WGA]<D
View all headers

rbowman <bowman@montana.com> wrote at 02:52 this Saturday (GMT):
> On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:
>
>> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 21:31 this Friday (GMT):
>>> On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:
>>>
>>>> Wow, I never knew about telinit!
>>>
>>> It’s really just there for muscle memory for older/more senior
>>> sysadmins.
>>> Easier just to use the systemctl commands.
>>
>>
>> Oh. So how do you go to single user mode with systemctl commands?
>
> rescue
> Enter rescue mode. This is equivalent to systemctl isolate rescue.target.
> This operation is blocking by default, use --no-block to request
> asynchronous behavior.

Ah thanks, good to know :D
--
user <candycane> is generated from /dev/urandom

Subject: Re: Using telinit {1,3,5} with systemd
From: vallor
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Mon, 27 May 2024 03:11 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: vallor@cultnix.org (vallor)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Mon, 27 May 2024 03:11:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <v30tl9$3k86l$5@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<lbd22jFnt7hU3@mid.individual.net>
<slrnv57q3n.pvf.candycanearter07@candydeb.host.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 May 2024 05:11:38 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="f664251d30e1f47da423936e8b35bb9b";
logging-data="3809493"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GLaTS+oTY24z3wslXN1XO"
User-Agent: Pan/0.158 (Avdiivka; 9555b5e; Linux-6.9.2)
Cancel-Lock: sha1:0mBFoRtMH7ZxomWcknukWCGgi+Q=
X-Face: \}2`P"_@pS86<'EM:'b.Ml}8IuMK"pV"?FReF$'c.S%u9<Q#U*4QO)$l81M`{Q/n
XL'`91kd%N::LG:=*\35JS0prp\VJN^<s"b#bff@fA7]5lJA.jn,x_d%Md$,{.EZ
View all headers

On Mon, 27 May 2024 02:00:05 -0000 (UTC), candycanearter07
<candycanearter07@candycanearter07.nomail.afraid> wrote in
<slrnv57q3n.pvf.candycanearter07@candydeb.host.invalid>:

> rbowman <bowman@montana.com> wrote at 02:52 this Saturday (GMT):
>> On Fri, 24 May 2024 22:40:04 -0000 (UTC), candycanearter07 wrote:
>>
>>> Lawrence D'Oliveiro <ldo@nz.invalid> wrote at 21:31 this Friday (GMT):
>>>> On Fri, 24 May 2024 17:15:09 -0000 (UTC), candycanearter07 wrote:
>>>>
>>>>> Wow, I never knew about telinit!
>>>>
>>>> It’s really just there for muscle memory for older/more senior
>>>> sysadmins.
>>>> Easier just to use the systemctl commands.
>>>
>>>
>>> Oh. So how do you go to single user mode with systemctl commands?
>>
>> rescue
>> Enter rescue mode. This is equivalent to systemctl isolate rescue.target.
>> This operation is blocking by default, use --no-block to request
>> asynchronous behavior.
>
>
> Ah thanks, good to know :D

I think I'll keep using "telinit". 😏️

--
-v

Subject: Re: Using telinit {1,3,5} with systemd
From: Lawrence D'Oliv
Newsgroups: comp.os.linux.advocacy
Organization: A noiseless patient Spider
Date: Mon, 27 May 2024 06:48 UTC
References: 1 2 3 4 5 6 7
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.os.linux.advocacy
Subject: Re: Using telinit {1,3,5} with systemd
Date: Mon, 27 May 2024 06:48:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 5
Message-ID: <v31ach$3tnqd$2@dont-email.me>
References: <v2opnf$1vq77$2@dont-email.me>
<slrnv51ilg.2vc.candycanearter07@candydeb.host.invalid>
<v2r0v7$2ggpj$3@dont-email.me>
<slrnv525km.9e6.candycanearter07@candydeb.host.invalid>
<lbd22jFnt7hU3@mid.individual.net>
<slrnv57q3n.pvf.candycanearter07@candydeb.host.invalid>
<v30tl9$3k86l$5@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 May 2024 08:48:50 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="00f55b69ed0f6897280b9f3c60a65ce3";
logging-data="4120397"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/SX3SWgd8Ff+GcCkJyuTJb"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:2H11jTJk2/LTfX2F8lIVRmp3P0A=
View all headers

On Mon, 27 May 2024 03:11:38 -0000 (UTC), vallor wrote:

> I think I'll keep using "telinit". 😏️

At least systemd gives you the choice. Some other init systems don’t.

1

rocksolid light 0.9.8
clearnet tor