[Bug 784123] Re: Samba printer is not shared after boot

Alfred alfred.egger at gmx.at
Fri May 27 21:54:50 UTC 2011


*** This bug is a duplicate of bug 515269 ***
    https://bugs.launchpad.net/bugs/515269

As a workaround, I added the following to /etc/rc.local:

#!/bin/sh -e

/sbin/reload smbd

exit 0

The problem is obviously that cups is started after samba and so the
printer is not shared by samba at boot. This problem is now around for
several versions of Ubuntu, althought a fix is already released.


** This bug has been marked a duplicate of bug 515269
   Samba server starts before cups does

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/784123

Title:
  Samba printer is not shared after boot

Status in “samba” package in Ubuntu:
  New

Bug description:
  Binary package hint: samba

  A CUPS printer working flawlessly on the computer locally isn't shared
  after boot even if configured correctly. Only after applying "sudo
  service smbd restart" the printer shows up on a client as a shared
  printer on the server (both Ubuntu/Windows/other samba clients).

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: samba 2:3.5.8~dfsg-1ubuntu2.2
  ProcVersionSignature: Ubuntu 2.6.38-9.43-generic 2.6.38.4
  Uname: Linux 2.6.38-9-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  BothFailedConnect: Yes
  Date: Tue May 17 18:13:03 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
  NmbdLog:
   Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument
     Packet send failed to 192.168.1.255(137) ERRNO=Network is unreachable
     send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
     query_name: Failed to send packet trying to query name WFW<1d>
  ProcEnviron:
   LANGUAGE=de_AT:en
   LANG=de_AT.UTF-8
   SHELL=/bin/bash
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SmbLog:
   getpeername failed. Error was Transport endpoint is not connected
     getpeername failed. Error was Transport endpoint is not connected
     getpeername failed. Error was Transport endpoint is not connected
  SourcePackage: samba
  UpgradeStatus: No upgrade log present (probably fresh install)




More information about the foundations-bugs mailing list