Bug 395971 - SELinux is preventing /usr/sbin/groupadd (groupadd_t) "write" to /dev/null (var_lib_t). durring mock build
Summary: SELinux is preventing /usr/sbin/groupadd (groupadd_t) "write" to /dev/null (v...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-22 17:56 UTC by Russell Harrison
Modified: 2013-01-10 01:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-26 20:20:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
setroubleshoot alert groupadd output (2.30 KB, text/plain)
2007-11-22 17:56 UTC, Russell Harrison
no flags Details

Description Russell Harrison 2007-11-22 17:56:05 UTC
I see several selinux alert messages during a mock build.

I'm attaching the alert file from setroubleshoot

Comment 1 Russell Harrison 2007-11-22 17:56:05 UTC
Created attachment 267161 [details]
setroubleshoot alert groupadd output

Comment 2 Michael E Brown 2007-11-22 18:34:13 UTC
This should be against selinux-policy, not mock.


Comment 3 Michael E Brown 2007-11-22 18:35:46 UTC
As an aside, this doesnt prevent mock from functioning, it simply produces log
messages.

Comment 4 Michael E Brown 2007-11-26 20:20:57 UTC
I have fixed this in mock by doing a "chcon
--reference=/dev/FILE  /mock/build/root/dev/FILE". 

This specific bug I am going to mark as FIXED - NEXTRELEASE. I dont intend to
make another release for a few weeks, at least. If you would like to check out
the fixed version, please look in the git repository for mock.


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