Bug 223574

Summary: ioctl on swapfile denied to initscript by SELinux
Product: [Fedora] Fedora Reporter: k3dzngrp8w2xtc9
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4.6-29 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-25 17:41:51 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 k3dzngrp8w2xtc9 2007-01-20 02:15:45 UTC
Description of problem:
avc:  denied  { ioctl } for  pid=1198 comm="swapon" name="swap" dev=dm-0
ino=98312 scontext=system_u:system_r:fsadm_t:s0
tcontext=user_u:object_r:swapfile_t:s0 tclass=file

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.4.6-23.fc6

Additional info:
p.s. The swapfile works anyway.

Comment 1 Daniel Walsh 2007-01-22 15:40:17 UTC
Fixed in  selinux-policy-targeted-2.4.6-29

Comment 2 k3dzngrp8w2xtc9 2007-01-25 17:41:51 UTC
Thanks. I confirm this is fixed

CLOSED