Description of problem: ** (selinux-polgengui:21402): WARNING **: keyboard grab failed: keyboard already grabbed by another window /usr/share/system-config-selinux/polgengui.py:354: DeprecationWarning: raising a string exception is deprecated raise(_("You must select a user")) Traceback (most recent call last): File "/usr/share/system-config-selinux/polgengui.py", line 299, in forward self.generate_policy() File "/usr/share/system-config-selinux/polgengui.py", line 384, in generate_policy my_policy=polgen.policy(self.get_name(), self.get_type()) File "/usr/share/system-config-selinux/polgengui.py", line 354, in get_name raise(_("You must select a user")) You must select a user Version-Release number of selected component (if applicable): policycoreutils-gui-2.0.46-5.fc9.i386 Additional info: See the attached patch for more information.
Created attachment 304322 [details] Fix traceback when generating policy for user application
Created attachment 304324 [details] Don't let stderr output clobber various lists I'll reuse this bug for some more problems, since they have to be fixed at the same time, contain the fix, and should be fixed at the same time.
Created attachment 304325 [details] Necessary changes to SPEC file, fix -gui Requires And at last changes to SPEC file. Note the missing dependency which would cause selinux-polgenui misbehave silently. I did not commit these myself, because I really don't know any Python at all, so I'd be glad if you reviewed whether I haven't broken anything. Thanks.
At this point, I'm not seeing this as a release blocking issue. Moving to F9-target.
Fixed in policycoreutils-2.0.47-1