[jaunty] Pulseaudio does not start "Failed to open module "module-console-kit": file not found"

Bug #326532 reported by David Futcher
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pulseaudio (Ubuntu)
Fix Released
Medium
Daniel T Chen
Jaunty
Invalid
Undecided
Unassigned
Karmic
Fix Released
Medium
Daniel T Chen

Bug Description

jaunty SRU information follows:

Note that this SRU involves two separate bugs, this one and bug 202089.

Impact: Users who perform a distribution upgrade to jaunty sometimes fail to have audible sound through PulseAudio due to its failure to load libdbus-util.so. This failure stems from pulseaudio's missing dependency on the pulseaudio-module-hal package, which contains libdbus-util.so. Instead, it is a Recommends.

Resolution: Promote pulseaudio-module-hal from a recommendation to a dependency of the pulseaudio package.

SRU debdiff: http://launchpadlibrarian.net/25941550/pulseaudio_0.9.14-0ubuntu20.1.debdiff

TEST CASE: Perform a distribution upgrade from intrepid to jaunty. If the audio from PulseAudio is inaudible, "killall pulseaudio; strace pulseaudio -v". If "open("/usr/lib/pulse-0.9/modules/libdbus-util.so", O_RDONLY) = -1 ENOENT (No such file or directory)" appears, then the symptom has been reproduced.

Regression potential: No regressions have been identified in production.
--
Background information follows:

Binary package hint: pulseaudio

In Jaunty (with latest updates for Sat Feb 7th installed) the pulseaudio daemon fails to start.

The output I get is:

I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
N: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges:
N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
N: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
E: module.c: Failed to open module "module-console-kit": file not found
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.

Revision history for this message
Daniel T Chen (crimsun) wrote :

I can't reproduce this symptom on a clean jaunty alpha 4 install or an intrepid -> jaunty distribution upgrade.

Please ensure that your installed jaunty pulseaudio binary package contains /usr/lib/pulse-0.9/modules/module-console-kit.so (sha256sum 6b44e3e126e9ecaab37f91a22aaf7854e87f2e0b5b90aba9ecee6b54a9422e59 on amd64).

Changed in pulseaudio:
status: New → Incomplete
Revision history for this message
David Futcher (bobbo) wrote :

Daniel, I can no longer reproduce this either. I apt-get removed pulseaudio, then apt-get installed it again and it is working perfectly now. FYI, I updated from Intrepid using "upatepmanager -d", on Thursday the fifth of Feb.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Setting task status. Please reopen if reproducible further in jaunty, and include apt*'s upgrade logs.

Changed in pulseaudio:
status: Incomplete → Invalid
beudbeud (beudbeud)
Changed in pulseaudio:
status: Invalid → New
Revision history for this message
beudbeud (beudbeud) wrote :
Download full text (4.2 KiB)

root@adrien-laptop:/home/adrien# pulseaudio --dump-modules
module-alsa-sink ALSA Sink
module-alsa-source ALSA Source
module-always-sink Always keeps at least one sink loaded even if it's a null one
E: modinfo.c: Failed to open module "/usr/lib/pulse-0.9/modules/module-bluetooth-device": file not found
E: modinfo.c: Failed to open module "/usr/lib/pulse-0.9/modules/module-bluetooth-discover": file not found
E: modinfo.c: Failed to open module "/usr/lib/pulse-0.9/modules/module-bluetooth-proximity": file not found
module-cli Command line interface
module-cli-protocol-tcp Command line interface protocol (TCP sockets)
module-cli-protocol-unix Command line interface protocol (UNIX sockets)
module-combine Combine multiple sinks to one
E: modinfo.c: Failed to open module "/usr/lib/pulse-0.9/modules/module-console-kit": file not found
module-default-device-restore Automatically restore the default sink and source
module-detect Detect available audio hardware and load matching drivers
module-device-restore Automatically restore the volume/mute state of devices
module-esound-sink ESOUND Sink
module-http-protocol-tcp HTTP (TCP sockets)
module-http-protocol-unix HTTP (UNIX sockets)
module-ladspa-sink Virtual LADSPA sink
module-match Playback stream expression matching module
module-mmkbd-evdev Multimedia keyboard support via Linux evdev
module-native-protocol-fd Native protocol autospawn helper
module-native-protocol-tcp Native protocol (TCP sockets)
module-native-protocol-unix Native protocol (UNIX sockets)
module-null-sink Clocked NULL sink
module-oss OSS Sink/Source
module-pipe-sink UNIX pipe sink
module-pipe-source UNIX pipe source
module-position-event-sounds Position event sounds between L and R depending on the position on screen of the widget triggering them.
module-remap-sink Virtual channel remapping sink
module-rescue-streams When a sink/source is removed, try to move their streams to the default sink/source
module-rtp-recv Recieve data from a network via RTP/SAP/SDP
module-rtp-send Read data from source and send it to the network via RTP/SAP/SDP
module-simple-protocol-tcp Simple protocol (TCP sockets)
module-simple-protocol-unix Simple protocol (UNIX sockets)
module-sine Sine wave generator
module-stream-restore Automatically restore the volume/mute/device state of streams
module-suspend-on-idle When a sink/source is idle for too long, suspend it
module-tunnel-sink Tunnel module for sinks
module-tunnel-source Tunnel module for sources
module-volume-restore ...

