[libvirt-users] changing the priority of a process in the container is not permitted

2 Jul
2014
2 Jul
'14
3:22 a.m.
Dear all, I want to run a process in a container with a real-time (RT) priority. When the sched_setscheduler(0, SCHED_RR, &sparam) is called in the container, an error is reported which is "operation not permitted" I had added the following line in the file /etc/security/limits.conf for both the host and the container, which means allowing all users to change the priority of the process, but it still doesn't work. * - rtprio 100 I wonder how to change the privilege of a container so that it has the similar privilege of the root user of the host. Thank you in advance Cheng
4085
Age (days ago)
4085
Last active (days ago)
0 comments
1 participants
participants (1)
-
WANG Cheng D