selinux开启,无法从cd安装

qiaopangpang 2010-07-06 05:41:24
各位大侠,帮忙解决问题啊
1.在RedHat 51上开启selinux=enforcing
2.把安装光盘插入光驱,把光盘moount到 /mnt/cd:
mount /dev/hdc /mnt/cd
3.cd /mnt/cd 执行安装文件
4.控制台显示:Selinux is preventing the installer with running,please mount the install cd with
the options:'-o context=system_u:object_r:textrel_shlib_t'
5.卸载光盘 umount cd
6.重新挂载光盘:
mount -o context=system_u:object_r:textrel_shlib_t /dev/hdc /mnt/cd
7.还是出现第4步出现的提示

请问谁解决过这个问题呢 多谢了
...全文
113 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
louyong0571 2010-07-07
  • 打赏
  • 举报
回复
直接关掉selinux不就得了
steptodream 2010-07-06
  • 打赏
  • 举报
回复
执行setsebool -P automount_disable_trans on试试

要是不行 那你把selinux关闭不就得了

18,777

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