upload.cgi (Error 255)

Ville Skyttä ville.skytta at iki.fi
Mon May 1 20:55:30 UTC 2006


On Mon, 2006-05-01 at 14:58 -0400, Jeremy Katz wrote:
> On Mon, 2006-05-01 at 14:56 -0400, Konstantin Ryabitsev wrote:
> > Konstantin Ryabitsev wrote:
> > > make new-sources FILES="common-0.15.0.tar.gz"
> > > 
> > > Checking : common-0.15.0.tar.gz on 
> > > https://cvs.fedora.redhat.com/repo/extras/upload.cgi...
> > > ERROR: could not check remote file status
> > > make: *** [new-sources] Error 255
> > 
> > Please to be ignorink. My .fedora.cert is expirink.
> 
> ...
> 
> If someone wanted to send a patch for Makefile.common that checked for
> this case and said "hey silly!  your cert expired!", I'd be glad to
> commit it... ;-)

Not a patch nor really tested, but maybe something naive like this would
be helpful:

cmd="openssl verify -CAfile $HOME/.fedora-upload-ca.cert $HOME/.fedora.cert"
if ! $cmd 2>&1 | head -n 1 | grep -q ' OK$' ; then
    echo "Something seems to be wrong with your certificate:"
    $cmd
    exit 1
fi





More information about the fedora-extras-list mailing list