Bug 1479998 - pulseaudio daemon won't start if ~/.config/pulse/default.pa is non-empty
Summary: pulseaudio daemon won't start if ~/.config/pulse/default.pa is non-empty
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-09 21:52 UTC by Jonathan Wakely
Modified: 2020-05-26 17:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-26 17:03:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2017-08-09 21:52:53 UTC
Description of problem:

After upgrading to F26 my KDE Plasma desktop had no audio devices available. This turned out to be because the pulseaudio daemon would not start, writing this to the journal:

Aug 09 17:42:50 wraith.home pulseaudio[6869]: [pulseaudio] main.c: Module module-switch-on-port-available not loaded.
Aug 09 17:42:50 wraith.home pulseaudio[6869]: [pulseaudio] main.c: Failed to initialize daemon.
Aug 09 17:42:50 wraith.home pulseaudio[6866]: [pulseaudio] main.c: Daemon startup failed.


With F24 I disabled that module with a per-user config file:

$ cat ~/.config/pulse/default.pa
# unload-module module-switch-on-port-available

This config caused the daemon to exit on startup.

The daemon would not start even if the file only contains comments or empty lines.

The daemon only starts if the file is empty, or doesn't exist at all.


Version-Release number of selected component (if applicable):
pulseaudio-10.0-4.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1. pulseaudio --kill
2. echo > ~/config/pulse/default.pa
3. pulseaudio --start

Actual results:
E: [pulseaudio] main.c: Daemon startup failed.

Expected results:
Daemon starts successfully.

Additional info:

Comment 1 Fedora End Of Life 2018-05-03 08:21:42 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Jonathan Wakely 2018-05-03 17:09:26 UTC
Still present in pulseaudio-11.1-15.fc27.x86_64

Comment 3 Ben Cotton 2018-11-27 15:50:20 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Jonathan Wakely 2018-11-29 10:21:02 UTC
Still present in F29.

Comment 5 Rex Dieter 2018-11-29 14:27:20 UTC
Need to get this reported upstream, you mind doing it?

Else, I can ... eventually.

Comment 6 Jonathan Wakely 2018-11-30 12:09:14 UTC
Done: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/597

Comment 7 Ben Cotton 2019-02-19 17:11:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 30 development cycle.
Changing version to '30.

Comment 8 Wim Taymans 2019-09-11 08:52:46 UTC
In summary: this is expected behaviour, a patch will appear in version 13 that will give a more descriptive error message.

Comment 9 Ben Cotton 2020-04-30 21:09:18 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-05-26 17:03:22 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.