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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to