Bug 144620
Summary: | Squirrelmail can't send mail | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Paul Black <paul.0000.black> | ||||||
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3 | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-01-11 15:09:33 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Paul Black
2005-01-09 21:01:03 UTC
Created attachment 109542 [details]
SELinux messages sent to syslog
The problem is that your system is not labeled correctly. The best way to fix this is to touch /.autorelabel reboot Which will clean up the labels. Squirrelmail was fixed after the release of FC3, so you have to relabel. Dan It made things worse! No I can't log in to squirrelmail without "setenfdorce 0". The other errors are still present. I do not know how you generated the AVC message log that you attached. Can you just attach the output of grep -i avc /var/log/messages Do you have selinux-policy-targeted-sources installed? If yes can you do a make -C /etc/selinux/targeted/src/policy load Dan Created attachment 109595 [details] SELinux messages from /var/log/messages The previous log message were from /var/log/messages with the timestamps removed. > Do you have selinux-policy-targeted-sources installed? Yes. > If yes can you do a > make -C /etc/selinux/targeted/src/policy load Ran without error. This log I'm attaching has two bits in it: the first two messages are from logging in to Squirrelmail, the rest are from trying to send mail. Ok the problem is that httpd is not transitioning to system_mail_t. ls -lZ /usr/sbin/sendmail.sendmail should show that sendmail is marked as system_u:object_r:sendmail_exec_t It also looks like ls -ladZ /var/spool/mqueue is labeled incorrectly should be system_u:object_r:mqueue_spool_t So I believe your system did not relabel correctly. Dan You may be right about not doing the relabel correctly. I've just redone the "touch /.autorelabel; reboot" (that's the second relabel today) and both /usr/sbin/sendmail.sendmail and /var/spool/mqueue now have the labels mentioned above (they didn't before). Squirrelmail now works. Cheers. |