[apparmor] [Bug 903747] Re: loading big policy fails with vmap kernel errors

Arkadiusz Miśkiewicz arekm at pld-linux.org
Tue Dec 13 14:43:34 UTC 2011


One more explanation. Entire policy is nearly 10 000 hats but apparmor
reload complains about this one only:

/etc/apparmor.d/usr.sbin.httpd.prefork-customer-97608 failed to load

and above thing was in dmesg.

-- 
You received this bug notification because you are a member of AppArmor
Developers, which is the registrant for AppArmor.
https://bugs.launchpad.net/bugs/903747

Title:
  loading big policy fails with  vmap kernel errors

Status in AppArmor Linux application security framework:
  New

Bug description:
  When loading big policy (40MB) then kernel 3.0.13 complains:

  [wto gru 13 15:34:25 2011] alloc_vmap_area: 44 callbacks suppressed
  [wto gru 13 15:34:25 2011] vmap allocation for size 46329856 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46301184 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46268416 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46239744 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46211072 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46182400 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46153728 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46125056 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46096384 failed: use vmalloc=<size> to increase size.
  [wto gru 13 15:34:25 2011] vmap allocation for size 46067712 failed: use vmalloc=<size> to increase size.

  The policy contains ~1500 HATs. Machine is 32bit and has 4GB of ram.

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



More information about the AppArmor mailing list