Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 160526 - audit:PATH record mode flags are wrong sometimes
audit:PATH record mode flags are wrong sometimes
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
4.0
All Linux
high Severity medium
: ---
: ---
Assigned To: David Woodhouse
Brian Brock
: FutureFeature
Depends On:
Blocks: 113381 156322
  Show dependency treegraph
 
Reported: 2005-06-15 11:56 EDT by Steve Grubb
Modified: 2007-11-30 17:07 EST (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2005-514
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 09:30:32 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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:514 qe-ready SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 2 2005-10-05 00:00:00 EDT

  None (edit)
Description Steve Grubb 2005-06-15 11:56:55 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 mode reported by PATH records seems to be the parent dir permissions rather than the file that is listed:

type=PATH msg=audit(06/07/05 13:54:22.683:3988791) : item=1 
name=/mnt/target/etc/passwd.old inode=393217 dev=03:09 mode=dir,755 ouid=root 
ogid=root rdev=00:00
type=PATH msg=audit(06/07/05 13:54:22.683:3988791) : item=0 
name=/mnt/target/etc/passwd inode=393217 dev=03:09 mode=dir,755 ouid=root 
ogid=root rdev=00:00
type=CWD msg=audit(06/07/05 13:54:22.683:3988791) :  cwd=/home/sgrubb
type=FS_WATCH msg=audit(06/07/05 13:54:22.683:3988791) : inode=393220 
inode_uid=root inode_gid=root inode_dev=03:09 inode_rdev=00:00
type=FS_WATCH msg=audit(06/07/05 13:54:22.683:3988791) : watch_inode=393220 
watch=passwd filterkey=test perm=read,write,exec,append perm_mask=write
type=SYSCALL msg=audit(06/07/05 13:54:22.683:3988791) : arch=i386 
syscall=rename success=yes exit=0 a0=bfff3be6 a1=bfff3bfd a2=80562a4 
a3=bffeea30 items=2 pid=4137 auid=sgrubb uid=root gid=root euid=root 
suid=root fsuid=root egid=root sgid=root fsgid=root comm=mv exe=/bin/mv

This is misleading

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


How reproducible:
Always

Steps to Reproduce:
1. New feature

Additional info:
Comment 1 David Woodhouse 2005-06-19 19:40:38 EDT
lookup flags (including the important LOOKUP_PARENT) flag are reported in the
audit.61 build.
Comment 4 Red Hat Bugzilla 2005-10-05 09:30:32 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/RHSA-2005-514.html

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