Bug 228122 - audit has missing dep on audit-libs-python
audit has missing dep on audit-libs-python
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: audit (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Grubb
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-09 21:34 EST by Curtis Doty
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 1.4.1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-17 08:10:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Curtis Doty 2007-02-09 21:34:30 EST
This appears to be same as bz#207672. Dunno why it was closed.

But by default, auditd will fail to start unless audit-libs-python package is
also installed.
Comment 1 Steve Grubb 2007-02-10 08:28:52 EST
# rpm -q --requires audit
/bin/bash  
/bin/sh  
/bin/sh  
/bin/sh  
audit-libs = 1.4-1.fc6
chkconfig  
config(audit) = 1.4-1.fc6
coreutils  
libc.so.6  
libc.so.6(GLIBC_2.0)  
libc.so.6(GLIBC_2.1)  
libc.so.6(GLIBC_2.1.3)  
libc.so.6(GLIBC_2.2)  
libc.so.6(GLIBC_2.3)  
libc.so.6(GLIBC_2.3.4)  
libc.so.6(GLIBC_2.4)  
libpthread.so.0  
libpthread.so.0(GLIBC_2.0)  
libpthread.so.0(GLIBC_2.1)  
libpthread.so.0(GLIBC_2.2)  
libpthread.so.0(GLIBC_2.3.2)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)

#ldd /sbin/auditd 
        linux-gate.so.1 =>  (0x00b77000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x004cd000)
        libc.so.6 => /lib/libc.so.6 (0x009a1000)
        /lib/ld-linux.so.2 (0x00905000)

The above looks correct. The audit package is 100% C and no python. What command
does not work?
Comment 2 Curtis Doty 2007-02-10 14:13:29 EST
# rpm -e audit-libs-python
# service auditd restart
Stopping auditd:                                           [  OK  ]
Starting auditd:                                           [FAILED]
# yum -y -d0 install audit-libs-python
# service auditd restart
Stopping auditd:                                           [  OK  ]
Starting auditd:                                           [  OK  ]

And syslog reveals it's the dispatcher:
auditd: Unable to open /sbin/audispd (No such file or directory)
Comment 3 Steve Grubb 2007-02-10 14:36:36 EST
OK, I see what you mean now. We are replacing that event dispatcher in audit-1.5
with one written in C for higher performance. So probably the best thing to do
is just to leave it "as is" for a week and then it'll work itself out.
Comment 4 Curtis Doty 2007-02-10 14:47:34 EST
Sounds reasonable for rawhide/f7. But I see this in fc6 too where it appears the
default auditd.conf still has dispatcher=/sbin/audispd.

Your call. I'm just being the dependency pedantisist. :-p
Comment 5 Curtis Doty 2007-02-10 15:00:31 EST
Uh, make that Deputy Dependency Pedanticist (who can't spell). :-P

But it's a corner case. Since audit-libs-python usually gets brought in anyway
by policycoreutils. Which is not desired in my test scenario.
Comment 6 Steve Grubb 2007-02-17 08:10:39 EST
I built audit-1.4.1-1 to resolve this issue. Its working its way through testing
and should be pushed to final early next week. A new version has been pushed out
to rawhide, too.

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