[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#871537: marked as done (cups-daemon: Fails to delete a printer via http://localhost:631 (AppArmor-related?))



Your message dated Tue, 31 Oct 2017 15:27:08 +0100
with message-id <4955667.R0KTAU67j4@odyx.org>
and subject line Re: Bug#871537: cups-daemon: Fails to delete a printer via http://localhost:631 (AppArmor-related?)
has caused the Debian Bug report #871537,
regarding cups-daemon: Fails to delete a printer via http://localhost:631 (AppArmor-related?)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
871537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871537
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-daemon
Version: 2.2.4-3
Severity: normal
User: pkg-apparmor-team@lists.alioth.debian.org
Usertags: help-needed
X-Debbugs-Cc: Michael Biebl <biebl@debian.org>
Tags: moreinfo

Hi,

Michael Biebl reported today that CUPS failed to delete a printer via
http://localhost:631, and when this happened the following AppArmor
denial was logged:

  audit: type=1400 audit(1502203431.832:71): apparmor="DENIED"
  operation="file_lock" profile="/usr/sbin/cupsd" name="/run/utmp"
  pid=511 comm="cupsd" requested_mask="k" denied_mask="k" fsuid=0
  ouid=0

So, Michael, please apply this patch:

--- a/etc/apparmor.d/usr.sbin.cupsd
+++ b/etc/apparmor.d/usr.sbin.cupsd
@@ -13,6 +13,7 @@
   #include <abstractions/nameservice>
   #include <abstractions/perl>
   #include <abstractions/user-tmp>
+  #include <abstractions/wutmp>
 
   capability chown,
   capability fowner,

Then run:

  sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.cupsd

And retry. If it still fails, check if there are other/new
AppArmor denials.

Thanks!

--- End Message ---
--- Begin Message ---
Le mardi, 31 octobre 2017, 14.12:47 h CET Michael Biebl a écrit :
> Sorry for not responding earlier. Seems this email fell through the cracks.
> Now, it seems I can't reproduce the original issue anymore :-/
> So unless someone runs into this problem, this bug report should be
> closed I guess.

Great. Thank you for taking the time to test again.

Hereby closing then;
cheers
    OdyX

--- End Message ---

Reply to: