Bug 440481 (sambanet)

Summary: /usr/bin/net permission denied under selinux enforcing
Product: [Fedora] Fedora Reporter: lomic <mcftang>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-17 22:03:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description lomic 2008-04-03 18:25:02 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

Description of problem:
Samba net command fails on x86_64 but works fine om i386.

The audit log shows:

type=SELINUX_ERR msg=audit(1207198475.997:53): security_compute_sid: invalid context system_u:system_r:samba_unconfined_net_t:s0-s0:c0.c1023 for scontext=system_u:system_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:samba_net_exec_t:s0 tclass=process
type=SYSCALL msg=audit(1207198475.997:53): arch=c000003e syscall=59 success=no exit=-13 a0=8ea540 a1=8cf930 a2=8d0160 a3=8 items=0 ppid=2956 pid=2970 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 comm="bash" exe="/bin/bash" > subj=system_u:system_r:unconfined_t:s0-s0:c0.c1023 key=(null)

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

How reproducible:

Steps to Reproduce:
1. enable selinux
2. run net 

Actual Results:
permission denied

Expected Results:
fail with any arguments, please!

Additional info:

Comment 1 Daniel Walsh 2008-04-06 11:26:18 UTC
Fixed in selinux-policy-3.0.8-98.fc8

Comment 2 Daniel Walsh 2008-11-17 22:03:27 UTC
Closing all bugs that have been in modified for over a month.  Please reopen if the bug is not actually fixed.