Differences between revisions 1 and 2
Revision 1 as of 2009-04-23 09:12:46
Size: 953
Editor: snort
Comment:
Revision 2 as of 2009-04-23 09:12:47
Size: 934
Editor: snort
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352705 #pragma page-filename DOC/versions/8486951
Line 8: Line 8:
 1. Make sure your selinux-policy is updated.   "yum update selinux-policy"  1. Make sure your selinux-policy is updated.   "yum update selinux-policy"
Line 10: Line 10:
If you are working with files from an earlier version installed in /var/mailman you must copy them in a method that retains the SELinux files conditions. 
Line 12: Line 11:
 * Use cp with the -p option to preserve the context. 
 * Use mv as it keeps the context during the move. 
If you are working with files from an earlier version installed in /var/mailman you must copy them in a method that retains the SELinux files conditions. 

* Use cp with the -p option to preserve the context. 
 * Use mv as it keeps the context during the move. 

In RedHat Enterprise Linux you may experience some SELinux errors after a version upgrade.

timestamp hostname setroubleshoot: SELinux is preventing mailmanctl (mailman_mail_t) "add_name" to ./mm_cfg.pyc (lib_t). For complete SELinux messages. run sealert -l 835b8ed6-09fb-4cf2-85aa-9b2be7dafeb5

To fix these issues:

  1. Make sure your selinux-policy is updated.   "yum update selinux-policy"
  2. Restore the SELinux file conditions on the mailman data and executable directories. "restorecon -R -v /var/lib/mailman; restorecon -R -v /usr/lib/mailman"

If you are working with files from an earlier version installed in /var/mailman you must copy them in a method that retains the SELinux files conditions. 

  • Use cp with the -p option to preserve the context. 
  • Use mv as it keeps the context during the move. 
  • Use tar and extract the files into the destination.

MailmanWiki: DOC/SELinux errors after upgrade - RedHat (last edited 2015-02-08 11:05:30 by JimTittsler)