Read more...

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom reproducible after a reboot? If so, please dump the contents of the pulseaudio package (dpkg -L pulseaudio) and compare with a long directory listing of /usr/lib/pulse-0.9/modules.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Changed in pulseaudio:
importance: Undecided → Medium
Revision history for this message
Jonas H (jonash) wrote :

I can confirm this on jaunty 2.6.28-11 (with latest updates today 13th of april)

The diff of the /usr/lib/pulse-0.9/modules (original) and dpkg -L pulseaudio (new):

3a4
> libavahi-wrap.so
6a8
> libdbus-util.so
14a17
> libprotocol-esound.so
25a29,30
> libx11prop.so
> libx11wrap.so
39a45,48
> module-esound-compat-spawnfd.so
> module-esound-compat-spawnpid.so
> module-esound-protocol-tcp.so
> module-esound-protocol-unix.so
40a50,51
> module-gconf.so
> module-hal-detect.so
65a77,81
> module-x11-bell.so
> module-x11-publish.so
> module-x11-xsmp.so
> module-zeroconf-discover.so
> module-zeroconf-publish.so
jonas@jha:~$ diff p1 p2
3a4
> libavahi-wrap.so
6a8
> libdbus-util.so
14a17
> libprotocol-esound.so
25a29,30
> libx11prop.so
> libx11wrap.so
39a45,48
> module-esound-compat-spawnfd.so
> module-esound-compat-spawnpid.so
> module-esound-protocol-tcp.so
> module-esound-protocol-unix.so
40a50,51
> module-gconf.so
> module-hal-detect.so
65a77,81
> module-x11-bell.so
> module-x11-publish.so
> module-x11-xsmp.so
> module-zeroconf-discover.so
> module-zeroconf-publish.so

Changed in pulseaudio (Ubuntu):
status: Incomplete → New
Revision history for this message
Kyle Cronan (kyle-pbx) wrote :

I hit this bug while trying to debug a problem with module-rtp-recv. I made a change to the source and rebuilt the debs with dpkg-buildpackage. When I installed the new debs I got this:

