>> $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
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to