hello,
I am having a few final issues with cobbler check under Centos55
Linux virtCent14 2.6.18-194.11.3.el5xen #1 SMP Mon Aug 30 17:42:28 EDT
2010 i686 i686 i386 GNU/Linux
SELinux seems to be ignoring my command to enable rsync:
[root@virtCent14:~]#cobbler check
The following are potential configuration items that you may want to fix:
1 : Must enable the cobbler import and replicate commands, run:
setsebool -P rsync_disable_trans=1
[root@virtCent14:~]#setsebool -P rsync_disable_trans=1
[root@virtCent14:~]
[root@virtCent14:~]#tail -f /var/log/messages
Sep 20 00:22:40 virtCent14 setsebool: The rsync_disable_trans policy
boolean was changed to 1 by root
[root@virtCent14:~]#cobbler check
The following are potential configuration items that you may want to fix:
1 : Must enable the cobbler import and replicate commands, run:
setsebool -P rsync_disable_trans=1
==================================================================================
And I am having trouble setting the cobbler content variables for
SELinux as well:
2 : you need to set some SELinux content rules to ensure cobbler
serves content correctly in your SELinux environment, run the
following: /usr/sbin/semanage fcontext -a -t public_content_t
"/tftpboot/.*" && /usr/sbin/semanage fcontext -a -t public_content_t
"/var/www/cobbler/images/.*"
[root@virtCent14:~]#/usr/sbin/semanage fcontext -a -t public_content_t
"/tftpboot/.*" && /usr/sbin/semanage fcontext -a -t public_content_t
"/var/www/cobbler/images/.*"
/usr/sbin/semanage: File context for /tftpboot/.* already defined
3 : you need to set some SELinux rules if you want to use cobbler-web
(an optional package), run the following: /usr/sbin/semanage fcontext
-a -t httpd_sys_content_rw_t "/var/lib/cobbler/webui_sessions/.*"
[root@virtCent14:~]#/usr/sbin/semanage fcontext -a -t
httpd_sys_content_rw_t "/var/lib/cobbler/webui_sessions/.*"
libsepol.context_from_record: type httpd_sys_content_rw_t is not defined
libsepol.context_from_record: could not create context structure
libsemanage.validate_handler: invalid context
system_u:object_r:httpd_sys_content_rw_t:s0 specified for
/var/lib/cobbler/webui_sessions/.* [all files]
libsemanage.dbase_llist_iterate: could not iterate over records
/usr/sbin/semanage: Could not add file context for
/var/lib/cobbler/webui_sessions/.*
I'd appreciate some help as to how to proceed!
Thanks!!
Tim
Show replies by date