Bug 227237 - ypxfrd policy broken out of the box
ypxfrd policy broken out of the box
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-03 16:31 EST by Roland McGrath
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-22 10:13:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Roland McGrath 2007-02-03 16:31:53 EST
Description of problem:

After vanilla install of FC6, chkconfig ypserv on and service ypserv start,
ypxfrd is not allowed to work.

Version-Release number of selected component (if applicable):
rselinux-policy-targeted-2.4.6-27.fc6
ypserv-2.19-3

How reproducible:


Steps to Reproduce:
1. domainname something; /usr/lib/yp/ypinit -m
2. service ypserv start
3. dmesg | grep avc
  
Actual results:


Expected results:


Additional info:
audit(1170530327.976:4): avc:  denied  { use } for  pid=3284 comm="rpc.ypxfrd"
name="0" dev=devpts ino=2 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:system_r:init_t:s0 tclass=fd
audit(1170530327.976:5): avc:  denied  { use } for  pid=3284 comm="rpc.ypxfrd"
name="0" dev=devpts ino=2 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:system_r:init_t:s0 tclass=fd
audit(1170530327.976:6): avc:  denied  { use } for  pid=3284 comm="rpc.ypxfrd"
name="0" dev=devpts ino=2 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:system_r:init_t:s0 tclass=fd
audit(1170530327.979:7): avc:  denied  { read } for  pid=3288 comm="rpc.ypxfrd"
name="localtime" dev=dm-0 ino=1114162 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
audit(1170530327.979:8): avc:  denied  { read } for  pid=3288 comm="rpc.ypxfrd"
name="localtime" dev=dm-0 ino=1114162 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
audit(1170530327.979:9): avc:  denied  { read } for  pid=3288 comm="rpc.ypxfrd"
name="localtime" dev=dm-0 ino=1114162 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
audit(1170530327.979:10): avc:  denied  { read } for  pid=3288 comm="rpc.ypxfrd"
name="localtime" dev=dm-0 ino=1114162 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:object_r:locale_t:s0 tclass=file
audit(1170530327.979:11): avc:  denied  { create } for  pid=3288
comm="rpc.ypxfrd" scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:system_r:ypxfr_t:s0 tclass=unix_dgram_socket
audit(1170530327.979:12): avc:  denied  { read } for  pid=3288 comm="rpc.ypxfrd"
name="ypserv.conf" dev=dm-0 ino=1116014 scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:object_r:ypserv_conf_t:s0 tclass=file
audit(1170530327.979:13): avc:  denied  { create } for  pid=3288
comm="rpc.ypxfrd" scontext=system_u:system_r:ypxfr_t:s0
tcontext=system_u:system_r:ypxfr_t:s0 tclass=netlink_route_socket
Comment 1 Roland McGrath 2007-02-03 16:32:49 EST
sorry, needs service ypxfrd start after service ypserv start too
Comment 2 Daniel Walsh 2007-02-05 16:21:34 EST
Fixed in selinux-policy-2.4.6-36
Comment 3 Daniel Walsh 2007-08-22 10:13:57 EDT
Fixed in current release

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