I'm using 140 apparmor HAT profiles with apache2 and mod_apparmor, when I tried to restart apparmor with apparmor_restart the kernel traced out, the process hanged, I wasnt even able to kill it with kill -9
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-
lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
I'm using:
linux-image-
ii apparmor 2.1+1075-0ubuntu9.1 User-space parser utility for AppArmor
ii apparmor-docs 2.1+1075-0ubuntu9.1 Documentation for AppArmor
ii apparmor-profiles 2.1+1075-0ubuntu9.1 Profiles for AppArmor Security policies
ii apparmor-utils 2.1+1075-0ubuntu9.1 Utilities for controlling AppArmor
ii libapache2-
ii libapparmor1 2.1+1075-0ubuntu9.1 changehat AppArmor library
ii apache2-mpm-prefork 2.2.8-1ubuntu0.3 Traditional model for Apache HTTPD
ii apache2-prefork-dev 2.2.8-1ubuntu0.3 development headers for apache2
ii apache2-utils 2.2.8-1ubuntu0.3 utility programs for webservers
ii apache2.2-common 2.2.8-1ubuntu0.3 Next generation, scalable, extendable web se
ii libapache2-
ii libapache2-
ii libapache2-
ii libapache2-
ii libapache2-mod-php5 5.2.4-2ubuntu5.3 server-side, HTML-embedded scripting languag
here is the trace, it happened after executing /etc/init.
apparmor restart hung, not able to be killed with kill -9
[ 796.418069] Pid: 6201, comm: apparmor_parser Not tainted (2.6.24-19-server #1)
[ 796.418074] EIP: 0060:[<c032fc6d>] EFLAGS: 00000287 CPU: 1
[ 796.418081] EIP is at __write_
[ 796.418085] EAX: f7c06020 EBX: f4ddff40 ECX: 00000000 EDX: f8a9df28
[ 796.418089] ESI: f7c06000 EDI: f52a9300 EBP: 00004f29 ESP: f4ddff00
[ 796.418091] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 796.418093] CR0: 8005003b CR2: 08050460 CR3: 34549000 CR4: 000006b0
[ 796.418097] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 796.418100] DR6: ffff0ff0 DR7: 00000400
[ 796.418103] [<c032ff6e>] _write_
[ 796.418109] [<c020d1d1>] aa_replace_
[ 796.418125] [<c020c2b0>] aa_simple_
[ 796.418131] [<c01989ab>] do_filp_
[ 796.418136] [<c0123feb>] check_pgt_
[ 796.418144] [<c020c61b>] aa_profile_
[ 796.418148] [<c020c5e0>] aa_profile_
[ 796.418151] [<c019ab69>] vfs_write+
[ 796.418156] [<c019b291>] sys_write+0x41/0x70
[ 796.418162] [<c010839a>] sysenter_
[ 796.418169] [<c0330000>] _spin_lock_
Please try this with the latest -6 linux kernel. If it still fails, please attach any non-standard profiles you are using and steps to reproduce the problem. I haven't seen these failures and haven't been able to recreate them.