Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 976536 - Have kernel audit listen in all network namespaces
Summary: Have kernel audit listen in all network namespaces
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Guy Briggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 18:25 UTC by Eric Paris
Modified: 2014-04-29 14:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-29 14:09:57 UTC
Type: Bug


Attachments (Terms of Use)

Description Eric Paris 2013-06-20 18:25:58 UTC
The kernel audit code only creates a socket in the initial network namespace.  It should listen and accept data from any network namespace.

Comment 1 Richard Guy Briggs 2013-07-10 15:32:24 UTC
Started on it 2013-07-05.

eparis suggested starting with register_pernet_subsys().

a test case of:
- run clone() or unshare() with CLONE_NEWNET flag
- run: ip netns add TESTNET; ip netns exec TESTNET bash; auditctl -s

Comment 2 Richard Guy Briggs 2013-07-16 22:09:57 UTC
Posted patch upstream to linux-audit, lkml:
https://www.redhat.com/archives/linux-audit/2013-July/msg00027.html
https://lkml.org/lkml/2013/7/16/526

Comment 3 Fedora End Of Life 2013-09-16 16:44:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20


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