Bug 266401 - Spurious message on processing files with no SELinux context
Summary: Spurious message on processing files with no SELinux context
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: aide
Version: 5.0
Hardware: All
OS: All
medium
low
Target Milestone: ---
: ---
Assignee: Brian Stein
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-30 08:32 UTC by Jakub Hrozek
Modified: 2018-11-14 17:32 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-17 17:17:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jakub Hrozek 2007-08-30 08:32:22 UTC
Description of problem:
When processing a file with no SELinux label, aide prints out the following 
message:
---
lgetfileconv_raw failed for /path/to/file: No data available
---

Version-Release number of selected component (if applicable):
most recently aide-0.13, also aide-0.12-7

How reproducible:
always

Steps to Reproduce:
1. turn off SELinux
2. create a file, i.e. #touch /root/aide-no-context
3. verify that it has no context by # ls -lZ /root/aide-no-context
4. run #aide -i

Actual results:
lgetfileconv_raw messages - one for every file with no label


Expected results:
no such messages - they are not very descriptive and if running on a system 
with lots of unlabeled files, floods the terminal.


Additional info:
Aide up to 0.12-7 (version shipped with RHEL5-GA) used to segfault on 
processing files with no context.

Comment 2 Martin Poole 2010-06-22 14:35:07 UTC
aide is working as designed.

selinux as a check item includes reporting when files have no context.

To eliminate these warnings the /etc/aide.conf should be modified to provide alternative for the R L & >  groups and change references to them, and also to remove selinux from other group definitions.


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