Hi everyone,
It's good that there is an open issue for this issue.
Also note that there are 2 different things here : (1) the issue itself which is that pthread_setschedparam failed: Not owner and (2) how to solve this
For the message, it would be sufficient to just report (1) what happens.
Now the action that one should take to resolve this, depends on the operating system, and also to some extent I think there may be different approaches.
For example, I have recently discovered that an additional necessary privilege must be given at the Solaris zone level :
example# zonecfg -z myzone zonecfg:myzone> set limitpriv="default,proc_priocntl" zonecfg:myzone2> exit
To be able to add "privs=proc_priocntl" in a zone.
One possible approach to address the issue itself is by creating a profile:
# profiles -p Squeak profiles:Squeak> set desc="Allow Squeak VM to Set Priority" profiles:Squeak> add cmd=/usr/bin/squeak profiles:Squeak:squeak> set privs=proc_priocntl profiles:Squeak:squeak> end profiles:Squeak> commit profiles:Squeak> info name=Squeak desc=Allow Squeak VM to Set Priority cmd=/usr/bin/squeak profiles:Squeak> exit
However bottom line is there is a difference between the issue itself, and the many different ways to address the issue on the various platforms and distributions of operating systems.
Regards, David Stes