$ pulseaudio -v
...
I: module.c: Loaded "module-esound-protocol-unix" (index: #10; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #11; argument: "").
E: module.c: Failed to open module "module-rtp-recv": file not found
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
I: module.c: Unloading "module-combine" (index: #0).
...

$ pulseaudio --dump-modules
...
module-rescue-streams When a sink/source is removed, try to move their streams to the default sink/source
E: modinfo.c: Failed to open module "/usr/lib/pulse-0.9/modules/module-rtp-recv": file not found
module-rtp-send Read data from source and send it to the network via RTP/SAP/SDP
...

$ ls -al /usr/lib/pulse-0.9/modules/module-rtp-recv.so
-rw-r--r-- 1 root root 26228 2009-04-15 14:04 /usr/lib/pulse-0.9/modules/module-rtp-recv.so

$ ldd /usr/lib/pulse-0.9/modules/module-rtp-recv.so
        linux-gate.so.1 => (0xb8077000)
        librtp.so => /usr/lib/pulse-0.9/modules/librtp.so (0xb8066000)
        libpulsecore.so.9 => /usr/lib/libpulsecore.so.9 (0xb7fc6000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7fbc000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb7e52000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7df5000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb7da2000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7d9c000)
        libspeexdsp.so.1 => /usr/lib/sse2/libspeexdsp.so.1 (0xb7d87000)
        liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0xb7d17000)
        libcap.so.2 => /lib/libcap.so.2 (0xb7d12000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7d0b000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7d02000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7cfe000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7cd7000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7cbe000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7b5b000)
        /lib/ld-linux.so.2 (0xb8078000)
        libattr.so.1 => /lib/libattr.so.1 (0xb7b55000)

Revision history for this message
Kyle Cronan (kyle-pbx) wrote :

Could this be an issue with the library rpath?

Revision history for this message
Kyle Cronan (kyle-pbx) wrote :

Never mind. It would appear that this bug refers to actual missing library files. My problem is caused by something else, though libtool will often report a "file not found" error even when missing files are not the real cause of the failure.

Revision history for this message
Precious (gautam2305) wrote :

I happen to have the same problem. In my case it seems that a particular library called libdbus-utils.so is not present

$ldd /usr/lib/pulse-0.9/modules/module-console-kit.so
        linux-gate.so.1 => (0xb800b000)
        libdbus-util.so => not found
        libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb7fb6000)
        libpulsecore.so.9 => /usr/lib/libpulsecore.so.9 (0xb7f24000)
        libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7f1b000)
        libsamplerate.so.0 => /usr/lib/libsamplerate.so.0 (0xb7db1000)
        libsndfile.so.1 => /usr/lib/libsndfile.so.1 (0xb7d54000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb7d01000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7cfb000)
        libspeexdsp.so.1 => /usr/lib/sse2/libspeexdsp.so.1 (0xb7ce5000)
        liboil-0.3.so.0 => /usr/lib/liboil-0.3.so.0 (0xb7c76000)
        libcap.so.2 => /lib/libcap.so.2 (0xb7c71000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7c6a000)
        librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7c61000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c5c000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c36000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7c1d000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7aba000)
        /lib/ld-linux.so.2 (0xb800c000)
        libattr.so.1 => /lib/libattr.so.1 (0xb7ab4000)

Also an strace on pulseaudio -v has the following lines:
2392: open("/usr/lib/pulse-0.9/modules/module-console-kit.so", O_RDONLY) = 28
2398: open("/usr/lib/pulse-0.9/modules/libdbus-util.so", O_RDONLY) = -1 ENOENT (No such file or directory)

I tried searching the repo for libdbus-utils in vain. Is it part of some package?

