Hide Forgot
abrt version: 2.0.5.980 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc6.git0.3.fc16.i686 reason: SELinux is preventing /usr/libexec/colord from 'read' accesses on the file mtab. time: Thu Sep 29 15:44:30 2011 description: :SELinux is preventing /usr/libexec/colord from 'read' accesses on the file mtab. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that colord should be allowed read access on the mtab file 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 colord /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:colord_t:s0-s0:c0.c1023 :Target Context system_u:object_r:etc_runtime_t:s0 :Target Objects mtab [ file ] :Source colord :Source Path /usr/libexec/colord :Port <Unknown> :Host (removed) :Source RPM Packages colord-0.1.12-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-32.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) : 3.1.0-0.rc6.git0.3.fc16.i686 #1 SMP Fri Sep 16 : 12:22:19 UTC 2011 i686 i686 :Alert Count 1 :First Seen Thu 29 Sep 2011 03:42:24 PM EDT :Last Seen Thu 29 Sep 2011 03:42:24 PM EDT :Local ID a4d92806-1327-4761-8a47-60c83ae2ec0d : :Raw Audit Messages :type=AVC msg=audit(1317325344.390:66): avc: denied { read } for pid=1368 comm="colord" name="mtab" dev=dm-0 ino=139325 scontext=system_u:system_r:colord_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_runtime_t:s0 tclass=file : : :type=SYSCALL msg=audit(1317325344.390:66): arch=i386 syscall=open success=no exit=EACCES a0=23fd77 a1=8000 a2=1b6 a3=0 items=0 ppid=1 pid=1368 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=colord exe=/usr/libexec/colord subj=system_u:system_r:colord_t:s0-s0:c0.c1023 key=(null) : :Hash: colord,colord_t,etc_runtime_t,file,read : :audit2allow : :#============= colord_t ============== :allow colord_t etc_runtime_t:file read; : :audit2allow -R : :#============= colord_t ============== :allow colord_t etc_runtime_t:file read; :
/etc/mtab is supposed to be a symbolic link in F16?
(In reply to comment #1) > /etc/mtab is supposed to be a symbolic link in F16? I dont' know, it is the LiveCD, but /etc/mtab is regular file there.
Strange. I guess this is a bug in the livecd then?
To be more specific, it is the PM Test Day LiveCD, that was created with kickstart from git://git.fedorahosted.org/spin-kickstarts.git (7e1713b954c6c236851438a6d5b1b8c5be0cf763), qa-test-day.ks, no special tunings was done.
The custom/qa-test-day.ks is AFAIK unofficial kickstart. I will try to create the livecd with the fedora-live-desktop.ks from the git HEAD and let you know.
Used fedora-live-desktop.ks, from git HEAD (SHA1 ID:7e1713b954c6c236851438a6d5b1b8c5be0cf763), created by livecd-creator (livecd-tools-14.2-1.fc14), the command: # setarch i686 livecd-creator --config=./fedora-livecd-desktop.ks --fslabel=PM-Test-Day-LiveCD --cache=/var/cache/live Only the repos in the ks was overridden by: repo --name=fedora --baseurl=http://mirror.switch.ch/ftp/mirror/fedora/linux/development/16/$basearch/os/ repo --name=updates --baseurl=http://mirror.switch.ch/ftp/mirror/fedora/linux/updates/16/$basearch/ The /etc/mtab is regular file when the resulting liveCD is booted.
Moving this bug to LiveCD is not going to make a difference. I have no idea what to do here.
Created attachment 525763 [details] Proposed fix Got it, the problem is in the python-imgcreate. The affected version is python-imgcreate-14.2-1.fc14. The version in f16 seems to work OK, f15 not tested. Reassigning to correct component.
F14 is now EOL.