SELinux problem
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Tue Jun 27 02:02:03 UTC 2006
Mikkel L. Ellertson wrote:
> I know next to nothing about setting up SELinux rules. I am getting
> the error messages listed below when I insert a SD card into the
> reader build into my laptop.
>
> Jun 25 16:19:50 localhost kernel: audit(1151270390.163:21): avc:
> denied { read } for pid=11043 comm="hald-probe-stor"
> name="mmcblk0" dev=tmpfs ino=79271
> scontext=system_u:system_r:hald_t:s0
> tcontext=system_u:object_r:device_t:s0 tclass=blk_file
>
> Jun 25 16:19:50 localhost kernel: audit(1151270390.459:22): avc:
> denied { read } for pid=11049 comm="hald-probe-volu"
> name="mmcblk0p1" dev=tmpfs ino=79294
> scontext=system_u:system_r:hald_t:s0
> tcontext=system_u:object_r:device_t:s0 tclass=blk_file
>
Never mind. I have it working. I had to run
semanage fcontext -a -t removable_device_t /dev/mmcblk.*
and now it puts an icon on the desktop and will mount the card.
Now I have to get some other types of cards so I can see if it will
mount them in the SD card mode, or if I am going to have to set it
back to the MM card mode to read them. Slowly but surely I am
getting everything working on the laptop.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
More information about the users
mailing list