Re: Shutdown - 25 Years Later

Liste des GroupesRevenir à col misc 
Sujet : Re: Shutdown - 25 Years Later
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.advocacy comp.os.linux.misc
Date : 18. Apr 2025, 11:41:58
Autres entêtes
Message-ID : <m6eojlFk2hbU5@mid.individual.net>
References : 1 2
User-Agent : Pan/0.162 (Hmm4; f9fe01f7; Linux-6.14.2)
On Fri, 18 Apr 2025 12:27:25 +0200, Marc Haber
<mh+usenetspam1118@zugschl.us> wrote in <vtt9ee$heug$1@news1.tnib.de>:

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.
 
Unfortunately, systemd doesn't offer a native equivalent to a timed
shutdown, so one has to do an arcane construct involving systemd-run and
a transient unit to achive that, but that's just the way things are. Not
everything around systemd is good.
 
That being said, don't feed the troll any more.
 
Greetings Marc
 
 
¹ Debian

Hi Marc,

Just checked the man page for shutdown(8), and it says it was
added to systemd 250.  It supports the timespec and wall parameters,
but I'm not sure how well...

Anyway, I'm running 255 on Linux Mint 22.1, which
seems to have been pulled in from the System76 repo that I use:

$ systemd --version
systemd 255 (255.4-1ubuntu8.6pop0~1742486928~24.04~40a1bd7~dev)
[...]

--
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.14.2 Release: Mint 22.1 Mem: 258G
   "Radioactive cats have 18 half-lives."

Date Sujet#  Auteur
18 Apr 25 * Re: Shutdown - 25 Years Later3vallor
18 Apr 25 +- Re: Shutdown - 25 Years Later1%
18 Apr 25 `- Re: Shutdown - 25 Years Later1Carlos E.R.

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal