cupsd is not allowed to access /var/cache/samba/gencache.tdb by apparmor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Jamie Strandboge |
Bug Description
For some reason /usr/sbin/cupsd tries to access /var/cache/
The apparmor profile for cupsd does not allow this. I get this error in the logs:
kernel: [284527.967015] type=1400 audit(141104051
A listing of the apparmor profile (/etc/apparmor.
http://
The file /etc/apparmor.
The system silently fails to print from GUI. The fanny part is that I printed something successfully the day I set the printer up (yesterday).
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups-daemon 1.7.2-0ubuntu1.2
ProcVersionSign
Uname: Linux 3.13.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CupsErrorLog:
Date: Thu Sep 18 15:27:52 2014
InstallationDate: Installed on 2014-09-01 (17 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
Lpstat: device for SRB01PR001: smb://prs03ist0
MachineType: Apple Inc. MacPro5,1
Papersize: a4
PpdFiles: SRB01PR001: HP Color LaserJet CP3505 Postscript (recommended)
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/07/10
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MP51.88Z.
dmi.board.
dmi.board.name: Mac-F221BEC8
dmi.board.vendor: Apple Inc.
dmi.chassis.type: 7
dmi.chassis.vendor: Apple Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAppleInc
dmi.product.name: MacPro5,1
dmi.product.
dmi.sys.vendor: Apple Inc.
modified.
# Cups configure options
# LOAD_LP_MODULE: enable/disable to load "lp" parallel printer driver module
# LOAD_LP_MODULE has migrated to /etc/modules-
# LOAD_LP_MODULE=yes
mtime.conffile.
Changed in cups (Ubuntu): | |
assignee: | nobody → Jamie Strandboge (jdstrand) |
status: | Triaged → In Progress |
Changed in cups (Ubuntu): | |
status: | In Progress → Fix Committed |
pitti, can you have a look what is missing here in the AppArmor profile? Thanks.