Bug 161678 - Samba shares don't work
Samba shares don't work
Status: CLOSED RAWHIDE
Product: Fedora Documentation
Classification: Fedora
Component: release-notes (Show other bugs)
devel
All Linux
medium Severity medium
: ---
: ---
Assigned To: Release Notes Tracker
Tammy Fox
https://www.redhat.com/archives/fedor...
:
Depends On:
Blocks: 118757 fc-relnotes-traqr
  Show dependency treegraph
 
Reported: 2005-06-25 09:10 EDT by Adam Thompson
Modified: 2007-04-18 13:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-10 18:07:13 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 Adam Thompson 2005-06-25 09:10:22 EDT
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):
fedora-release-4-2

How reproducible:
Always

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 16:49:42 EDT
This should be noted in the release notes.
Comment 2 Karsten Wade 2005-06-27 17:03:26 EDT
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 15:39:45 EST
Is this content still relevant?  Looking to close the bug if it's old news.
Comment 4 Jeremy Katz 2006-01-25 15:55:03 EST
cc'ing dwalsh since it's selinux related
Comment 5 Daniel Walsh 2006-01-26 09:52:43 EST
Karsten, is it in the release notes for FC4/FC5?

Dan
Comment 6 Karsten Wade 2006-01-26 14:57:31 EST
Here is the Samba section active for FC5:

http://fedoraproject.org/wiki/Docs/Beats/Samba

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
references.
Comment 7 Adam Thompson 2006-01-26 20:04:15 EST
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) 
manpages.)"

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 18:07:13 EDT
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.