Re: [orca-list] SELinux notification and speech-dispatcher on fedora?



Hi,

sorry, if my question is noob, I'm not a Fedora user and I don't use RH
voices either.

But, is speech dispatcher actually supposed to run as a systemd unit?


I don't see any configuration files for it on my system, I ripgrepped
through systemctl list-units and didn't find anything either.

I checked also my Fedora Mate 36 VM, with the same result.


I did some speechd related work on multiple occasions, like building my
C# speechd library.

As far as I understand, the server is by design not supposed to act as a
full time daemon. Clients (like Orca) spawn a temporal speechd service
(not a systemd one, just a detached program), that lives until at least
one connection is active.


When there are no more connections, it automatically shuts down after 5
seconds unless a new connection is made.


You can actually see this behavior in the terminal by typing pgrep
speech-dispatch.

With running orca, you'll get the server's PID. If you turn Orca off and
wait for 5 seconds, then re-activate the command by pressing up arrow
and enter, you'll get nothing listed.

After turning orca on, issuing the command will give you a PID again,
but different from the previous-one.


With this model, as far as the libraries support autospawning, a systemd
service is not necessary, as the server should be started when needed.


Best regards


Rastislav


Dňa 1. 9. 2022 o 18:47 Vsevolod Popov via orca-list napísal(a):
Hello,
I use Fedora mate in qemu now to understand if it's possible to
recommend it to Linux newcomers and here is what I found.
I successfully built RHVoice from source and I'd like to restart
speech-dispatcher.
After I restart systemd-unit, there is an error that it couldn't be
started, but also there is SELinux notification suggesting to allow
speech-dispatcher politics module.
How can I allow it and is there any way to report it to fedora for them
to fix it?
This is something I would never expect that speech-dispatcher would be a
security issue.
Thank you!
--
regards,
Vsevolod
https://github.com/sevapopov2/
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]