Dans cette situation, j'essaierais :
sudo systemctl poweroff
(avec envoi de message à tous les utilisateurs) ;
ou la variante sans envoi de message :
sudo systemctl poweroff --no-wall
.
Parce que
man systemctl
dit :
poweroff
Shut down and power-off the system. This is mostly equivalent to systemctl start
poweroff.target --job-mode=replace-irreversibly --no-block, but also prints a wall
message to all users. This command is asynchronous; it will return after the power-off
operation is enqueued, without waiting for it to complete.
If combined with --force, shutdown of all running services is skipped, however all
processes are killed and all file systems are unmounted or mounted read-only,
immediately followed by the powering off. If --force is specified twice, the operation
is immediately executed without terminating any processes or unmounting any file
systems. This may result in data loss. Note that when --force is specified twice the
power-off operation is executed by systemctl itself, and the system manager is not
contacted. This means the command should succeed even when the system manager has
crashed.
.
[center]= =[/center]
Ne pas confondre avec halt :
man systemctl a écrit
halt
Shut down and halt the system. (...) Note that this operation will simply
halt the OS kernel after shutting down, leaving the hardware powered on.
Use systemctl poweroff for powering off the system