/usr/lib/dovecot/dovecot-lda: "Failed name lookup - disconnected path"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned | ||
2.10 |
Fix Released
|
Undecided
|
Unassigned | ||
2.9 |
Fix Released
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
Hi,
I'm currently trying to use dovecot in a test scenario, but run into the problem of a strange malfunction of apparmor.
What I do:
installed packages dovecot-core and dovecot-lmtp
(and of course apparmor)
Then I do (as root)
/usr/lib/
Subject: test
blabla
ENDE
which fails. strace shows:
14353 connect(6, {sa_family=
...
14353 connect(7, {sa_family=
although file permissions are good, unix sockets exist and daemons are listening.
/var/log/kern.log says
Dec 18 01:09:45 monstrum kernel: [34849.052767] audit: type=1400 audit(148201978
Dec 18 01:09:45 monstrum kernel: [34849.055652] audit: type=1400 audit(148201978
Dec 18 01:09:45 monstrum kernel: [34849.065203] audit: type=1400 audit(148201978
which strangely says ALLOWED, but error=-13 as well,
and that even if dovecot-lda is in complain mode.
But when I put it into disable mode with
aa-disable /usr/lib/
then things work.
So
- it is definitely apparmor related, since aa-disable turns the problem off,
- it looks like a bug since aa-complain should never block anything,
- an ALLOWED-log should not blog
- there's an error=-13
regards
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apparmor-profiles 2.10.95-0ubuntu2.5
ProcVersionSign
Uname: Linux 4.4.0-53-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.2
Architecture: amd64
CurrentDesktop: LXDE
Date: Sun Dec 18 01:06:15 2016
PackageArchitec
ProcKernelCmdline: BOOT_IMAGE=
SourcePackage: apparmor
UpgradeStatus: Upgraded to xenial on 2016-04-06 (255 days ago)
Changed in apparmor (Ubuntu): | |
importance: | Undecided → High |
summary: |
- "Failed name lookup - disconnected path" + /usr/lib/dovecot/dovecot-lda: "Failed name lookup - disconnected path" |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
Same problem here