Bug 159219 - coreutils updates for new audit system
coreutils updates for new audit system
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: coreutils (Show other bugs)
4.0
All Linux
high Severity medium
: ---
: ---
Assigned To: Tim Waugh
: FutureFeature
Depends On:
Blocks: 113381 156322
  Show dependency treegraph
 
Reported: 2005-05-31 13:46 EDT by Steve Grubb
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHBA-2005-540
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 10:38:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to fix pam problems (2.48 KB, patch)
2005-05-31 15:30 EDT, Steve Grubb
no flags Details | Diff
interdiff -qp1 <(cvs up -p -r 1.4 coreutils-pam.patch ) <(cvs up -p -r 1.6 coreutils-pam.patch (2.48 KB, patch)
2005-06-06 07:33 EDT, Tim Waugh
no flags Details | Diff

  None (edit)
Description Steve Grubb 2005-05-31 13:46:13 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

Description of problem:
The coreutils package needs some updates for the new audit system. I think this was recently fixed in rawhide. Specifically, the tty name was not being set by su. I will attach a patch.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. New functionality

Additional info:
Comment 1 Steve Grubb 2005-05-31 15:30:08 EDT
Created attachment 115010 [details]
patch to fix pam problems

This is the same patch as put into rawhide. I'm attaching it for convenience.
Comment 2 Tim Waugh 2005-06-06 07:28:21 EDT
Testcase would be simple to write.  Here is a one-line how-to-reproduce (as root):

su mail < /dev/null

The impact of this bug is that some packages will have failing %post scriptlets:
notably inn.  See bug #158189 for the original bug report.

I agree that this should be proposed for RHEL4 U2.
Comment 3 Tim Waugh 2005-06-06 07:32:32 EDT
Oh, I just saw that the original report was to add the code that bug #158189
points out a bug in. :-)

Well, fixed patch below.  Please disregard comment #2.
Comment 4 Tim Waugh 2005-06-06 07:33:07 EDT
Created attachment 115163 [details]
interdiff -qp1 <(cvs up -p -r 1.4 coreutils-pam.patch ) <(cvs up -p -r 1.6 coreutils-pam.patch

Fixed patch.
Comment 5 Steve Grubb 2005-06-06 13:58:32 EDT
I'm thinking that the patch should probably look at stdout and see if that is a
valid terminal if stdin is a file. I'll rework the newest patch to do this and
resubmit.
Comment 9 Steve Grubb 2005-06-17 10:26:40 EDT
Regarding my comment above, the new patch is fine. Any chance that you build a
package for RHEL4? I need to get this to IBM by Monday if at all possible. 

Thanks!
Comment 12 Red Hat Bugzilla 2005-10-05 10:38:09 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2005-540.html

Note You need to log in before you can comment on or make changes to this bug.