Bug 241713

Summary: spufs mount fails.
Product: [Fedora] Fedora Reporter: David Woodhouse <dwmw2>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-22 14:16:49 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 David Woodhouse 2007-05-29 18:37:11 UTC
The 'spufs' virtual file system fails to mount at boot time, when selinux is in
'enforcing' mode:


avc: denied { mount } for pid=1073 comm="mount" name="/" dev=spufs ino=5891
scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0
class=filesystem
avc: denied { mount } for pid=1073 comm="mount" name="/" dev=spufs ino=5892
scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0
class=filesystem
mount: cannot mount block device spufs read-only

I can mount it later, as root:
[root@ps3 tmp]# grep spu /etc/fstab 
spufs                   /spu                    spufs   defaults        0 0
[root@ps3 tmp]# mount /spu
[root@ps3 tmp]# dmesg | tail -1
SELinux: initialized (dev spufs, type spufs), not configured for labeling

Should I be fixing the spufs kernel code? If so, how?

Comment 1 Daniel Walsh 2007-05-30 03:16:47 UTC
Fixed in selinux-policy-2.6.4-11.fc7

Comment 2 Daniel Walsh 2007-08-22 14:16:49 UTC
Should be fixed in the current release