Bug 212750 - audit2allow "--lastreload" option not honored
Summary: audit2allow "--lastreload" option not honored
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-10-28 18:08 UTC by Mace Moneta
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: policycoreutils-1.33.2-2.fc6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-06-09 05:11:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mace Moneta 2006-10-28 18:08:29 UTC
Description of problem:

After reloading policy, "audit2allow --lastreload --all" still shows the same
audits.


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

policycoreutils-1.30.30-1

How reproducible:

Always


Steps to Reproduce:

1. Edit local policy
2. setenforce 0
3. make -f /usr/share/selinux/devel/Makefile
4. semodule -i local.pp
5. setenforce 1
6. audit2allow --lastreload --all


Actual results:

The same audits are shown after the policy is successfully reloaded

Expected results:

No audits occured after the policy reload, so none should be shown


Additional info:

In previous releases (e.g., FC5) the "-l or --lastreload" option worked

Comment 1 Jan ONDREJ 2006-10-30 05:49:52 UTC
I can confirm this too after a "semodule -R" command.

Comment 2 Mace Moneta 2006-11-04 18:31:55 UTC
It looks like the problem is that the audit package is not installed by default
in FC6.  When I installed setroubleshoot, audit was pulled in as a requisite. 
After the next policy reload, audit2allow operated as expected.

Comment 3 Daniel Walsh 2006-11-28 14:58:23 UTC
Fixed in policycoreutils-1.33.2-2.fc6


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