Re: RPM support

Steve Loughran <[email protected]> Mon, 04 Jun 2007 15:08:27 +0100
Newsgroups gmane.comp.java.smartfrog.user
Message-ID <[email protected]>
Andreas Unterkircher wrote:
> I just tried, it works fine for me. I got 3 rpms:
> 
> smartfrog-3.10.051dev-2.noarch.rpm
> smartfrog-daemon-3.10.051dev-2.noarch.rpm
> smartfrog-demo-3.10.051dev-2.noarch.rpm
> 
> I had not yet time to look at the rpms resp. try to install them.

I'm going to set up a standalone rhel5 vm to test this stuff on, so I 
have a clean system to work with.

the
smartfrog rpm contains the smartfrog and sfServices JAR, the shell 
scripts, etc.

-demo contains the example source and sfExamples JAR

-daemon patches /etc/profile.d and /etc/init.d to set up SFHOME in every 
user, and run smartfrog as a daemon, which is what you do at CERN 
already (its derived from your rpms). This does give you good 
integration, but at the price of security. anyone who can connect to 
port 3800 can run stuff as root, which is generally frowned upon.

we are thinking that maybe we can set up rpm to generate a new 
certification authority and resign the JARs at install time, so even if 
the daemon is running as root and auto installed, you can't do much.

-steve

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/