How to reproduce a bug:
# conf # set system time-zone Europe/Amsterdam # commit-confirm # y # commit # run show reboot No reboot currently scheduled # exit # sudo -i # atd -l => get no output
but
# ls -al /boot/wr/var/spool/cron/atjobs/ show new task (datetime = commit-confirm) : -rwx--------- 1 daemon daemon a0000501874311
and after N minutes we have rebooted VyOS by cron atd.
The second situation.
If the server is restarted manually after executing commit-confirm, the task from the atd queue is not deleted and the server is restarted again.