Bug 863282 - mrtg causes avc denials.
Summary: mrtg causes avc denials.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: mrtg
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-04 23:52 UTC by Dave Jones
Modified: 2015-01-04 22:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 12:58:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2012-10-04 23:52:28 UTC
Running the latest upstream kernel on 17 gets me this..

[   51.672636] type=1400 audit(1349394421.680:4): avc:  denied  { write } for  pid=597 comm="mrtg" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:mrtg_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[   62.668397] type=1400 audit(1349394432.670:5): avc:  denied  { write } for  pid=836 comm="sendmail" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[   62.745765] type=1400 audit(1349394432.750:6): avc:  denied  { write } for  pid=837 comm="ping" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:ping_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[   71.905764] type=1400 audit(1349394442.306:7): avc:  denied  { write } for  pid=992 comm="ping" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:ping_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[   81.094477] type=1400 audit(1349394451.496:8): avc:  denied  { write } for  pid=1108 comm="ping" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:ping_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[   90.257829] type=1400 audit(1349394460.656:9): avc:  denied  { write } for  pid=1110 comm="ping" path="/run/systemd/sessions/1.ref" dev="tmpfs" ino=9068 scontext=system_u:system_r:ping_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file
[  110.945396] type=1400 audit(1349394481.346:10): avc:  denied  { write } for  pid=1132 comm="mrtg" path="/run/systemd/sessions/3.ref" dev="tmpfs" ino=13995 scontext=system_u:system_r:mrtg_t:s0-s0:c0.c1023 tcontext=system_u:object_r:systemd_logind_sessions_t:s0 tclass=fifo_file

Comment 1 Dave Jones 2012-10-04 23:52:56 UTC
selinux-policy-targeted-3.10.0-150.fc17.noarch

Comment 2 Miroslav Grepl 2012-10-05 11:08:59 UTC
Do you know what you were doing when this happened?

Comment 3 Dave Jones 2012-10-06 01:12:59 UTC
running mrtg from cron.

/etc/cron.d/mrtg :

* * * * * root LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok

Comment 4 Daniel Walsh 2012-10-06 11:46:18 UTC
This looks like it could be a leak?

Comment 5 Fedora End Of Life 2013-07-04 04:12:14 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. 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 WONTFIX if it remains open with a Fedora 
'version' of '17'.

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 prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 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 to Fedora 17's end of life.

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 6 Fedora End Of Life 2013-08-01 12:58:35 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 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.

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


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