[Bug 276409] sysutils/polkit: update to 124
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 276409] sysutils/polkit: update to 124"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Jan 2024 11:25:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276409 --- Comment #14 from Gleb Popov <arrowd@FreeBSD.org> --- (In reply to Guido Falsi from comment #13) I'd try following: 1. Call pkaction to figure out what action is checked for shutdown/reboot. Most likely it is "org.freedesktop.consolekit.system.restart" 2. Get a PID of some of your processes. A browser or a file manager will do. 3. Run "dbus-monitor --system" as root 4. Run "pkcheck -p <your PID> -a <your action>" The command should exit with code 0 instantly if your user is allowed to initiate the reboot. Otherwise you'll get a error message. In the dbus-monitor output you should see how "pkcheck" talks to "polkitd". -- You are receiving this mail because: You are the assignee for the bug.