Comment 5 for bug 466315

Revision history for this message
Kenyon Ralph (kralph) wrote : Re: [Bug 466315] Re: bind9 missed a dependency with apparmor-profiles

On 2009-11-03T22:53:27-0000, Jamie Strandboge <email address hidden> wrote:
> apparmor-profiles is in universe, and bind9 is in main, so bind9 cannot
> depend on apparmor-profiles.

I see.

> This error is confusing because apparmor-profiles on 9.10 does not
> provide a profile for usr.sbin.named, and provides no abstractions.

Yes, this is strange.

% dlocate -S /etc/apparmor.d/usr.sbin.named
bind9: /etc/apparmor.d/usr.sbin.named

I did sudo aa-complain =named, sudo aptitude remove apparmor-profiles,
stopped and started bind9, saw no complaints. Same after sudo aa-enforce
=named, no problems, bind9 works.

So this bug might be some kind of weirdness that happens when upgrading
bind9. I did the jaunty->karmic upgrade via do-release-upgrade. I had
bind9 1:9.5.1.dfsg.P2-1ubuntu0.1 on jaunty.

> Kenyon, can you attach a tarball of your /etc/apparmor.d/ directory?
> $ sudo tar -zcvf /tmp/466315.tar.gz /etc/apparmor.d

Tarballs attached. One is with apparmor-profiles installed, one is after
removing it.

--
Kenyon Ralph