Hello, Matt Taggart said on Mon, Feb 16, 2009 at 10:17:08AM -0800:
> Hmm, must be a race condition, I'll see if I can add something to prevent > that. Thanks. I'm now testing the installation of my packages, and find other small issues. fo-install is using the addgroup command. This one is specific to Debian IIRC. The one which seems common to most distro is groupadd. So the install fails on CentOS due to that. Then I have issues with the postgresql conf, which is normal as I didn't finished that part. Will work on that just now. My test pkg is at ftp://ftp.project-builder.org/test/centos/5/fossology-trunk-1.centos5.x86_64.rpm and ftp://ftp.project-builder.org/test/centos/5/fossology-trunk-1.centos5.src.rpm Far from being usable however for the moment, but gives you an idea where I'm going. Also I added the fo-cleanold script to the package, in order to support clean uninstall. Bruno. PS: here is the latest yum install result: Installing: fossology ######################### [2/2] Rechargement de httpd :[ÉCHOUÉ] *** Running postinstall for everything *** *** Setting up the FOSSology database *** psql: impossible de se connecter au serveur: Aucun fichier ou répertoire de ce type Est-ce que le serveur tourne sur l'hôte local et accepte des connexions au socket Unix « /tmp/.s.PGSQL.5432 »? ERROR: postgresql isn't running *** Creating user and group *** which: no addgroup in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin) NOTE: group 'fossy' created NOTE: user 'fossy' created *** Making sure needed dirs exist with right ownership/permissions *** NOTE: creating new /srv/fossology/repository/localhost directory *** Checking database connectivity *** ERROR: Unable to connect to the database Connection string: 'dbname=fossology host=localhost user=fossy password=fossy' Connection status: '1' ERROR: Failed to open database ERROR: unable to connect to database, please check /etc/fossology/Db.conf FATAL: shm_open: Function not implemented FATAL: shm_open failed with errno=38 error: %post(fossology-trunk-1.centos5.x86_64) scriptlet failed, exit status 255 Installed: fossology.x86_64 0:trunk-1.centos5 -- Linux Profession Lead EMEA / Open Source Ambassador \ EMEA CME SoL. Center http://www.mondorescue.org / HP/Intel Solution Center \ http://hpintelco.net Des infos sur Linux? http://www.HyPer-Linux.org http://www.hp.com/linux La musique ancienne? http://www.musique-ancienne.org http://www.medieval.org _______________________________________________ fossology mailing list [email protected] http://fossology.org/mailman/listinfo/fossology

