Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • apparmor apparmor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 138
    • Issues 138
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • AppArmorAppArmor
  • apparmorapparmor
  • Issues
  • #65
Closed
Open
Issue created Nov 06, 2019 by Mikhail Morfikov@morfikovContributor

Xsession/Wayland error logs, file_inherit and disconnected path

I noticed that when apps are started in Xsession environment, they redirect error output to the following file:

    owner @{HOME}/.xsession-errors w,

This is basically true when you start Xsession via startx or some older Display Managers.

Also if some modern DM is used, like SDDM, the error messages are redirected to the following places, depending whether it's X or Wayland session:

    owner @{HOME}/.local/share/sddm/{xorg,wayland}-session.log w,

If writing to the files is denied, apps executed will get an error concerning Failed name lookup - disconnected path with the name="apparmor/.null. Since this is the case of all apps run in the Xsession and Wayland, wouldn't be better to add the rules to the X and wayland abstracions respectively?

Assignee
Assign to
Time tracking