[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2013-08-18 Thread dino99
EOL reached now


** Changed in: debhelper (Ubuntu Oneiric)
   Status: In Progress = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2013-07-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~kees/apparmor/debian

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-12-07 Thread Marc Deslauriers
** Changed in: mysql-5.5 (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-11-05 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-dfsg-5.1 -
5.1.66-0ubuntu0.10.04.1

---
mysql-dfsg-5.1 (5.1.66-0ubuntu0.10.04.1) lucid-security; urgency=low

  * SECURITY UPDATE: Update to 5.1.66 to fix security issues (LP: #1068158)
- http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
  * debian/mysql-server-5.1.postrm: do not delete local files if main
conffile still exists since it probably means it is owned by a
new/different package.  (LP: #986892)
 -- Marc Deslauriers marc.deslauri...@ubuntu.com   Fri, 19 Oct 2012 08:32:19 
-0400

** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
   Status: In Progress = Fix Released

** Changed in: mysql-5.1 (Ubuntu Oneiric)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-11-05 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-5.1 - 5.1.66-0ubuntu0.11.10.2

---
mysql-5.1 (5.1.66-0ubuntu0.11.10.2) oneiric-security; urgency=low

  * SECURITY UPDATE: Update to 5.1.66 to fix security issues (LP: #1068158)
- http://www.oracle.com/technetwork/topics/security/cpuoct2012-1515893.html
  * debian/mysql-server-5.1.postrm: do not delete local files if main
conffile still exists since it probably means it is owned by a
new/different package.  (LP: #986892)
 -- Marc Deslauriers marc.deslauri...@ubuntu.com   Mon, 22 Oct 2012 08:15:00 
-0400

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-11-01 Thread Karma Dorje
** Changed in: mysql-5.5 (Ubuntu)
 Assignee: e75ice...@aol.com (e75iceman) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-10-30 Thread e75ice...@aol.com
** Changed in: mysql-5.5 (Ubuntu)
 Assignee: (unassigned) = e75ice...@aol.com (e75iceman)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-10-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-security/apparmor

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-10-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/mysql-dfsg-5.1

** Branch linked: lp:ubuntu/oneiric-proposed/mysql-5.1

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor - 2.7.102-0ubuntu3.4

---
apparmor (2.7.102-0ubuntu3.4) precise-security; urgency=low

  * debian/debhelper/postrm.apparmor: do not delete local files if main
conffile still exists since it probably means it is owned by a
new/different package. (LP: #986892)
 -- Marc Deslauriers marc.deslauri...@ubuntu.com   Sat, 20 Oct 2012 16:55:18 
-0400

** Changed in: apparmor (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-08-14 Thread Thomas Tanghus Olsen
@Clint: You suggested that the comment on 
http://tanghus.net/2012/03/yet-another-mysql-vs-apparmor-barf/#comment-298 is 
related, which seems to be the case. What I experienced wasn't a missing 
/etc/apparmor.d/local/usr.sbin.mysqld, but rather that the update would have 
changed the paths back to the not-working /var/run/* paths after I had manually 
corrected them to use /run prior to upgrading to Precise.
I didn't have an image earlier than 12.04, but tried to install mysql-server in 
a VM (it wasn't available in proposed anymore?). I'm not sure what conditional 
logic to look for in /var/lib/dpkg/info/mysql-server-5.5.postrm. 
/var/lib/dpkg/info/mysql-server-5.1.postrm does get removed on purge, but I 
assume that is intended behaviour?

/etc/apparmor.d/local/usr.sbin.mysqld is empty except for:

 # Site-specific additions and overrides for usr.sbin.mysqld.
 # For more details, please see /etc/apparmor.d/local/README.

/etc/apparmor.d/usr.sbin.mysqld otoh contains both:

  /var/run/mysqld/mysqld.pid w,
  /var/run/mysqld/mysqld.sock w,
  /run/mysqld/mysqld.pid w,
  /run/mysqld/mysqld.sock w,

But mysql runs fine:

Aug 14 14:34:30 NemID-VirtualBox kernel: [ 1530.635603] type=1400 
audit(1344947670.136:27): apparmor=STATUS operation=profile_replace 
name=/usr/sbin/mysqld pid=6072 comm=apparmor_parser
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6116]: Upgrading MySQL 
tables if necessary.
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6119]: 
/usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6119]: Looking for 
'mysql' as: /usr/bin/mysql
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6119]: Looking for 
'mysqlcheck' as: /usr/bin/mysqlcheck
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6119]: This 
installation of MySQL is already upgraded to 5.5.24, use --force if you still 
need to run mysql_upgrade
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6130]: Checking for 
insecure root accounts.
Aug 14 14:34:32 NemID-VirtualBox /etc/mysql/debian-start[6135]: Triggering 
myisam-recover for all MyISAM tables

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-08-01 Thread Clint Byrum
You do not need the originally affected system to verify this fix. There
is a test case listed in the bug description which does not require a
previously affected system, but does require one which you can upgrade
to precise (A bare VM is useful here)

MySQL 5.1 and MySQL 5.5 (oneiric, precise, lucid)
1. install mysql-server
2. check /var/lib/dpkg/info/mysql-server-5.1.postrm for conditional logic 
(change 5.1 to 5.5 for precise)
3. for oneiric and lucid, upgrade to Ubuntu 12.04, verify that 
/etc/apparmor.d/local/usr.sbin.mysqld is still present.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-07-30 Thread MMlosh
I am not sure how would I reliably test this, sorry.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-07-30 Thread Aymeric PETIT
@Scott

I'm unable to restore the environment in which I found that bug, looks
like an upgrade of an other package changed something in apparmor that
fix this bug.

I will try to upgrade (to precise) a backup of my system taken in
December (version is natty) with and without -proposed.

Stay in touch for result.

Regards,
Aymeric.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-07-29 Thread Scott Kitterman
Hello Alex, or anyone else affected,

Accepted into precise-proposed. The package will build now and be
available in a few hours in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: apparmor (Ubuntu Precise)
   Status: Triaged = Fix Committed

** Changed in: mysql-5.5 (Ubuntu Precise)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-07-29 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/oneiric-proposed/debhelper

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-13 Thread Jamie Strandboge
I have verified that Clint's changes work-- eg I adjusted 
/var/lib/dpkg/info/tcpdump.postrm to have (ie, what dh_apparmor would add when 
tcpdump is built with new apparmor):
if [ $1 = purge ]  ! [ -e /etc/apparmor.d/usr.sbin.tcpdump ]; then

and then I did:
$ sudo apt-get remove tcpdump # /etc/apparmor.d/local/usr.sbin.tcpdump still 
exists
$ sudo apt-get remove --purge tcpdump # /etc/apparmor.d/local/usr.sbin.tcpdump 
no longer exists

I will commit this to our bzr branch. Thanks Clint! :)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Clint Byrum
** Changed in: debhelper (Ubuntu Oneiric)
   Importance: Undecided = High

** Changed in: debhelper (Ubuntu Oneiric)
   Status: Triaged = In Progress

** Changed in: debhelper (Ubuntu Oneiric)
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

** Tags added: lucid2precise oneiric2precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Clint Byrum
** Description changed:

+ [Test case]
+ Apparmor:
+ 1.Install dh-apparmor
+ 2. Build a package which build-depends on it (such as mysql-5.5)
+ 3. Extract debs which have dh_apparmor run on them into a dir in tmp with 
dpkg -e file.deb /tmp/foo
+ 4. Verify that the postrm has conditional logic to not remove the files under 
/etc/apparmor.d/*/* if the main profile exists.
+ 
+ Debhelper.
+ Same test case as above, but with debhelper providing dh_apparmor
+ 
+ MySQL 5.1 and MySQL 5.5 (oneiric, precise, lucid)
+ 1. install mysql-server
+ 2. check /var/lib/dpkg/info/mysql-server-5.1.postrm for conditional logic 
(change 5.1 to 5.5 for precise)
+ 3. for oneiric and lucid, upgrade to Ubuntu 12.04, verify that 
/etc/apparmor.d/local/usr.sbin.mysqld is still present.
+ 
+ [Regression Potential]
+ The logic is extremely straight forward, so regressions seem unlikely. Still, 
at worst, purging will leave behind some useless files in /etc/apparmor.d which 
should not be of much concern anyway.
+ 
+ == Original bug description ==
+ 
  After upgrading from Kubuntu 11.10 to 12.04 beta I found that mysql
  isn't running after booting the system
  
  In the syslog there is the following row
  Apr 22 18:04:13 deathworld kernel: [   15.848658] init: mysql pre-start 
process (1033) terminated with status 1
  
  I've tried to execute /etc/init/mysql.conf step by step and found that 
execution
  /lib/init/apparmor-profile-load usr.sbin.mysqld
  shows the following error:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in 
/etc/apparmor.d/usr.sbin.mysqld at line 44: Could not open 
'local/usr.sbin.mysqld'
  It's line:
  #include local/usr.sbin.mysqld
  
  After removing this line mysql can start without any problems
  
- 
  Description:Ubuntu 12.04 LTS
  Release:12.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Clint Byrum
** Description changed:

+ MySQL 5.1 and 5.5 must be rebuilt with the updated debhelper/apparmor
+ and so cannot be verified until those fixes are complete.
+ 
  [Test case]
  Apparmor:
  1.Install dh-apparmor
  2. Build a package which build-depends on it (such as mysql-5.5)
  3. Extract debs which have dh_apparmor run on them into a dir in tmp with 
dpkg -e file.deb /tmp/foo
  4. Verify that the postrm has conditional logic to not remove the files under 
/etc/apparmor.d/*/* if the main profile exists.
  
  Debhelper.
  Same test case as above, but with debhelper providing dh_apparmor
  
  MySQL 5.1 and MySQL 5.5 (oneiric, precise, lucid)
  1. install mysql-server
  2. check /var/lib/dpkg/info/mysql-server-5.1.postrm for conditional logic 
(change 5.1 to 5.5 for precise)
  3. for oneiric and lucid, upgrade to Ubuntu 12.04, verify that 
/etc/apparmor.d/local/usr.sbin.mysqld is still present.
  
  [Regression Potential]
  The logic is extremely straight forward, so regressions seem unlikely. Still, 
at worst, purging will leave behind some useless files in /etc/apparmor.d which 
should not be of much concern anyway.
  
  == Original bug description ==
  
  After upgrading from Kubuntu 11.10 to 12.04 beta I found that mysql
  isn't running after booting the system
  
  In the syslog there is the following row
  Apr 22 18:04:13 deathworld kernel: [   15.848658] init: mysql pre-start 
process (1033) terminated with status 1
  
  I've tried to execute /etc/init/mysql.conf step by step and found that 
execution
  /lib/init/apparmor-profile-load usr.sbin.mysqld
  shows the following error:
  AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in 
/etc/apparmor.d/usr.sbin.mysqld at line 44: Could not open 
'local/usr.sbin.mysqld'
  It's line:
  #include local/usr.sbin.mysqld
  
  After removing this line mysql can start without any problems
  
  Description:Ubuntu 12.04 LTS
  Release:12.04

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-5.5 - 5.5.25-0ubuntu1

---
mysql-5.5 (5.5.25-0ubuntu1) quantal; urgency=low

  * New upstream release (LP: #1011371, LP: #986892)
  * d/rules: change get-orig-source to pull from a working mirror.
  * d/control: Build with default compiler instead of gcc 4.5
 -- Clint Byrum cl...@ubuntu.com   Mon, 11 Jun 2012 23:34:14 -0700

** Changed in: mysql-5.5 (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/apparmor

** Branch linked: lp:ubuntu/mysql-5.5

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-12 Thread Clint Byrum
** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
   Status: Triaged = In Progress

** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
 Assignee: (unassigned) = Clint Byrum (clint-fewbar)

** Changed in: mysql-5.5 (Ubuntu Lucid)
   Status: Triaged = Invalid

** Changed in: mysql-5.5 (Ubuntu Oneiric)
   Status: Confirmed = Invalid

** Changed in: mysql-5.1 (Ubuntu Lucid)
   Status: Triaged = Invalid

** Changed in: mysql-5.5 (Ubuntu Precise)
   Importance: Undecided = High

** Changed in: mysql-5.5 (Ubuntu Precise)
   Status: Confirmed = Triaged

** Changed in: apparmor (Ubuntu Precise)
   Importance: Undecided = High

** Changed in: apparmor (Ubuntu Precise)
   Status: Confirmed = Triaged

** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-11 Thread Clint Byrum
Adding lucid task. This actually has to be fixed in lucid and oneiric so
that mysql-5.1 - 5.5 transitions go properly. Also adding mysql-5.1
since it will have to be rebuilt.

** Also affects: apparmor (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: mysql-5.5 (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: mysql-5.1 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: mysql-5.1 (Ubuntu Precise)
   Status: New = Invalid

** Changed in: mysql-5.1 (Ubuntu Oneiric)
   Status: New = Triaged

** Changed in: mysql-5.1 (Ubuntu Lucid)
   Status: New = Triaged

** Changed in: mysql-5.1 (Ubuntu)
   Status: New = Invalid

** Changed in: mysql-5.5 (Ubuntu Lucid)
   Status: New = Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-11 Thread Clint Byrum
dh_apparmor was in debhelper until precise, so oneiric/lucid apparmor is
unaffected, but adding debhelper tasks instead

** Also affects: debhelper (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: apparmor (Ubuntu Oneiric)
   Status: Confirmed = Invalid

** Changed in: apparmor (Ubuntu Lucid)
   Status: New = Invalid

** Changed in: debhelper (Ubuntu)
   Status: New = Invalid

** Changed in: debhelper (Ubuntu Precise)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-11 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor - 2.7.102-0ubuntu5

---
apparmor (2.7.102-0ubuntu5) quantal; urgency=low

  * debian/debhelper/postrm.apparmor: do not delete local files if main
conffile still exists since it probably means it is owned by a
new/different package.  (LP: #986892)
 -- Clint Byrum cl...@ubuntu.com   Mon, 11 Jun 2012 21:40:33 -0700

** Changed in: apparmor (Ubuntu)
   Status: Triaged = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

2012-06-11 Thread Clint Byrum
dh_apparmor was added after lucid, so the code is directly in lucid's
mysql-server-5.1.postrm

** Also affects: mysql-dfsg-5.1 (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: debhelper (Ubuntu Lucid)
   Status: New = Invalid

** Changed in: debhelper (Ubuntu Oneiric)
   Status: New = Triaged

** Changed in: mysql-dfsg-5.1 (Ubuntu)
   Status: New = Invalid

** Changed in: mysql-dfsg-5.1 (Ubuntu Lucid)
   Status: New = Triaged

** Changed in: mysql-dfsg-5.1 (Ubuntu Oneiric)
   Status: New = Invalid

** Changed in: mysql-dfsg-5.1 (Ubuntu Precise)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/986892/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs