|
正确执行 sudo yum install fuse fuse-libs ntfs-3g
并且在 /mnt 下创建了 相应挂载点 c_system d_program e_work f_enter_backup
修改了fstab如下:
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sda1 /mnt/c_system ntfs-3g rw,defaults,umask=0000 0 0
/dev/sda5 /mnt/d_program ntfs-3g rw,defaults,umask=0000 0 0
/dev/sda6 /mnt/e_work ntfs-3g rw,defaults,umask=0000 0 0
/dev/sda7 /mnt/f_enter_backup ntfs-3g rw,defaults,umask=0000 0 0
开机时挂载失败,但是关机时关闭自动挂载会成功。
开机的 messgae 日志:
Aug 6 22:16:25 localhost kernel: =======================
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:12): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:13): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:14): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:15): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:16): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:17): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:18): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:19): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:20): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409771.199:23): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_ubject_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409773.199:24): avc: denied { search } for pid=1192 comm="rhgb" name="root" dev=dm-0 ino=2186881 scontext=system_u:system_r:rhgb_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: No dock devices found.
Aug 6 22:16:25 localhost kernel: input: Power Button (FF) as /class/input/input4
Aug 6 22:16:25 localhost kernel: ACPI: Power Button (FF) [PWRF]
Aug 6 22:16:25 localhost kernel: input: Power Button (CM) as /class/input/input5
Aug 6 22:16:25 localhost kernel: ACPI: Power Button (CM) [PWRB]
Aug 6 22:16:25 localhost kernel: ibm_acpi: ec object not found
Aug 6 22:16:25 localhost kernel: device-mapper: multipath: version 1.0.5 loaded
Aug 6 22:16:25 localhost kernel: EXT3 FS on dm-0, internal journal
Aug 6 22:16:25 localhost kernel: kjournald starting. Commit interval 5 seconds
Aug 6 22:16:25 localhost kernel: EXT3 FS on sda8, internal journal
Aug 6 22:16:25 localhost kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug 6 22:16:25 localhost kernel: fuse init (API version 7.8)
Aug 6 22:16:25 localhost kernel: audit(1186409775.699:25): avc: denied { search } for pid=1309 comm="mount.ntfs-3g" name="mnt" dev=dm-0 ino=3198721 scontext=system_u:system_r:mount_ntfs_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409775.699:26): avc: denied { search } for pid=1315 comm="mount.ntfs-3g" name="mnt" dev=dm-0 ino=3198721 scontext=system_u:system_r:mount_ntfs_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409775.699:27): avc: denied { search } for pid=1316 comm="mount.ntfs-3g" name="mnt" dev=dm-0 ino=3198721 scontext=system_u:system_r:mount_ntfs_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=dir
Aug 6 22:16:25 localhost kernel: audit(1186409775.699:28): avc: denied { search } for pid=1317 comm="mount.ntfs-3g" name="mnt" dev=dm-0 ino=3198721 scontext=system_u:system_r:mount_ntfs_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=dir
手动挂在 mount -a 成功!
太郁闷了。。。 |
|