Skip to content

See what the reboot check runs

Machine verified A machine ran this on our install and checked the result against the CLI. A test report is linked. Proven against quoxcli 0.6.2 on 2026-11-23.

What will the reboot check actually do?

Quox ships ready-made fleet recipes. Ask what one runs before you point it at a server, then read it yourself.

What you get: the exact command a recipe will run on your servers, and whether it changes anything, before you run it.

Ask in plain words:

quox · talking to Quox

There is a ready-made check for whether a server needs a reboot. Before I use it, what exactly does it run on the box, and is it safe to run?

▤ AOCL │ L1 identity complete · allowed · 1ms

▤ AOCL │ L3 policy gate complete · proceed · 2ms

◐ QUOX │ cli ✔ QUOX │ cli │ 0 exit code, 5090 duration ms · 6.3s

⛓ AEE │ envelope opened · ops.tool · quox_cli ok

⛓ AEE │ envelope opened · stream_success

It's the built-in recipe  reboot-required  ("Reboot required?"), and it's safe to run.
It is classed as read only.

It runs one command on the box:

 test -f /var/run/reboot-required && cat /var/run/reboot-required.pkgs || echo none 

• It checks whether the file  /var/run/reboot-required  exists. Debian and Ubuntu create
  that file after an update that needs a restart.
• If the file exists, it prints  /var/run/reboot-required.pkgs , which lists the
  packages that asked for the reboot.
• If the file doesn't exist, it prints  none .

Nothing is written, installed, restarted or changed. It takes no parameters and doesn't
run detached, so it finishes and returns its output.

• Non-Debian hosts: The file is a Debian and Ubuntu convention. On a RHEL-style host,  
  none  would only mean the file isn't there. It wouldn't prove no reboot is needed.
• Missing package list: If the file exists but the  .pkgs  list doesn't,  cat  fails and
  the command prints  none . That would be a false negative, though it's rare.

I can run it against a particular host if you'd like. Tell me which one.

21.1s · 1 tool · 0 approvals

A real turn on our own install (CLI 0.6.2, 23 Nov 2026), replayed at speed. Names changed. Type the same words into quox.
✔ Machine verified against the CLI on 23 Nov 2026 · test report mwthdf

Quox read the recipe and changed nothing. It quoted the one command the recipe runs and said it only reads. It also pointed out two limits of the check itself: the flag file is a Debian and Ubuntu habit, and a missing package list makes the check print none even when a reboot is due.

the recipes you have
quox fleet recipe listName               Risk    Source      Detached    Lines    Titlemotd-audit         read    built-in    no          2        MOTD auditreboot-required    read    built-in    no          1        Reboot required?
From a real run on our own install.

Risk says whether a recipe only reads or makes a change. Lines is how many commands it runs. Your own recipes show org under Source.

one recipe, every command
quox fleet recipe show reboot-requiredname          reboot-requiredtitle         Reboot required?risk          readsource        built-in (read-only)detached      noparams        nonedescription   Print the packages that need a reboot, or 'none'. Read only. Commands:test -f /var/run/reboot-required && cat /var/run/reboot-required.pkgs || echo none
From a real run on our own install.

show prints every command line the recipe will run, so you can read it before it touches a server.

Quox read the recipe list from your install. No command ran on any server, and nothing was changed.