Bug 652967 - SELinux is preventing /usr/bin/perl "ioctl" access on /tmp/ddclient.cache.
Summary: SELinux is preventing /usr/bin/perl "ioctl" access on /tmp/ddclient.cache.
Status: CLOSED DUPLICATE of bug 652965
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:3366e20bafd...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-11-13 21:16 UTC by Dan O'Brien
Modified: 2010-11-15 10:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-11-15 10:10:11 UTC
Type: ---

Attachments (Terms of Use)

Description Dan O'Brien 2010-11-13 21:16:46 UTC

SELinux is preventing /usr/bin/perl "ioctl" access on /tmp/ddclient.cache.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by ddclient. It is not expected that this access
is required by ddclient and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:ddclient_t:s0
Target Context                unconfined_u:object_r:initrc_tmp_t:s0
Target Objects                /tmp/ddclient.cache [ file ]
Source                        ddclient
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.12.2-136.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-10.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Fri Oct 22 15:36:08
                              UTC 2010 x86_64 x86_64
Alert Count                   2
First Seen                    Sat 13 Nov 2010 02:29:33 PM EST
Last Seen                     Sat 13 Nov 2010 03:04:36 PM EST
Local ID                      7f17262c-80eb-49db-8237-a305eabbc564
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1289678676.441:37): avc:  denied  { ioctl } for  pid=3268 comm="ddclient" path="/tmp/ddclient.cache" dev=dm-0 ino=19878 scontext=system_u:system_r:ddclient_t:s0 tcontext=unconfined_u:object_r:initrc_tmp_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1289678676.441:37): arch=c000003e syscall=16 success=no exit=-25 a0=4 a1=5401 a2=7fff4ae1afc0 a3=33bed273e0 items=0 ppid=1 pid=3268 auid=4294967295 uid=496 gid=493 euid=496 suid=496 fsuid=496 egid=493 sgid=493 fsgid=493 tty=(none) ses=4294967295 comm="ddclient" exe="/usr/bin/perl" subj=system_u:system_r:ddclient_t:s0 key=(null)

Hash String generated from  catchall,ddclient,ddclient_t,initrc_tmp_t,file,ioctl
audit2allow suggests:

#============= ddclient_t ==============
allow ddclient_t initrc_tmp_t:file ioctl;

Comment 1 Miroslav Grepl 2010-11-15 10:10:11 UTC

*** This bug has been marked as a duplicate of bug 652965 ***

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