Project

General

Profile

Bug #10210

Jessie: AppArmor blocks adding a printer

Added by intrigeri over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Hardware support
Target version:
Start date:
09/16/2015
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

Description

Sep 16 19:10:51 amnesia dbus[1772]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
ep 16 19:10:51 amnesia dbus[1772]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to change ownership of "/var/log/cups" - Permission denied
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to open log file "/var/log/cups/access_log" - Permission denied
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to change ownership of "/var/log/cups" - Permission denied
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to open log file "/var/log/cups/error_log" - Permission denied
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to change ownership of "/var/log/cups" - Permission denied
Sep 16 19:10:51 amnesia cupsd[2773]: Unable to open log file "/var/log/cups/access_log" - Permission denied
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:334): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01c6/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:335): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01c7/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:336): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01c8/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:337): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/spool/.wh..wh.cups.01c9/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:338): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01ca/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:339): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01cb/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:340): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01cc/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:341): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01cd/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:342): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01ce/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia kernel: audit: type=1400 audit(1442430651.456:343): apparmor="DENIED" operation="mkdir" profile="/usr/sbin/cupsd" name="/lib/live/mount/overlay/var/log/.wh..wh.cups.01cf/" pid=2773 comm="cupsd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
Sep 16 19:10:51 amnesia org.gnome.ControlCenter.SearchProvider[2687]: (gnome-control-center:25842): printers-cc-panel-WARNING **: cups-pk-helper: addition of printer Generic-PostScript-Level-1-Printer failed: server-error-internal-error
Sep 16 19:10:51 amnesia org.gnome.ControlCenter.SearchProvider[2687]: (gnome-control-center:25842): printers-cc-panel-WARNING **: Installation of the new printer failed.

Associated revisions

Revision e17b756d (diff)
Added by intrigeri over 4 years ago

apparmor-adjust-cupsd-profile.diff: fix access to aufs whiteouts for /etc/cups, /var/{cache,log,spool}/cups.

Closes: #10210

History

#2 Updated by intrigeri over 4 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 0 to 100

#3 Updated by intrigeri over 4 years ago

  • Assignee deleted (intrigeri)

Also available in: Atom PDF