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

Bug#930446: popularity-contest: unable to submit report, impossible to debug



Am 12.06.19 um 22:52 schrieb Bill Allombert:
> /usr/share/popularity-contest/popcon-upload has an option -d for
> debugging that you could try.

>From the command line, this works without errors:

/usr/share/popularity-contest/popcon-upload -d -u
http://popcon.debian.org/cgi-bin/popcon.cgi -f
/var/log/popularity-contest.new.gpg

I will put some debugging output into the script and wait for cron to
run it again, but there really should be an option in
popularity-contest.conf to enable debugging.


BTW, the use of setsid seems to be wrong, it hides the error code:

# setsid /bin/false ; echo $?
0

You probably want setsid -w . Or why use setsid at all?


Reply to: