Hello all. Just installed samba3, and configured it fine. But, when i ran /etc/init.d/samba start, impossible to log into my server. But : the script told me, that samba was fired well ([OK] at the end of the line). I discovered that smbd and nmbd were not running (!). So, i had a look at the init script, which does not make any reference to the samba binaries (smbd and nmbd). I needed samba to run quickly to continue working, so i decided to write my own script, probably not 'clean'. Feel free to use it and to make it better ;-) But for now : it just works. Here it is : [/etc/init.d/samba3] #!/sbin/runscript #samba3 start-stop script for gentoo #contact : anigel on forum gentoo depend() { need net use cupsd } start() { ebegin "Starting samba3 daemons" ebegin "Starting SmBd daemon" start-stop-daemon --start --quiet --exec /usr/sbin/smbd \ -- -pidfile /var/run/samba/smbd.pid eend $? ebegin "Starting NmBd daemon" start-stop-daemon --start --quiet --exec /usr/sbin/nmbd \ -- -pidfile /var/run/samba/nmbd.pid eend $? } stop() { ebegin "Stopping samba3 daemons" ebegin "Stopping SmBd daemon" start-stop-daemon --stop --quiet --pidfile /var/run/samba/smbd.pid eend $? ebegin "Stopping NmBd daemon" start-stop-daemon --stop --quiet --pidfile /var/run/samba/nmbd.pid eend $? } Reproducible: Always Steps to Reproduce: 1.just try to start samba3 2. 3. Actual Results: Got the [OK] message as the daemon had been started, but it wasn't. Expected Results: It should launch smbd and nmbs instead.
can you try the (still masked) samba-3.0.4-r1.ebuild, and try again (after etc-update of course) ? there was a rewrite of the init scripts in the 3.0.4 version, they should work much better now.
You're right ! It works well with the new version. I was sure that samba was registered in "system" package list, that's why i didn't see the update on the moment. I found it juste before you replied ;-). Sorry for boring so :( . I close the bug.