Comment 0 for bug 1422345

Revision history for this message
Harald Staub (staub) wrote :

Since version 0.81, unattended-upgrades does the upgrade calculation with os.nice(19). To finish the nice block in /usr/bin/unattended-upgrade, the following call is used:
os.nice(0)

Since the argument is interpreted as incremental, this should be:
os.nice(-19)

Without this fix, this problem is back:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701850
"unattended-upgrades: nice 19/ionice idle inherited by restarted processes"

Found in the trusty version (0.82.1ubuntu2), but probably in any version (including Debian) since 0.81.