>>>>> "Robert" == Robert E Minsk <egbert@stripped> writes:
Robert> Mysql is calling pthread_attr_setscope(&thr_attr,PTHREAD_SCOPE_SYSTEM)
Robert> which a normal user does not have capability to do. There are two
Robert> solutions. Change the line to
Robert> pthread_attr_setscope(&connection_attrib, PTHREAD_SCOPE_PROCESS)
Robert> or give the user CAP_SCHED_MGT capability.
Thanks for the information.
I have now changed all places to call PTHREAD_SCOPE_PROCESS instead of
PTHREAD_SCOPE_SYSTEM
Regards,
Monty
PS: I don't remember why we did use PTHREAD_SCOPE_SYSTEM in the first
place :(