Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] RPM creation - errors

Subject: perfsonar development work

List archive

Re: [pS-dev] RPM creation - errors


Chronological Thread 
  • From: Frederic LOUI <>
  • To: Maciej Glowiak <>
  • Cc: Guilherme Fernandes <>, Perfsonar Development <>
  • Subject: Re: [pS-dev] RPM creation - errors
  • Date: Thu, 31 Jan 2008 17:04:46 +0100
  • Organization: GIP RENATER

Hi Maciej,

You're right. Actually it is recommended in the document to build the package as perfsonar user.

Regards/Frederic

Maciej Glowiak a écrit :
Hi Guilherme

My directory tree of /home/perfsonar is:

/home/perfsonar
|
|-- XML-LS
|-- ant
|-- build
|-- conf
|-- contrib
|-- doc
|-- lib
|-- release
|-- samples
|-- src
`-- webapps
`-- XML-LS-1.2
|-- WEB-INF
`-- wsdd


1. What should I do before running rpm_maker.pl? Let's suppose I created /home/perfsonar and have got compiled and configured service (for instance: /home/mac/projects/perfsonar/trunk/geant2_java-xml-ls)

Do you have the webapps directory with a XML-LS-1.2 directory inside (containing a default installation of the service)?
2. What else do I need? (sources? why the /usr/src/rpm/SOURCES/XML-LS-1.2.tar.gz is missing?)

The above directory should have been suficient. It's strange that it's looking in /usr/src if you're running it from /home/perfsonar. The scripts does a chdir("rpm") before proceeding to the next steps, maybe this is changing to /usr/src/rpm somehow? Maybe you could give me limited access to the machine you're trying to install so I can check it?

Yes, I'll do it tomorrow.

3. Now, there is a requirement to have the /home/perfsonar directory in order to create RPM. What if I want to create RPM as non-root user using my own directory? Couldn't it be configurable?

About the directory, it was decided that everything will be installed in the /home/perfsonar directory so that we don't have ask the users anything. The building process reflects basically the same things that will be done in the installation process, that's why you need to create the RPMs from that directory.

OK, it'd be more flexible to have the directory prefix in a variable or constant anyway.

I don't think it's possible to build rpms using non-root users, but I'm not sure. If it's possible, I don't see any problems with it.

I was wondering, because during the previous release it was very important for Release Team to use making release / configuration process as non-root user.

Best regards
Maciej


--
Frederic LOUI / GIP RENATER

Service de Suivi Operationnel / Metrologie & QoS
Network Operations Service / Metrology & QoS

Tel: +33 1 53 94 20 82 / Fax: +33 1 53 94 20 31
http://www.renater.fr



Archive powered by MHonArc 2.6.16.

Top of Page