dovecot imap-login profile missing inet6 access
Bug #978584 reported by
Steve Beattie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned | ||
apparmor (openSUSE) |
Fix Released
|
Medium
|
Bug Description
the usr.lib.
inet
References: https:/
=== modified file 'profiles/
--- profiles/
+++ profiles/
@@ -11,6 +11,7 @@
capability sys_chroot,
network inet stream,
+ network inet6 stream,
/usr/
/{,var/
Related branches
Changed in apparmor (openSUSE): | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Medium |
milestone: | none → ubuntu-12.04 |
status: | New → Fix Committed |
Changed in apparmor (openSUSE): | |
status: | Incomplete → Confirmed |
Changed in apparmor (openSUSE): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0
I had some trouble with the AppArmor profiles for Dovecot. After running
aa-complain /usr/lib/ dovecot/ imap-login
for a while, aa-logprof failed to create a working profile.
The relevant lines from /var/log/ audit/audit. log indicated many instances of the following variety:
type=AVC msg=audit( 1333648169. 009:11707146) : apparmor="ALLOWED" operation="accept" parent=25932 profile= "/usr/lib/ dovecot/ imap-login" pid=5049 comm="imap-login" lport=143 family="inet6" sock_type="stream" protocol=6
After running aa-logconf, the profile did contain the line
network inet stream,
but what actually was needed was
network inet6 stream,
After adding this to the profile, everything works.
Reproducible: Always