[Bug 1098756] Re: cups-browsed keeps respawning

Launchpad Bug Tracker 1098756 at bugs.launchpad.net
Thu May 30 11:38:14 UTC 2013


This bug was fixed in the package cups-filters - 1.0.34-0ubuntu1.1

---------------
cups-filters (1.0.34-0ubuntu1.1) raring-proposed; urgency=low

  * debian/local/cups-browsed.upstart: Give up starting cups-browsed after
    3 failed attempts in 4 minutes. This avoids infinite respawning when
    avahi-daemon is not running (LP: #1098756).
 -- Till Kamppeter <till.kamppeter at gmail.com>   Thu, 30 Apr 2013 16:05:06 +0200

** Changed in: cups-filters (Ubuntu Raring)
       Status: Fix Committed => Fix Released

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

Title:
  cups-browsed keeps respawning

Status in “avahi” package in Ubuntu:
  Confirmed
Status in “cups-filters” package in Ubuntu:
  Fix Released
Status in “avahi” source package in Raring:
  Invalid
Status in “cups-filters” source package in Raring:
  Fix Released

Bug description:
  for some reason cups-browsed seems to be crashing or such, since dmesg
  is filled with this:

  [  415.118360] init: cups-browsed main process (4603) terminated with status 1
  [  415.118431] init: cups-browsed main process ended, respawning
  [  415.143189] init: cups-browsed main process (4608) terminated with status 1
  [  415.143293] init: cups-browsed main process ended, respawning
  [  440.099075] init: cups-browsed main process (4610) terminated with status 1
  [  440.099151] init: cups-browsed main process ended, respawning
  [  440.122735] init: cups-browsed main process (4613) terminated with status 1
  [  440.122843] init: cups-browsed main process ended, respawning
  [  465.080779] init: cups-browsed main process (4615) terminated with status 1
  [  465.080880] init: cups-browsed main process ended, respawning
  [  465.104684] init: cups-browsed main process (4631) terminated with status 1
  [  465.104762] init: cups-browsed main process ended, respawning

  on current raring

  [IMPACT]

  The bog does not actually lead to a loss of functionality, as if cups-
  browsed does not keep running (and gets restarted by Upstart) it has
  actually nothing to do, either because avahi-daemon is not running and
  so Bonjour broadcasts of other machines cannot get browsed or by bogus
  configuration of cups-browsed, turning off all its functionality. The
  only problem are annoying repeated log file entries caused by the
  respawning.

  [TESTCASE]

  Stop avahi-daemon and cups-browsed:

  sudo stop cups-browsed
  sudo stop avahi-daemon

  Now start only cups-browsed

  sudo start cups-browsed

  Observe the process number of cups-browsed repeatedly running:

  ps auxwww | grep cups-browsed

  Every 30 sec (every minute?) the process number changes, meaning that
  cups-browsed got restarted.

  With the proposed package cups-browsed gets only restarted three
  times. If there are three failures in 4 minutesm, upstart gives up on
  cups-browsed, avoiding the clutter in the log files.

  [Regression Potential]

  Practically none. In nearly every user configuration avahi-daemon is
  correctly running and so cups-browsed starts up correctly. For the few
  users not having avahi-daemon running there are also no functional
  changes. No code changes in the proposed package.

  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: cups-browsed 1.0.28-0ubuntu1
  ProcVersionSignature: Ubuntu 3.8.0-0.2-generic 3.8.0-rc3
  Uname: Linux 3.8.0-0-generic x86_64
  ApportVersion: 2.8-0ubuntu1
  Architecture: amd64
  Date: Sat Jan 12 01:22:40 2013
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2011-09-12 (487 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110901)
  Lpstat: device for mankeli: socket://192.168.1.15:9100
  MachineType: LENOVO 4170CTO
  MarkForUpload: True
  Papersize: a4
  PpdFiles: mankeli: Samsung ML-2851ND Foomatic/Postscript (recommended)
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-0-generic root=UUID=d855f499-6e26-4f5c-89df-81bcf94082bd ro quiet splash vt.handoff=7
  SourcePackage: cups-filters
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 09/13/2012
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8CET55WW (1.35 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 4170CTO
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr8CET55WW(1.35):bd09/13/2012:svnLENOVO:pn4170CTO:pvrThinkPadT420s:rvnLENOVO:rn4170CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 4170CTO
  dmi.product.version: ThinkPad T420s
  dmi.sys.vendor: LENOVO

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




More information about the foundations-bugs mailing list