Daniel T Chen (crimsun)
Changed in pulseaudio (Ubuntu):
assignee: nobody → Daniel T Chen (crimsun)
status: New → Fix Committed
Daniel T Chen (crimsun)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in pulseaudio (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
tinker123 (tinker123) wrote :
Download full text (5.0 KiB)

Hi;

I upgraded from Ubuntu 8.10 to Ubuntu 9.04 and lost all sound. I read this ticket. I'm not a linux expert by any stretch, but it seems as if a problem is a missing file called libdbus-util.so. I followed most of the directions at

https://wiki.ubuntu.com/Testing/EnableProposed

However I don't think I operated the software right. The output below shows me that libdbus-util.so is still missing. Once I run aptitude -t jaunty-proposed which options do I select and which commands do I execute.

Thanks in advance for any info

Steve

steve@Wisdom:~$ dpkg -L pulseaudio
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/pulseaudio
/usr/share/doc/pulseaudio/README.Debian
/usr/share/doc/pulseaudio/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/pulseaudio.1.gz
/usr/share/man/pa
/usr/share/man/pa/man5
/usr/share/man/pa/man5/default.5.gz
/usr/share/man/man5
/usr/share/man/man5/default.pa.5.gz
/usr/share/man/man5/pulse-client.conf.5.gz
/usr/share/man/man5/pulse-daemon.conf.5.gz
/usr/share/alsa
/usr/share/alsa/pulse-alsa.conf
/usr/share/alsa/pulse.conf
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/pulseaudio
/usr/share/PolicyKit
/usr/share/PolicyKit/policy
/usr/share/PolicyKit/policy/org.pulseaudio.policy
/usr/share/apport
/usr/share/apport/package-hooks
/usr/share/apport/package-hooks/source_pulseaudio.py
/usr/bin
/usr/bin/pulseaudio
/usr/bin/pulse-session
/usr/bin/start-pulseaudio-x11
/usr/lib
/usr/lib/pm-utils
/usr/lib/pm-utils/sleep.d
/usr/lib/pm-utils/sleep.d/01PulseAudio
/usr/lib/pulse-0.9
/usr/lib/pulse-0.9/modules
/usr/lib/pulse-0.9/modules/libalsa-util.so
/usr/lib/pulse-0.9/modules/libauthkey.so
/usr/lib/pulse-0.9/modules/libauth-cookie.so
/usr/lib/pulse-0.9/modules/libcli.so
/usr/lib/pulse-0.9/modules/libiochannel.so
/usr/lib/pulse-0.9/modules/libioline.so
/usr/lib/pulse-0.9/modules/libipacl.so
/usr/lib/pulse-0.9/modules/liboss-util.so
/usr/lib/pulse-0.9/modules/libpacket.so
/usr/lib/pulse-0.9/modules/libparseaddr.so
/usr/lib/pulse-0.9/modules/libpdispatch.so
/usr/lib/pulse-0.9/modules/libprotocol-cli.so
/usr/lib/pulse-0.9/modules/libprotocol-http.so
/usr/lib/pulse-0.9/modules/libprotocol-native.so
/usr/lib/pulse-0.9/modules/libprotocol-simple.so
/usr/lib/pulse-0.9/modules/libpstream-util.so
/usr/lib/pulse-0.9/modules/libpstream.so
/usr/lib/pulse-0.9/modules/librtp.so
/usr/lib/pulse-0.9/modules/libsocket-client.so
/usr/lib/pulse-0.9/modules/libsocket-server.so
/usr/lib/pulse-0.9/modules/libsocket-util.so
/usr/lib/pulse-0.9/modules/libstrlist.so
/usr/lib/pulse-0.9/modules/libtagstruct.so
/usr/lib/pulse-0.9/modules/module-alsa-sink.so
/usr/lib/pulse-0.9/modules/module-alsa-source.so
/usr/lib/pulse-0.9/modules/module-always-sink.so
/usr/lib/pulse-0.9/modules/libbluetooth-ipc.so
/usr/lib/pulse-0.9/modules/libbluetooth-sbc.so
/usr/lib/pulse-0.9/modules/module-bluetooth-device.so
/usr/lib/pulse-0.9/modules/module-bluetooth-discover.so
/usr/lib/pulse-0.9/modules/module-bluetooth-proximity.so
/usr/lib/pulse-0.9/modules/module-console-kit.so
/usr/lib/pulse-0.9/modules/module-device-restore.so
/usr/lib/pulse-0.9/modules/module-stream-restore.so
/usr/lib/pulse-0.9/modules/module-cli-protocol-tcp...

Read more...

Revision history for this message
tinker123 (tinker123) wrote :

Okay, it turns out I have the file, but I still can't get the sound to work.

Revision history for this message
tinker123 (tinker123) wrote :

Hi;

I did a bunch of things today and got all audio back except flash/youtube/streaming ( always the hold out ). I don't know what worked as I was testing with youtube and only discovered the other things were fixed when I clicked on an MP3.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pulseaudio - 1:0.9.15-1ubuntu2

---------------
pulseaudio (1:0.9.15-1ubuntu2) karmic; urgency=low

  * debian/01PulseAudio: harvest users more robustly. Thanks,
    Chow Loong Jin <email address hidden>! (LP: #202089)
  * debian/control: pulseaudio depends on pulseaudio-module-hal
    to fix LP: #326532

 -- Daniel T Chen <email address hidden> Thu, 09 Apr 2009 17:03:00 -0400

Changed in pulseaudio (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
®om (rom1v) wrote :

Will it be fixed on jaunty?

Revision history for this message
Kees Cook (kees) wrote :

This SRU needs to be updated since a security update has been published above the unverified -proposed upload for this bug.

Changed in pulseaudio (Ubuntu Jaunty):
status: Fix Committed → Incomplete
Kees Cook (kees)
Changed in pulseaudio (Ubuntu Jaunty):
status: Incomplete → Triaged
CargoPVD (cargopvd)
Changed in pulseaudio (Ubuntu Karmic):
status: Fix Released → New
Changed in pulseaudio (Ubuntu):
status: Fix Released → New
Revision history for this message
Steve Langasek (vorlon) wrote :

Please do not change bug status without explanation.

Changed in pulseaudio (Ubuntu Karmic):
status: New → Fix Released
Changed in pulseaudio (Ubuntu):
status: New → Fix Released
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug. This issue has been fixed in newer versions of Ubuntu, and Jaunty is EOL, so I am closing this bug task.

Changed in pulseaudio (Ubuntu Jaunty):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.