Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pkg-gpsd
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 2
    • Merge requests 2
  • 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 GPS team
  • pkg-gpsd
  • Merge requests
  • !3

apparmor: fix control socket usage for gpsdctrl (LP: #1790496)

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christian Ehrhardt requested to merge paelzer-guest/pkg-gpsd:apparmor-fix-gpsdctl into master Jan 31, 2020
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

The subsequent access of the daemon to the device is covered already.

common serial paths to GPS devices

/dev/tty{,S,USB,AMA,ACM}[0-9]* rw,

But gpsdctl itself isn't yet - therefore we see $ sudo gpsdctl add /dev/ttyUSB0 triggering: apparmor="DENIED profile="/usr/sbin/gpsd" name="/run/gpsd.sock" requested_mask="r" denied_mask="r"

This change adds a rule for that.

Signed-off-by: Christian Ehrhardt christian.ehrhardt@canonical.com

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