Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-02-20 Thread Felix Geyer
dh_apparmor is still only called on Ubuntu: if [ $(DISTRIBUTION) = Ubuntu ]; then \ dh_apparmor -pmysql-server-5.5 --profile-name=usr.sbin.mysqld; \ fi That means all the postinst magic is missing to create /etc/apparmor.d/local/usr.sbin.mysqld and load the profile.

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-02-20 Thread intrigeri
Control: reopen -1 Felix Geyer wrote (20 Feb 2014 13:39:16 GMT) : dh_apparmor is still only called on Ubuntu: if [ $(DISTRIBUTION) = Ubuntu ]; then \ dh_apparmor -pmysql-server-5.5 --profile-name=usr.sbin.mysqld; \ fi That means all the postinst magic is missing to

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-02-20 Thread Robie Basak
reopen 736087 thanks On Thu, Feb 20, 2014 at 02:39:16PM +0100, Felix Geyer wrote: dh_apparmor is still only called on Ubuntu: if [ $(DISTRIBUTION) = Ubuntu ]; then \ dh_apparmor -pmysql-server-5.5 --profile-name=usr.sbin.mysqld; \ fi That means all the postinst magic is

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-02-10 Thread Robie Basak
I've just submitted a patch for this: http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/2014-February/006409.html I'd like to counter some of your points, as I think it does make sense for Debian to cover this. I do have an ulterior motive here, though, which is that carrying this in

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-02-10 Thread intrigeri
Robie Basak wrote (10 Feb 2014 14:08:59 GMT) : You certainly will need to prevent the installation of a default apparmor profile when there is an existing /etc/mysql/my.cnf installed by the user. Otherwise things will certainly break if any stuff has moved to different directories. I think

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-01-21 Thread Kristian Nielsen
intrig...@debian.org writes: debian/rules only installs the usr.sbin.mysqld AppArmor profile on Ubuntu (no idea why this is done in override_dh_installlogrotate-arch, by the way; looks like a buggy merge to me, but anyway, that's off-topic for now). In my experience, there are a lot of

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-01-21 Thread intrigeri
Hi, Kristian Nielsen wrote (21 Jan 2014 09:18:05 GMT) : In my experience, there are a lot of problems with installing an apparmor profile by default for the MySQL server. This is from 4 years of experience maintaining MariaDB .deb packages. Thank you for this very useful input. I want to

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-01-19 Thread Clint Byrum
Excerpts from intrigeri's message of 2014-01-19 08:05:27 -0800: Source: mysql-5.5 Severity: wishlist Version: 5.5.33+dfsg-1 Hi, debian/rules only installs the usr.sbin.mysqld AppArmor profile on Ubuntu (no idea why this is done in override_dh_installlogrotate-arch, by the way; looks

Bug#736087: [debian-mysql] Bug#736087: mysql-5.5: Please install AppArmor profile on Debian too

2014-01-19 Thread intrigeri
Clint Byrum wrote (19 Jan 2014 16:22:19 GMT) : It is in fact just an oversight during merging changes back from Ubuntu. James Page has promised to me that there will be a concerted effort to get Ubuntu and Debian in sync in the very near term, and that would include the AppArmor profile. Very