Bug 1051523
| Summary: | Livecd-creator is disabling selinux | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maros Zatko <mzatko> |
| Component: | livecd-tools | Assignee: | Brian Lane <bcl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | adam.stokes, bcl, bruno, dhuff, dwalsh, Jasper.Hartline, katzj |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | livecd-tools-20.4-1.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-26 14:01:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Maros Zatko
2014-01-10 14:08:22 UTC
livecd-creator cannot run in enforcing mode. Why not? I don't remember exactly why, other than it not working. Should it be able to? I've never had success with any of our image building tools and selinux. We also have other tools that don't work with enforcing turned on -- lorax, anconda image installs, and livemedia-creator when running anaconda on an image or directory install. IIRC the builders are running in permissive mode. I know we have had livecd-tool working with SELinux in enforcing mode in the past. /usr/bin/livecd-creator -- system_u:object_r:livecd_exec_t:s0 I think the other tools if labeled livecd_exec_t should work also. This is basically an unconfined domain that is allowed to put labels on disk that the kernel does not understand. If you try the other tools with SELinux in enforcing mode, and labeled livecd_exec_t, it should work. If you get AVC's I would like to look at them. Looks like things have improved and the switch is no longer needed. I successfully built a couple test images with the host in enforcing for the whole build so I'll revert that patch. livecd-tools-20.4-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/livecd-tools-20.4-1.fc20 livecd-tools-19.9-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/livecd-tools-19.9-1.fc19 Package livecd-tools-20.4-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing livecd-tools-20.4-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1911/livecd-tools-20.4-1.fc20 then log in and leave karma (feedback). livecd-tools-19.9-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. livecd-tools-20.4-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |