Bug#600134: boinc-client: Init script : "renice" usage error

René Mayorga rmayorga at debian.org
Thu Oct 14 01:48:36 UTC 2010


severity 600134 whishlist
thanks

On Wed, Oct 13, 2010 at 11:04:05PM +0200, Stéphane Rosi wrote:
> Hi!

Hi Stéphane, and thanks for your bug report!

> > root at razor:~# /etc/init.d/boinc-client start
> > Starting BOINC core client: boinc.
> > Setting up scheduling for BOINC core client and children: idle,usage: renice priority [ [ -p ] pids ] [ [ -g ] pgrps ] [ [ -u ] users ]
> > usage: renice priority [ [ -p ] pids ] [ [ -g ] pgrps ] [ [ -u ] users ]
> > usage: renice priority [ [ -p ] pids ] [ [ -g ] pgrps ] [ [ -u ] users ]
> > chrt failed.
> 
> This is caused by minor argument error in the init script ("renice -n $NICELEVEL -p $PID" instead "renice $NICELEVEL -p $PID").

This is caused because renice has added the -n option, from bsdutils changelog:

  * renice: add -n option for compatibility with POSIX

this option have being added since util-linux 2.15~rc1-1 on  Mon, 23 Mar 2009,
so the only way you can find this bug is using stable (leeny has the 2.13.1.1-1
version) along with boinc from testing/unstable.

I think that applying the patch and asking a release exception for this will not
be a good idea right now, since squeeze already provides the new version from
bsdutils that adds -n.

Cheers

--
René
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20101013/2fbb90e3/attachment.pgp>


More information about the pkg-boinc-devel mailing list