#1033603 apt: Unattended-upgrades runs on shutdown while APT::Periodic::Unattended-Upgrade is not defined

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Yvan
Date:
2023-03-28 09:33:04 UTC
Severity:
normal
#1033603#5
Date:
2023-03-28 09:31:54 UTC
From:
To:
Dear Maintainers,

On a Debian bookworm system, I have the following configuration file for
unattended-upgrades:

Unattended-Upgrade::Origins-Pattern {
        "origin=Debian,codename=${distro_codename},label=Debian-Security";
        "origin=Debian,codename=${distro_codename}-security,label=Debian-Security";
}
Unattended-Upgrade::InstallOnShutdown "true";

Also, the setting `APT::Periodic::Unattended-Upgrade` is not defined in apt
(see apt-config dump below).

According to `/usr/share/doc/unattended-upgrades/README.md.gz` and to default
values in `/usr/lib/apt/apt.systemd.daily`, unattended-upgrades should not run.
However, unattended-upgrades runs on every shutdown on my system, so I believe
there is either a bug or an error in the documentation.

Regards,
Yvan