Bug 813200 - SELinux errors with appliance-creator
Summary: SELinux errors with appliance-creator
Keywords:
Status: CLOSED DUPLICATE of bug 812297
Alias: None
Product: Fedora
Classification: Fedora
Component: appliance-tools
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Huff
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-17 08:32 UTC by Marko Myllynen
Modified: 2012-10-15 14:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-15 14:44:29 UTC
Type: Bug


Attachments (Terms of Use)

Description Marko Myllynen 2012-04-17 08:32:56 UTC
Description of problem:
When using appliance-creator with the host SELinux is in Permissive mode, the following errors are being printed (but the appliance image is still being built) - the last SELinux complaint is printed even with selinux --disabled, the former with selinux --permissive / selinux --enforcing.

Removing password for user root.
passwd: Success
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.3.0-0.rc3.git7.2.fc17.x86_64
Found initrd image: /boot/initramfs-3.3.0-0.rc3.git7.2.fc17.x86_64.img
done
/etc/selinux/targeted/contexts/files/file_contexts: line 2352 has invalid
context system_u:object_r:xfs_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 2585 has invalid
context system_u:object_r:xfs_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 3162 has invalid
context system_u:object_r:xfs_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts: line 3610 has invalid
context system_u:object_r:xfs_exec_t:s0
99%
Unmounting directory /var/tmp/imgcreate-9gzrRx/install_root/
Losetup remove /dev/loop0
Finished
umount: /var/tmp/imgcreate-9gzrRx/install_root/sys/fs/selinux/load: not found

See bug 812298 for the example kickstart file if needed.

Version-Release number of selected component (if applicable):
Fedora 17 Beta

Comment 1 Matthew Miller 2012-10-15 14:44:29 UTC

*** This bug has been marked as a duplicate of bug 812297 ***


Note You need to log in before you can comment on or make changes to this bug.