Bug Fix Advisory cups bug fix and enhancement update

Advisory: RHBA-2008:0669-4
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-07-24
Last updated on: 2008-07-24
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
OVAL: N/A

Details

Updated cups packages that fix various bugs and add an enhancement are now
available.

The Common UNIX Printing System (CUPS) provides a portable printing layer
for UNIX(R) operating systems.

These updated packages address the following bugs:

* the MIME-type rule for determining the command language only searched the
first 1024 bytes of an input file. In some PJL-encapsulated PostScript
files the string identifying a file as PostScript can be more than 1024
bytes into the file. This caused CUPS to interpret the file as plain text
rather than PostScript, resulting in incorrect printer output. The
MIME-type rule now searches the first 4096 bytes of the file, ensuring the
PostScript identifier string is found and, consequently, ensuring the file
is processed by CUPS and the printer correctly.

* when print jobs were sent to a class (a collection of printers configured
to appear as one printer), CUPS did not check whether the destination was,
in fact, a class. Consequently, if one of the printers in the class was
unavailable, CUPS did not re-direct to another printer in the class, but
held the job in the queue until the missing printer was available again.
This update contains a back-ported fix that corrects this behaviour. CUPS
now correctly identifies a print queue as a class and appropriately
re-directs print jobs in the event individual printers in a class are
unavailable.

* if /etc/init.d/functions was moved, the CUPS initscript still returned
the exit code '0' (program is running or service is OK) when the status was
queried. As well, the initscript incorrectly returned '3' rather than '1'
at the end of the script. Both these errors have been corrected in this
update.

* the cupsaddsmb command did not properly track OrderDependency entries in
PPD files when exporting printers for use with SAMBA. This could lead to
PostScript errors (eg stack errors) in some cases. These updated packages
includes a back-ported fix that ensures cupsaddsmb honors existing
OrderDependency entries.

* if CUPS was re-built on a clean system the build would fail due to a
missing autoconf package. A required dependency for this package has been
added to the cups package spec file to ensure cups can build successfully
in clean environments.

These updated packages also add the following enhancement

* the command "lpstat -p" now displays an 'enabled since [actual date]'
message for each printer queue, recording the time since the printer queue
was created. Previously a fixed string -- Jan 01 00:00 -- was presented.

All users should upgrade to these updated packages, which resolve these
issues and add this capability.


Solution

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
cups-1.1.22-0.rc1.9.27.src.rpm     1f85d95dc4c956a7b9f04c3b75ef79de
 
IA-32:
cups-1.1.22-0.rc1.9.27.i386.rpm     d062ebaa80377cf6b3e36816e66807da
cups-devel-1.1.22-0.rc1.9.27.i386.rpm     54cff1f9ce6ff893989657f8a8401257
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
 
x86_64:
cups-1.1.22-0.rc1.9.27.x86_64.rpm     245958bea027a38d04e9241f2f182461
cups-devel-1.1.22-0.rc1.9.27.x86_64.rpm     b58e702e68710e2e242dff0417b969a9
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.x86_64.rpm     0bb031dd63a0ae7665decf086fc0b034
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
cups-1.1.22-0.rc1.9.27.src.rpm     1f85d95dc4c956a7b9f04c3b75ef79de
 
IA-32:
cups-1.1.22-0.rc1.9.27.i386.rpm     d062ebaa80377cf6b3e36816e66807da
cups-devel-1.1.22-0.rc1.9.27.i386.rpm     54cff1f9ce6ff893989657f8a8401257
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
 
IA-64:
cups-1.1.22-0.rc1.9.27.ia64.rpm     a77352e3641a1706e9846683f9f26ef8
cups-devel-1.1.22-0.rc1.9.27.ia64.rpm     4750530f1ba16f265242b2af22987dd5
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.ia64.rpm     6f7f07150c187c852e6709e019504b94
 
