AFAIK this problem should occur only when you use bash, since in
/etc/csh.cshrc all the *.csh files in /etc/profile.d are sourced. So why
don't we simply add something like:

    for s in /etc/profile.d/*.sh ; do
        test -r $s && . $s
    done
    unset s

in /etc/bash.bashrc.local?

Just my $0.02...
-Andrea

Bernard Li wrote:
> Continuing with the discussion during our call today, currently we have
> an issue unde SUSE Linux where C3's PATH, MANPATH are not set under SUSE
> Linux because files in /etc/profile.d are sourced only once during the
> initial log-in.
>  
> On Red Hat/Fedora (and possibly Mandriva) systems, simply opening a new
> shell (or just run bash in the command line) will have those files re-read.
>  
> The result is that the PATH are not set and therefore one must
> completely log out from the session and re-log back in inorder to have
> the manpages and the C3 commands in path.
>  
> During the call I mentioned that some modulefiles are loaded, and I have
> confirmed that the ones stored in /opt/modules/oscar-modulefiles are
> loaded correctly:
> 
> suse10-0-x86:/opt/oscar-5.0a1r5287M # ll /opt/modules/oscar-modulefiles/
> total 24
> drwxr-xr-x  6 root root 4096 Aug  8 21:03 .
> drwxr-xr-x  6 root root 4096 Aug  8 21:01 ..
> drwxr-xr-x  2 root root 4096 Aug  8 21:02 default-manpath
> drwxr-xr-x  2 root root 4096 Aug  8 21:03 pvm
> drwxr-xr-x  2 root root 4096 Aug  8 21:03 sge
> drwxr-xr-x  2 root root 4096 Aug  8 21:02 switcher
> 
> suse10-0-x86:/opt/oscar-5.0a1r5287M # which qstat
> /opt/sge/bin/lx26-x86/qstat
> suse10-0-x86:/opt/oscar-5.0a1r5287M # which pvmd
> /opt/pvm3/lib/pvmd
> So one solution is to create a c3-modulefile RPM.  As mentioned by
> Erich, this is necessary for C3 in scalable mode.
>  
> What do you guys think?
>  
> Cheers,
>  
> Bernard
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to