Re: Shutdown - 25 Years Later

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Shutdown - 25 Years Later
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy comp.os.linux.misc
Suivi-à : comp.os.linux.advocacy
Date : 18. Apr 2025, 20:02:08
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$55efe$f03dde5d$5d3bc1ca$18cd8169@linux.rocks>
References : 1 2
On Fri, 18 Apr 2025 12:27:25 +0200, Marc Haber wrote:

Farley Flud <ff@linux.rocks> wrote:
Note: the "shutdown" command belongs the package "sysvinit"
and probably has been replaced within the junk Systemd that
has grabbed the balls of most, but not all (and certainly
not mine), GNU/Linux distros.
 
Surprisingly, in Debian the shutdown binary is in the systemd-sysv
package and will thus vanish as soon as we¹ eventually get rid of the
last init script, but I am pretty sure that shutdown nowadays just
issues a command to systemd like the appropriate systemctl reboot or
systemctl halt.
 

So too does the sysvinit version of shutdown, but the command (or signal)
is sent to the program "init", which is the program called by the kernel
on boot (but that also can be overridden).

Init then consults the file "/etc/inittab" which then determines the
next course of action.

In former/current distros the init program will execute a script
that was/is supplied by the distro maintainers, but any user can
easily substitute his own script.

But even with sysvinit, the distro-supplied scripts were oriented
toward multi-user, server environments which is totally ridiculous
for a stand-alone, desktop workstation.

Sysvinit, in contrast to that abomination known as systemd, is
simplicity and elegance in the flesh.  I, and anyone, can supply
my own boot and shutdown scripts that will conform to the specific
purpose of the machine.

GNU/Linux is far more flexible and adaptable than even the lackey
distro maintainers could ever realize.



--
Systemd: solving all the problems that you never knew you had.

Date Sujet#  Auteur
18 Apr 25 * Re: Shutdown - 25 Years Later11Marc Haber
18 Apr 25 +* Re: Shutdown - 25 Years Later2vallor
18 Apr 25 i`- Re: Shutdown - 25 Years Later1%
18 Apr 25 +- Re: Shutdown - 25 Years Later1rbowman
18 Apr 25 +- Re: Shutdown - 25 Years Later1Farley Flud
19 Apr 25 +* Re: Shutdown - 25 Years Later2Lawrence D'Oliveiro
20 Apr 25 i`- Re: Shutdown - 25 Years Later1rbowman
22 Apr 25 `* Re: Shutdown - 25 Years Later4Lawrence D'Oliveiro
22 Apr 25  `* Re: Shutdown - 25 Years Later3vallor
22 Apr 25   +- Re: Shutdown - 25 Years Later1Lawrence D'Oliveiro
22 Apr 25   `- Re: Shutdown - 25 Years Later1candycanearter07

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal