Bug 139567 - Subdomain stops postfix/cyrus working
Summary: Subdomain stops postfix/cyrus working
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: AppArmor (show other bugs)
Version: RC 1
Hardware: i686 Other
: P5 - None : Critical
Target Milestone: ---
Assignee: Dominic W Reynolds
QA Contact: Dominic W Reynolds
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-16 11:07 UTC by Michael Schwartzkopff
Modified: 2007-02-01 13:16 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Schwartzkopff 2005-12-16 11:07:10 UTC
Hi,

standalone postfix works. Local mail delivery through cyrus does not work. In /var/log/messages I get something like:

<date> kernel: SubDomain: REJECTING w access to /var/spool/postfix/private/lmtp (local(6717) profile /usr/lib/postfix/local active /usr/lib/postfix/local)

I have to use YaST-> AppArmor -> UpdateProfile Wizard to get it working.

But very annoying: Through the wizard I got rid of the error messages, restarted postfix and got _new_ error messages from sudomain system. So I had to use the Update Profile Wizard for about 10 times before everything was working.

My installation: Straight forward setup with KDE, just for postfix, nothing else.
Comment 1 Dominic W Reynolds 2005-12-17 06:45:18 UTC
Thanks for the info: we will look into this issue. 

For working around repeated cycles for single rejects. You can use the command line utils "complain" and "enforce" to toggle the mode of a profile. So for the above:

1. Run "complain /usr/lib/postfix/local" - would toggle the profile into learning mode 

2. In learning mode you can then completely execute your use case (mail delivery and retrieval) 

3. Run YaST-> AppArmor -> Update Profile Wizard to capture the new behavior

4. Run "enforce /usr/lib/postfix/local" to reset this profile to enforce mode
Comment 2 Dominic W Reynolds 2006-01-31 01:23:08 UTC
Will exercise this use case and  update profile set for a maintenance release in feb. Will close this bug when the release has been pushed to the maintenance system
Comment 3 Seth R Arnold 2006-02-08 00:25:50 UTC
Michael, could you attach the logfile that included the additional accesses you required to allow cyrus and postfix to work together? Thanks
Comment 4 Michael Schwartzkopff 2006-02-08 05:44:41 UTC
Sorry, but I did set up this machine nearly two months ago. Where are the logfiles saved?
Comment 5 Seth R Arnold 2006-03-03 20:47:15 UTC
Michael, the logs are in /var/log/messages; if the errors were a while ago, syslog may have rotated the logs to a messages.1, or similar.

Thanks
Comment 6 Andreas Jaeger 2007-02-01 13:16:10 UTC
No reaction for 8 months, closing as CANTFIX.