Bug#854327: pulseaudio: default configuration depends on consolekit
bert schulze
spambemyguest at googlemail.com
Sat Jul 8 12:35:05 UTC 2017
tag 854327 +patch
thanks
hi,
> The real fix is of course for consolekit module to exit gracefully if
> consolekit is not installed (the logind module does the same). But I
> have no idea how to do that. Would it be enough to check the dbus
> error name? I can't find a canonical list of error names though....
I think it's a bad idea to load the module in the first place if it is
not supposed to be loaded at all.
As pulseaudio is *modular* why do we need to deliver the console-kit
module with pulseaudio itself in the first place?
The default.pa configuration uses ifdef style module loading, if the so
file is not present theres nothing to be loaded.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
1. ConsoleKit is not maintained and recommends systemd-logind [1]
2. The majority of Debian users should be using systemd-logind now
where module-console-kit is being ignored.
3. Others like Felipe and me may neither use systemd nor console-kit
and will end up with PA not willing to load at all
4. Only users having ConsoleKit installed need the module.
=> split out the module into a pulseaudio-module-consolekit package
and add a Depends: consolekit
build and use-tested patch splitting out the console-kit module attached
bye
[1] https://www.freedesktop.org/wiki/Software/ConsoleKit/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pulseaudio-package.patch
Type: text/x-diff
Size: 1988 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20170708/64f8a1f6/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-pulseaudio-devel/attachments/20170708/64f8a1f6/attachment.sig>
More information about the pkg-pulseaudio-devel
mailing list