如何在启用SELinux的情况下启动Fedora Directory Service?

我刚做了一个新的基本安装的Fedora 12,并做了一个百胜安装389-DS。 我经历了包括安装脚本(setup-ds-admin.pl),一切正常,并正常工作。 我可以访问目录服务器并使用安装期间创build的目录pipe理员帐户login。

重新启动后,我尝试使用以下命令启动dirsrv服务:

[root@test-ds ~]# /etc/init.d/dirsrv-admin start Starting dirsrv-admin: [ OK ] [root@test-ds ~]# /etc/init.d/dirsrv start Starting dirsrv: test-ds... [26/Feb/2010:14:59:11 -0500] dse - The entry cn=config in file /etc/dirsrv/slapd-test-ds/dse.ldif is invalid, error code 53 (DSA is unwilling to perform) - nsslapd-errorlog-mode: Failed to chmod error log file to 600: errno 1 (Operation not permitted) [26/Feb/2010:14:59:11 -0500] dse - Could not load config file [dse.ldif] [26/Feb/2010:14:59:11 -0500] dse - Please edit the file to correct the reported problems and then restart the server. [FAILED] *** Warning: 1 instance(s) failed to start 

如果我用“setenforce 0”closuresSELinux,它可以启动没有任何问题。 没有在/var/log/audit/audit.log中生成的条目,就像我通常看到的一个SELinux错误,但它是无限可重复的,用setenforce打开和closuresSELinux。

这是一个已知的错误 。

尝试更新您的SELinux策略至less3.6.32-59。