avahi leaks dbus connections to the system bus, breaking other apps depending on them
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
every time the avahi client state is polled (?):
D [18/Oct/
a new connection to the dbus system bus is created, which shows in netstat -x -p output:
unix 3 [ ] STREAM CONNECTED 9177 1338/dbus-daemon /var/run/
...
So the system will end up with 240 connections, breaking apps like update-manager which can't connect to the bus anymore. Also, I'm pretty sure this was due to the latest cups update in oneiric-updates, which changed the Avahi backend. I'll test with 1.5.0-8.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cups 1.5.0-8ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Wed Oct 19 10:52:32 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
Lpstat: device for mankeli: ipp://192.168.1.15
MachineType: Intel Corporation SandyBridge Platform
Papersize: a4
PpdFiles:
mankeli: Generic PostScript Printer
mankeli: Generic PostScript Printer
ProcEnviron:
PATH=(custom, user)
LANG=fi_FI.UTF-8
SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: Upgraded to oneiric on 2011-07-05 (105 days ago)
dmi.bios.date: 01/13/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: ASNBCPT1.
dmi.board.
dmi.board.name: LosLunas CRB
dmi.board.vendor: Intel Corporation
dmi.board.version: To be filled by O.E.M.
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: SandyBridge Platform
dmi.product.
dmi.sys.vendor: Intel Corporation
Changed in cups (Ubuntu Precise): | |
milestone: | oneiric-updates → none |
Changed in cups (Ubuntu Oneiric): | |
milestone: | none → oneiric-updates |
Changed in cups (Ubuntu Oneiric): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
Changed in cups (Ubuntu Oneiric): | |
assignee: | Martin Pitt (pitti) → nobody |
this logfile shows that after the daemon got restarted around 16:15, it begins to probe the avahi client state. I monitored the system bus with d-feet, and noticed that every time a new 'Avahi client state 1' line appeared on the logfile, a new connection would show up on d-feet.