cups-pdf.conf should mention required AppArmor change

Bug #1166786 reported by Jani Uusitalo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cups-pdf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As per bug #147551, when the default target directory is changed in cups-pdf.conf, cups-pdf silently fails to print anything until a corresponding change is made in the usr.sbin.cupsd AppArmor profile. The "Out" key in cups-pdf.conf is preceded by commented notes about the usage, but the AppArmor requisition goes unmentioned, apparently causing confusion among users. I suggest something like the attached patch be applied to cups-pdf.conf to document this.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cups-pdf 2.6.1-6
ProcVersionSignature: Ubuntu 3.5.0-27.46~precise1-generic 3.5.7.7
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
CheckboxSubmission: 09ae689090491ca53449589269e4bfd8
CheckboxSystem: edda5d4f616ca792bf437989cb597002
Date: Tue Apr 9 16:23:11 2013
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Lpstat: device for PDF: cups-pdf:/
MarkForUpload: True
Papersize: a4
PpdFiles: PDF: Generic CUPS-PDF Printer
SourcePackage: cups-pdf
UpgradeStatus: Upgraded to precise on 2011-11-21 (505 days ago)

Related branches

Revision history for this message
Jani Uusitalo (uusijani) wrote :
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

Actually, this is already documented in the README that ships with the package as imported from Debian:

   CAVEAT (UBUNTU)

   AppArmor prevents outputting PDF documents to non-default directories
   so </etc/apparmor.d/usr.sbin.cupsd> must also be edited, whenever the
   above defaults get changed in </etc/cups/cups-pdf.conf>.

However, I'm not sure whether Ubuntu ships all the included documentation when it rebuilds the packages it has imported.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups-pdf - 2.6.1-13

---------------
cups-pdf (2.6.1-13) unstable; urgency=medium

  * Merged patch by Jani Uusitalo to document AppArmor caveats (LP: #1166786).

 -- Martin-Éric Racine <email address hidden> Sun, 21 Sep 2014 00:26:13 +0300

Changed in cups-pdf (Ubuntu):
status: New → Fix Released
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.