Article View: de.comp.os.unix.linux.misc
Article #832Re: Init
From: Stefan Froehlich
Date: Sun, 01 Nov 2026 18:22
Date: Sun, 01 Nov 2026 18:22
53 lines
3891 bytes
3891 bytes
On Sun, 01 Nov 2026 17:31:57 Ralph Aichinger wrote: > Stefan Froehlich <Stefan+Usenet@froehlich.priv.at> wrote: >> Hm, das ist irgendwie doof. Die inittab ist natürlich ungleich >> spartanischer als das, was systemd bietet, aber *ganz* so simpel >> gestrickt ist sie dann auch wieder nicht. Wozu der Aufwand, wenn >> man ihn so gut wie gar nicht verwendet hat? > Also ich kenne es so, dass schon um 1992 Leute die sich damals > besser damit ausgekannt haben als ich als Notfallmaßnahme einen > immer wieder mal sterbenden Serverprozess als Workaround und Hack > aus der Inittab automatisch neu gestartet haben, das aber als > unbefriedigend gesehen haben. Ich habe, als ich 1993 auf Linux gestoßen bin, mir das alles durchgelesen und voll Freude irgendetwas, das ich längst vergessen habe, mit der inittab angestellt. Das hatte (no na) auch gut funktioniert. Aber im Grund genommen war das ganze Konzept damals schon ein totes Pferd, das man auch durch etwas deutlich einfacheres hätte ablösen können. > Eventuell war das noch mal 5 oder 10 Jahre vorher noch anders. Google meint, die Ursprünge längen bei AT&T Unix System III, das wäre dann 1981 gewesen. <https://archive.org/details/bitsavers_attunixSysalRelease3Jun80_33886798/page/n617/mode/2up> bestätigt das jedenfalls als obere Grenze (Tippfehler von mir): | When a state is entered, init reads the file /etc/inittab. Lines | in this file have the format: | | state:id:flags:command | | All lines in which the state field match init's current state are | recognized. If a process is active under the same two character id | as a recognized line, it may be terminated (signal 15), killed | (signal 9), or both by including the flags t and k in the order | desired. The signal is sent to all processes in the process group | associated with the id. The command field is saved for later | execution. The flag c requires the command to be continuously | reinvoked whenever the process with that id dies. Otherwise the | command is invoked a maximum of one time in the current state. Beispieldateien dazu habe ich aber leider keine gefunden. Servus, Stefan -- http://kontaktinser.at/ - die kostenlose Kontaktboerse fuer Oesterreich Offizieller Erstbesucher(TM) von mmeike Stefan - der Traum zu lutschen! (Sloganizer)
Technical Details
Message-ID:
<1t6ae78091i3a9855n3e8%sfroehli@Froehlich.Priv.at>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<v324rm-jfl.ln1@news.muster.net> <20261028220450.50c73489@Achmuehle.WOR> <11bv0k0$35tnc$1@dont-email.me> <20261031004651.06fba72f@Achmuehle.WOR> <11c5bb0$1b86u$1@dont-email.me> <20261031210014.7ea64281@Achmuehle.WOR> <11c5lnj$1fbfq$2@dont-email.me> <slrn11ecub2.2lfv5.als@mordor.angband.thangorodrim.de> <3t6ae71ebdi2ce6d4n3e8%sfroehli@Froehlich.Priv.at> <slrn11eefrr.2ck05.hjp-usenet4@trintignant.hjp.at> <1t6ae74e50i33ce5cn3e8%sfroehli@Froehlich.Priv.at> <11c7pht$q3d$2@gwaiyur.mb-net.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich)
Newsgroups: de.comp.os.unix.linux.misc
Subject: Re: Init
Date: 1 Nov 2026 18:22:58 GMT
Lines: 53
Message-ID: <1t6ae78091i3a9855n3e8%sfroehli@Froehlich.Priv.at>
References: <v324rm-jfl.ln1@news.muster.net> <20261028220450.50c73489@Achmuehle.WOR> <11bv0k0$35tnc$1@dont-email.me> <20261031004651.06fba72f@Achmuehle.WOR> <11c5bb0$1b86u$1@dont-email.me> <20261031210014.7ea64281@Achmuehle.WOR> <11c5lnj$1fbfq$2@dont-email.me> <slrn11ecub2.2lfv5.als@mordor.angband.thangorodrim.de> <3t6ae71ebdi2ce6d4n3e8%sfroehli@Froehlich.Priv.at> <slrn11eefrr.2ck05.hjp-usenet4@trintignant.hjp.at> <1t6ae74e50i33ce5cn3e8%sfroehli@Froehlich.Priv.at> <11c7pht$q3d$2@gwaiyur.mb-net.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net f3rwYx0/yvngNpz4AI4/+wkTcl/yAVwhUF4Nxl8oJGYUI8h7s=
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:WCd7b6+iadkdpV2Aj79WCLNuYcc= sha256:kN4ArIv9t/jFKPDuOmDl/JDCEx0RifwX/aWuAJ3fAYo=
X-Blattlinie: dieser Artikel repraesentiert meine persoenliche Meinung
X-Medieninhaber: Stefan Froehlich
X-Verleger: Stefan Froehlich
X-Verlagsort: Wien
X-Anschrift: 1230, Faerbermuehlgasse 4/2
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (Linux/6.1.0-13-amd64 (x86_64))