[Bug 735949] [NEW] AppArmor prevents mysqld from working in Digikam's internal-server MySQL mode
Launchpad Bug Tracker
735949 at bugs.launchpad.net
Wed Mar 16 12:39:57 UTC 2011
You have been subscribed to a public bug:
Binary package hint: apparmor
I was trying to test Digikam's database migration to the "internal
server" MySQL mode. It failed every time and I couldn't figure out why.
Later I was looking in the kernel logs for another reason and saw these
lines:
Mar 15 22:40:17 kubbie kernel: [66325.677327] type=1400 audit(1300246816.762:35715): apparmor="DENIED" operation="open" parent=11367 profile="/usr/sbin/mysqld" n
ame="/sys/devices/system/cpu/" pid=11406 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
Mar 15 22:40:17 kubbie kernel: [66325.768133] type=1400 audit(1300246816.854:35716): apparmor="DENIED" operation="open" parent=11367 profile="/usr/sbin/mysqld" name="/home/me/.kde/share/apps/digikam/mysql.conf" pid=11406 comm="mysqld" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Mar 15 22:40:18 kubbie kernel: [66326.610800] type=1400 audit(1300246817.694:35717): apparmor="DENIED" operation="mknod" parent=11367 profile="/usr/sbin/mysqld" name="/home/me/.kde/share/apps/digikam/db_data/kubbie.lower-test" pid=11406 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
Mar 15 22:40:18 kubbie kernel: [66326.610865] type=1400 audit(1300246817.694:35718): apparmor="DENIED" operation="mknod" parent=11367 profile="/usr/sbin/mysqld" name="/home/me/.kde/share/apps/digikam/db_data/kubbie.lower-test" pid=11406 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
Mar 15 22:40:19 kubbie kernel: [66328.836977] type=1400 audit(1300246819.922:35719): apparmor="DENIED" operation="mknod" parent=11367 profile="/usr/sbin/mysqld" name="/home/me/.kde/share/apps/digikam/db_data/ibdata1" pid=11406 comm="mysqld" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
I'm not sure if this should be reported against apparmor, mysql-server,
or digikam.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: apparmor 2.5.1-0ubuntu0.10.10.4 [modified: sbin/apparmor_parser]
ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
Uname: Linux 2.6.35-27-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Mar 16 02:55:38 2011
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-2.6.35-27-generic root=/dev/mapper/vg-root ro quiet splash
SourcePackage: apparmor
** Affects: digikam (Ubuntu)
Importance: Medium
Status: Triaged
** Tags: apport-bug i386 maverick
--
AppArmor prevents mysqld from working in Digikam's internal-server MySQL mode
https://bugs.launchpad.net/bugs/735949
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to digikam in ubuntu.
More information about the kubuntu-bugs
mailing list