Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 262
    • Issues 262
    • List
    • Boards
    • Service Desk
    • Milestones
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 32
    • Merge requests 32
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • dbus
  • Issues
  • #151
Closed
Open
Issue created Jun 29, 2016 by Bugzilla Migration User@bugzilla-migration

AppArmor mode not reloaded until a process reconnects

Submitted by Philip Withnall

Assigned to D-Bus Maintainers

Link to original bug (#96720)

Description

• I have a process (A) running in enforce mode under AppArmor, and connected to dbus-daemon • Process B is also running in enforce mode, and the profile for process A does not allow incoming method calls from process B (but doesn’t deny them either) • Process B tries to call a method on process A — this is correctly rejected by dbus-daemon • I call sudo aa-complain /path/to/process/A to switch process A to complain mode, which instantly affects all AppArmor decisions made on the syscall boundary for it • Process B should now be able to call methods on process A, but they are still denied • If I restart process A, process B //can// now call methods on it

So it seems like the AppArmor mode for a connection to dbus-daemon is being cached and not updated when it changes in the kernel.

dbus version 1.10.8 on an Ubuntu derivative.

Version: 1.10

Assignee
Assign to
Time tracking