Bug 1295077 - Confined user cannot connect to vpnc
Summary: Confined user cannot connect to vpnc
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-01 21:43 UTC by wibrown@redhat.com
Modified: 2016-12-20 17:32 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-20 17:32:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description wibrown@redhat.com 2016-01-01 21:43:15 UTC
Description of problem:

vpnc cannot be used by a confined administrator of the system in conjunction with unbound.

type=AVC msg=audit(1451684349.904:2292): avc:  denied  { read } for  pid=3586 comm="unbound-control" name="unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2293): avc:  denied  { open } for  pid=3586 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2294): avc:  denied  { ioctl } for  pid=3586 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 ioctlcmd=5401 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2295): avc:  denied  { getattr } for  pid=3586 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2296): avc:  denied  { read } for  pid=3586 comm="unbound-control" name="local.d" dev="dm-6" ino=150995985 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=dir permissive=1
type=AVC msg=audit(1451684349.904:2297): avc:  denied  { read } for  pid=3586 comm="unbound-control" name="unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2298): avc:  denied  { open } for  pid=3586 comm="unbound-control" path="/etc/unbound/unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684349.904:2299): avc:  denied  { getattr } for  pid=3586 comm="unbound-control" path="/etc/unbound/unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2300): avc:  denied  { read } for  pid=3623 comm="unbound-control" name="unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2301): avc:  denied  { open } for  pid=3623 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2302): avc:  denied  { ioctl } for  pid=3623 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 ioctlcmd=5401 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2303): avc:  denied  { getattr } for  pid=3623 comm="unbound-control" path="/etc/unbound/unbound.conf" dev="dm-6" ino=100674080 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2304): avc:  denied  { read } for  pid=3623 comm="unbound-control" name="local.d" dev="dm-6" ino=150995985 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:named_conf_t:s0 tclass=dir permissive=1
type=AVC msg=audit(1451684350.675:2305): avc:  denied  { read } for  pid=3623 comm="unbound-control" name="unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2306): avc:  denied  { open } for  pid=3623 comm="unbound-control" path="/etc/unbound/unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1451684350.675:2307): avc:  denied  { getattr } for  pid=3623 comm="unbound-control" path="/etc/unbound/unbound_control.key" dev="dm-6" ino=100664333 scontext=staff_u:sysadm_r:vpnc_t:s0 tcontext=system_u:object_r:dnssec_t:s0 tclass=file permissive=1

Comment 1 Lukas Vrabec 2016-01-05 15:08:06 UTC
Hi, 
I cannot reproduce it on my F23 system, could you attach reproducer? 

Thank you.

Comment 2 wibrown@redhat.com 2016-02-01 22:17:00 UTC
I just ran vpnc from the cli as sysadm_t on my F23 system. I also have dnssec-trigger and unbound installed, which is where the main issue appears to be coming from.

Comment 3 Fedora End Of Life 2016-11-24 14:38:46 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 EOL if it remains open with a Fedora  'version'
of '23'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 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  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

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.

Comment 4 Fedora End Of Life 2016-12-20 17:32:29 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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