You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When deploying the GEOPM systemd service, the geopmd process may not always have permission to publish the io.github.geopm dbus interface on the system message bus. It may also be the case that the clients may not have permission to to submit requests to the system dbus interface in /run/dbus/system_bus_socket.
Describe the solution you'd like
Provide a command line option to geopmd --session-busthat will create a socket in /run/geopm-service and start a background process running the dbus-daemon running on that session bus. The dbus bus must be configured for multi-user use with the --config option to the daemon. This socket will have world rwx permissions.
Describe alternatives you've considered
Another solution would be to switch to a different message protocol like gRPC. This would easily solve the communication problem, but the credentials provided by dbus would have to be managed differently.
Additional context
Some related work is in this draft PR: #2771
The text was updated successfully, but these errors were encountered:
- Add a configuration file for dbus-daemon
- Fork a dbus deamon
- Fixesgeopm#2774
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
- Add a configuration file for dbus-daemon
- Fork a dbus deamon
- Fixesgeopm#2774
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
- Add a configuration file for dbus-daemon
- Fork a dbus deamon
- Fixesgeopm#2774
Signed-off-by: Christopher M. Cantalupo <christopher.m.cantalupo@intel.com>
Is your feature request related to a problem? Please describe.
When deploying the GEOPM systemd service, the geopmd process may not always have permission to publish the io.github.geopm dbus interface on the system message bus. It may also be the case that the clients may not have permission to to submit requests to the system dbus interface in
/run/dbus/system_bus_socket
.Describe the solution you'd like
Provide a command line option to
geopmd --session-bus
that will create a socket in/run/geopm-service
and start a background process running thedbus-daemon
running on that session bus. The dbus bus must be configured for multi-user use with the--config
option to the daemon. This socket will have worldrwx
permissions.Describe alternatives you've considered
Another solution would be to switch to a different message protocol like gRPC. This would easily solve the communication problem, but the credentials provided by dbus would have to be managed differently.
Additional context
Some related work is in this draft PR:
#2771
The text was updated successfully, but these errors were encountered: