[Touch-packages] [Bug 1433584] Re: Version 0.82.1ubuntu2.1 breaks unattended upgrades on unprivileged Docker containers
*** This bug is a duplicate of bug 1422345 *** https://bugs.launchpad.net/bugs/1422345 ** This bug has been marked a duplicate of bug 1422345 stop being nice does not work -- 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/1433584 Title: Version 0.82.1ubuntu2.1 breaks unattended upgrades on unprivileged Docker containers Status in unattended-upgrades package in Ubuntu: New Bug description: Since update of the unattended-upgrades package to version 0.82.1ubuntu2.1, unprivileged Docker containers cannot properly perform unattended upgrades anymore. They fail with the following error message: = Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 1186, in main(options) File "/usr/bin/unattended-upgrade", line 993, in main os.nice(-19) PermissionError: [Errno 1] Operation not permitted = This is due to the fact that the script tries to set a negative nice value, which is by default not allowed on unprivileged Docker containers. In previous package versions, the script was trying to set a nice value of 0, which was allowed. To solve this issue, two solutions could be considered: - The unattended-upgrades package should remain using a nice value of 0 - The containers should be started with the "--cap-add=CAP_SYS_NICE" option. Unfortunately, it is not possible to add this capability to running containers. More information: # lsb_release -rd Description:Ubuntu 14.04.1 LTS Release:14.04 # apt-cache policy unattended-upgrades unattended-upgrades: Installed: 0.82.1ubuntu2.1 Candidate: 0.82.1ubuntu2.1 Version table: *** 0.82.1ubuntu2.1 0 500 http://ubunturepo/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.82.1ubuntu2 0 500 http://ubunturepo/ trusty/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1433584/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1433584] Re: Version 0.82.1ubuntu2.1 breaks unattended upgrades on unprivileged Docker containers
Should be fixed with 0.82.8ubuntu0.2 https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1422345 -- 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/1433584 Title: Version 0.82.1ubuntu2.1 breaks unattended upgrades on unprivileged Docker containers Status in unattended-upgrades package in Ubuntu: New Bug description: Since update of the unattended-upgrades package to version 0.82.1ubuntu2.1, unprivileged Docker containers cannot properly perform unattended upgrades anymore. They fail with the following error message: = Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 1186, in main(options) File "/usr/bin/unattended-upgrade", line 993, in main os.nice(-19) PermissionError: [Errno 1] Operation not permitted = This is due to the fact that the script tries to set a negative nice value, which is by default not allowed on unprivileged Docker containers. In previous package versions, the script was trying to set a nice value of 0, which was allowed. To solve this issue, two solutions could be considered: - The unattended-upgrades package should remain using a nice value of 0 - The containers should be started with the "--cap-add=CAP_SYS_NICE" option. Unfortunately, it is not possible to add this capability to running containers. More information: # lsb_release -rd Description:Ubuntu 14.04.1 LTS Release:14.04 # apt-cache policy unattended-upgrades unattended-upgrades: Installed: 0.82.1ubuntu2.1 Candidate: 0.82.1ubuntu2.1 Version table: *** 0.82.1ubuntu2.1 0 500 http://ubunturepo/ trusty-updates/main amd64 Packages 100 /var/lib/dpkg/status 0.82.1ubuntu2 0 500 http://ubunturepo/ trusty/main amd64 Packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1433584/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp