Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.5-3.fc16.x86_64 reason: SELinux is preventing /sbin/iscsiuio from 'open' accesses on the None /var/log/iscsiuio.log. time: Mi 15 Feb 2012 20:02:31 CET description: :SELinux is preventing /sbin/iscsiuio from 'open' accesses on the None /var/log/iscsiuio.log. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that iscsiuio should be allowed open access on the iscsiuio.log <Unbekannt> by default. :Then you should report this as a bug. :You can generate a local policy module to allow this access. :Do :allow this access for now by executing: :# grep iscsiuio /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:iscsid_t:s0 :Target Context system_u:object_r:var_log_t:s0 :Target Objects /var/log/iscsiuio.log [ None ] :Source iscsiuio :Source Path /sbin/iscsiuio :Port <Unbekannt> :Host (removed) :Source RPM Packages iscsi-initiator-utils-6.2.0.872-16.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.5-3.fc16.x86_64 #1 SMP Thu : Feb 9 01:24:38 UTC 2012 x86_64 x86_64 :Alert Count 24 :First Seen Do 09 Feb 2012 22:04:00 CET :Last Seen Mi 15 Feb 2012 20:00:35 CET :Local ID f7226388-3598-4c03-965f-ddb1c6c8df12 : :Raw Audit Messages :type=AVC msg=audit(1329332435.658:35): avc: denied { open } for pid=1107 comm="iscsiuio" name="iscsiuio.log" dev=sda1 ino=131370 scontext=system_u:system_r:iscsid_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329332435.658:35): arch=c000003e syscall=2 success=no exit=-13 a0=4203b0 a1=441 a2=1b6 a3=238 items=0 ppid=1105 pid=1107 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iscsiuio" exe="/sbin/iscsiuio" subj=system_u:system_r:iscsid_t:s0 key=(null) : : :Hash: iscsiuio,iscsid_t,var_log_t,None,open : :audit2allow : : :audit2allow -R : :
Does restorecon -R -v /var/log Fix the label on this file?
I have the same bug. Before restrecon: # ls -Z /var/log/iscsiuio.log -rw-r--r--. root root system_u:object_r:var_log_t:s0 /var/log/iscsiuio.log After restorecon: # ls -Z /var/log/iscsiuio.log -rw-r--r--. root root system_u:object_r:var_log_t:s0 /var/log/iscsiuio.log So no change. I needed to allow audit2allow to remove the selinuc alert: iscsiuio.te : module iscsiuio 1.0; require { type iscsid_t; type var_log_t; class file open; }
what does $ rpm -q selinux-policy
This message is a reminder that Fedora 16 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 16. 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 '16'. 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 16'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 16 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 to click on "Clone This Bug" and open it against that version of Fedora. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 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.