Make user systemd service available
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2022-9665396a4a
Please login to add feedback.
This update has been submitted for testing by pampelmuse.
This update's test gating status has been changed to 'ignored'.
The systemd user service does not seem to be enabled by default:
$ systemctl status sound.target ● sound.target - Sound Card Loaded: loaded (/usr/lib/systemd/system/sound.target; static) Active: active since Wed 2022-06-29 15:12:52 CEST; 17min ago Until: Wed 2022-06-29 15:12:52 CEST; 17min ago Docs: man:systemd.special(7)
čen 29 15:12:52 desktop systemd[1]: Reached target sound.target - Sound Card.
$ systemctl --user status fluidsynth.service ○ fluidsynth.service - FluidSynth Daemon Loaded: loaded (/usr/lib/systemd/user/fluidsynth.service; disabled; vendor preset: disabled) Active: inactive (dead) Docs: man:fluidsynth(1)
$ ps aux|grep fluidsynth asciiwo+ 13070 0.0 0.0 222184 2236 pts/0 S+ 15:37 0:00 grep --color=auto fluidsynth $
It works fine* after starting it manually:
$ systemctl --user start fluidsynth.service $ systemctl --user status fluidsynth.service ● fluidsynth.service - FluidSynth Daemon Loaded: loaded (/usr/lib/systemd/user/fluidsynth.service; disabled; vendor preset: disabled) Active: active (running) since Wed 2022-06-29 16:02:27 CEST; 950ms ago Docs: man:fluidsynth(1) Main PID: 17014 (fluidsynth) Tasks: 17 (limit: 38226) Memory: 301.3M CPU: 184ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/fluidsynth.service └─ 17014 /usr/bin/fluidsynth -is /usr/share/soundfonts/default.sf2
čen 29 16:02:27 desktop systemd[2180]: Starting fluidsynth.service - FluidSynth Daemon... čen 29 16:02:27 desktop systemd[2180]: Started fluidsynth.service - FluidSynth Daemon. čen 29 16:02:27 desktop fluidsynth[17014]: fluidsynth: warning: Failed to set thread to high priority čen 29 16:02:27 desktop fluidsynth[17014]: fluidsynth: warning: Failed to set thread to high priority
The systemd service seems to work only when running "systemctl --user start fluidsynth.service" manually. It does not seem to work when started automatically during system boot/login after enabling it using "systemctl --user enable fluidsynth.service":
systemctl --user status fluidsynth.service ● fluidsynth.service - FluidSynth Daemon Loaded: loaded (/usr/lib/systemd/user/fluidsynth.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2022-06-29 16:24:03 CEST; 42s ago Docs: man:fluidsynth(1) Main PID: 2258 (fluidsynth) Tasks: 16 (limit: 38226) Memory: 303.0M CPU: 868ms CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/fluidsynth.service └─ 2258 /usr/bin/fluidsynth -is /usr/share/soundfonts/default.sf2
čen 29 16:24:03 desktop systemd[2239]: Starting fluidsynth.service - FluidSynth Daemon... čen 29 16:24:03 desktop fluidsynth[2258]: ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Permission denied čen 29 16:24:03 desktop fluidsynth[2258]: fluidsynth: error: Error opening ALSA sequencer čen 29 16:24:03 desktop fluidsynth[2258]: Failed to create the MIDI thread; no MIDI input čen 29 16:24:03 desktop fluidsynth[2258]: will be available. You can access the synthesizer čen 29 16:24:03 desktop fluidsynth[2258]: through the console. čen 29 16:24:03 desktop systemd[2239]: Started fluidsynth.service - FluidSynth Daemon. čen 29 16:24:03 desktop fluidsynth[2258]: fluidsynth: warning: Failed to set thread to high priority
This may however be a PipeWire/WirePlumber issue.
Oops, I am dumb. I did not notice the "Type=notify" service type. Anyway, none of the MIDI apps I tried sent a correct notification message that could start the systemd service and I had to start it manually.
Anyway, I am taking everything that I said back. The update seems to work fine and the problems I described are application (or PipeWire/WirePlumber) problems, not Fluidsynth/this update ones.
This update has been pushed to testing.
works
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
No issues noted.
This update has been pushed to stable.