Bug#972872: apt.systemd.daily should vary exit code based on unattended-upgrades failures

2020-10-26 Thread Filippo Giunchedi
On Sun, Oct 25, 2020 at 07:56:10PM +0100, Julian Andres Klode wrote: > > Even on a failed u-u run the apt-daily-upgrade.service unit is still > > reported a > > successful, AFAICT because apt.systemd.daily exits 0 even when u-u fails. I > > think it makes sense to surface u-u errors back and thus

Bug#972872: apt.systemd.daily should vary exit code based on unattended-upgrades failures

2020-10-25 Thread Julian Andres Klode
On Sun, Oct 25, 2020 at 04:09:23PM +, Filippo Giunchedi wrote: > Package: apt > Version: 1.8.2.1 > Severity: normal > > Hi, > I've ran into a situation where an unattended-upgrades run would fail to > upgrade packages on an host. I'm using the u-u APT integration, thus u-u is > called via

Bug#972872: apt.systemd.daily should vary exit code based on unattended-upgrades failures

2020-10-25 Thread Filippo Giunchedi
Package: apt Version: 1.8.2.1 Severity: normal Hi, I've ran into a situation where an unattended-upgrades run would fail to upgrade packages on an host. I'm using the u-u APT integration, thus u-u is called via /usr/lib/apt/apt.systemd.daily and its corresponding service+timer. Even on a failed