[Bug 1098756] Re: cups-browsed keeps respawning

Till Kamppeter 1098756 at bugs.launchpad.net
Tue Apr 30 14:45:41 UTC 2013


Uploaded a new fixed package to raring-proposed. As soon as the package
gets approved it will be available for testing and a comment with
instructions will be posted here. Please test it and give us feedback as
your feedback is required to make the package an official update.

SRU Team: debdiff is attached.

** Description changed:

  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

** Attachment added: "cups-filters_1.0.34-0ubuntu1_1.0.34-0ubuntu1.1.dsc"
   https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1098756/+attachment/3660282/+files/cups-filters_1.0.34-0ubuntu1_1.0.34-0ubuntu1.1.dsc

-- 
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 Committed
Status in “avahi” source package in Raring:
  Invalid
Status in “cups-filters” source package in Raring:
  In Progress

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