Please help me fix the fluidsynth.service file

Fabian Greffrath fabian at debian.org
Mon Mar 10 14:59:22 GMT 2025


Dear systemd maintainers,

I have a RC bug filed against the fluidsynth package [1] that I don't
quite understand. The bug is especially against the fluidsynth.service
file (attached to this mail).

To provide some background, fluidsynth is a MIDI daemon that can work
with different sound backends, most notably pulseaudio and pipewire.

Users report that the fluidsynth daemon is loaded before pulseaudio and
thus blocks the audio device, so that pulseaudio can only work on
"dummy output". Some users can reproduce this, others don't (including
myself). MY guess is that I am using pipewire instead of pulseaudio and
so the correct order of the services is already granted by the
"After=pipewire.service" line. My next best guess is that expanding the
line to read "After=pipewire.service pulseaudio.service" will fix the
issue for both groups of users (one of the participants of the bug also
suggested this but got no replies).

The next strange issue is that reportedly even the Debian-gdm system
user already loads the fluidsynth daemon, blocking it during the
opening of the session for the actual human user. My guess here is that
the "WantedBy=default.target" line should rather get replaced by
something like "WantedBy=multi-user.target"?

I really don't know, especially because I cannot reproduce the issue in
the first place. Could you please do me a favour and review the
fluidsynth.service file so I can recommend a fix for this to upstream?

Thank you very much!

 - Fabian


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053245
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fluidsynth.service
Type: text/x-systemd-unit
Size: 771 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250310/f636af70/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20250310/f636af70/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list