[Bug 494141] Re: CUPS starts after SAMBA; printers are not available

Francesco Pretto ceztko at gmail.com
Wed Apr 21 15:39:17 BST 2010


2 problems here:

- cups is still an old sysvinit script;
- samba is an upstart job but doesn't have any dependencies on cups.

Moreover I think it's the samba upstart job that should assert "start
after cups", and not cups to worry about starting before samba. So for
sure this actually a deficiency in the samba upstart job. Not clear to
me if it can be solved before cups becomes an upstart job too.

If you want a temporary workaround, put a:

sleep 10

just after "pre start script" in /etc/init/smbd.conf.

Actually, I needed to put the same waiting time in /etc/init/nmbd.conf
otherwise the master domain browser was nonfunctional, so it seems there
are some dependencies nmbd <-> smbd (don't know the correct verse)
unsatisfied.

-- 
CUPS starts after SAMBA; printers are not available
https://bugs.launchpad.net/bugs/494141
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list