Sujet : Re: Shutdown - 25 Years Later
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 18. Apr 2025, 19:31:12
Autres entêtes
Message-ID : <m6fk3gFpc82U1@mid.individual.net>
References : 1 2
User-Agent : Pan/0.160 (Toresk; )
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.
On Ubuntu 24.10 shutdown, reboot, and poweroff are symlinks to systemctl.
On Fedora 42 there is an additional step:
/usr/sbin/shutdown -> /bin/shutdown -> /bin/systemctl
Raspberry Pi OS, which is derived from Debian, is the same as Ubuntu.