When a polkit agent isn't available in the current session, and pkexec's internal agent is used to authenticate and run a command that takes some time to execute, the auth thread exits prematurely and causes a hangup. This has been reported in a number of places, including Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=449842 Steps to reproduce: 1. Kill all polkit auth agents in the session 2. pkexec find / Expected output: [Several thousand lines of file listings] Actual output: $ pkexec find / [...] ==== AUTHENTICATION COMPLETE === / Hangup $
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/polkit/polkit/issues/19.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.