The Samba-Bugzilla – Bug 8405
init.d scripts does no work
Last modified: 2011-08-29 13:55:22 UTC
After upgrade for version 3.6.0 using packages of opensuse build service the init.d scripts does not work anymore.
The error is in starproc sintax see below:
HOST:~ # /etc/init.d/smb start
Starting Samba SMB daemon startproc: Usage:
startproc [-f] [+/-<prio>] [-s] [-u uid] [-g gid] [-v] [-l log_file|-q] /full/path/to/program
although it shows that the start was successful the process is not running
HOST:~ # ps aux |grep smb
root 4080 0.0 0.0 3028 708 pts/2 S+ 12:47 0:00 grep smb
Stop, and status option are working fine
I think i have found the issue, in startproc sintax there a "-W" flag with the PID of daemon, but the "-W" flag is not valid for startproc, i've removed the flag and the init.d scripts are working again.
which distribution, which samba binary packages?
ups, sorry, you wrote opensuse buildservice I see :-). Reassigning to Lars as he maintains the suse rpms
We need to know to which openSUSE/ SUSE Linux version this issue applies.
Please clear the needinfo status after you provided the requested information.
(In reply to comment #4)
> We need to know to which openSUSE/ SUSE Linux version this issue applies.
> Please clear the needinfo status after you provided the requested information.
This issue apply to packages for SLES 10, the server is running service pack 2.
Thanks for closing. In particular as I had not been able to reproduce the issue on a SUSE Linux Enterprise 10 SP 4 system.
If possible please be so nice and explain what the actual issue was as this might be of help to other users.
After i have removed the "-W" flag in options for startproc the issue does not occur anymore.
There is no "-W" flag for startproc in SLES10 SP2.