Bug 135844
| Summary: | system-config-securitylevel-tui crashes with a SIGSEV | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Okke Timm <bugzilla> | ||||||
| Component: | system-config-securitylevel | Assignee: | Paul Nasrat <nobody+pnasrat> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | dwalsh, notting | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-10-16 08:41:02 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 130887 | ||||||||
| Attachments: |
|
||||||||
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. |
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: