Hi, to use jack I want to grant the user (me) the permission to start tasks with realtime priority.
For that I set /etc/security/limits.conf to (commented lines removed) * hard rtprio 0 * soft rtprio 0 @realtime - rtprio 99 @realtime - memlock unlimited I am in the group 'ealtime'. I rebooted after the changed mentioned above. I am using Linux kernel 3.2.4 (vanilla). I read, that scheduling groups could create problems, so the kernel is conifgure as: # # CONFIG_SCHED_AUTOGROUP is not set CONFIG_IOSCHED_NOOP=y CONFIG_IOSCHED_DEADLINE=y CONFIG_IOSCHED_CFQ=y CONFIG_DEFAULT_IOSCHED="cfq" CONFIG_SCHED_OMIT_FRAME_POINTER=y # CONFIG_SCHED_SMT is not set # CONFIG_SCHED_MC is not set # CONFIG_IRQ_TIME_ACCOUNTING is not set # CONFIG_PREEMPT_NONE is not set # CONFIG_PREEMPT_VOLUNTARY is not set CONFIG_PREEMPT=y CONFIG_PREEMPT_COUNT=y CONFIG_SCHED_HRTICK=y The security model of the kernel is set to: # # Security options # # CONFIG_KEYS is not set # CONFIG_SECURITY_DMESG_RESTRICT is not set CONFIG_SECURITY=y # CONFIG_SECURITYFS is not set # CONFIG_SECURITY_NETWORK is not set # CONFIG_SECURITY_PATH is not set # CONFIG_SECURITY_TOMOYO is not set # CONFIG_SECURITY_APPARMOR is not set # CONFIG_IMA is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_DEFAULT_SECURITY="" CONFIG_CRYPTO=y As root there is no problem in executing ionice -c 1 ls As user instead I see with the same command: ionice: ioprio_set failed: Operation not permitted [1] 3070 exit 1 ionice -c 1 ls How can I grant myself realtime scheduling permissions successfully? Best regards, mcc