Bug 158802

Summary: service smb start fails to start smbd
Product: [Fedora] Fedora Reporter: Stéphane Moinard <stephane.moinard>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: jfeeney
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-26 14:09:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stéphane Moinard 2005-05-25 20:50:58 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
Hello,

Under FC4-Test3, the script smb fails to start smbd (there is no problem with nmbd).

the error is : /etc/init.d/functions: line 83: 29607 Abort          $nice $*

If i try to start /usr/sbin/smbd -D manually, it works.

If i try to start "/usr/sbin/smbd -D" into another script than /etc/rc.d/init.d/smb, it fails (just a message that it is aborted).

Any idea ?

Thanks.

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


How reproducible:
Always

Steps to Reproduce:
1. service smb start fails only on the startup of smbd
2. under the shell, /usr/sbin/smbd -D works


Additional info:

Comment 1 Jay Fenlason 2005-05-25 21:02:03 UTC
WORKSFORME on my rawhide box, and I haven't changed anything in that area of 
the code in a long time.  Can you attach your /etc/samba/smb.conf to this bug 
so I can try to reproduce it? 
 
What does "strace -f -o <some log file> /sbin/service smb start" put in that 
log file.  It's going to be large, and the interesting part is probably at the 
end. 

Comment 2 Stéphane Moinard 2005-05-26 14:09:47 UTC
Hi Jey,

I found a solution. As i had the same problem to start dovecot, i searched 
thought that the problem was not involving samba.

Selinux was activated with "enforcing" policy. Desactivating selinux solved 
the problem.

I'm still interested to have a solution with selinux activated.

Best regards.