2

I have configured systemd to use hardware watchdog. My kernel version is 5.10 This is the configuration

RuntimeWatchdogSec=120 in /etc/systemd/system.conf
WatchdogDevice=/dev/watchdog1

I can see that the systemd is kicking the hw watchdog and the system is running fine. I need to test if this hw watchdog indeed resets the hardware so I need to make systemd stop kicking it at run time. Is this possible ?

I am not able to kill the systemd process.

1 Answer 1

5

Attach a debugger to the systemd process. This will pause it until you detach.

# gdb -p 1
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .