Samba fails to share printer in 10.04 (convert cups to upstart)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: samba
Smbd daemon starts before cups daemon and therefore fails to see and share printer.
If you manually restart smbd, printers are seen.
Samba version: 2:3.4.7~
Without doing nothing after the system boot
igor@hjemme:~$ smbclient -L /192.168.1.2
Anonymous login successful
Domain=[STRINGA] OS=[Unix] Server=[Samba 3.4.7]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (hjemme server (Samba, Ubuntu))
After restarting smbd
igor@hjemme:~$ smbclient -L /192.168.1.2
Domain=[STRINGA] OS=[Unix] Server=[Samba 3.4.7]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
IPC$ IPC IPC Service (hjemme server (Samba, Ubuntu))
LaserJet-1100 Printer Hewlett-Packard HP LaserJet 1100
Here you can see that the smbd is started before cups
igor@hjemme:~$ ps aux | grep smb
root 598 0.0 0.0 15304 312 ? Ss 15:02 0:00 smbd -F
root 667 0.0 0.0 15304 96 ? S 15:02 0:00 smbd -F
igor@hjemme:~$ ps aux | grep cups
root 832 0.0 0.1 6824 568 ? Ss 15:02 0:00 /usr/sbin/cupsd -C /etc/cups/
Changed in cups (Ubuntu): | |
status: | New → Confirmed |
Cups need to be converted to upstart as well.