/var/log/cups/* should be adm group readable

Bug #345953 reported by Till Kamppeter
4
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Fix Released
High
Martin Pitt

Bug Description

Binary package hint: cups

If one lets Apport create a bug report for a printing-related package a lot of relevant data is captured except the most important, error_log.

See bug 345866. In the initial posting of the bug you see

CupsErrorLog: Error: [Errno 13] Permission denied: '/var/log/cups/error_log'

I have talked with pitti on the IRC and he tells that the CUPS log files must be made readable for the adm group.

Changed in cups (Ubuntu):
assignee: nobody → pitti
importance: Undecided → High
milestone: none → ubuntu-9.04-beta
status: New → Triaged
Martin Pitt (pitti)
summary: - Apport hook for printing does not capture CUPS error_log: Permission
- Denied
+ /var/log/cups/* should be adm group readable
Changed in cups (Ubuntu):
milestone: ubuntu-9.04-beta → none
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr trunk.

Changed in cups (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.3.9-16

---------------
cups (1.3.9-16) unstable; urgency=low

  [ Till Kamppeter ]
  * debian/local/filters/pdf-filters/pdftopdf/P2PResources.cxx: Fixed
    corruption of output when generating mmultiple copies of EOG or GIMP
    output files (LP: #345183).
  * debian/cups.postinst: Silenced non-fatal error messages when
    post-instyall script updates PPDs and there are PPDs not belonging to
    a CUPS queue in /etc/cups/ppd/ (LP: #345866).

  [ Martin Pitt ]
  * debian/local/apparmor-profile: Drop 'm' permission for /etc/passwd and
    friends, which was a workaround for a kernel apparmor bug on i386. This is
    fixed in current kernels. Thanks to Kees Cook for pointing this out!
    (LP: #270663)
  * debian/cups.install: Do not install the unnecessary (and broken) D-BUS
    configuration file any more. All cupsd does is to send signals, which are
    allowed by default. It does not provide any D-BUS service right now. Also
    remove the obsolete file on upgrades in debian/cups.preinst.
    (Closes: #510634, LP: #318742)
  * Add logfiles_adm_readable.dpatch: Make log files readable by group "adm".
    (LP: #345953)
  * debian/changelog: Fix cruft at the end of file.
  * debian/local/apparmor-profile: Explicitly deny access to /dev/tty and
    writing access to /etc/krb5.conf, so that accesses to them do not create
    log spewage. (LP: #348556)

 -- Martin Pitt <email address hidden> Fri, 27 Mar 2009 09:35:56 +0100

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