LinuxSir.cn,穿越时空的Linuxsir!

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

日期和时间设置选项里面 时间不能与服务器同步

[复制链接]
发表于 2009-1-31 10:22:40 | 显示全部楼层 |阅读模式
fedora10
想要使用日期和时间属性里面的网络时钟协议 同步时间 可是不能使用 提示如下图


这个是那个五角星图标给出来的提示

概述:

SELinux is preventing restorecon (setfiles_t) "read write" unconfined_t.

详细描述:

SELinux denied access requested by restorecon. It is not expected that this
access is required by restorecon and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

允许访问:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

附加信息:

源上下文                  unconfined_u:unconfined_r:setfiles_t:s0
目标上下文               unconfined_u:unconfined_r:unconfined_t:s0
目标对象                  socket [ unix_stream_socket ]
源                           restorecon
源路径                     /sbin/setfiles
端口                        <未知>
主机                        zhangkaixuan
源 RPM 软件包             policycoreutils-2.0.57-11.fc10
目标 RPM 软件包         
策略 RPM                    selinux-policy-3.5.13-18.fc10
启用 Selinux                True
策略类型                  targeted
启用 MLS                    True
Enforcing 模式              Enforcing
插件名称                  catchall
主机名                     zhangkaixuan
平台                        Linux zhangkaixuan 2.6.27.5-117.fc10.i686 #1 SMP
                              Tue Nov 18 12:19:59 EST 2008 i686 i686
警报计数                  5
第一个                     2009年01月02日 星期五 14时01分44秒
最后一个                  2009年01月02日 星期五 14时02分00秒
本地 ID                     43392e3b-6a32-48cc-9b79-a9a22aeecd24
行号                        

原始核查信息            

node=zhangkaixuan type=AVC msg=audit(1230876120.309:26): avc:  denied  { read write } for  pid=3255 comm="restorecon" path="socket:[16299]" dev=sockfs ino=16299 scontext=unconfined_u:unconfined_r:setfiles_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=unix_stream_socket

node=zhangkaixuan type=SYSCALL msg=audit(1230876120.309:26): arch=40000003 syscall=11 success=yes exit=0 a0=906ce20 a1=9042928 a2=90411a0 a3=0 items=0 ppid=3225 pid=3255 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="restorecon" exe="/sbin/setfiles" subj=unconfined_u:unconfined_r:setfiles_t:s0 key=(null)
发表于 2009-1-31 11:20:34 | 显示全部楼层
如果没特殊要求,就禁掉 SELinux 。
回复 支持 反对

使用道具 举报

发表于 2009-1-31 16:58:11 | 显示全部楼层
试试
  1. ntpdate 210.72.145.44
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-1-31 17:14:08 | 显示全部楼层
呵呵 吧SElinux的级别改掉了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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