Public bug reported:

Package: fluidsynth 2.4.8+dfsg-1ubuntu0.1~esm1

Expected: the packaged systemd user service starts FluidSynth when its start 
conditions are met.
Observed: the user journal recorded “Failed at step CAPABILITIES spawning 
touch: Operation not permitted” during ExecStartPre, followed by 
status=218/CAPABILITIES. The service failed before the synth executable started.

A minimal comparison from the affected Ubuntu user session:

systemd-run --user --wait --collect /usr/bin/true
systemd-run --user --wait --collect --property=ProtectKernelModules=yes 
/usr/bin/true
systemd-run --user --wait --collect --property=ProtectKernelLogs=yes 
/usr/bin/true

The first command exits 0. The second and third each exit
218/CAPABILITIES. With the packaged service’s sandbox settings
reproduced in a transient user unit, /usr/bin/true also exits 218.
Omitting just those two properties from that set gives exit 0.
PrivateUsers=yes alone also gives exit 0.

These tests used transient units. They require neither an audio device
nor a persistent change to the service. Could the Ubuntu package
maintainers check which service or policy adjustment would let this user
unit start with the intended protections?

Earlier reports:
https://github.com/FluidSynth/fluidsynth/issues/1147#issuecomment-3075979832
https://bugs.archlinux.org/task/75821

Test execution and write-up were AI-assisted.

** Affects: fluidsynth (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2175621

Title:
  Ubuntu 26.04.1: fluidsynth user service fails during startup with
  218/CAPABILITIES

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fluidsynth/+bug/2175621/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to