Description of problem: Systemd error handling is insufficient when dealing with polkit. Version-Release number of selected component (if applicable): 219-57.el7_5.3.x86_64 How reproducible: 1. Follow the instructions at https://gitlab.freedesktop.org/polkit/polkit/issues/74 2. Run `virsh connect qemu:///system` as the new user Actual results: Unprivileged user has the ability to perform privileged actions with systemd commands. Evaluated 'systemctl' and 'loginctl' and was able to modify system settings without issue. Expected results: Systemd will deny access to invalid users attempting to run privileged commands in a manner similar to libvirt. Libvirt error message: "error: error from service: CheckAuthorization: Unix process subject does not have uid set"
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.