Every mainstream distribution ships a way to install updates without a person: unattended-upgrades on Debian and Ubuntu, dnf-automatic on RHEL, Rocky, Alma, Fedora and Amazon Linux 2023. They are free, maintained by the distributions, and for a handful of servers they may be all you need.
The question is what happens at twenty servers, or two hundred. This page describes what the built-in tools do, exactly which options control them, and what a patch management tool such as SysWard (ours) adds on top.
The short version
| Question | Built-in automatic updates | A patch management tool |
|---|---|---|
| Will security updates get installed? | Yes, on each host where it is configured and working | Yes, on the schedule you set |
| Which hosts did not update last night? | Check each host’s logs or mail | One list |
| Which hosts are waiting for a reboot? | Check each host | One list |
| Are we exposed to a given CVE? | Not answered | Yes, per host |
| Can I patch staging before production? | Only by giving hosts different timers | Yes, by group |
| What was applied, when, on this host? | In that host’s logs | Recorded centrally |
What unattended-upgrades does
It installs updates from the origins you allow, driven by apt-daily.timer and apt-daily-upgrade.timer. On Ubuntu it is installed by default, and Ubuntu’s documentation says automatic installation of security updates is enabled right after installation.
The options that matter, with their shipped defaults on Ubuntu:
| Option | Default | What it does |
|---|---|---|
Unattended-Upgrade::Allowed-Origins | release, security and ESM pockets | Which repositories it may install from |
Unattended-Upgrade::Automatic-Reboot | "false" | Reboot without confirmation when /var/run/reboot-required exists |
Unattended-Upgrade::Automatic-Reboot-Time | "now" if unset | When that reboot happens |
Unattended-Upgrade::Mail | empty | Address for a report; needs working mail on the host |
Unattended-Upgrade::MailReport | "on-change" | When to send it |
Unattended-Upgrade::Package-Blacklist | empty | Packages it must never upgrade |
Unattended-Upgrade::Remove-Unused-Dependencies | "false" | Remove packages no longer needed |
What dnf-automatic does
The dnf documentation calls it an alternative command line for dnf upgrade, made to be run from systemd timers or cron. Its behaviour comes from /etc/dnf/automatic.conf:
| Option | Default | What it does |
|---|---|---|
apply_updates | False | Install the updates, not only download or report them |
upgrade_type | default | security limits it to updates with a security advisory |
reboot | never | when-needed reboots when a kernel or systemd update requires it; when-changed after any upgrade |
emit_via | email, stdio, motd | Where the result is reported |
random_sleep | 0 | Spread the start time |
On RHEL, which timer you enable decides the action (dnf-automatic-notifyonly.timer, -download.timer, -install.timer), and the timer overrides the file.
Where the built-in tools stop
Both are designed around one host. Their own documentation describes local logs, mail, standard output and the message of the day as the places results go. Ubuntu’s page on automatic updates says the feature is not meant to replace fleet management software, and lists staged rollouts among the things larger deployments need.
In practice four gaps appear as a fleet grows:
- Silent failure. A broken repository, a held package or a full disk stops updates on one host, and the only evidence is in that host’s log.
- Reboots. With the default settings a kernel fix is installed and not running until someone reboots. Nothing lists the hosts in that state.
- No answer to “are we exposed?” The tools install what is available. They do not say which CVEs a host is still affected by, or which of those are being exploited.
- No staging. Every host takes updates on its own timer. Patching test before production means maintaining different timer settings by hand.
Side by side
| unattended-upgrades / dnf-automatic | SysWard | |
|---|---|---|
| Scope | One host each | The fleet: Ubuntu, Debian, RHEL, CentOS, Rocky, Alma, SUSE, Amazon Linux |
| Price | Free, part of the distribution | Free for 5 servers; then $1 per server per month |
| Installs updates | By timer, from allowed origins | By group, in the windows you schedule |
| Fleet view of pending updates | None | Per host, always current |
| Reboot status | A file or exit code on each host | Shown per host |
| CVE exposure | Not included | CVEs matched to installed packages, with CISA KEV flags and EPSS |
| Record | Local logs and mail | Per-host patch history; findings and remediation history exported to CSV |
When the built-in tools are enough
- A few servers that you look at regularly.
- No requirement to show anyone what was patched and when.
- Automatic reboots are acceptable, or you reboot on a routine.
Using them together
You do not have to choose. A sensible arrangement:
- Leave automatic security updates on. Hosts stay close to current with no effort.
- Install the SysWard agent. It reports installed packages and pending updates however the updates were applied, so you see the hosts where automatic updates stopped working and the ones waiting for a reboot.
- Schedule the rest. Non-security updates, held packages and the reboots, by group, in a window.
- Use the CVE list for the exceptions. When a vulnerability is being exploited, filter to the hosts still affected and patch those first.
If you move patching fully into SysWard instead, disable apt-daily-upgrade.timer or the dnf-automatic install timer on those hosts so two schedulers do not overlap.
Related: how to automate Linux server patching, Ubuntu patch management, Debian patch management and RHEL patching step by step.
Sources
Checked November 28, 2026.