Red Hat Bugzilla – Bug 159219
coreutils updates for new audit system
Last modified: 2007-11-30 17:07:18 EST
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):
Steps to Reproduce:
1. New functionality
Created attachment 115010 [details]
patch to fix pam problems
This is the same patch as put into rawhide. I'm attaching it for convenience.
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.
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.
Created attachment 115163 [details]
interdiff -qp1 <(cvs up -p -r 1.4 coreutils-pam.patch ) <(cvs up -p -r 1.6 coreutils-pam.patch
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
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.
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.