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

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



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



Reply to: