Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70965 - [mpd] 0.22.7-1 fails to run daemon in usermode

Attached to Project: Arch Linux
Opened by lanthanoid4k (lanthanoid4k) - Friday, 21 May 2021, 09:28 GMT
Last edited by David Runge (dvzrv) - Thursday, 27 May 2021, 09:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Levente Polyak (anthraxx)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using mpd in user-mode.

It seems as when this version wanted the database in /var/mpd/.mpd/database and ignoring the config in /etc
In attempt to solve this, I created /var/mpd/.mpd/database. Then the sound worked just for seconds. Since this behavior started after the update to 0.22.7.1:

The return to 0.22.6-4 solved all issues.

Additional info:
mpd 0.22.7-1

CONFIG in /etc (active parts without dirs):
```
...
#
db_file "~/.mpd/database"
#
...
audio_output {
type "pulse"
name "pulse audio"
}
...
```
JOURNALCTL:
```
May 21 06:54:18 pc mpd[8201]: exception: Failed to open '/home/.../.mpdignore': Permission denied
May 21 06:54:20 pc mpd[8201]: exception: Unsupported URI scheme
May 21 06:55:02 pc mpd[8201]: exception: Failed to enable output "pulse audio" (pulse); pa_context_connect() has failed: Connection refused
```

Unfortunately I found nothing upstream.

Steps to reproduce:
Using mpd in user-mode.
This task depends upon

Closed by  David Runge (dvzrv)
Thursday, 27 May 2021, 09:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with 0.22.8-1
Comment by hamelg (hamelg) - Saturday, 22 May 2021, 13:52 GMT
Here, it crashes with SIGABRT at startup with this error :
May 22 15:24 : avahi: Service 'Music Player @ xxxx' successfully established.
May 22 15:25 : exception: Unsupported URI scheme
mpd: ../src/input/LastInputStream.cxx:42: void LastInputStream::OnCloseTimer(): Assertion `is' failed.
Comment by hamelg (hamelg) - Saturday, 22 May 2021, 14:10 GMT
I solved the issue by overriding the mpd.service :

$ cat << EOF >.config/systemd/user/mpd.service.d/override.conf
[Service]
ProtectSystem=no
EOF
Comment by hamelg (hamelg) - Saturday, 22 May 2021, 14:43 GMT
I still encounter crashes ...
It seems this issue is already fixed :
https://github.com/MusicPlayerDaemon/MPD/commit/d3576a1b71018349bd8348e63b81f224b689aa6e

EDIT:
I tested the fix. It solves the issue.
Comment by lanthanoid4k (lanthanoid4k) - Thursday, 27 May 2021, 09:48 GMT
Issue was solved with 0.22.8-1

Loading...