Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • apparmor apparmor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 24
    • Merge requests 24
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • AppArmor
  • apparmorapparmor
  • Merge requests
  • !663

utils: fix make -C profiles check-logprof fails

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged
John Johansen requested to merge jjohansen/apparmor:fix-utils-logprof into master Oct 21, 2020
  • Overview 10
  • Commits 1
  • Pipelines 7
  • Changes 5

On arch make -C profiles check-logprof

fails with *** Checking profiles from ./apparmor.d against logprof

ERROR: Can't find AppArmor profiles in /etc/apparmor.d make: *** [Makefile:113: check-logprof] Error 1 make: Leaving directory '/build/apparmor/src/apparmor-2.13.3/profiles'

because /etc/apparmor.d/ is not available in the build environment and aa-logprofs --dir argument, is not being passed to init_aa() but used to update profiles_dir after the fact.

Fix this by passing profiledir as an argument to init_aa()

Fixes: #36 (closed) Signed-off-by: John Johansen john.johansen@canonical.com

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-utils-logprof