Bug 8046 - AppArmor profiles give error on Ubuntu 8.04 (Hardy)
: AppArmor profiles give error on Ubuntu 8.04 (Hardy)
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: RPM
: 7.0.1
: PC Ubuntu Linux
: -- normal (vote)
: 7.x
Assigned To: Matt Wise
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-03 12:29 UTC by Hendrik van Antwerpen
Modified: 2009-07-31 10:20 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik van Antwerpen 2008-05-03 12:29:57 UTC
After upgrading squeezecenter to 7.0.1-r19352 (from http://debian.slimdevices.com testing), aptitude gives the following error:

Errors were encountered while processing:
 squeezecenter
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up squeezecenter (7.0.1~19352) ...
Reloading AppArmor profiles Warning: found /etc/apparmor.d/force-complain/usr.sbin.mysqld, forcing complain mode
/sbin/apparmor_parser: Unable to replace "/usr/sbin/mysqld".  Profile doesn't conform to protocol
 Profile /etc/apparmor.d/usr.sbin.mysqld failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/mysqld".  Profile doesn't conform to protocol
 Profile /etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig failed to load
: Failed.
dpkg: error processing squeezecenter (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 squeezecenter

Since I got this right after I upgraded to Hardy, the chances are good that change causes the problems.
Comment 1 James Richardson 2008-05-05 09:52:38 UTC
bug 7580 related to this issue.
Comment 2 Matt Wise 2008-05-05 11:41:21 UTC
I'll check this out shortly ... but in the mean time, I found this link

https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/138954/+viewstatus

that indicates it could be a problem with apparmor. I'll see if I can reproduce though, and go from there. 

Comment 3 Hendrik van Antwerpen 2008-05-05 12:25:32 UTC
The problem seems to be a general Ubuntu problem, other profiles refuse to load too. The bug you linked to has resolution fixed and was filed september 2007. I'll file a new bug to Ubuntu. Close this one as INVALID, as it's not an squeezecenter bug.
Comment 4 Chris Owens 2009-07-31 10:20:34 UTC
Reduce number of active targets for SC