The server updates automatically
while the administrator is away.
A fully automated and reliable update process that runs in the background. First, the system checks all packages, then simulates the changes to make sure the update will not cause problems. Then it safely applies all updates while preserving all your settings.
Principle of declarative management
AGL clearly separates the administrator's intent from technical execution. The complex only provides the capability (for example, "Enable automatic updates") and does not dictate how it should be done. A dedicated management module takes responsibility for enforcing this declaration by comparing the required list with the actual state of the system. Important: this module strictly follows your instructions and never changes your settings, ensuring predictability and stability.
Seven circuits, one breath
1 flock soft lock: busy = WARNING + exit 0, not alarm 2 config check the main toggle: off — the cycle sleeps 3 apt-get update non-fatal: mirror down ≠ cycle dead 4 apt-get -s simulate count; zero → last_run marker and clean exit 5 dist-upgrade --force-confdef --force-confold: configs untouched 6 reboot check marker /var/run/reboot-required plus reboot toggle 7 shutdown -r +1 delayed: one minute to react and cancel
We eliminated the risk of "silence" in the logs. The last_run marker allows you to determine the update status unambiguously: either the cycle completed and confirmed that no update was required, or the cycle did not run. You always know what is happening with your server protection.
Reboot control
If updates require a reboot, the system will not force it. Instead, it sets a special system marker and sends a notification to the operator in the log file: INFO REBOOT_SKIPPED. You have 60 seconds to cancel the reboot. If no cancellation occurs, the process initializes automatically. If a reboot is not required, the system records that the action was skipped and continues running. If the system requires a reboot, the system can perform that as well. The administrator does not even need to log into the server — everything happens automatically and predictably. Activation of the reboot option is also configured in the global settings of the complex.
04:00 ~ 1 hour
Overload protection: Instead of starting all updates at a strictly defined time (for example, exactly at 4 a.m.), the system uses a random delay. This prevents simultaneous load on update channels and update servers, eliminating the risk of failures caused by overload.
Conflict protection: Safe launch mechanism
The AGL complex performs updates in such a way that they are executed without compromise. The system prevents multiple update processes from running simultaneously, ensuring maximum integrity and safety. Even if, for any operational reason, the process is suddenly interrupted, the mechanism will automatically release the system, preventing "hanging" or server lock. You can be confident that either the update will complete fully, or the system will correctly prepare for the next run. Whether it is an error or a successful update, in any case you will always be able to see a record of the performed operation in the log file.
Known limitations, stated plainly
- The
pending_rebootmarker is cleared automatically only from v8.5; before that, it may show a reboot that has already occurred. TODO v8.5 Warning:Make sure the server locale is configured to a standard language (C locale). If the server uses a non-English locale (for example, Russian), the module will not be able to correctly read the list of available updates from system commands. This will cause updates to be ignored, even if they are installed.- System units (service/timer) pass integrity verification only during the first
daemon-reloadafter their creation.
We strive to provide complete information about functionality. The list of limitations will be expanded as new versions are released.