selinux denying devkit-disks-he?

Daniel J Walsh dwalsh at redhat.com
Wed Apr 8 13:06:02 UTC 2009


On 04/08/2009 09:00 AM, Antonio Olivares wrote:
> Dear fellow selinux experts,
>
> I have a fat32 partition so that I can access files from both windows and linux, I know that it is not needed, but I have become acustomed to one.  For some reason or another I cannot mount it :(, selinux is getting in the way, when I try to call it from the desktop I get:
>
>
> Unable to mount 21 GB Filesystem
>
> org.freedesktop.devicekit.disks.filesystem-mount-system-internal auth_admin
>
> Thanks for any help provided.
>
> Regards,
>
> Antonio
>
> Summary:
>
> SELinux is preventing devkit-disks-he (devicekit_disk_t) "sys_rawio"
> devicekit_disk_t.
>
> Detailed Description:
>
> SELinux denied access requested by devkit-disks-he. It is not expected that this
> access is required by devkit-disks-he and this access may signal an intrusion
> attempt. It is also possible that the specific version or configuration of the
> application is causing it to require additional access.
>
> Allowing Access:
>
> You can generate a local policy module to allow this access - see FAQ
> (http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
> SELinux protection altogether. Disabling SELinux protection is not recommended.
> Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
> against this package.
>
> Additional Information:
>
> Source Context                system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023
> Target Context                system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023
> Target Objects                None [ capability ]
> Source                        devkit-disks-he
> Source Path                   /usr/libexec/devkit-disks-helper-ata-smart-collect
> Port<Unknown>
> Host                          antonio-fedora-x86-64
> Source RPM Packages           DeviceKit-disks-004-0.4.20090406git.fc11
> Target RPM Packages
> Policy RPM                    selinux-policy-3.6.10-9.fc11
> Selinux Enabled               True
> Policy Type                   targeted
> MLS Enabled                   True
> Enforcing Mode                Enforcing
> Plugin Name                   catchall
> Host Name                     antonio-fedora-x86-64
> Platform                      Linux antonio-fedora-x86-64
>                                2.6.29.1-52.fc11.x86_64 #1 SMP Mon Apr 6 03:50:07
>                                EDT 2009 x86_64 x86_64
> Alert Count                   4
> First Seen                    Tue 07 Apr 2009 05:24:02 PM CDT
> Last Seen                     Wed 08 Apr 2009 07:55:41 AM CDT
> Local ID                      100225d2-8a03-4744-b428-6ac49dfcee42
> Line Numbers
>
> Raw Audit Messages
>
> node=antonio-fedora-x86-64 type=AVC msg=audit(1239195341.496:17): avc:  denied  { sys_rawio } for  pid=2887 comm="devkit-disks-he" capability=17 scontext=system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023 tcontext=system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023 tclass=capability
>
> node=antonio-fedora-x86-64 type=SYSCALL msg=audit(1239195341.496:17): arch=c000003e syscall=16 success=yes exit=0 a0=3 a1=2285 a2=7fffde692120 a3=3 items=0 ppid=2884 pid=2887 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="devkit-disks-he" exe="/usr/libexec/devkit-disks-helper-ata-smart-collect" subj=system_u:system_r:devicekit_disk_t:s0-s0:c0.c1023 key=(null)
>
>
>
>
>
>
>
> --
> fedora-selinux-list mailing list
> fedora-selinux-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-selinux-list
Fixed in the policy in koji selinux-policy-3.6.12-1.fc11
Tomorrows rawhide.

BTW devicekit_disk is a permissive domain ("success=yes")  So you can 
ignore this avc. Nothing was blocked.




More information about the selinux mailing list