apparmor blocks libnss-resolve socket
Bug #2051506 reported by
Gunnar
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Usage of `libnss-resolve` socket is blocked by apparmor.
Evidence:
- Install `libnss-resolve`
- Set /etc/nsswitch.conf to have `hosts: files resolve`
- Try resolving anything, it fails
`strace` of affected process reveals:
`connect(5, {sa_family=AF_UNIX, sun_path=
Run `aa-disable` on affected profile and `strace` it again, it works:
`connect(5, {sa_family=AF_UNIX, sun_path=
Note that using `aa-complain` DOES NOT work.
p.s. has this ever worked?
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.