Re: Don't reference non-standard realtime group

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 13, 2011 at 10:48:31PM +0200, Uwe Kleine-König wrote:
> There is no dedicated realtime group in most distributions. So make the
> error message a bit more understandable for people not running Redhat
> MRG.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>
> Closes: http://bugs.debian.org/619938
ping?!

> ---
>  src/lib/rt-utils.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> --- a/src/lib/rt-utils.c
> +++ b/src/lib/rt-utils.c
> @@ -72,7 +72,8 @@
>  	param.sched_priority = 1;
>  	if (sched_setscheduler(0, SCHED_FIFO, &param)) {
>  		fprintf(stderr, "Unable to change scheduling policy!\n");
> -		fprintf(stderr, "either run as root or join realtime group\n");
> +		fprintf(stderr, "Probably missing capabilities, either run as "
> +				"root or increase RLIMIT_RTPRIO limits.\n");
>  		return 1;
>  	}

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux