Bug 428156

Summary: SELinux is preventing /usr/sbin/logrotate (logrotate_t) "write" to (NetworkManager_log_t).
Product: [Fedora] Fedora Reporter: Dave Allan <redhat>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: dcbw, ivnmad, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-20 15:06:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dave Allan 2008-01-09 17:50:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071213 Fedora/2.0.0.10-3.fc8 Firefox/2.0.0.10

Description of problem:
Source Context:  system_u:system_r:logrotate_t:s0Target Context:  unconfined_u:object_r:NetworkManager_log_t:s0Target Objects:  None [ file ]Affected RPM Packages:  logrotate-3.7.6-1.3.fc8 [application]Policy RPM:  selinux-policy-3.0.8-72.fc8Selinux Enabled:  TruePolicy Type:  targetedMLS Enabled:  TrueEnforcing Mode:  EnforcingPlugin Name:  plugins.catchall_fileHost Name:  merryPlatform:  Linux merry 2.6.23.9-85.fc8 #1 SMP Fri Dec 7 15:49:59 EST 2007 i686 i686Alert Count:  2First Seen:  Tue 08 Jan 2008 10:25:06 PM ESTLast Seen:  Wed 09 Jan 2008 12:25:59 PM ESTLocal ID:  237d95c1-9859-4af3-8422-defc07d0ce22Line Numbers:  Raw Audit Messages :avc: denied { write } for comm=logrotate dev=sda2 egid=0 euid=0 exe=/usr/sbin/logrotate exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name=wpa_supplicant.log pid=3525 scontext=system_u:system_r:logrotate_t:s0 sgid=0 subj=system_u:system_r:logrotate_t:s0 suid=0 tclass=file tcontext=unconfined_u:object_r:NetworkManager_log_t:s0 tty=(none) uid=0 

Version-Release number of selected component (if applicable):
NetworkManager-0.7.0-0.6.6.svn3138.fc8

How reproducible:
Didn't try


Steps to Reproduce:
1.
2.
3.

Actual Results:


Expected Results:


Additional info:

Comment 1 Dan Williams 2008-10-20 14:44:16 UTC
do you still get this with recent policy updates and recent NetworkManager?  Pretty sure this is gone now...

Comment 2 Dave Allan 2008-10-20 15:06:03 UTC
Yep--I haven't seen it in months.  I've closed it as 'worksforme' which is a bit odd, as I opened it, but I figure that's the closest option, since I don't know how or when it was fixed.