update-manager does not obey require-password policy
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| aptdaemon (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
In order to enforce password check prior an update to occur, policy file was installed.
/var/lib/
[Require password to upgrade already installed software]
Identity=
Action=
ResultActive=
Up to a recent update this was working as expected. No anymore.
What happens
------------
Updates are performed without requesting administrative password
Expected result
---------------
update-manager to request administrative password prior performing the update
System info
-----------
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# dpkg -l | grep update-manager
ii python3-
ii update-manager 1:16.04.3 all GNOME application that manages apt updates
ii update-manager-core 1:16.04.3 all manage release upgrades
# dpkg -l | grep policy
ii libnuma1:amd64 2.0.11-1ubuntu1 amd64 Libraries for controlling NUMA policy
ii libsemanage-common 2.3-1build3 all Common files for SELinux policy management libraries
ii libsemanage1:amd64 2.3-1build3 amd64 SELinux policy management library
ii plainbox-
ii policykit-1 0.105-14.1 amd64 framework for managing administrative policies and privileges
ii policykit-1-gnome 0.105-2ubuntu2 amd64 GNOME authentication agent for PolicyKit-1
ii policykit-
# apt-cache policy update-manager
update-manager:
Installed: 1:16.04.3
Candidate: 1:16.04.3
Version table:
*** 1:16.04.3 500
500 http://
500 http://
100 /var/lib/
# find /var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
/var/lib/
| tags: | added: dist-upgrade |
| information type: | Private Security → Public Security |
| no longer affects: | policykit-1 (Ubuntu) |

aptdaemon does not seem to check policykit or something, I created the file and could still upgrade with aptdcon --upgrade