Bug 984385 - SELinux is preventing /usr/bin/bash from 'getattr' accesses on the lnk_file /home/user9/.config/teamviewer8/dosdevices/c:.
SELinux is preventing /usr/bin/bash from 'getattr' accesses on the lnk_file /...
Status: CLOSED DUPLICATE of bug 984377
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-07-15 02:13 EDT by Moez Roy
Modified: 2013-07-15 07:15 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-15 07:15:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Moez Roy 2013-07-15 02:13:03 EDT
Description of problem:
SELinux is preventing /usr/bin/bash from 'getattr' accesses on the lnk_file /home/user9/.config/teamviewer8/dosdevices/c:.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that bash should be allowed getattr access on the c: lnk_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep TeamViewer /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:init_t:s0
Target Context                unconfined_u:object_r:config_home_t:s0
Target Objects                /home/user9/.config/teamviewer8/dosdevices/c: [
                              lnk_file ]
Source                        TeamViewer
Source Path                   /usr/bin/bash
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bash-4.2.45-1.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-98.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.9-201.fc18.x86_64 #1 SMP Fri
                              Jul 5 16:42:02 UTC 2013 x86_64 x86_64
Alert Count                   5
First Seen                    2013-07-11 01:24:22 PDT
Last Seen                     2013-07-13 08:30:59 PDT
Local ID                      9d2aa3b0-4693-4057-a29b-c12b49495c5c

Raw Audit Messages
type=AVC msg=audit(1373729459.394:391): avc:  denied  { getattr } for  pid=2441 comm="TeamViewer_Desk" path="/home/user9/.config/teamviewer8/dosdevices/c:" dev="dm-3" ino=45876366 scontext=system_u:system_r:init_t:s0 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=lnk_file

type=SYSCALL msg=audit(1373729459.394:391): arch=x86_64 syscall=lstat success=yes exit=0 a0=cd4b10 a1=7fff8cd93e60 a2=7fff8cd93e60 a3=8 items=0 ppid=2373 pid=2441 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) comm=TeamViewer_Desk exe=/usr/bin/bash subj=system_u:system_r:init_t:s0 key=(null)

Hash: TeamViewer,init_t,config_home_t,lnk_file,getattr


#============= init_t ==============
allow init_t config_home_t:lnk_file getattr;

audit2allow -R
require {
	type init_t;

#============= init_t ==============

Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.9.9-201.fc18.x86_64
type:           libreport
Comment 1 Miroslav Grepl 2013-07-15 07:15:54 EDT

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

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