Closed goldyfruit closed 2 months ago
The docs say to run the ovos-admin-phal.service
as a user
https://openvoiceos.github.io/ovos-technical-manual/PHAL/#admin-phal
With that, everything works as expected when running as a user, no config provided, and as an admin plugin, enabled in mycroft.conf
I am not sure why the docs say this, because I don't see how it would run as root then.
Also, is there a real reason to run this as root? Could a section in the docs be added on how to setup polkit for this?
The documentation says to run this service as root user.
to use AdminPHAL create a launcher /usr/libexec/mycroft-systemd-admin-phal
Says a user service. Maybe this is wrong
Because this plugin is running as
root
, it can't restart services handled by regular user such asovos.service
.root
user doesn't have access to user's socket becauseDBUS_SESSION_BUS_ADDRESS
path will be different which prevents it to restart services.Using
restrart_service
fromovos_utils
when using a simple user works fine as describe here https://github.com/OpenVoiceOS/ovos-utils/issues/259#issuecomment-2217443157