Comment 2 for bug 587548

Revision history for this message
volinthius (volinthius) wrote : Re: Samba fails to share printer in 10.04

I'm seeing this as well. The cups init script contains:

...
# X-Start-Before: samba
# X-Stop-After: samba
...

It seems that 'X-Start-Before' and 'X-Stop-After' aren't compatible with upstart. I fixed this by calling 'initctl emit cups-started' when starting cups, and hooking on to that in samba init script. The correct fix would be to convert cups to upstart.

Ubuntu Server 10.04
samba: 2:3.4.7~dfsg-1ubuntu3
cups: 1.4.3-1