osgis 发表于 2006-6-27 11:21:03

求助:挂载ext3分区时出错

内核是 2.6.15-1.2054_FC5
新安装的FC5,挂载ext3分区时出现以下错误:
audit(1151376493.815:2): avc: denied { getattr } for pid=1910 comm="hald" name="/" dev=hda6 ino=2 scontext=system_u:system_r:hald_t:s0 tcontext=system_u:object_r:file_t:s0 tclass=dir

虽然出现了错误提示,但还是能挂载上了,并且都可以往分区里读写。
我的分区情况是这样的:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 9729 67906755 5 Extended
/dev/hda5 1276 1340 522081 82 Linux swap / Solaris
/dev/hda6 1341 2615 10241406 83 Linux
/dev/hda7 2616 5165 20482843+ 83 Linux
/dev/hda8 5166 7715 20482843+ 83 Linux
/dev/hda9 7716 8990 10241406 83 Linux
/dev/hda10 8991 9729 5935986 c W95 FAT32 (LBA)

osgis 发表于 2006-6-28 11:46:46

Help, please!

jozhu 发表于 2006-6-28 12:49:29

没遇到过这样的错误,尝试GOOGLE也找不到相似问题,帮你顶一个吧

osgis 发表于 2006-6-28 17:23:35

没法,只好先到fedoraforum.org问问

osgis 发表于 2006-6-29 10:17:30

I've got a reply from fedoraforum.org. It follows.
******************
as of your error messages, this is a selinux related issue....

it depends on which selinux mode you are running (setup in /etc/sysconfig/selinux - either warning or enfroced)...i guess you were running in warning mode. this is why you get these messages, but everthing works.

if you haven't a need for selinux, disable it completly (with selinux=disable in /etc/sysconfig/selinux)
******************
It works to disable selinux.

jozhu 发表于 2006-6-29 13:19:31

无语了。。。
页: [1]
查看完整版本: 求助:挂载ext3分区时出错