[Bug 1047262] Re: race condition on startup between samba and cups

Steve Langasek steve.langasek at canonical.com
Fri Sep 7 15:36:17 UTC 2012


Hi James,

        if status cups >/dev/null ; then
                start wait-for-state WAITER=smbd WAIT_FOR=cups WAIT_STATE=running
        fi

This solution has the effect that if the cups job is broken for any
reason, smbd will also not be started.  I don't think that's desirable.

We've tried hard in the past to ensure samba is *not* dependent on cups
being present before samba starts.  I think this would be better done as
a job in the samba package which is 'start on started cups' and will
prompt samba to reload its config.

-- 
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/1047262

Title:
  race condition on startup between samba and cups

Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Precise:
  Triaged
Status in “samba” source package in Quantal:
  Fix Released

Bug description:
  As seen in bug 967410 is possible for cups to start after smbd - if
  samba is configured to retrieve printer information from cups it fails
  and printers are not automatically configured.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: samba (not installed)
  ProcVersionSignature: Ubuntu 3.5.0-13.14-generic 3.5.3
  Uname: Linux 3.5.0-13-generic x86_64
  ApportVersion: 2.5.1-0ubuntu4
  Architecture: amd64
  Date: Fri Sep  7 10:58:35 2012
  SambaServerRegression: Yes
  SmbConfIncluded: Yes
  SourcePackage: samba
  UbuntuFailedConnect: Yes
  UpgradeStatus: Upgraded to quantal on 2012-06-11 (88 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1047262/+subscriptions




More information about the foundations-bugs mailing list