Bug 98633 - Pulseaudio fails to start with network down
Summary: Pulseaudio fails to start with network down
Status: RESOLVED MOVED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-07 21:46 UTC by muesli4
Modified: 2018-07-30 09:41 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
A log file from pulseaudio. (107.61 KB, text/x-log)
2016-11-07 21:46 UTC, muesli4
Details

Description muesli4 2016-11-07 21:46:44 UTC
Created attachment 127823 [details]
A log file from pulseaudio.

I'm using module-native-protocol-tcp and module-zeroconf-publish. Everything is working absolutely perfect as long as a network cable is connected on startup. My guess is that one or both of those modules cause pulseaudio to fail starting.

I would expect it to at least ignore any failures of those modules on startup (that may be my fault with a wrong configuration on my side). Optionally, the module should reconnect once a connection is there.
Comment 1 Tanu Kaskinen 2016-11-09 18:47:00 UTC
It seems to be module-rtp-recv that fails:

(   0.486|   0.027) I: [pulseaudio] module-rtp-recv.c: Joining mcast group failed: No such device
(   0.487|   0.000) E: [pulseaudio] module.c: Failed to load module "module-rtp-recv" (argument: ""): initialization failed.
(   0.487|   0.000) E: [pulseaudio] main.c: Module load failed.
(   0.487|   0.000) E: [pulseaudio] main.c: Failed to initialize daemon.

If you don't need RTP, then the obvious workaround is to not load that module.

If you want to keep the module in your configuration but ignore errors, you can use the .nofail and .fail directive in default.pa:

.nofail
load-module module-rtp-recv
.fail

It would be good if module-rtp-recv could detect when the network becomes available. Patches welcome.
Comment 2 GitLab Migration User 2018-07-30 09:41:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/95.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.