Bug 183306 - audit2allow loses some rules
Summary: audit2allow loses some rules
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 5
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-02-28 03:49 UTC by Miloslav Trmač
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: 1.29.26-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 14:04:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
source audit log (3.77 KB, text/plain)
2006-02-28 03:49 UTC, Miloslav Trmač
no flags Details

Description Miloslav Trmač 2006-02-28 03:49:53 UTC
Description of problem:
(audit2allow -M talkd -i log) generates:

module talkd 1.0;

require {
        role object_r;
        role system_r;

        class chr_file { getattr write };
        class file { lock read };

        type inetd_child_t;
        type initrc_var_run_t;
        type tty_device_t;
 };


allow inetd_child_t initrc_var_run_t:file lock;
allow inetd_child_t tty_device_t:chr_file write;

Notice that it requires chr_file:getattr and file:read, but it doesn't use
them in the "allow" rules as it should.

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

Comment 1 Miloslav Trmač 2006-02-28 03:49:53 UTC
Created attachment 125374 [details]
source audit log

Comment 2 Daniel Walsh 2006-03-06 14:41:10 UTC
Fixed in policycoreutils-1.29.26-5

THanks for the bug report.

Comment 3 Miloslav Trmač 2006-03-07 14:04:29 UTC
Confirmed, thanks!


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