← Back to team overview

touch-packages team mailing list archive

[Bug 1422345] Re: stop being nice does not work

 

Hello Harald, or anyone else affected,

Accepted unattended-upgrades into trusty-proposed. The package will
build now and be available at http://launchpad.net/ubuntu/+source
/unattended-upgrades/0.82.1ubuntu2.1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: unattended-upgrades (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

** Changed in: unattended-upgrades (Ubuntu Utopic)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1422345

Title:
  stop being nice does not work

Status in unattended-upgrades package in Ubuntu:
  In Progress
Status in unattended-upgrades source package in Trusty:
  Fix Committed
Status in unattended-upgrades source package in Utopic:
  Fix Committed

Bug description:
  Test Case
  ---------
  1) Install apache2 from the -release pocket
  2) Run unattended-upgrades
  3) Observe apache2 running with a niceness of 19
  4) Downgrade apache2 to the version from the -release pocket
  5) Install the version of unattended-upgrades from -proposed
  6) Run unattended-upgrades
  7) Observe apache2 running with a niceness of 0 i.e. no niceness


  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1422345/+subscriptions


References