-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtapi_app
: Remove setuid?
#362
Comments
Expanding the scope of this issue, another possibility is to rework This would also open up the way to enabling derived subclasses of the main |
I am a big fan of executables being just a thin shim around underlying libraries with CLI slapped on top of it. So I am all in about implementing the loading functionality into its own library. Particularly with connection to #346. From the managing point of view (the ROS example), there is direct coupling of I think it could take an inspiration in how the high level tools like However, this all sounds like a parallel problem to the The setting of But for this to work, I think there needs to be a new metadata system passing between HAL modules, loader and the main process ( And it is not just
(Basically, there are |
The
rtapi_app
executable is currently setuid root for the following reasons I can think of:SCHED_FIFO
inrt-preempt
threadshm2-eth
This is causing problems with the ROS2 port of
hal_ros_control
. The main issues are described in tormach/hal_ros_control#8:A better way to get these privileges in
rtapi_app
would be with POSIX capabilities, e.g. usinglibcap
. This issue is to open up dialog to identify the privileges needed both byrtapi_app
itself and by comps (whether included in this distribution or not), and to figure out the best way of setting them, whether by usingsetcap
on thertapi_app
executable or by configuringpam_cap
for users/groups or some other means.The text was updated successfully, but these errors were encountered: