apparmor-easyprof-ubuntu installed on 15.04/edge, but it shouldn't be

Bug #1464030 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Expired
Medium
Unassigned

Bug Description

I noticed that apparmor-easyprof-ubuntu is installed in Ubuntu Core, but it shouldn't be. This is only for touch policy and meaningless on core and could lead to confusion for people developing on Ubuntu Core. At some point I removed it (or thought I did), but it seems to be getting pulled back in again.

description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

This looks like a ordering problem. It seems like its pulled in via the or-dependency in python3-apparmor-click
"""
Package: python3-apparmor-click
Status: install ok installed
Depends: python3:any (>= 3.3.2-2~), apparmor-easyprof, apparmor-easyprof-ubuntu (>= 1.0.17) | ubuntu-core-security-apparmor, libnih-dbus1
"""

Changed in snappy:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

At some point this was resolved though... I can't switch the ordering because then touch would pull in ubuntu-core-security-apparmor. I'm not sure how to proceed....

Revision history for this message
Steve Langasek (vorlon) wrote :

The fix is to get ubuntu-core-security-apparmor pulled in via the seed /before/ the dependencies of python3-apparmor-click are resolved.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I interpreted (incorrectly?) this as needing to adjust the system-image seed to have 'click-apparmor' appear after ubuntu-core-security-apparmor in the seed list. I did this in r2340 of ~ubuntu-core-dev/ubuntu-seeds/ubuntu.vivid/ yesterday. Image build r98 for ubuntu-core/15.04/edge still has apparmor-easyprof-ubuntu installed after a 'snappy update'. Should I be doing something different? (I did also make the change for the wily seed)

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1464030] Re: apparmor-easyprof-ubuntu installed on 15.04/edge, but it shouldn't be

On Tue, Jun 23, 2015 at 08:21:22PM -0000, Jamie Strandboge wrote:
> I interpreted (incorrectly?) this as needing to adjust the system-image
> seed to have 'click-apparmor' appear after ubuntu-core-security-apparmor
> in the seed list. I did this in r2340 of ~ubuntu-core-dev/ubuntu-
> seeds/ubuntu.vivid/ yesterday. Image build r98 for ubuntu-
> core/15.04/edge still has apparmor-easyprof-ubuntu installed after a
> 'snappy update'. Should I be doing something different? (I did also make
> the change for the wily seed)

Yes, sorry, I was somewhat deliberately vague here because it's not as
simple as the ordering in the seed file. (I had previously believed this to
be the case, but Colin set me straight recently.) What's really required is
to make sure the package you need is *topologically* before the package that
carries the ORed dependency. I don't know a good way to determine this
without introspection of the apt commands being run as part of the live
build.

Revision history for this message
Leo Arias (elopio) wrote :

I don't see any of the data files that apparmor-easyprof-ubuntu installs, so I think this was fixed. But I'm not sure how to get the list of installed packages. Could you please confirm this Jamie? Or let me know how can I get that list.

Changed in snappy:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Snappy because there has been no activity for 60 days.]

Changed in snappy:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.