Re: Shutdown - 25 Years Later

Liste des GroupesRevenir à col advocacy 
Sujet : Re: Shutdown - 25 Years Later
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy
Date : 19. Apr 2025, 23:30:51
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vu186r$2d0f6$3@dont-email.me>
References : 1 2
User-Agent : Pan/0.162 (Pokrosvk)
On Fri, 18 Apr 2025 12:27:25 +0200, Marc Haber wrote:

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.

    root@theon:~ # ls -l /usr/sbin/shutdown
    lrwxrwxrwx 1 root root 16 Mar 14 04:25 /usr/sbin/shutdown -> ../bin/systemctl
    root@theon:~ # dpkg-query -S /usr/sbin/shutdown
    systemd-sysv: /usr/sbin/shutdown

So ... nothing but a symlink. But doesn’t it fully support the usual
shutdown options, including delay?

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