Bug 517592 - SELinux issues during install
Summary: SELinux issues during install
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-14 20:41 UTC by Orion Poplawski
Modified: 2009-08-18 14:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-18 14:24:02 UTC
Type: ---


Attachments (Terms of Use)
anaconda.log (105.73 KB, text/plain)
2009-08-14 21:32 UTC, Orion Poplawski
no flags Details
install.log (67.97 KB, text/plain)
2009-08-14 21:32 UTC, Orion Poplawski
no flags Details

Description Orion Poplawski 2009-08-14 20:41:19 UTC
Description of problem:

I'm doing some SELinux operations in the %post section of my kickstart installs and seeing some errors:

+ semanage fcontext -a -t var_log_t /var/cfengine/outputs
SELinux:  Could not load policy file /etc/selinux/targeted/policy/policy.24:  Invalid argument
/usr/sbin/load_policy:  Can't load policy:  Invalid argument
libsemanage.semanage_reload_policy: load_policy returned error code 2.
Can't stat directory "/mnt/runtime", No such file or directory.
/usr/sbin/semanage: Could not commit semanage transaction

+ semanage fcontext -a -f -d -t home_root_t /export
Can't stat directory "/mnt/runtime", No such file or directory.

+ setsebool -P use_nfs_home_dirs=1
Can't stat directory "/mnt/runtime", No such file or directory.


I also see a couple of the /mnt/runtime errors in Install.log from the %post scripts of selinux-policy-targeted and texlive-latex-2007

Version-Release number of selected component (if applicable):
anaconda version 12.14
selinux-policy-targeted-3.6.26-8.fc12.noarch

Comment 1 Chris Lumens 2009-08-14 21:25:24 UTC
Please attach the complete install.log to this bug report, as well as anaconda.log.  Thanks.

Comment 2 Orion Poplawski 2009-08-14 21:32:23 UTC
Created attachment 357506 [details]
anaconda.log

Comment 3 Orion Poplawski 2009-08-14 21:32:57 UTC
Created attachment 357507 [details]
install.log

Comment 4 Daniel Walsh 2009-08-18 14:24:02 UTC
This noise has been fixed in policycoreutils-2.0.71-3.fc12


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