Skip to navigation

Bug Fix Advisory patch bug fix update

Advisory: RHBA-2010:0656-3
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-01-13
Last updated on: 2011-01-13
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

An updated patch package that fixes several bugs is now available for Red Hat
Enterprise Linux 5.

The patch package is used to apply changes, such as those from diff files, to
text files.

This updated package package provides a fix for the following bug:

* previously, SELinux file contexts were not preserved on patched files. This
has been corrected. (BZ#229329)

* previously, patches for files whose names contain spaces could not be applied.
A change has been backported to allow filenames with spaces. (BZ#431887)

* The "-g" option was not handled correctly by the patch command. This has been
fixed. (BZ#553624)

All users of patch are advised to upgrade to this updated package, which
resolves this issue.


Solution

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

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

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
patch-2.5.4-31.el5.src.rpm     MD5: 662b76d5a7d42f89c9a0fd896d621f81
SHA-256: 76d892e237095aa6522d96093396ca13950f450a6439bbdd172158fd70df981d
 
IA-32:
patch-2.5.4-31.el5.i386.rpm     MD5: 8e34c7536220c903d9cd03ebb3b1aaac
SHA-256: 3e915a186ae3488ef831e0a39b30f227c50359ab0e10d81363344972bc03aa14
 
IA-64:
patch-2.5.4-31.el5.ia64.rpm     MD5: 0d5454af5989823060c314ddae88280a
SHA-256: 6dab742956974bfbd592ad6e9d448577e3ce8530c11b71d7105201eb16bc8ee8
 
PPC:
patch-2.5.4-31.el5.ppc.rpm     MD5: d681d33210c387970fe6cab5fcc71e1c
SHA-256: ae7690e96e94dd9f9ccaef89e0ed362b548e5aad4edb9e4e21a93a26331f6d23
 
s390x:
patch-2.5.4-31.el5.s390x.rpm     MD5: 1b0f34cc0dd4e5f2421a23479bb85b31
SHA-256: e5df2b59960a5f36b52c0ecf5e29e9bba549dd6efa8c6f57e2242000e416107a
 
x86_64:
patch-2.5.4-31.el5.x86_64.rpm     MD5: e4be9fe564b6503535e18fe0a2bafc75
SHA-256: 5cd6dab6c4988bd03b36f9e946c72554036564a0e8db1a8a6b266149eea7b1c8
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
patch-2.5.4-31.el5.src.rpm     MD5: 662b76d5a7d42f89c9a0fd896d621f81
SHA-256: 76d892e237095aa6522d96093396ca13950f450a6439bbdd172158fd70df981d
 
IA-32:
patch-2.5.4-31.el5.i386.rpm     MD5: 8e34c7536220c903d9cd03ebb3b1aaac
SHA-256: 3e915a186ae3488ef831e0a39b30f227c50359ab0e10d81363344972bc03aa14
 
x86_64:
patch-2.5.4-31.el5.x86_64.rpm     MD5: e4be9fe564b6503535e18fe0a2bafc75
SHA-256: 5cd6dab6c4988bd03b36f9e946c72554036564a0e8db1a8a6b266149eea7b1c8
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

229329 - patch does not preserve context - resets to tmp_t
431887 - Cannot handle file names with integrated spaces
553624 - option parsing of --get incorrect



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/