Bug 469873

Summary: Fix anaconda build break with libaudit
Product: Red Hat Enterprise Linux 5 Reporter: Denise Dumas <ddumas>
Component: anacondaAssignee: Hans de Goede <hdegoede>
Status: CLOSED ERRATA QA Contact: Alexander Todorov <atodorov>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.3CC: atodorov, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:32:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Denise Dumas 2008-11-04 15:58:15 UTC
Description of problem:

libaudit.h change causes anaconda build to break, because anaconda has private "mini-daemon". The fix is to use struct audit_reply instead of struct auditd_reply_list


Per SteveG: 
libaudit.h defines the structure which is available to the public, but nothing in libaudit actually uses it. The only things are internal, so it was 
removed. From 1.6.5:

[sgrubb@centaur audit-1.6.5]$ grep -rl auditd_reply_list *
lib/libaudit.h
src/auditd-config.h
src/auditd-event.c
src/auditd-event.h
src/auditd-reconfig.c
src/auditd.c

In 1.7.7, its now defined internally to auditd-event.h because we needed to 
expand its size and it appears to never have been intended for public use. 
Meaning, nothing in libaudit takes it as an argument or returns its type, so 
the anaconda people can just define the struct if they want and keep using 
it.

Comment 3 Hans de Goede 2008-11-05 12:44:31 UTC
This is fixed with this commit:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=04c33a7179b48115afa1a0c01d2a83bdc4b7cfef

Which is in anaconda-11.1.2.153-1, which has just been build.

Comment 6 Alexander Todorov 2008-11-10 13:48:27 UTC
anaconda-11.1.2.154-1 built successfully with audit-libs-1.7.7-5.el5

Comment 8 errata-xmlrpc 2009-01-20 21:32:39 UTC
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 therefore 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-2009-0164.html