OpenPrinting / OpenPrinting/ghostscript-printer-app

Need a way around AppArmor

Open
#9 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PostScript
Stars
44
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi,

I gave this and the gutenprint printer app a try using the distributed snap. I couldn't get either to work; Apparmor kept blocking it.

Here's the log output:
Dec 31 19:20:25 audit[3020]: AVC apparmor="DENIED" operation="open" class="file" profile="firefox" name="/proc/29423/oom_score_adj" pid=3020 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

Dec 31 19:20:25 kernel: audit: type=1400 audit(1704068425.420:1673): apparmor="DENIED" operation="open" class="file" profile="firefox" name="/proc/29423/oom_score_adj" pid=3020 comm="firefox" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000

What's the best procedure to work around this issue?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No project files, tests, or entry points are named. Start by reviewing the reported AppArmor denial for the distributed snap and the Firefox profile context; done would require identifying and documenting a supported procedure that allows the printer application to work.

Written by the indexing model from the issue text.

Assessment

Domain
security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.