Bug 794690
Summary: | PulseAudio fails to run if ConsoleKit is not present, and CK is not included currently in F17 desktop live image | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | pulseaudio | Assignee: | Lennart Poettering <lpoetter> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | alekcejk, anto.trande, awilliam, brendan.jones.it, kevin, lkundrak, lpoetter, pschindl, rdieter, satellitgo | ||||
Target Milestone: | --- | Keywords: | CommonBugs | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | https://fedoraproject.org/wiki/Common_F17_bugs#pulseaudio-consolekit AcceptedBlocker | ||||||
Fixed In Version: | pulseaudio-1.1-8.fc17 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-03-06 20:32:01 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 752649 | ||||||
Attachments: |
|
Description
Michael Schwendt
2012-02-17 10:27:18 UTC
Can you rm ~/.pulse/* and run pulseaudio -vvv and post the output here? Created attachment 563893 [details]
output of "rm -rf ~/.pulse ; pulseaudio -vvv"
Can you test for the presence of /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service (should be from ConsoleKit) ? # rpm -qf /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service error: file /usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service: No such file or directory # ll /usr/share/dbus-1/system-services total 104 -rw-r--r--. 1 root root 247 Jan 12 22:53 com.redhat.abrt.service -rw-r--r--. 1 root root 242 Feb 3 16:35 fi.epitest.hostap.WPASupplicant.service -rw-r--r--. 1 root root 232 Feb 3 16:35 fi.w1.wpa_supplicant1.service -rw-r--r--. 1 root root 80 Jan 14 00:00 net.reactivated.Fprint.service -rw-r--r--. 1 root root 95 Dec 30 12:44 org.bluez.service -rw-r--r--. 1 root root 140 Jan 15 01:56 org.fedoraproject.Config.Firewall.service -rw-r--r--. 1 root root 100 Jan 23 19:40 org.fedoraproject.Setroubleshootd.service -rw-r--r--. 1 root root 123 Jan 23 19:40 org.fedoraproject.SetroubleshootFixit.service -rw-r--r--. 1 root root 129 Jan 12 22:52 org.freedesktop.Accounts.service -rw-r--r--. 1 root root 971 Jan 13 00:37 org.freedesktop.Avahi.service -rw-r--r--. 1 root root 117 Jan 20 19:22 org.freedesktop.ColorManager.service -rw-r--r--. 1 root root 410 Feb 15 04:57 org.freedesktop.hostname1.service -rw-r--r--. 1 root root 406 Feb 15 04:57 org.freedesktop.locale1.service -rw-r--r--. 1 root root 404 Feb 15 04:57 org.freedesktop.login1.service -rw-r--r--. 1 root root 89 Feb 7 22:00 org.freedesktop.ModemManager.service -rw-r--r--. 1 root root 459 Feb 16 04:16 org.freedesktop.NetworkManager.service -rw-r--r--. 1 root root 101 Feb 16 04:16 org.freedesktop.nm_dispatcher.service -rw-r--r--. 1 root root 89 Jan 27 18:39 org.freedesktop.PackageKit.service -rw-r--r--. 1 root root 104 Feb 14 03:12 org.freedesktop.PolicyKit1.service -rw-r--r--. 1 root root 833 Jan 14 22:37 org.freedesktop.RealtimeKit1.service -rw-r--r--. 1 root root 355 Feb 15 04:57 org.freedesktop.systemd1.service -rw-r--r--. 1 root root 410 Feb 15 04:57 org.freedesktop.timedate1.service -rw-r--r--. 1 root root 123 Feb 7 16:15 org.freedesktop.UDisks2.service -rw-r--r--. 1 root root 81 Jan 15 03:40 org.freedesktop.UPower.service -rw-r--r--. 1 root root 99 Feb 14 06:01 org.gnome.GConf.Defaults.service -rw-r--r--. 1 root root 110 Jan 13 05:06 org.opensuse.CupsPkHelper.Mechanism.service # rpm -q ConsoleKit package ConsoleKit is not installed # yum list ConsoleKit Loaded plugins: langpacks, presto, refresh-packagekit Available Packages ConsoleKit.x86_64 0.4.5-2.fc17 fedora If you comment out these lines in /etc/pulse/default.pa does it start? ### If autoexit on idle is enabled we want to make sure we only quit ### when no local session needs us anymore. .ifexists module-console-kit.so load-module module-console-kit .endif Alternatively does installing Consolekit fix the issue? Re: ConsoleKit Most recent NM update refers to "ConsoleKit" removal: https://admin.fedoraproject.org/updates/FEDORA-2012-1807/NetworkManager-0.9.3-0.1.git20120215.fc17 Re: comment 5 That results in: $ rm -rf ~/.pulse ; pulseaudio E: [pulseaudio] bluetooth-util.c: Error from ListAdapters reply: org.freedesktop.systemd1.LoadFailed E: [pulseaudio] socket-server.c: bind(): Address already in use E: [pulseaudio] module.c: Failed to load module "module-esound-protocol-unix" (argument: ""): initialization failed. E: [pulseaudio] main.c: Module load failed. E: [pulseaudio] main.c: Failed to initialize daemon. So the absence of ConsoleKit explains the first failure that I can repeat here. This is pulled in by KDE's network manager, so either it should be pulled into the defailt desktop or the default.pa that ships with pulse needs to be modified. I can't reproduce the second error so am pulling down an RC2 now. In the meantime can you attach the verbose output? OK, running a live RC2 yields the consolekit error, but removing the module from /etc/pulse/default.pa fixes the issue here Confirmed. It's not so obvious. I've restored the default default.pa, then installed ConsoleKit, and pulseaudio started to auto-spawn. Running "pulseaudio -k" said "Failed to kill daemon: No such process", and starting pulseaudio manually printed above error output. But actually pulseaudio started automatically and re-spawns automatically, too. Hence I removed ConsoleKit* again, commented out the mod-consolekit entry in default.pa, and pulseaudio still starts automatically now. Proposing as Alpha NTH and Beta blocker per Beta criterion "In most cases, the installed system must be able to play back sound with gstreamer-based applications". For NTH - this will affect the desktop live, so we can't entirely fix it with an update. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I think it makes sense to split this module off into a separate sub-package that requires ConsoleKit. That way the default.pa does not have to be changed. (this file is %config(noreplace) and will result in breakage if the module is present but no CK). *** Bug 795881 has been marked as a duplicate of this bug. *** The fix is not to remove the functionality but to make it work with systemd's session tracking. dropping it from the config file was meant to be a quick fix for alpha, but turns out we couldn't get it in in time because of the failure-to-compile problem. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers pulseaudio-1.1-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/pulseaudio-1.1-8.fc17 Package pulseaudio-1.1-8.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pulseaudio-1.1-8.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-2698/pulseaudio-1.1-8.fc17 then log in and leave karma (feedback). The "Common F17 bugs" page claims this affects "Fedora 17 Alpha on all systems". But the F17 Alpha KDE spin does include ConsoleKit and as such should not be affected by this bug. (ConsoleKit won't be on F17 Beta KDE, but the changes implementing that did not make it into the Alpha.) any time you come across an inaccuracy in the common bugs page, please do just go ahead and fix it. i don't consider it an 'owned' or 'immutable' page - it's just a normal wiki page, if you see something wrong, correct it! :) -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers The problem is that I'm not sure how to best reword it so that it is accurate without writing more about the technical details than the actual issue. just something like 'note that KDE installations will not be affected by this issue, as ConsoleKit is still present in the default package set for KDE installations in Fedora 17 Alpha'. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Discussed at 2011-03-02 blocker review meeting. Accepted as a Beta blocker per criterion "In most cases, the installed system must be able to play back sound with gstreamer-based applications (see Blocker_Bug_FAQ)". pulseaudio-1.1-8.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |