LCG Grid Deployment - gLite Pre Production Services - PPS-CERN Admin Procedures

AFS UI on lxplus

Tricks needed to make a UI installation in user space work on lxplus at CERN

Prevent problems in voms-proxy-init

In lxplus installations the file ${GLITE_LOCATION}/etc/vomses cannot be created with the correct ownership (root). Therefore, if the user is not using a local ${HOME}/.glite/vomses file, the voms-proxy-init command would fail because of the wrong privileges.

What we use to do in PPS is a hack in the setenv script: if the file in the user's directory does not exist we copy the central file, namely:

[aretico@lxplus068 ~] tail -6 /afs/cern.ch/project/gd/egee/glite/ui_PPS_glite3.0_RC5/etc/profile.d/grid_env.sh

# Trick from Andrea's script for VOMS
if [ ! -f $HOME/.glite/vomses ] ; then
mkdir -p $HOME/.glite
cp $GLITE_LOCATION/etc/vomses $HOME/.glite/
fi

[aretico@lxplus068 ~] tail -6 /afs/cern.ch/project/gd/egee/glite/ui_PPS_glite3.0_RC5/etc/profile.d/grid_env.csh
# Trick from Andrea's script for VOMS
if ( ! -f $HOME/.glite/vomses ) then
mkdir -p $HOME/.glite
cp $GLITE_LOCATION/etc/vomses $HOME/.glite/
endif

-- Main.aretico - 15 Jun 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2006-06-15 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback