LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 370|回复: 0

selinux openrc 设置 hostname出问题中

[复制链接]
发表于 2011-1-13 17:47:39 | 显示全部楼层 |阅读模式
在gentoo上新安装了selinux , 发现在selinux中无法设置 hostname   

(none) ~ # /etc/init.d/hostname restart
Authenticating root.
Password:
* Setting hostname to szserver.tianyilink.com ...
hostname: you must be root to change the host name
* Failed to set the hostname                                             [ !! ]
* ERROR: hostname failed to start

目前是用openrc.

有用selinux的吗?谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表