Differences between revisions 2 and 3
Revision 2 as of 2009-04-23 09:12:47
Size: 934
Editor: snort
Comment: Migrated to Confluence 4.0
Revision 3 as of 2015-02-08 11:05:30
Size: 947
Editor: JimTittsler
Comment: RedHat is not a wikiword (should actually be Red Hat, but left for search reasons)
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
In RedHat Enterprise Linux you may experience some SELinux errors after a version upgrade. In !RedHat Enterprise Linux you may experience some SELinux errors after a version upgrade.
Line 4: Line 4:
{{{
Line 5: Line 6:
}}}

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)