SpaceInvaders

Cobbler Check Instruction Fail

Mar 24th, 2013
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. cobbler check
  2. 1 : 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 "/var/lib/tftpboot/.*" && /usr/sbin/semanage fcontext -a -t public_content_t "/var/www/cobbler/images/.*"
  3. 2 : 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/.*"
  4. 3 : debmirror package is not installed, it will be required to manage debian deployments and repositories
  5. 4 : The default password used by the sample templates for newly installed machines (default_password_crypted in /etc/cobbler/settings) is still set to 'cobbler' and should be changed, try: "openssl passwd -1 -salt 'random-phrase-here' 'your-password-here'" to generate new one
  6.  
  7. Restart cobblerd and then run 'cobbler sync' to apply changes.
  8.  
  9. [root@spacewalk tomcat]# /usr/sbin/semanage fcontext -a -t public_content_t "/var/lib/tftpboot/.*" && /usr/sbin/semanage fcontext -a -t public_content_t "/var/www/cobbler/images/.*"
  10. [root@spacewalk tomcat]# /usr/sbin/semanage fcontext -a -t httpd_sys_content_rw_t "/var/lib/cobbler/webui_sessions/.*
  11. "/usr/sbin/semanage: Type httpd_sys_content_rw_t is invalid, must be a file or device type
Advertisement
Add Comment
Please, Sign In to add comment