Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S squid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Debian Squid Maintainers
  • squid
  • Merge requests
  • !19

apparmor: allow reading /etc/ssl/openssl.cnf

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Simon Deziel requested to merge sdeziel-guest/squid:apparmor-openssl into master Apr 04, 2022
  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 1

On start squid would trigger this (in a LXD container):

audit: type=1400 audit(1649103043.583:223): apparmor="DENIED" operation="open" \
       namespace="root//lxd-squid_<var-snap-lxd-common-lxd>" \
       profile="/usr/sbin/squid" name="/etc/ssl/openssl.cnf" pid=1004228 \
       comm="squid" requested_mask="r" denied_mask="r" fsuid=1589824 ouid=1589824

Instead of allowing just the openssl.cnf file, use the proper abstraction.

Signed-off-by: Simon Deziel simon@sdeziel.info

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: apparmor-openssl