Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
libapparmor
apparmor-enable-profile-cache.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File apparmor-enable-profile-cache.diff of Package libapparmor
Enable caching of profiles. This speeds up loading the (unchanged) profiles about 20 times. Upstream doesn't enable caching because the cache directory is not writeable at the time profiles are loaded in Ubuntu. See also bnc#689458 Also set the cache location to /var/cache/apparmor/ (writeable) and /usr/share/apparmor/cache/ (packaged precompiled cache). See boo#1069906 and boo#1074429 Signed-off by: Christian Boltz <apparmor@cboltz.de> Index: parser/parser.conf =================================================================== --- parser/parser.conf_ORIG 2018-04-19 22:47:18.485179998 +0200 +++ parser/parser.conf 2018-04-19 22:51:12.084588654 +0200 @@ -31,7 +31,10 @@ # match-string "pattern=aadfa audit perms=crwxamlk/ user::other" ## Turn creating/updating of the cache on by default -#write-cache +write-cache + +# cache location (cache writes go to the first directory in the list) +cache-loc /var/cache/apparmor,/usr/share/apparmor/cache ## Show cache hits #show-cache
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor