Bug 913106 - SELinux is preventing /usr/lib/systemd/systemd-hostnamed from read access on the lnk_file id
Summary: SELinux is preventing /usr/lib/systemd/systemd-hostnamed from read access on ...
Keywords:
Status: CLOSED DUPLICATE of bug 912036
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-20 11:53 UTC by akshay vyas
Modified: 2013-02-20 12:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-20 12:17:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description akshay vyas 2013-02-20 11:53:38 UTC
Description of problem:

SELinux is preventing /usr/lib/systemd/systemd-hostnamed from read access on the lnk_file id.


Version-Release number of selected component (if applicable):

selinux-policy-3.11.1-78.fc18.noarch

How reproducible: Always
  
Actual results:

SELinux is preventing /usr/lib/systemd/systemd-hostnamed from read access on the lnk_file id.

Expected results:

Selinux should not expected to prevent systemd-hostnamed from read access

Additional info:

Source Context                system_u:system_r:systemd_hostnamed_t:s0
Target Context                system_u:object_r:sysfs_t:s0
Target Objects                id [ lnk_file ]
Source                        systemd-hostnam
Source Path                   /usr/lib/systemd/systemd-hostnamed
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           systemd-197-1.fc18.1.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-78.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain 3.7.8-202.fc18.i686 #1
                              SMP Fri Feb 15 17:57:07 UTC 2013 i686 i686
Alert Count                   3
First Seen                    2013-02-20 17:18:03 IST
Last Seen                     2013-02-20 17:18:04 IST
Local ID                      0fa29f84-e67c-4611-a2f5-bca95ed00992

Raw Audit Messages
type=AVC msg=audit(1361360884.227:413): avc:  denied  { read } for  pid=2437 comm="systemd-hostnam" name="id" dev="sysfs" ino=141 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:object_r:sysfs_t:s0 tclass=lnk_file


type=SYSCALL msg=audit(1361360884.227:413): arch=i386 syscall=open success=no exit=EACCES a0=b7752da4 a1=88000 a2=1b6 a3=b8f6f7a8 items=0 ppid=1 pid=2437 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-hostnam exe=/usr/lib/systemd/systemd-hostnamed subj=system_u:system_r:systemd_hostnamed_t:s0 key=(null)

Comment 1 Daniel Walsh 2013-02-20 12:17:48 UTC

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


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