← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2023630] Re: cups-browsed - AppArmor profile missing rights for "/run/systemd/resolve/io.systemd.Resolve"

 

I also have this problem.

I note this is 2 years after the report; and I only noticed because I
was having a different problem. There may well be many people with this
issue, but they don't notice.

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to cups-browsed in Ubuntu.
https://bugs.launchpad.net/bugs/2023630

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

Status in cups-browsed package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2023630/+subscriptions