[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 fail the systemd
> > service, does that seem reasonble? What do you think re: surfacing other errors
> > as well?
> 
> We need a substantial rework of exit logic and introduce retry to the
> whole service.

Agreed! Would you be interested in a change to surface u-u errors only for a start?

best,
Filippo


Reply to: