Bug 1369327

Summary: Log spammed with AVC avc: denied { net_admin } for comm="agetty"
Product: [Fedora] Fedora Reporter: Peter Hjalmarsson <kanelxake>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 16:40:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Peter Hjalmarsson 2016-08-23 07:14:03 UTC
Description of problem:
My log is spammed with messages like:
Aug 23 09:04:43 liten.ipa.dodi.nu audit[1001]: AVC avc:  denied  { net_admin } for  pid=1001 comm="agetty" capability=12  scontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tcontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tclass=capability permissive=0


Version-Release number of selected component (if applicable):
systemd-229-13.fc24.x86_64
util-linux-2.28.1-1.fc24.x86_64
selinux-policy-targeted-3.13.1-191.12.fc24.noarch

How reproducible:
It always hits when I restart the computer, and is logged a couple of times per minute. Relabelling the system does not help.

Actual results:
Aug 23 09:04:20 liten.ipa.dodi.nu audit[1001]: AVC avc:  denied  { net_admin } for  pid=1001 comm="agetty" capability=12  scontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tcontext=system_u:system_r:getty_t:s0-s0:c0.c1023 tclass=capability permissive=0


Expected results:
No log spam.

Additional info:
It seems to help stopping getty, however the IPMI-remote screen does not work then, so I really want it.

Comment 1 Daniel Walsh 2016-08-23 09:23:21 UTC
This should be dontauditd, I think it is a bogus AVC, but not sure what is causing it.

Comment 2 Fedora Admin XMLRPC Client 2016-09-27 15:10:48 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2017-07-25 22:35:03 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2017-08-08 16:40:55 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.