mythtv schedules broken due apparmor mysql profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
High
|
Jamie Strandboge | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned | ||
mysql-5.1 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apparmor
Release: 10.10
apparmor: 2.5.1~pre1393-
mythtv: 0.23.1+
mysql-server: 5.1.49-1ubuntu2
mysql-client: 5.1.49-1ubuntu2
Old schedules are not performed anymore.
New schedules don't show up in mythfrontend.
But they appear in mythweb.
Nevertheless theese schedules have no effect, mythtv doesn't record anything.
Workaround, stop apparmor:
sudo service apparmor stop
Schedules show up in mythfrontend again and are performed as expected
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1~pre1393-
ProcVersionSign
Uname: Linux 2.6.35-14-generic i686
NonfreeKernelMo
ApparmorStatusO
Error: command /usr/sbin/
apparmor module is loaded.
Architecture: i386
Date: Mon Aug 9 02:36:58 2010
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: apparmor
Related branches
Changed in mysql-5.1 (Ubuntu): | |
status: | Incomplete → Invalid |
assignee: | Jamie Strandboge (jdstrand) → nobody |
Changed in mysql-5.1 (Ubuntu Lucid): | |
status: | New → Invalid |
tags: |
added: verification-done removed: verification-needed |
Changed in mysql-5.1 (Ubuntu Lucid): | |
status: | Invalid → Fix Committed |
Thomas, can you adjust these lines in /etc/apparmor. d/abstractions/ user-tmp:
owner /var/tmp/ rw,
owner /tmp/ rw,
to be:
/var/tmp/ rw,
/tmp/ rw,
Then do: d/usr.sbin. mysqld
$ sudo apparmor_parser -r -T -W /etc/apparmor.
Then restart apparmor then mysql. Rebooting would be easiest (but make sure mysqld is still confined with 'sudo aa-status').
Please report back. I also recommend The abstraction is clearly too strict and will be fixed in the apparmor package, but after making the change an adjustment may still be needed for mysql.