apparmor chromium-browser abstraction missing in Ubuntu 12.04 upgrade

Bug #992469 reported by agent 8131
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I've had this happen on 2 or 3 systems upgraded to Ubuntu 12.04. The file:

/etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser

will be missing leading to problems with apparmor like this:

# aa-logprof
Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.

Can't find include file abstractions/ubuntu-browsers.d/chromium-browser: No such file or directory

#

I found this could be fixed by running:

# apt-get install --reinstall apparmor-profiles

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

Thank you for using Ubuntu and reporting a bug. AFAICS, this can only happen when the apparmor-profiles package is purged, but it should be added back when the package is reinstalled. I am trying to reproduce now with an upgrade from 11.10.

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

I was not able to reproduce this. apparmor-profiles was not removed on upgrade from 11.10 to 12.04 and /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser exists after upgrade.

Can you attach your /var/log/dist-upgrade/term.log file?

Changed in apparmor (Ubuntu):
status: New → Incomplete
Revision history for this message
agent 8131 (agent-8131) wrote :

> this can only happen when the apparmor-profiles package is purged

I am confident that the package was not purged during the upgrade process. On the server text box I upgraded there is no /var/log/dist-upgrade/term.log file. This box was upgraded from 10.04 to 12.04. I will check the other box (which was 11.10 to 12.04) when I am able. This does not happen on every upgrade, but it has happened 2 out of 3 times for me. I don't know if it has anything to do with the mode of the profiles or something else that may have been changed about AppArmor. If it had only happened once I would have written it off, but twice I figured I would post what happened with the solution so that other people can get passed this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apparmor (Ubuntu) because there has been no activity for 60 days.]

Changed in apparmor (Ubuntu):
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.