cups-browsed keeps respawning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
avahi (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Raring |
Invalid
|
Undecided
|
Unassigned | ||
cups-filters (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Raring |
Fix Released
|
Medium
|
Unassigned |
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
ProcVersionSign
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:
MachineType: LENOVO 4170CTO
MarkForUpload: True
Papersize: a4
PpdFiles: mankeli: Samsung ML-2851ND Foomatic/Postscript (recommended)
ProcKernelCmdLine: BOOT_IMAGE=
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.
dmi.board.name: 4170CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 4170CTO
dmi.product.
dmi.sys.vendor: LENOVO
Changed in avahi (Ubuntu): | |
importance: | Undecided → Medium |
Changed in cups-filters (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in avahi (Ubuntu Raring): | |
status: | New → Invalid |
Changed in cups-filters (Ubuntu Raring): | |
status: | New → In Progress |
milestone: | none → raring-updates |
Changed in cups-filters (Ubuntu): | |
importance: | Undecided → Medium |
Changed in cups-filters (Ubuntu Raring): | |
importance: | Undecided → Medium |
tags: |
added: verification-done removed: verification-needed |
tags: | added: patch |
This is apparently fixed in cups-filters 1.0.28-0ubuntu2
Can you confirm ?