Using panelEvery page

Changes that wait to be kept

A change can be correct and still cut you off. Say you add a firewall rule that closes the port you're using. Or you give a new address to the port you came in on. Or you change the Wi-Fi password from a laptop that's on that Wi-Fi. So for changes like these, panel doesn't keep them straight away. It tries the change first. If you don't tell it to keep the change, it puts the old settings back.

A change is tried first, and kept only when you say soYou change something to Tried. Tried to Kept: Keep. Tried to Put back.You change somethinga rule, an addressTriedthe band counts downKeptKeep reached the machinePut backno Keep in time, or UndoKeep
A change is tried first, and kept only when you say so

What waits

  • The firewall's rules and port forwards.
  • DNS and DHCP settings.
  • The addresses of the network ports.
  • The VPN tunnel.
  • The Wi-Fi settings.
  • Switching the router on and off.
  • An update of panel itself, and restoring a backup.

The band

While a change is waiting, a band at the top of every page counts down. It has Keep, a way to get more time, and a way to undo the change right now. Press Keep once you can see that everything still works.

Keep has to reach the machine over a new connection. If the change cut you off, your Keep can't get through. When the time runs out, the machine puts the old settings back by itself. Nobody has to drive over to fix it.

If the machine restarts meanwhile

panel saves the waiting change on disk, not just in memory. So when the machine starts again:

  • If the time ran out while it was off, the old settings come back as it starts.
  • If there's time left, the change stays, and the countdown carries on where it was.

That also means you can undo a change that cut the machine off, by switching the machine off for longer than the countdown.

An update of panel

An update installs next to the version that's running, and panel restarts into it. Then you keep it, just like any other change:

  • If the machine starts a second time and the update wasn't kept, panel goes back to the previous version. So if a new version won't start at all, switch the machine off and on, and you're back.
  • An update that nobody keeps is also undone if the machine starts more than ten minutes after the update first ran.
  • If the disk has become read-only, updates and rollbacks won't start at all. That usually means a failing SD card. panel refuses so it doesn't stop halfway.

From a console, panelctl upgrade status, confirm and revert also work while panel is stopped. See panelctl(1).

A restore

A restore first shows you what it would change, before it changes anything. It then saves a copy of how things are now, and asks for a restart. After that, the restore waits until somebody keeps it or undoes it, on the Maintenance page. If the machine starts a second time without it being kept, panel undoes the restore.