PPC:
cups-1.1.22-0.rc1.9.27.ppc.rpm     9a0025b25b12cbb9eb641cd3c98fa35d
cups-devel-1.1.22-0.rc1.9.27.ppc.rpm     b187b8a86c93e52eee4fed60a9d411f5
cups-libs-1.1.22-0.rc1.9.27.ppc.rpm     a74c7d5cd1c83c8cb7c61d421f727fdb
cups-libs-1.1.22-0.rc1.9.27.ppc64.rpm     f311368305c52990804ffbefa48f95d8
 
s390:
cups-1.1.22-0.rc1.9.27.s390.rpm     a008cd2c58b9e95d8795c8ee343485a3
cups-devel-1.1.22-0.rc1.9.27.s390.rpm     7cb3f82518d8132ed16a88e46c81d375
cups-libs-1.1.22-0.rc1.9.27.s390.rpm     d40d8fc8aa15a79b76deec6aa843ebc5
 
s390x:
cups-1.1.22-0.rc1.9.27.s390x.rpm     8c8b1c4ec16c7f96d087cbcea75bd3a1
cups-devel-1.1.22-0.rc1.9.27.s390x.rpm     21fe7c6ea9511c3355a7072bedb6714e
cups-libs-1.1.22-0.rc1.9.27.s390.rpm     d40d8fc8aa15a79b76deec6aa843ebc5
cups-libs-1.1.22-0.rc1.9.27.s390x.rpm     5db7fbef5e509ef71e527ae7e258d336
 
x86_64:
cups-1.1.22-0.rc1.9.27.x86_64.rpm     245958bea027a38d04e9241f2f182461
cups-devel-1.1.22-0.rc1.9.27.x86_64.rpm     b58e702e68710e2e242dff0417b969a9
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.x86_64.rpm     0bb031dd63a0ae7665decf086fc0b034
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
cups-1.1.22-0.rc1.9.27.src.rpm     1f85d95dc4c956a7b9f04c3b75ef79de
 
IA-32:
cups-1.1.22-0.rc1.9.27.i386.rpm     d062ebaa80377cf6b3e36816e66807da
cups-devel-1.1.22-0.rc1.9.27.i386.rpm     54cff1f9ce6ff893989657f8a8401257
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
 
IA-64:
cups-1.1.22-0.rc1.9.27.ia64.rpm     a77352e3641a1706e9846683f9f26ef8
cups-devel-1.1.22-0.rc1.9.27.ia64.rpm     4750530f1ba16f265242b2af22987dd5
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.ia64.rpm     6f7f07150c187c852e6709e019504b94
 
x86_64:
cups-1.1.22-0.rc1.9.27.x86_64.rpm     245958bea027a38d04e9241f2f182461
cups-devel-1.1.22-0.rc1.9.27.x86_64.rpm     b58e702e68710e2e242dff0417b969a9
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.x86_64.rpm     0bb031dd63a0ae7665decf086fc0b034
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
cups-1.1.22-0.rc1.9.27.src.rpm     1f85d95dc4c956a7b9f04c3b75ef79de
 
IA-32:
cups-1.1.22-0.rc1.9.27.i386.rpm     d062ebaa80377cf6b3e36816e66807da
cups-devel-1.1.22-0.rc1.9.27.i386.rpm     54cff1f9ce6ff893989657f8a8401257
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
 
IA-64:
cups-1.1.22-0.rc1.9.27.ia64.rpm     a77352e3641a1706e9846683f9f26ef8
cups-devel-1.1.22-0.rc1.9.27.ia64.rpm     4750530f1ba16f265242b2af22987dd5
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.ia64.rpm     6f7f07150c187c852e6709e019504b94
 
x86_64:
cups-1.1.22-0.rc1.9.27.x86_64.rpm     245958bea027a38d04e9241f2f182461
cups-devel-1.1.22-0.rc1.9.27.x86_64.rpm     b58e702e68710e2e242dff0417b969a9
cups-libs-1.1.22-0.rc1.9.27.i386.rpm     b8a77a95796b949b1609bc174960bbd9
cups-libs-1.1.22-0.rc1.9.27.x86_64.rpm     0bb031dd63a0ae7665decf086fc0b034
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

234011 - cups classes failover doesn't work
248550 - cupsaddsmb does not track OrderDependencies, allowing collisions
250251 - Missing BuildReq: autoconf in spec file



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/