Need a way around AppArmor

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

Nobody has claimed this yet.

Assessment

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

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.

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!

Dominant language
PostScript
Stars
44
Forks
26
Avg merge
9h 17m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from OpenPrinting/ghostscript-printer-app

All issues in OpenPrinting/ghostscript-printer-app

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.