Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1559795 - avc: denied { map } for pid=15641 comm="smbcontrol" path="/var/lib/samba/lock/names.tdb" dev="vda1" ino=2492866 scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:samba_var_t:s0 tclass=file permissive=0
Summary: avc: denied { map } for pid=15641 comm="smbcontrol" path="/var/lib/samba/l...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-23 09:48 UTC by Bruno Goncalves
Modified: 2018-09-12 02:59 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.2-15.fc29 selinux-policy-3.14.2-34.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-12 02:59:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
runtest.sh (2.13 KB, text/plain)
2018-03-23 09:49 UTC, Bruno Goncalves
no flags Details
win-config-domain-join.sh (168 bytes, text/plain)
2018-03-23 09:49 UTC, Bruno Goncalves
no flags Details

Description Bruno Goncalves 2018-03-23 09:48:28 UTC
Description of problem:
Got avc while running a test for samba

Version-Release number of selected component (if applicable):
selinux-policy-3.14.2-8.fc29.noarch


How reproducible:
100%

Steps to Reproduce:
1.download the attached runtest.sh and win-config-domain-join.sh scripts
2.execute the attached runtest.sh script

Actual results:
:: [ 04:19:14 ] :: [  BEGIN   ] :: avc check :: actually running 'ausearch -m avc --start 04:18:25 | grep denied'
type=AVC msg=audit(1521778750.535:377): avc:  denied  { map } for  pid=15641 comm="smbcontrol" path="/var/lib/samba/lock/names.tdb" dev="vda1" ino=2492866 scontext=unconfined_u:unconfined_r:smbcontrol_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:samba_var_t:s0 tclass=file permissive=0

Comment 1 Bruno Goncalves 2018-03-23 09:49:06 UTC
Created attachment 1412033 [details]
runtest.sh

Comment 2 Bruno Goncalves 2018-03-23 09:49:35 UTC
Created attachment 1412034 [details]
win-config-domain-join.sh

Comment 3 Bruno Goncalves 2018-03-23 09:51:08 UTC
Another AVC error shows later on:

time->Fri Mar 23 04:19:14 2018
type=AVC msg=audit(1521778754.555:379): avc:  denied  { create } for  pid=15826 comm="winbindd" scontext=system_u:system_r:winbind_t:s0 tcontext=system_u:system_r:winbind_t:s0 tclass=socket permissive=0

Comment 4 Jan Kurik 2018-08-14 11:21:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 5 Fedora Update System 2018-09-11 12:53:15 UTC
selinux-policy-3.14.2-34.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-db240a1726

Comment 6 Fedora Update System 2018-09-12 02:59:45 UTC
selinux-policy-3.14.2-34.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


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