[Popcon-developers] Bug#331438: wrong usage of "su" in /etc/cron.weekly/popularity-contest

Nicolas François nicolas.francois at centraliens.net
Sat Jan 7 00:43:08 UTC 2006


Hello,

[This bug is already tagged as pending, this is just an additional note]

On Sun, Nov 13, 2005 at 11:07:45PM +0100, Petter Reinholdtsen wrote:
> 
> > invoking /etc/cron.weekly/popularity-contest fails with: "sh: - :
> > invalid option". looking into the script, line 34 tries to "su" to
> > nobody and executes /usr/sbin/popularity-contest. the following
> > patch should speak for itself:
> 
> What version of su is this?  The code has worked quite a long time, so
> it can't be the normal su. :)

I don't know which version of su Christian was using in October, but
current su (4.0.14-1) does not work with the current popcon cron task.

Christian's patch (and thus the version in CVS) fixes this.

Kind Regards,
-- 
Nekral




More information about the Popcon-developers mailing list