In /etc/systemd/system-preset i make 99-test.preset . Now try systemctl preset nad see on out: Too few arguments. Ok then i try systemctl preset test and see on out: Failed to issue method call: No such file or directory. I try test, 99-test, 99-test.preset all time i see: Failed to issue method call: No such file or directory.
In gentoo when i try systemctl preset test in out: Operation failed: Invalid argument.
I think htere's a misunderstanding here what preset does. If you add "eanble foobar.service" to a preset file, then "systemctl preset foobar.service" will cause this unit file do be enabled. Hence, "systemctl preset" expects at least parameter, of the unit name to reset to the preset default. If you specify just "test" as parameter, then this would cause "test.service" to be reset to the preset default, but since "test.service" doesn't exist on your machine this fails.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.