apparmor_parser 2.5 doesn't close file descriptors
Bug #588012 reported by
Arkadiusz Miśkiewicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned | ||
2.5 |
Fix Released
|
High
|
Unassigned |
Bug Description
My apache profile consists over 1335 #include directives. Unfortunately parser fails with mystic message with these:
AppArmor parser error in /etc/apparmor.
It turns out that the problem is with not closing of file descriptors, likely opened for #include directive. strace confirms that:
3865 open("/
while the limit was 1024.
parser should open and close policy files after using them.
To post a comment you must log in.
Likely fixed by, so closing.
revno: 1379
committer: Steve Beattie
branch nick: master
timestamp: Fri 2010-03-12 01:50:26 -0800
message:
Fix leaking file descriptors on included files.