Bug 846134 - audit2allow only allows letters and numbers in module names which makes it hard to make descriptive and readable module names
Summary: audit2allow only allows letters and numbers in module names which makes it h...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: policycoreutils
Version: 5.10
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-06 23:14 UTC by Aleksey Tsalolikhin
Modified: 2013-03-19 15:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-19 15:36:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aleksey Tsalolikhin 2012-08-06 23:14:25 UTC
Description of problem:

audit2allow  only allows letters and numbers in module names which makes it hard to make descriptive and readable module names


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

policycoreutils-1.33.12-14.8.el5

How reproducible:

# audit2allow -M allow_Httpd_To_Connect_To_Unix_Stream_Sockets_And_To_Write_To_Socket_Files < audit.log
only letters and numbers allowed in module names
#

Steps to Reproduce:
1. try to make a module that has a name containing underscores

  
Actual results:


Exits with error:  only letters and numbers allowed in module names

So I have to take out underscores and get a hard to read name, like:

allowHttpdToConnectToUnixStreamSocketsAndToWriteToSocketFiles 

Expected results:  an easy to read name.


Additional info:  Is it possible to add underscores to the allowed characters set for module names, please?

Comment 1 Milos Malik 2012-08-07 07:15:17 UTC
Both '-' and '_' would be useful.

Comment 2 Daniel Walsh 2012-08-13 20:22:16 UTC
This is allowed in Fedora.

Comment 3 Miroslav Grepl 2013-03-19 15:36:02 UTC
Going to close it as NEXTRELEASE. We have it in RHEL6.


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