cups-browsed - AppArmor profile missing rights for "/run/systemd/resolve/io.systemd.Resolve"

Bug #2023630 reported by Torsten Krah
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups-browsed (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

running 22.04 LTS here and my dmesg is full of those:

[ 35.727142] audit: type=1400 audit(1686639577.484:36): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.736231] audit: type=1400 audit(1686639577.496:37): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.737408] audit: type=1400 audit(1686639577.496:38): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.737616] audit: type=1400 audit(1686639577.496:39): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.898021] audit: type=1400 audit(1686639577.656:40): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.898307] audit: type=1400 audit(1686639577.656:41): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.898502] audit: type=1400 audit(1686639577.656:42): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.899754] audit: type=1400 audit(1686639577.656:43): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 35.899957] audit: type=1400 audit(1686639577.656:44): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 40.788252] audit: type=1400 audit(1686639582.548:66): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 40.788757] audit: type=1400 audit(1686639582.548:67): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 40.789133] audit: type=1400 audit(1686639582.548:68): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102
[ 40.794756] audit: type=1400 audit(1686639582.552:69): apparmor="DENIED" operation="connect" class="file" profile="/usr/sbin/cups-browsed" name="/run/systemd/resolve/io.systemd.Resolve" pid=2076 comm="cups-browsed" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=102

The apparmor profile should imho get an update to fix that.

Package installed is:

cups-browsed:
  Installed: 1.28.15-0ubuntu1.2
  Candidate: 1.28.15-0ubuntu1.2

Torsten Krah (tkrah)
summary: - cups-browsed - AppArmor profile missing rights for Resolve systemd
+ cups-browsed - AppArmor profile missing rights for
+ "/run/systemd/resolve/io.systemd.Resolve"
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups-browsed (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.