Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

She is not refined. She is not unrefined. She keeps a parrot. -- Mark Twain


comp / comp.unix.programmer / Re: Faking a TTY on a pipe/socketpair

SubjectAuthor
* Faking a TTY on a pipe/socketpairMuttley
+* Re: Faking a TTY on a pipe/socketpairKenny McCormack
|`* Re: Faking a TTY on a pipe/socketpairMuttley
| +- Re: Faking a TTY on a pipe/socketpairWolfgang Agnes
| `* Re: Faking a TTY on a pipe/socketpairKenny McCormack
|  `- Re: Faking a TTY on a pipe/socketpairMuttley
+* Re: Faking a TTY on a pipe/socketpairKaz Kylheku
|+- Re: Faking a TTY on a pipe/socketpairMuttley
|`* Re: Faking a TTY on a pipe/socketpairEric Pozharski
| +- Re: Faking a TTY on a pipe/socketpairScott Lurndal
| `* Re: Faking a TTY on a pipe/socketpairKaz Kylheku
|  `- Re: Faking a TTY on a pipe/socketpairEric Pozharski
+* Re: Faking a TTY on a pipe/socketpairJanis Papanagnou
|+- Re: Faking a TTY on a pipe/socketpairMuttley
|`* Re: Faking a TTY on a pipe/socketpairRichard Kettlewell
| `- Re: Faking a TTY on a pipe/socketpairMuttley
`* Re: Faking a TTY on a pipe/socketpairRichard L. Hamilton
 +* Re: Faking a TTY on a pipe/socketpairMuttley
 |`* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | +* Re: Faking a TTY on a pipe/socketpairMuttley
 | |`* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | | +* Re: Faking a TTY on a pipe/socketpairKenny McCormack
 | | |`* Re: Faking a TTY on a pipe/socketpairDan Cross
 | | | `* Re: Faking a TTY on a pipe/socketpairKenny McCormack
 | | |  `- Re: Faking a TTY on a pipe/socketpairMuttley
 | | +- Re: Faking a TTY on a pipe/socketpairNicolas George
 | | `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  +* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  |+- Re: Faking a TTY on a pipe/socketpairScott Lurndal
 | |  |+* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||`* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  || +* Re: Faking a TTY on a pipe/socketpairJohn Ames
 | |  || |`- Re: Faking a TTY on a pipe/socketpairScott Lurndal
 | |  || `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||  +* Windows-think and systemd (Was: Something completely unrelated to what we're yapKenny McCormack
 | |  ||  |+* Re: Windows-think and systemd (Was: Something completely unrelated to what we'reMuttley
 | |  ||  ||`* Re: Windows-think and systemd (Was: Something completely unrelated to what we'reRichard L. Hamilton
 | |  ||  || `- AIX (was Re: Windows-think and systemd)Janis Papanagnou
 | |  ||  |+- Re: Windows-think and systemd (Was: Something completely unrelated to what we'reKaz Kylheku
 | |  ||  |`- Re: Windows-think and systemd (Was: Something completely unrelated to what we'reJim Jackson
 | |  ||  +- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||  `- Re: Faking a TTY on a pipe/socketpairRichard L. Hamilton
 | |  |+- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  |+* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||+* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  |||`- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||`* Re: Faking a TTY on a pipe/socketpairRichard Kettlewell
 | |  || `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||  +- Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||  `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||   +- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||   `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||    `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     +* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     |`* Re: Faking a TTY on a pipe/socketpairNicolas George
 | |  ||     | +* Re: Faking a TTY on a pipe/socketpairAlexis
 | |  ||     | |`- Re: Faking a TTY on a pipe/socketpairNicolas George
 | |  ||     | +* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     | |`* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||     | | `- Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     | `* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     |  `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     |   `* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     |    `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     |     `* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     |      `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||     |       `* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     |        `* Re: Faking a TTY on a pipe/socketpairScott Lurndal
 | |  ||     |         `- Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||     `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||      `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       +* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       |`* Re: Faking a TTY on a pipe/socketpairJohn Ames
 | |  ||       | +* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | |+* Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       | ||`* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       | || `* Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       | ||  `* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       | ||   `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | ||    +* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       | ||    |`- Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | ||    `- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       | |`* Re: Faking a TTY on a pipe/socketpairJohn Ames
 | |  ||       | | `* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | |  +- Re: Faking a TTY on a pipe/socketpairJohn Ames
 | |  ||       | |  +* Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  ||       | |  |+* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | |  ||`* Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       | |  || `- Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | |  |`* Re: Faking a TTY on a pipe/socketpairRichard Kettlewell
 | |  ||       | |  | +* Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  ||       | |  | |`- Re: Faking a TTY on a pipe/socketpairKenny McCormack
 | |  ||       | |  | `- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       | |  `- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       | `- Re: Faking a TTY on a pipe/socketpairMuttley
 | |  ||       +- Re: Faking a TTY on a pipe/socketpairRainer Weikusat
 | |  ||       `- Re: Faking a TTY on a pipe/socketpairJim Jackson
 | |  |`* Re: Faking a TTY on a pipe/socketpairRichard L. Hamilton
 | |  | +- Re: Faking a TTY on a pipe/socketpairMuttley
 | |  | `- Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | |  `- Re: Faking a TTY on a pipe/socketpairLawrence D'Oliveiro
 | `* Re: Faking a TTY on a pipe/socketpairRichard L. Hamilton
 +- Re: Faking a TTY on a pipe/socketpairRichard Kettlewell
 `- Re: Faking a TTY on a pipe/socketpairScott Lurndal

Pages:12345
Subject: Re: Faking a TTY on a pipe/socketpair
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Thu, 5 Dec 2024 08:19 UTC
References: 1 2 3 4 5 6
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 08:19:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <virnn2$1g9ja$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me>
<vir23n$17csf$5@dont-email.me>
Injection-Date: Thu, 05 Dec 2024 09:19:46 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7a7171dadb67522ebfdff146955b4c48";
logging-data="1582698"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2Uo91QwTJlPEscS3ndHj7"
Cancel-Lock: sha1:uS6LwlVU/fqj+LbgQIF0JbbyhAo=
View all headers

On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>
>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>
>Which “unix philosophy” would that be?

The one where init does a single task instead of spreading itself throughout
the system after massive scope creep and hence isn't a huge attack vector for
hackers and a single point of failure, plus doesn't use obtuse binary files for
logging which require tools to read. init needed an upgrade for sure, but
systemd isn't it.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Dan Cross
Newsgroups: comp.unix.programmer
Organization: PANIX Public Access Internet and UNIX, NYC
Date: Thu, 5 Dec 2024 13:15 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!.POSTED.spitfire.i.gajendra.net!not-for-mail
From: cross@spitfire.i.gajendra.net (Dan Cross)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 13:15:03 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <vis90n$5d5$1@reader2.panix.com>
References: <vh9vgr$5bb$1@dont-email.me> <vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <viri3s$1ac00$1@news.xmission.com>
Injection-Date: Thu, 5 Dec 2024 13:15:03 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="spitfire.i.gajendra.net:166.84.136.80";
logging-data="5541"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: cross@spitfire.i.gajendra.net (Dan Cross)
View all headers

In article <viri3s$1ac00$1@news.xmission.com>,
Kenny McCormack <gazelle@shell.xmission.com> wrote:
>In article <vir23n$17csf$5@dont-email.me>,
>Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>
>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>
>>Which "unix philosophy" would that be?
>
>Wouldn't it be easier to just use Google (or whatever search engine you
>favor) to find out what the Unix philosphy is?

Why do people continue to try and engage with Lawrence in good
faith? He's a rather obvious troll.

- Dan C.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Kenny McCormack
Newsgroups: comp.unix.programmer
Organization: The official candy of the new Millennium
Date: Thu, 5 Dec 2024 13:57 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 13:57:20 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <visbg0$1anr2$1@news.xmission.com>
References: <vh9vgr$5bb$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <viri3s$1ac00$1@news.xmission.com> <vis90n$5d5$1@reader2.panix.com>
Injection-Date: Thu, 5 Dec 2024 13:57:20 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1400674"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
View all headers

In article <vis90n$5d5$1@reader2.panix.com>,
Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>In article <viri3s$1ac00$1@news.xmission.com>,
>Kenny McCormack <gazelle@shell.xmission.com> wrote:
>>In article <vir23n$17csf$5@dont-email.me>,
>>Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>>
>>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>>
>>>Which "unix philosophy" would that be?
>>
>>Wouldn't it be easier to just use Google (or whatever search engine you
>>favor) to find out what the Unix philosphy is?
>
>Why do people continue to try and engage with Lawrence in good
>faith? He's a rather obvious troll.

Yes, well, you make a good point. But it passes the time.

One could argue that I wasn't exactly engaging in good faith.
I was making the point that he wasn't arguing in good faith; his question
is obvious trollery, not a legitimate question. If it *were* a legitimate
question, then Googling would give him his answer. But it isn't, so it
won't.,.

--
You are a dreadful man, Kenny, for all your ways are the ways of death.
- Rick C Hodgin -

(P.S. -> https://www.youtube.com/watch?v=sMmTkKz60W8)

Subject: Re: Faking a TTY on a pipe/socketpair
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Thu, 5 Dec 2024 15:06 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 15:06:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <visfhi$1m5vs$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <viri3s$1ac00$1@news.xmission.com> <vis90n$5d5$1@reader2.panix.com> <visbg0$1anr2$1@news.xmission.com>
Injection-Date: Thu, 05 Dec 2024 16:06:27 +0100 (CET)
Injection-Info: dont-email.me; posting-host="7a7171dadb67522ebfdff146955b4c48";
logging-data="1775612"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+sF3A1nJ3xZu7ICgWfXvii"
Cancel-Lock: sha1:n8N5ESVh+OhL6SCstbAMS772Hl0=
View all headers

On Thu, 5 Dec 2024 13:57:20 -0000 (UTC)
gazelle@shell.xmission.com (Kenny McCormack) wibbled:
>In article <vis90n$5d5$1@reader2.panix.com>,
>Dan Cross <cross@spitfire.i.gajendra.net> wrote:
>is obvious trollery, not a legitimate question. If it *were* a legitimate
>question, then Googling would give him his answer. But it isn't, so it
>won't.,.

To be fair, if google had the answer to everything no one would ever post on
here again.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Thu, 5 Dec 2024 20:45 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.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 20:45:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vit3dg$1quau$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 05 Dec 2024 21:45:37 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b8ada25e4317f2ac3fdfff6f2c3be1a9";
logging-data="1931614"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19DxhNHImlmHc48KlK4mYv+"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:qa3KbsF2As+GPEFhH0Pz0iG+2Bs=
View all headers

On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:

> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>
>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>
>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>
>>Which “unix philosophy” would that be?
>
> The one where init does a single task instead of spreading itself
> throughout the system ...

What “single task” did init do?

* Mount filesystems
* Spawn syslog, cron
* Spawn terminal login processes (getty)
* Respawn terminated getty processes
* Monitor other special stuff in inittab
* Spawn random other services, without monitoring their state
* Act as a general catch-all for orphaned processes when they terminate

This was all before systemd came on the scene.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Thu, 5 Dec 2024 20:46 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.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Thu, 5 Dec 2024 20:46:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vit3ee$1qu8p$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 05 Dec 2024 21:46:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b8ada25e4317f2ac3fdfff6f2c3be1a9";
logging-data="1931545"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nOCACusllhg7FQMryRDmp"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:YYu49RYX0CFIuwYECcJrUK9x148=
View all headers

On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:

> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>
>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>
>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>
>>Which “unix philosophy” would that be?
>
> The one where init does a single task instead of spreading itself
> throughout the system ...

What “single task” did init do?

* Mount filesystems
* Spawn syslog, cron
* Spawn terminal login processes (getty)
* Respawn terminated getty processes
* Monitor other special stuff in inittab
* Spawn random other services, without monitoring their state
* Act as a general catch-all for orphaned processes when they terminate

This was all before systemd came on the scene.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Scott Lurndal
Newsgroups: comp.unix.programmer
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 5 Dec 2024 21:06 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx12.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Faking a TTY on a pipe/socketpair
Newsgroups: comp.unix.programmer
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad> <vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me> <vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
Lines: 22
Message-ID: <BBo4P.25$lyG1.5@fx12.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 05 Dec 2024 21:06:41 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 05 Dec 2024 21:06:41 GMT
X-Received-Bytes: 1489
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
>On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:
>
>> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>>
>>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>>
>>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>>
>>>Which “unix philosophy” would that be?
>>
>> The one where init does a single task instead of spreading itself
>> throughout the system ...
>
>What “single task” did init do?

Read a bunch of files and call the shell to execute them
whenever the run-level changed and monitored the resulting
processes for failure.

And reaped zombies.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 10:28 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Fri, 6 Dec 2024 10:28:15 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <viujjv$29frk$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me>
<vit3dg$1quau$1@dont-email.me>
Injection-Date: Fri, 06 Dec 2024 11:28:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="22bd2cb12982b1c5095a4f82cb99ef78";
logging-data="2408308"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ly2sOyQFS1vu0eS8Q/97O"
Cancel-Lock: sha1:76nmJdNY5mxTuJBPVgJUyZxzqaE=
View all headers

On Thu, 5 Dec 2024 20:45:36 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:
>
>> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>>
>>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>>
>>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>>
>>>Which “unix philosophy” would that be?
>>
>> The one where init does a single task instead of spreading itself
>> throughout the system ...
>
>What “single task” did init do?

Boot the system to usable state. You can't have that without filesystems,
terminals or other important system daemons running.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Rainer Weikusat
Newsgroups: comp.unix.programmer
Date: Fri, 6 Dec 2024 17:01 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweikusat@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Fri, 06 Dec 2024 17:01:49 +0000
Lines: 50
Message-ID: <87zfl8924i.fsf@doppelsaurus.mobileactivedefense.com>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net FIWrRSXTSsyC0F8PB/LjvwPV+orKyjcMMMjocFtrxSM7zjvnQ=
Cancel-Lock: sha1:sBEnW2ONUvdFwzWi2ujcYrr/3n4= sha1:OjYjXHQPrfHvsHyjLZvQrzX1uvQ= sha256:ujpdk2vbuSrP6e0TCJyve9jYdZ5gHBpgsHq4w6WQpKY=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:
>
>> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>>
>>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>>
>>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>>
>>>Which “unix philosophy” would that be?
>>
>> The one where init does a single task instead of spreading itself
>> throughout the system ...
>
> What “single task” did init do?
>
> * Mount filesystems
> * Spawn syslog, cron
> * Spawn terminal login processes (getty)
> * Respawn terminated getty processes
> * Monitor other special stuff in inittab
> * Spawn random other services, without monitoring their state
> * Act as a general catch-all for orphaned processes when they terminate
>
> This was all before systemd came on the scene.

Originally, mainly two things: Execute a script to kick off userspace
boot. Call wait in a loop in order to reap zombies.

System V init is somewhat more complicated than that. It has a concept
of numbered run levels and will run a configurable command in response
to runlevel change request. On linux, that's usually the script
/etc/init.d/rc. It also has some process monitoring capabilities: It can
start programs depending on the current runlevel and restart them when
they terminate. This is typically used to run getty processes for real
or virtual terminals and serial lines connected to modems.

Minus some handling of special situations (power failure, ctrl-alt-del
on PCs), that's it. Anything beyond that is done by the rc script.

One could argue that this is already a case of creature feep as process
monitoring and restarting of terminated processes and many other
process invocation management tasks can as well be provided
by dedicated programs. There's no reason to hack all of this (or rather,
some random subset of what could be provided here) into a single
codebase save developer inertia: It's less work to add code to a file
that's already compiled by some build system or to add a new file to a
code base which already has a build system than to create lots of
different, specialized tools.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 20:00 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Fri, 6 Dec 2024 20:00:54 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vivl5m$2hrka$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<viujjv$29frk$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 06 Dec 2024 21:00:54 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2bee46f68c86a6859fbc4d85e3d3f471";
logging-data="2682506"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FcQ7KIY+AiCoEdJPPBJlN"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:dU8vF3PzGWVu+Lj/AWTnkuyibhA=
View all headers

On Fri, 6 Dec 2024 10:28:15 -0000 (UTC), Muttley wrote:

> On Thu, 5 Dec 2024 20:45:36 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>
>> What “single task” did init do?
>
> Boot the system to usable state.

What would you say systemd does that is not related to that?

Subject: Re: Faking a TTY on a pipe/socketpair
From: John Ames
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Fri, 6 Dec 2024 20:37 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: commodorejohn@gmail.com (John Ames)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Fri, 6 Dec 2024 12:37:26 -0800
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <20241206123726.00004278@gmail.com>
References: <vh9vgr$5bb$1@dont-email.me>
<jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me>
<vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me>
<vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me>
<vit3dg$1quau$1@dont-email.me>
<viujjv$29frk$1@dont-email.me>
<vivl5m$2hrka$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 06 Dec 2024 21:37:31 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1d681c04cf0acb5472e5f7c5c6c22c5c";
logging-data="2589661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18u+LTovika3kbmV8J68cf1PrKeqcyhYqg="
Cancel-Lock: sha1:Z6Gn7vrMxPPKr1e5KGfXRNTnjfM=
X-Newsreader: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-w64-mingw32)
View all headers

On Fri, 6 Dec 2024 20:00:54 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:

> What would you say systemd does that is not related to that?

QR codes?

Subject: Re: Faking a TTY on a pipe/socketpair
From: Scott Lurndal
Newsgroups: comp.unix.programmer
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 6 Dec 2024 22:15 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!border-1.nntp.ord.giganews.com!border-4.nntp.ord.giganews.com!nntp.giganews.com!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Faking a TTY on a pipe/socketpair
Newsgroups: comp.unix.programmer
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad> <vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me> <vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me> <virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me> <viujjv$29frk$1@dont-email.me> <vivl5m$2hrka$1@dont-email.me> <20241206123726.00004278@gmail.com>
Lines: 12
Message-ID: <SHK4P.16314$xPr6.13198@fx10.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 06 Dec 2024 22:15:14 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 06 Dec 2024 22:15:14 GMT
X-Received-Bytes: 1375
X-Original-Bytes: 1236
View all headers

John Ames <commodorejohn@gmail.com> writes:
>On Fri, 6 Dec 2024 20:00:54 -0000 (UTC)
>Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>
>> What would you say systemd does that is not related to that?
>
>QR codes?
>

DNS. Drives me nuts, the crappy resolver in SystemCrap doesn't
work at all on a LAN which has a DNS server serving the local
domain and forwarding to external DNS resolvers.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Sat, 7 Dec 2024 10:04 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Sat, 7 Dec 2024 10:04:16 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <vj16j0$30r12$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<viujjv$29frk$1@dont-email.me>
<vivl5m$2hrka$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8
Injection-Date: Sat, 07 Dec 2024 11:04:17 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1286e61fed3327d2e64ba73071180716";
logging-data="3173410"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TkI8+1Xmmd1pd3u3tkUFf"
Cancel-Lock: sha1:UmeNodYAfjDtL79DIe0HZd8AQxQ=
View all headers

On Fri, 6 Dec 2024 20:00:54 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> gabbled:
>On Fri, 6 Dec 2024 10:28:15 -0000 (UTC), Muttley wrote:
>
>> On Thu, 5 Dec 2024 20:45:36 -0000 (UTC)
>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>
>>> What “single task” did init do?
>>
>> Boot the system to usable state.
>
>What would you say systemd does that is not related to that?

Networking, including DNS
Graphics
Logging
systemd-boot

Basically init should start the system, maintain some the running of
some essential daemons and then leave well alone.

Subject: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
From: Kenny McCormack
Newsgroups: comp.unix.programmer
Organization: The official candy of the new Millennium
Date: Sat, 7 Dec 2024 15:00 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.unix.programmer
Subject: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
Date: Sat, 7 Dec 2024 15:00:50 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <vj1nv2$1dc7k$1@news.xmission.com>
References: <vh9vgr$5bb$1@dont-email.me> <viujjv$29frk$1@dont-email.me> <vivl5m$2hrka$1@dont-email.me> <vj16j0$30r12$1@dont-email.me>
Injection-Date: Sat, 7 Dec 2024 15:00:50 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="1487092"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
View all headers

In article <vj16j0$30r12$1@dont-email.me>, <Muttley@dastardlyhq.com> wrote:
....
>>What would you say systemd does that is not related to that?
>
>Networking, including DNS
>Graphics
>Logging
>systemd-boot
>
>Basically init should start the system, maintain some the running of
>some essential daemons and then leave well alone.

I agree with you. But it underscores a major difference between two very
different ways of thinking about computing, which can be described as
"Unix-think" vs. "Windows-think".

systemd represents nothing so much as the bringing of "Windows-think" to Unix.

If one embraces "Windows-think", then systemd makes complete sense.

In fact, systemd is a lot of like the original goal of MS's "dot net",
which was to put a solid wall between the applications programmer and the
actual operating system.

--
If Jeb is Charlie Brown kicking a football-pulled-away, Mitt is a '50s
housewife with a black eye who insists to her friends the roast wasn't
dry.

Subject: Re: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Sat, 7 Dec 2024 16:05 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@dastardlyhq.com
Newsgroups: comp.unix.programmer
Subject: Re: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
Date: Sat, 7 Dec 2024 16:05:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vj1rp1$363i0$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <viujjv$29frk$1@dont-email.me> <vivl5m$2hrka$1@dont-email.me> <vj16j0$30r12$1@dont-email.me> <vj1nv2$1dc7k$1@news.xmission.com>
Injection-Date: Sat, 07 Dec 2024 17:05:54 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1286e61fed3327d2e64ba73071180716";
logging-data="3345984"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2CxdwyvOB+trXFFoGDdBC"
Cancel-Lock: sha1:+7Fy7OIWN7GoeyKAInvORVuoTq0=
View all headers

On Sat, 7 Dec 2024 15:00:50 -0000 (UTC)
gazelle@shell.xmission.com (Kenny McCormack) gabbled:
>In article <vj16j0$30r12$1@dont-email.me>, <Muttley@dastardlyhq.com> wrote:
>....
>>>What would you say systemd does that is not related to that?
>>
>>Networking, including DNS
>>Graphics
>>Logging
>>systemd-boot
>>
>>Basically init should start the system, maintain some the running of
>>some essential daemons and then leave well alone.
>
>I agree with you. But it underscores a major difference between two very
>different ways of thinking about computing, which can be described as
>"Unix-think" vs. "Windows-think".
>
>systemd represents nothing so much as the bringing of "Windows-think" to Unix.
>
>If one embraces "Windows-think", then systemd makes complete sense.

Yes, I've heard that said before and it does ring true. I guess we should be
thankful that systemd still uses text based config but I wouldn't be surprised
if some Windows like binary registry isn't somewhere on the horizon. Of course
Poettering has worked for MS for a long time so one can see where all his bad
ideas come from.

Subject: Re: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
From: Kaz Kylheku
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Sun, 8 Dec 2024 03:51 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: 643-408-1753@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.programmer
Subject: Re: Windows-think and systemd (Was: Something completely unrelated
to what we're yapping about now)
Date: Sun, 8 Dec 2024 03:51:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <20241207195024.633@kylheku.com>
References: <vh9vgr$5bb$1@dont-email.me> <viujjv$29frk$1@dont-email.me>
<vivl5m$2hrka$1@dont-email.me> <vj16j0$30r12$1@dont-email.me>
<vj1nv2$1dc7k$1@news.xmission.com>
Injection-Date: Sun, 08 Dec 2024 04:51:34 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a7f5c249dbe01658af48224af11a9e74";
logging-data="3767724"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pigz1yf3NZlbNqMs/XN+UYZyj8SvqP8I="
User-Agent: slrn/pre1.0.4-9 (Linux)
Cancel-Lock: sha1:MkcYobf50r14Fhl4xVmgh7wMWDg=
View all headers

On 2024-12-07, Kenny McCormack <gazelle@shell.xmission.com> wrote:
> If one embraces "Windows-think", then systemd makes complete sense.

Complete Windows-think would be if systemd ran all services in the same
process, so that all services die if you have to kill it.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Subject: Re: Faking a TTY on a pipe/socketpair
From: Rainer Weikusat
Newsgroups: comp.unix.programmer
Date: Mon, 9 Dec 2024 16:24 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweikusat@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Mon, 09 Dec 2024 16:24:21 +0000
Lines: 37
Message-ID: <87plm0hlje.fsf@doppelsaurus.mobileactivedefense.com>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<viujjv$29frk$1@dont-email.me> <vivl5m$2hrka$1@dont-email.me>
<vj16j0$30r12$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 4dcjwpu42fhSC0jmZn7waAjrlcujKRcTGmNrMqHf+laPv16ro=
Cancel-Lock: sha1:lIew1L4CFf2N62vwPD+z3Q7FZcA= sha1:O0Ky9oHROoj6uuRMdSU7pwXDbQA= sha256:GMU/1EM6NN3MnvuZTcI2p1UMusnJYzw5mwmQ7w2gipo=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
View all headers

Muttley@dastardlyhq.com writes:
> On Fri, 6 Dec 2024 20:00:54 -0000 (UTC)
> Lawrence D'Oliveiro <ldo@nz.invalid> gabbled:
>>On Fri, 6 Dec 2024 10:28:15 -0000 (UTC), Muttley wrote:
>>
>>> On Thu, 5 Dec 2024 20:45:36 -0000 (UTC)
>>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>>
>>>> What “single task” did init do?
>>>
>>> Boot the system to usable state.
>>
>>What would you say systemd does that is not related to that?
>
> Networking, including DNS
> Graphics
> Logging
> systemd-boot
>
> Basically init should start the system, maintain some the running of
> some essential daemons and then leave well alone.

There's no particular reason why init should implement process
management. That init is the one program which cannot easily be replaced on
a running system, is actually a good reason why it shouldn't.

At least on Linux, arbitrary processes can become so-called subreapers
for their descendant processes (prctl(2), PR_SET_CHILD_SUBREAPER). This
means not only the already specious reason¹ that only init can wait for
processes trying to "break out of process management" by double-forking
isn't really valid anymore.

¹ Well-behaved server programs shouldn't background themselves as whether or not a
particular instance should run in the background depends on the reason
why it was started. Ie, that's a system- and situation-specific policy
decision. Backgrounding can easily be provided by a special tool for
that.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Jim Jackson
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Mon, 9 Dec 2024 20:28 UTC
References: 1 2 3 4 5 6 7 8
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj@franjam.org.uk (Jim Jackson)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Mon, 9 Dec 2024 20:28:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <slrnvleknf.apv.jj@iridium.wf32df>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
Injection-Date: Mon, 09 Dec 2024 21:28:32 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1e97bee976fd2dc49c32a1542ed59564";
logging-data="592815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q7kYGJJ4eAQmNHPe8xA7FBabBsuoNcgc="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:luBct/UYzd14pfdLZ9BSB/0BNzk=
View all headers

On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
> On Thu, 5 Dec 2024 08:19:46 -0000 (UTC), Muttley wrote:
>
>> On Thu, 5 Dec 2024 02:11:04 -0000 (UTC)
>> Lawrence D'Oliveiro <ldo@nz.invalid> wibbled:
>>>
>>>On Wed, 4 Dec 2024 08:34:30 -0000 (UTC), Muttley wrote:
>>>
>>>> Linux is far closer to the unix philosphy (ignoring systemd) ...
>>>
>>>Which ???unix philosophy??? would that be?
>>
>> The one where init does a single task instead of spreading itself
>> throughout the system ...
>
> What ???single task??? did init do?
>
> * Mount filesystems
> * Spawn syslog, cron
> * Spawn terminal login processes (getty)
> * Respawn terminated getty processes
> * Monitor other special stuff in inittab
> * Spawn random other services, without monitoring their state
> * Act as a general catch-all for orphaned processes when they terminate
>
> This was all before systemd came on the scene.

Actually traditional Unix "init" didn't do ALL those things. Most tended
to have the inittab config file. Even busybox's init has.

I can't think of a pre-systemd init that mounted filesystems, or spawned
things like syslog/cron. It ran other programs/systems that did most of
system-bring-up and the process control stuff one of which was SysV
initialise setup. Which, surprize though this might sound to some
people, was, at the time, an improvement on the startup setups that had
been common previously.

Subject: Re: Windows-think and systemd (Was: Something completely unrelated to what we're yapping about now)
From: Jim Jackson
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Mon, 9 Dec 2024 20:38 UTC
References: 1 2 3 4 5
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj@franjam.org.uk (Jim Jackson)
Newsgroups: comp.unix.programmer
Subject: Re: Windows-think and systemd (Was: Something completely unrelated
to what we're yapping about now)
Date: Mon, 9 Dec 2024 20:38:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <slrnvlelb3.apv.jj@iridium.wf32df>
References: <vh9vgr$5bb$1@dont-email.me> <viujjv$29frk$1@dont-email.me>
<vivl5m$2hrka$1@dont-email.me> <vj16j0$30r12$1@dont-email.me>
<vj1nv2$1dc7k$1@news.xmission.com>
Injection-Date: Mon, 09 Dec 2024 21:39:00 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1e97bee976fd2dc49c32a1542ed59564";
logging-data="592815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CRUbJr/9YpzqrhIPTdT61ypGHWI3/ocg="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:uPqtH50zBJtUkQxNpJxaJrHTF+4=
View all headers

On 2024-12-07, Kenny McCormack <gazelle@shell.xmission.com> wrote:
> In article <vj16j0$30r12$1@dont-email.me>, <Muttley@dastardlyhq.com> wrote:
> ...
>>>What would you say systemd does that is not related to that?
>>
>>Networking, including DNS
>>Graphics
>>Logging
>>systemd-boot
>>
>>Basically init should start the system, maintain some the running of
>>some essential daemons and then leave well alone.
>
> I agree with you. But it underscores a major difference between two very
> different ways of thinking about computing, which can be described as
> "Unix-think" vs. "Windows-think".
>
> systemd represents nothing so much as the bringing of "Windows-think" to Unix.
>
> If one embraces "Windows-think", then systemd makes complete sense.
>
> In fact, systemd is a lot of like the original goal of MS's "dot net",
> which was to put a solid wall between the applications programmer and the
> actual operating system.
>

Having just had a wee look at the Android init process, it looks as if
it attempts to do the same.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Tue, 10 Dec 2024 01:27 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 01:27:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <vj85d9$lgtt$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Dec 2024 02:27:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e263dfe969bd23169cefd5851fa1b802";
logging-data="705469"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Z4qZ83+hN/o6EC4Y2u+CQ"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:cTxL/WOqNUOe1+32Cr/haBTaPEU=
View all headers

On Mon, 9 Dec 2024 20:28:31 -0000 (UTC), Jim Jackson wrote:

> Actually traditional Unix "init" didn't do ALL those things.

sysvinit certainly did. That is the usual standard of comparison, is it
not?

Subject: Re: Faking a TTY on a pipe/socketpair
From: Richard Kettlewell
Newsgroups: comp.unix.programmer
Organization: terraraq NNTP server
Date: Tue, 10 Dec 2024 08:50 UTC
References: 1 2 3 4 5 6 7 8 9
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!nntp-feed.chiark.greenend.org.uk!ewrotcd!nntp.terraraq.uk!.POSTED.tunnel.sfere.anjou.terraraq.org.uk!not-for-mail
From: invalid@invalid.invalid (Richard Kettlewell)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 08:50:20 +0000
Organization: terraraq NNTP server
Message-ID: <wwvfrmv3os3.fsf@LkoBDZeT.terraraq.uk>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: innmantic.terraraq.uk; posting-host="tunnel.sfere.anjou.terraraq.org.uk:172.17.207.6";
logging-data="28778"; mail-complaints-to="usenet@innmantic.terraraq.uk"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Cancel-Lock: sha1:XUnj45andubuesecFNhyOYmmb/Q=
X-Face: h[Hh-7npe<<b4/eW[]sat,I3O`t8A`(ej.H!F4\8|;ih)`7{@:A~/j1}gTt4e7-n*F?.Rl^
F<\{jehn7.KrO{!7=:(@J~]<.[{>v9!1<qZY,{EJxg6?Er4Y7Ng2\Ft>Z&W?r\c.!4DXH5PWpga"ha
+r0NzP?vnz:e/knOY)PI-
X-Boydie: NO
View all headers

Jim Jackson <jj@franjam.org.uk> writes:
> On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>> What ???single task??? did init do?
>>
>> * Mount filesystems
>> * Spawn syslog, cron
>> * Spawn terminal login processes (getty)
>> * Respawn terminated getty processes
>> * Monitor other special stuff in inittab
>> * Spawn random other services, without monitoring their state
>> * Act as a general catch-all for orphaned processes when they terminate
>>
>> This was all before systemd came on the scene.
>
> Actually traditional Unix "init" didn't do ALL those things. Most
> tended to have the inittab config file. Even busybox's init has.

Depends if you mean init=/sbin/init or init=the entire sysvinit system.
If you(plural) are going talk about init systems then you need to agree
terms.

--
https://www.greenend.org.uk/rjk/

Subject: Re: Faking a TTY on a pipe/socketpair
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Tue, 10 Dec 2024 09:23 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Muttley@DastardlyHQ.org
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 09:23:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vj91a1$t8pn$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df>
<wwvfrmv3os3.fsf@LkoBDZeT.terraraq.uk>
Injection-Date: Tue, 10 Dec 2024 10:23:14 +0100 (CET)
Injection-Info: dont-email.me; posting-host="765bccbb4989363ae0e9b6e61725621f";
logging-data="959287"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX197O1m21ydKX5zWzZSOqfvy"
Cancel-Lock: sha1:Z6jKhRih6BvFfBDQnJORr+kSvgs=
View all headers

On Tue, 10 Dec 2024 08:50:20 +0000
Richard Kettlewell <invalid@invalid.invalid> wibbled:
>Jim Jackson <jj@franjam.org.uk> writes:
>> On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>> What ???single task??? did init do?
>>>
>>> * Mount filesystems
>>> * Spawn syslog, cron
>>> * Spawn terminal login processes (getty)
>>> * Respawn terminated getty processes
>>> * Monitor other special stuff in inittab
>>> * Spawn random other services, without monitoring their state
>>> * Act as a general catch-all for orphaned processes when they terminate
>>>
>>> This was all before systemd came on the scene.
>>
>> Actually traditional Unix "init" didn't do ALL those things. Most
>> tended to have the inittab config file. Even busybox's init has.
>
>Depends if you mean init=/sbin/init or init=the entire sysvinit system.
>If you(plural) are going talk about init systems then you need to agree
>terms.

Its probably fair to say that because the traditional init system uses
shell scripts and hence can do anything you like they often did. But the
core part should really just be limited to starting the machine and getting
enough things running for a user to log on (or if its a black box to do its
task).

Subject: Re: Faking a TTY on a pipe/socketpair
From: Jim Jackson
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Tue, 10 Dec 2024 12:26 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jj@franjam.org.uk (Jim Jackson)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 12:26:07 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <slrnvlgcqv.3vn.jj@iridium.wf32df>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df> <wwvfrmv3os3.fsf@LkoBDZeT.terraraq.uk>
<vj91a1$t8pn$1@dont-email.me>
Injection-Date: Tue, 10 Dec 2024 13:26:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="068f2c841c5ec49f82cb8d2bf4f7fbc5";
logging-data="1014886"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XoKB+nDhABW8x/m0+SppX9KzN8sGLdmM="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:kO6KZeVR53qVCXXEARoQhh1loU8=
View all headers

On 2024-12-10, Muttley@DastardlyHQ.org <Muttley@DastardlyHQ.org> wrote:
> On Tue, 10 Dec 2024 08:50:20 +0000
> Richard Kettlewell <invalid@invalid.invalid> wibbled:
>>Jim Jackson <jj@franjam.org.uk> writes:
>>> On 2024-12-05, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>>> What ???single task??? did init do?
>>>>
>>>> * Mount filesystems
>>>> * Spawn syslog, cron
>>>> * Spawn terminal login processes (getty)
>>>> * Respawn terminated getty processes
>>>> * Monitor other special stuff in inittab
>>>> * Spawn random other services, without monitoring their state
>>>> * Act as a general catch-all for orphaned processes when they terminate
>>>>
>>>> This was all before systemd came on the scene.
>>>
>>> Actually traditional Unix "init" didn't do ALL those things. Most
>>> tended to have the inittab config file. Even busybox's init has.
>>
>>Depends if you mean init=/sbin/init or init=the entire sysvinit system.
>>If you(plural) are going talk about init systems then you need to agree
>>terms.

Yes of course. But he did mention "init" which I take to mean pid 1.

> Its probably fair to say that because the traditional init system uses
> shell scripts and hence can do anything you like they often did. But the
> core part should really just be limited to starting the machine and getting
> enough things running for a user to log on (or if its a black box to do its
> task).

Doesn't have to be shell scripts - init just launched programs, e.g.
getty on serial lines, etc.

I think Android init does quite a bit more.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Lawrence D'Oliv
Newsgroups: comp.unix.programmer
Organization: A noiseless patient Spider
Date: Tue, 10 Dec 2024 20:55 UTC
References: 1 2 3 4 5 6 7 8 9 10 11
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: ldo@nz.invalid (Lawrence D'Oliveiro)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 20:55:05 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <vja9r8$14k6s$1@dont-email.me>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df> <wwvfrmv3os3.fsf@LkoBDZeT.terraraq.uk>
<vj91a1$t8pn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 10 Dec 2024 21:55:05 +0100 (CET)
Injection-Info: dont-email.me; posting-host="e263dfe969bd23169cefd5851fa1b802";
logging-data="1200348"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18aiuCZ573Y8D9S0D5+CoRX"
User-Agent: Pan/0.161 (Chasiv Yar; )
Cancel-Lock: sha1:0dIa2ACwKsjaCChGXLpEO9Yat24=
View all headers

On Tue, 10 Dec 2024 09:23:13 -0000 (UTC), Muttley wrote:

> But the core part should really just be limited to starting the
> machine and getting enough things running for a user to log on (or
> if its a black box to do its task).

One thing lacking from sysvinit is, while it can start a service, it
cannot ensure the service was started properly, and it cannot perform
reliable service shutdown. So the job of service management was really
only half-done.

Subject: Re: Faking a TTY on a pipe/socketpair
From: Rainer Weikusat
Newsgroups: comp.unix.programmer
Date: Tue, 10 Dec 2024 21:01 UTC
References: 1 2 3 4 5 6 7 8 9 10
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: rweikusat@talktalk.net (Rainer Weikusat)
Newsgroups: comp.unix.programmer
Subject: Re: Faking a TTY on a pipe/socketpair
Date: Tue, 10 Dec 2024 21:01:56 +0000
Lines: 16
Message-ID: <87v7vrjlq3.fsf@doppelsaurus.mobileactivedefense.com>
References: <vh9vgr$5bb$1@dont-email.me> <jHw3P.41603$vLg2.41154@fx17.iad>
<vimf13$3uoji$1@dont-email.me> <vinp86$avd9$1@dont-email.me>
<vip46l$omqu$1@dont-email.me> <vir23n$17csf$5@dont-email.me>
<virnn2$1g9ja$1@dont-email.me> <vit3dg$1quau$1@dont-email.me>
<slrnvleknf.apv.jj@iridium.wf32df> <vj85d9$lgtt$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: individual.net rutbk61h+QRD+uc+8D7rFgZY6k3O1aSu/QMJBjcxeO+DYwxxE=
Cancel-Lock: sha1:wyVgVrE+tNUo78qWTjECjtaysnQ= sha1:3xw8lBeedYJ/jnWhdoUWUB6uEqA= sha256:V+CayEyPDOQRM9JeY1N+XQvAAnXZl8kbDB2dVFO18gI=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
View all headers

Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> On Mon, 9 Dec 2024 20:28:31 -0000 (UTC), Jim Jackson wrote:
>
>> Actually traditional Unix "init" didn't do ALL those things.
>
> sysvinit certainly did. That is the usual standard of comparison, is it
> not?

It certainly didn't. sysvinit is a program. There source code is, for example, online
here

https://github.com/slicer69/sysvinit/blob/main/src/init.c

and all this does is execute configurable other programs in a couple of
different ways (mostly respawn, exec once and exec once and wait for it)
in response to runlevel changes.

Pages:12345

rocksolid light 0.9.8
clearnet tor