Having diabled the policykiy useflag: hermod /etc/portage # emerge -pv networkmanager These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-misc/networkmanager-1.18.4-r1::gentoo USE="dhclient introspection modemmanager ncurses nss ppp wext wifi (-audit) -bluetooth -connection-sharing -consolekit -dhcpcd -elogind -gnutls -iwd -json -ofono -ovs -policykit -resolvconf (-selinux) -systemd -teamd -test -vala" 0 KiB Uninstalling policykit still results in preserved libs: !!! existing preserved libs: >>> package: sys-auth/polkit-0.115-r3 * - /usr/lib64/libpolkit-gobject-1.so.0 * - /usr/lib64/libpolkit-gobject-1.so.0.0.0 * used by /usr/bin/nmcli (net-misc/networkmanager-1.18.4-r1) * - /usr/lib64/libpolkit-agent-1.so.0 * - /usr/lib64/libpolkit-agent-1.so.0.0.0 * used by /usr/bin/nmcli (net-misc/networkmanager-1.18.4-r1)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2587f0225c6aaa23fcef6a09f4e92c3b2fda3769 commit 2587f0225c6aaa23fcef6a09f4e92c3b2fda3769 Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-01-19 19:25:51 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-01-19 19:28:18 +0000 net-misc/networkmanager: improve privacy, iwd1 compat, USE=polkit honor Closes: https://bugs.gentoo.org/702476 Closes: https://bugs.gentoo.org/702900 Closes: https://bugs.gentoo.org/704810 Package-Manager: Portage-2.3.79, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org> .../networkmanager/files/1.18.4-iwd1-compat.patch | 81 +++++ .../networkmanager/networkmanager-1.18.4-r2.ebuild | 349 +++++++++++++++++++++ 2 files changed, 430 insertions(+)