Bug 1098706
| Summary: | livecd-creator uses wrong command line for setfiles | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> | ||||
| Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | adam.stokes, bcl, bruno, dhuff, dwalsh, Jasper.Hartline, katzj, mgrepl, rjones | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | policycoreutils-2.3-4.fc21 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-20 10:13:11 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: | |||||||
| Attachments: |
|
||||||
|
Description
Richard W.M. Jones
2014-05-17 13:51:23 UTC
Created attachment 896601 [details]
p2v.ks
The actual kickstart I'm using. Note I used the same kickstart
with Fedora 20 livecd-creator and it didn't print the error message.
I don't see anything wrong, it is trying to label the installation's root directory like this: /sbin/setfiles -F -r /var/tmp/imgcreate-onIL3V/install_root /etc/selinux/targeted/contexts/files/file_contexts /var/tmp/imgcreate-onIL3V/install_root/ which works fine on F20, and there is no change in the setfiles documentation or help output. I found a bug in rawhide setfiles. You can use /sbin/setfiles -F -r /var/tmp/imgcreate-onIL3V/install_root /etc/selinux/targeted/contexts/files/file_contexts /var/tmp/imgcreate-onIL3V/install_root/ /var/tmp/imgcreate-onIL3V/install_root/ for now and it should work. I have a patch which fixes this issue back on /sbin/setfiles -F -r /var/tmp/imgcreate-onIL3V/install_root /etc/selinux/targeted/contexts/files/file_contexts /var/tmp/imgcreate-onIL3V/install_root/ /var/tmp/imgcreate-onIL3V/install_root: No such file or directory in my case. Thanks. No need to workarounds in livecd-creator, as I will just update policycoreutils to the fixed version on my build host. |