- Issued:
- 2009-01-20
- Updated:
- 2009-01-20
RHBA-2008:0626 - Bug Fix Advisory
Synopsis
psacct bug fix update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated psacct package that fixes various bugs is now available.
Description
The psacct package contains several utilities for monitoring process
activities, including ac, lastcomm, accton, and sa. The ac command displays
statistics about how long users have been logged on. The lastcomm command
displays information about previously executed commands. The accton command
turns process accounting on or off. The sa command summarizes information
about previously executed commands.
This updated package fixes the following bugs:
- the psacct init script returned an incorrect error code. If the psacct
service was not running, running the "service psacct status; echo $?"
command returned a "0" (successful) error code. In this updated package,
for these situations, the correct error code, "3", is returned.
- the initial "/var/account/pacct" process accounting data file was created
with insecure "0644" permissions. This allowed any user to read this file.
If logrotate is installed, subsequent pacct files are created with the
correct "root:root, 0600" permissions. In this updated package, the
initial "pacct" file is created with the correct "0600" permissions.
- the psacct logrotate script restarted accounting, even if the psacct
service was not running. In this updated package, the psacct logrotate
script only restarts accounting if the service is running before the
logrotate script runs.
Users of psacct are advised to upgrade to this updated package, which
resolves these issues.
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
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 291531 - Process accounting does not create initial pacct file with secure permissions
- BZ - 447028 - Logrotate of psacct will restart accounting even if the service was stopped
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
x86_64 | |
psacct-6.3.2-44.el5.x86_64.rpm | SHA-256: 74b106f712a74dbf00670150eb5de98b070eaacd2810919f65bf4a75047ac363 |
ia64 | |
psacct-6.3.2-44.el5.ia64.rpm | SHA-256: 79acd7d7901ff54ae4a1497593ffd69f93fe3ddd95dfea9f7c25704653af317c |
i386 | |
psacct-6.3.2-44.el5.i386.rpm | SHA-256: d1dc5d102d14c3b858828be59d9ea298bf50cfc78a062490d61fc38ac811cd6a |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
x86_64 | |
psacct-6.3.2-44.el5.x86_64.rpm | SHA-256: 74b106f712a74dbf00670150eb5de98b070eaacd2810919f65bf4a75047ac363 |
i386 | |
psacct-6.3.2-44.el5.i386.rpm | SHA-256: d1dc5d102d14c3b858828be59d9ea298bf50cfc78a062490d61fc38ac811cd6a |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
x86_64 | |
psacct-6.3.2-44.el5.x86_64.rpm | SHA-256: 74b106f712a74dbf00670150eb5de98b070eaacd2810919f65bf4a75047ac363 |
i386 | |
psacct-6.3.2-44.el5.i386.rpm | SHA-256: d1dc5d102d14c3b858828be59d9ea298bf50cfc78a062490d61fc38ac811cd6a |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
s390x | |
psacct-6.3.2-44.el5.s390x.rpm | SHA-256: 3d030c9c735953373a0c0bbb490abe01d829f502e962c02a4365731d2b4a17fa |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
ppc | |
psacct-6.3.2-44.el5.ppc.rpm | SHA-256: a7a1aa61b028d468ce9a4eb3b2c74cbfc4a2c685f52bc3f86ed22667efb33546 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
psacct-6.3.2-44.el5.src.rpm | SHA-256: 42140d9d0d71e0631fcae4ef734ceedda048fe29c85fbc2eebd1992c7cbd57c2 |
x86_64 | |
psacct-6.3.2-44.el5.x86_64.rpm | SHA-256: 74b106f712a74dbf00670150eb5de98b070eaacd2810919f65bf4a75047ac363 |
i386 | |
psacct-6.3.2-44.el5.i386.rpm | SHA-256: d1dc5d102d14c3b858828be59d9ea298bf50cfc78a062490d61fc38ac811cd6a |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.