
lynn said the following on 08/06/2013 07:46 AM:
On Tue, 2013-08-06 at 07:24 -0400, Anton Aylward wrote:
Cristian Rodríguez said the following on 08/06/2013 01:42 AM:
On 08/05/2013 07:22 AM, Istvan Gabor wrote:
2. I could not find any *.service file containing strings 'smb' or 'nmb' on my whole system. (Starting search in the / directory.)
Yes, this is/was a bug in openSUSE samba packages, upstream has systemd units included but the packages don't.
That's clear from Felix's observation about them being present in F19. Perhaps he would care to give details.
Hi fwiw, here's the one from the 4.0.8 source:
[Unit] Description=Samba NMB Daemon After=syslog.target network.target
[Service] Type=forking PIDFile=/run/nmbd.pid EnvironmentFile=-/etc/sysconfig/samba ExecStart=/usr/sbin/nmbd $NMBDOPTIONS ExecReload=/usr/bin/kill -HUP $MAINPID
[Install] WantedBy=multi-user.target
I think the OP's problem is that the network isn't running when nmb is called. Try sticking it in /etc/init.d/boot.local perhaps? Almost certain the network is up by then.
No, don't put that (the above) in /etc/init.d/boot.local - its a unit file not a script, it goes in /etc/systemd/system/ Yes, if the network isn't up, then the unit file as above makes it very clear with the "After=" line that the network is necessary. One point remains: what about smbd? Is that dependent on nmbd running? Which should start first? Oh, and a 'Spanish inquisition' point: presumably "$NMBDOPTIONS" comes from somewhere like /etc/sysconfig/nmbd ... -- How long did the whining go on when KDE2 went on KDE3? The only universal constant is change. If a species can not adapt it goes extinct. That's the law of the universe, adapt or die. -- Billie Walsh, May 18 2013 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org