Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As the title says, after I reboot I need to restart smbd to get printers to show up over smb. My thought was that maybe smbd is set to start before cups and gets messed up? This is with 11.04, how I do I check the startup order of startup dependencies? Thanks,

share|improve this question
    
If that is the case I would consider it a bug... Please try my answer and if it is not a solution to your problem you need to have another look at your problem ;) –  Rinzwind Aug 20 '11 at 14:39

1 Answer 1

up vote 0 down vote accepted

In /etc/init/cups.conf you can add a line where you tell upstart it needs to wait for samba to be loaded. This is the relevant part:

start on (filesystem
      and (started dbus or runlevel [2345])
      and stopped udevtrigger)
stop on runlevel [016]

Adding a

and started smbd

will have cups wait for the samba daemon.

share|improve this answer
    
Thanks this helped. But the file is actually in /etc/init/*, and I added a wait for cups in the smbd.conf –  CptanPanic Aug 21 '11 at 18:29
    
fixed it. thanks for accepting it. Please consider adding in your solution and accepting that one. –  Rinzwind Aug 21 '11 at 18:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.