>> $NICE is set to 10 in /etc/updatedb.conf, so -n ${NICE:-10} is the same
>> as
>> -n 0.
>>
> In a shell script? Doesn't ":-" set a default value if the variable is
> not already set?
Yes, my mistake. With $NICE being 10, the priority in this cause would be
incremented by 10 (i.e. lowered).
Anyway, this is an aside. Even when running nice without the -n option
still causes problems.
>> >> >> >> >>Would enabling CAP_SYS_NICE help in this case even though a
>> >> lower
>> >> >> >> >>priority is being set? Or is there something else causing
>> this
>> >> >> >> problem?
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Mar 12 02:27:05 2006