From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Opera 7.54 [de] Description of problem: When started the lokkit application crashes with a SIGSEV. In the "valgrind --tool=memcheck" environment the application works, but valgrind reports an error. ltrace & valgrind logs are attached. Version-Release number of selected component (if applicable): system-config-securitylevel-tui-1.4.10-1 How reproducible: Always Steps to Reproduce: 1. system-config-securitylevel 2. 3. Actual Results: SIGSEV Expected Results: a nice screen with options to choose from Additional info:
Created attachment 105270 [details] ltrace output
Created attachment 105271 [details] valgrind output
Dan: this appears to be in the handling of the --selinuxtype option: else if (rc == 4) { selinux_state=get_selinux_state(selinux_mode); } Here it's trying to read from selinux_mode, which isn't set if that's passed. If I'm reading the code right, I *think* we don't have to do anything for --selinuxtype, since selinux_type is already set. Is that correct?
Fixed in system-config-securitylevel-1.4.12-1. Now defaults to enforcing.