Bug 225089
Summary: | aide Segmentation fault on initialization | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Steven Scoleri <scoleris> |
Component: | aide | Assignee: | Steve Conklin <sconklin> |
Status: | CLOSED ERRATA | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.0 | CC: | iboverma, sgrubb, srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | RHSA-2007-0539 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-04 14:03:00 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: | |||
Bug Depends On: | |||
Bug Blocks: | 224041 |
Description
Steven Scoleri
2007-01-28 21:25:23 UTC
*** Bug 225090 has been marked as a duplicate of this bug. *** I assume you have SELinux disabled? As a work around you can remove the selinux options from your /etc/aide.conf, doing this automatically is probably the fix too. == Info. mainly for QA == The way I reproduced this was to change: if (lgetfilecon_raw(line->filename, &cntx) == -1) ...into... if ((rand() & 1) || (lgetfilecon_raw(line->filename, &cntx) == -1)) ...the other way is to disable selinux completely, and create a file without a context. The fix is to not call strlen() when the pointer is NULL, on the line: db_write_byte_base64((byte*)line->cntx, strlen(line->cntx), conf->db_out, i, 1, 1); ...I also premptivly fixed ACLs (I haven't tested them either way). 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-2007-0539.html |