JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY Archives

MOONSHOT-COMMUNITY Archives


MOONSHOT-COMMUNITY@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY Home

MOONSHOT-COMMUNITY  April 2013

MOONSHOT-COMMUNITY April 2013

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Potentially revisiting the /opt/moonshot decision for Centos packages

From:

Stuart Rankin <[log in to unmask]>

Reply-To:

Stuart Rankin <[log in to unmask]>

Date:

Mon, 29 Apr 2013 19:08:05 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (107 lines)

I sense I may be out on my own here but I would rather that Moonshot-specific replacement packages 
and additional non-distribution packages were untangled as far as possible from the system 
directories, ideally in a nice separate directory (like /opt/moonshot) where they would be liable to 
create fewer dependency resolution problems during system package updates. I realise this probably 
also implies changing the package names, and obviously distribution packages should be used wherever 
possible.

As I understand it, some packages such as openssh will have to be separated in any case, so having 
to install both parallel versions and replacement versions (all unsupported by the distribution 
maintainers) strikes me as a potential headache from the maintenance point of view, and a system 
with moonshot installed has to be maintainable. Packages which don't conflict with anything in the 
distribution might go under /usr but it still seems neater to keep everything installed due to 
moonshot under /opt/moonshot.

Obviously there need to be connections into the system software (and I will come clean here that I 
haven't had the time to try installing moonshot yet so my understanding of how everything works is 
still poor) but can this not be done with symbolic links and config file edits. In particular, is 
there no solution like that (I honestly don't know what it would be) for the dbus issue below?

Also would changing LD_LIBRARY_PATH (e.g. via environment modules) to persuade dynamically linked 
applications to use libraries under /opt/moonshot not work?

Best regards,

Stuart

On 26/04/13 23:15, Sam Hartman wrote:
> Originally we decided that the Moonshot software would be installed in
> /opt/moonshot on Centos rather than in /usr where it would be if it were
> native Centos packages.
>
> There are some problems with doing this.
>
> The most serious is that  the Moonshot UI doesn't work either for
> graphical logins or in headless mode for servers.
> This is because the UI assumes that it will be connected into the
> operating system's session dbus infrastructure.
> However,  since Moonshot is installed in its own directory tree, the OS
> cannot find it.
>
> In addition,  in order to use moonshot with an application, that
> application has to be rebuilt.
> That's undesirable because it means you cannot use Moonshot with
> packaged software.
>
> It also means that the packaging work we're doing will not move us
> closer to integrating moonshot into Fedora.
>
>
>
> One of the main reasons we made that decision was that we ended up
> needing our own build of Kerberos. The system Kerberos was too old.
>
> That's no longer true.  We can easily use the Centos Kerberos which is
> in fact now newer than what we build.
>
> Most of the Moonshot software  is not software that you'd typically find
> on a system:
>
> * Shibboleth
> * Xerces-c
> * xml-security-c
>
> Also, it's very likely we could easily use (possibly with a small build
> option change) the official Shibboleth packages at this point.
>
> The Moonshot specific bits (libradsec, mech_eap moonshot-ui and
> trust-router) are things you'll only have if you are using Moonshot.
>
> There are a few thorny bits.
>
> The moonshot patched openssh should remain in its own directory. That's
> easy to do.
>
> I'm not entirely sure what to do with Freeradius. I think it's OK for it
> to be in system directories because it's only required on RP proxies and
> IDPs but not on normal servers or clients that happen to be using
> moonshot.
>
> The real sticking point is libevent.
> Unfortunately libradsec requires libevent 2.x. Centos/RHEL ship with
> libevent 1.x. They're not particularly compatible at the binary
> level. So we definitely cannot replace the system library and we
> definitely cannot use it.
> I see a couple of possibilities:
>
> 1) Build a static libevent used only by libradsec. This will work fine
> for Moonshot but would get in the way of anyone with more demanding
> needs from libradsec.
>
> 2) Install libevent into /opt/moonshot and use it from there. This would
> be kind of messy for  anyone depending on libradsec who was not a plugin
> loaded with RTLD_LOCAL. fortunately that's also fine for moonshot.
>
> So, thoughts. Would it be reasonable to get rid of /opt/moonshot and
> install in system directories where we can?
>

-- 
Dr. Stuart Rankin

Senior System Administrator
High Performance Computing Service
University of Cambridge
Email: [log in to unmask]
Tel: (+)44 1223 763517

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2022
December 2021
October 2021
September 2021
August 2021
June 2021
April 2021
February 2021
January 2021
December 2020
November 2020
October 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
January 2020
November 2019
October 2019
September 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
June 2018
April 2018
November 2017
October 2017
September 2017
August 2017
July 2017
May 2017
April 2017
March 2017
February 2017
November 2016
October 2016
August 2016
July 2016
June 2016
May 2016
March 2016
February 2016
January 2016
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager