EGI-Federation / glite-info-update-endpoints

A cron job that runs every hour to download the list of site BDII URLs that are going to be used by the top level BDII to publish their resources.
Apache License 2.0
0 stars 5 forks source link

installation fails with rpm scriptlet error #18

Closed brucellino closed 5 years ago

brucellino commented 5 years ago

Installation fails with

%post(glite-info-update-endpoints-3.0.0-1.el7.noarch) scriptlet failed, exit status 1

brucellino commented 5 years ago

The code in question is in the spec:

%post
if [ ! -f /var/cache/glite/top-urls.conf ]; then
   /usr/bin/glite-info-update-endpoints -c /etc/glite/glite-info-update-endpoints.conf > /var/log/glite/glite-info-update-endpoints.log 2>&1
fi

The update script is dying with exit 1. Very likely a known problem.

brucellino commented 5 years ago

Error is

2018-11-27 15:22:55,069 ERROR    Missing parameter 'manual_file' in the configuration file /etc/glite/glite-info-update-endpoints.conf.

probably just need to add it.

gwarf commented 5 years ago

Please check #17 @brucellino

gwarf commented 5 years ago

Maybe worth to release a fix now, this would probably not impact updates that will already have a conf file, but thay may cause troubles for new installations

brucellino commented 5 years ago

thanks @gwarf ! Closing this duplicate then. Will discuss it in #17