Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 161678 - Samba shares don't work
Summary: Samba shares don't work
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: release-notes
Version: devel
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Release Notes Tracker
QA Contact: Tammy Fox
Depends On:
Blocks: 118757 fc-relnotes-traqr
TreeView+ depends on / blocked
Reported: 2005-06-25 13:10 UTC by Adam Thompson
Modified: 2007-04-18 17:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-09-10 22:07:13 UTC

Attachments (Terms of Use)

Description Adam Thompson 2005-06-25 13:10:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
Samba needs all shares to be have the selinux label samba_share_t, which is documented in the samba_selinux man page, but nothing points new FC4 users to that manpage.

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

How reproducible:

Steps to Reproduce:
Install a new FC4 system.
Enable samba.
(Disable firewall.)
Create new directory structure for samba.
Share new directories.
Map shares from client, try to use files.

Actual Results:  Maps ok, but cannot read/write any files.

Expected Results:  Should have mapped and worked as in previous versions of linux.

Additional info:

Should at least have a one-liner in the README.
Same problem exists for ftpd, httpd, et al.: the problem and solution are documented, but no way for new users to find that documentation.

Comment 1 Elliot Lee 2005-06-27 20:49:42 UTC
This should be noted in the release notes.

Comment 2 Karsten Wade 2005-06-27 21:03:26 UTC
Assigning to relnotes@ and setting to block both the FC4 relnotes tracker bug
and the general SELinux FAQ tracker bug.

Comment 3 Karsten Wade 2006-01-25 20:39:45 UTC
Is this content still relevant?  Looking to close the bug if it's old news.

Comment 4 Jeremy Katz 2006-01-25 20:55:03 UTC
cc'ing dwalsh since it's selinux related

Comment 5 Daniel Walsh 2006-01-26 14:52:43 UTC
Karsten, is it in the release notes for FC4/FC5?


Comment 6 Karsten Wade 2006-01-26 19:57:31 UTC
Here is the Samba section active for FC5:

I don't think this has been in any of the relnotes.

The problem is, where to put it so that makes sense.  How can the user know that
it is an SELinux permission?

The release notes are not reference documentation, they should point at other

Comment 7 Adam Thompson 2006-01-27 01:04:15 UTC
I filed a bugreport because there was NO WAY for me to discover, on my own, 
what the problem was without being familiar, a priori, with SELinux - and FC4 
is/was the first time many (most?) users were exposed to SELinux.

I think a one-liner (as suggested in my original bug report :-) in the SELinux 
section mentioning the existence of the samba_selinux, ftp_selinux, et al. 
manpages would be adequate.

e.g., at the end of the SELinux notes, put:
"(For further information on how SELinux affects some common system daemons, 
please see the samba_selinux(1), ftp_selinux(1), and httpd_selinux(1) 

I'm not sure if any of those other than samba_selinux actually exist, but you 
get the idea...

Comment 8 Paul W. Frields 2006-09-10 22:07:13 UTC
This information is now linked from the Security/SELinux beat, through the
canonical SELinux info on the wiki.

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