Bug 241713 - spufs mount fails.
Summary: spufs mount fails.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-29 18:37 UTC by David Woodhouse
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-22 14:16:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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



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