You are not logged in.

#1 2022-10-11 05:38:08

Firestar
Member
From: Beijing, China
Registered: 2021-07-19
Posts: 116
Website

watchdog and wall messages during shutdown and reboot

1. watchdog

Disable watchdog:

blacklist the following as such:
```
blacklist iTCO_wdt 
blacklist iTCO_vendor_support
```
write in file `watchdog.conf` and place in `/etc/modprobe.d/`

Disable nmi_watchdog:

In GRUB add `nowatchdog nmi_watchdog=0` in kernel boot parameter and UPDATE GRUB

To check:

cat /proc/sys/kernel/nmi_watchdog
cat /proc/sys/kernel/watchdog

Should both show 0

After this I still got `watchdog did not stop` when reboot and shutdown

2. wall messages

https://forum.manjaro.org/t/after-recen … n/114194/2 says that:

> systemd 251.2 removes wall messages from suspend

https://github.com/systemd/systemd/pull/23574

but now it is  systemd 251.5-1 and I still can see `The system is going down for poweroff/reboot NOW!`

I set (I use KDE) systemsettings >> Login Screen (SDDM) >> Behaviour >>

Halt command: /usr/bin/systemctl poweroff --no-wall
Reboot command: /usr/bin/systemctl reboot --no-wall

do not work

but I run  `poweroff --no-wall` and `reboot --no-wall` from terminal can close wall messages

Last edited by Firestar (2022-10-11 08:27:29)


Write programs that do one thing and do it well.
Write programs to work together.
Write programs to handle text streams, because that is a universal interface.

Offline

#2 2022-10-11 06:37:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: watchdog and wall messages during shutdown and reboot

Yes this is expected. The only way this will generally change is if KDE/insert DE adjusts their internal shutdown commands. I'd strongly suggest you just ignore the message you are going to see once for a second at most.

You can't generally prevent this unless systemd provides an option to override the default again.

Last edited by V1del (2022-10-11 06:40:08)

Offline

Board footer

Powered by FluxBB