Page MenuHomeVyOS Platform

Show a warning if the router is going to reboot soon (due to "commit-confirm" command)
Closed, ResolvedPublicFEATURE REQUEST

Description

Several times I've used the commit-confirm function and in approximate 50% times I've forgot to confirm the config changes (and a router rebooted).

It's would be nice to see a waning if the router going to reboot in 5/3/1 minutes.

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

KrzysioD removed a subscriber: KrzysioD.
KrzysioD added a subscriber: KrzysioD.
syncer triaged this task as Wishlist priority.Jun 3 2018, 8:19 AM
Unknown Object (User) added a subscriber: Unknown Object (User).Sep 24 2018, 6:56 AM
This comment was removed by syncer.
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Jan 27 2021, 7:15 PM
dmbaturin set Is it a breaking change? to Perfectly compatible.
dmbaturin added a subscriber: dmbaturin.

I think we can make it a systemd service that is started on commit-confirm and stopped on confirm.

Would it be too hard to hack the legacy config management script into using systemd for scheduling reboots instead of atd?

Yes, but since it won't solve the notification problem, these are separate concerns. Let's make a new task for migrating that script from atd to systems for scheduling reboots.

I opened T3285 to it. Once the switch to shutdownd is done, I'll incorporate a service that warns the user of an impending shutdown.

This PR adds the notification script.

dmbaturin set Issue type to Improvement (missing useful functionality).Sep 3 2021, 7:38 AM
dmbaturin renamed this task from Show a warning if router going to reboot soon (due to "commit-confirm" command) to Show a warning if the router is going to reboot soon (due to "commit-confirm" command).Sep 10 2021, 6:10 AM