FYI 2 bug reports have been opened related to your problems (Ticket #288 and 
#289)

On Wednesday 06 December 2006 16:41, Jeff Squyres wrote:
> Greetings!  I'm returning to the OSCAR devel list now as a user
> rather than a developer.  :-)
>
> We are using OSCAR for some of my MPI development clusters in Cisco.
> I have noticed a few problems with OSCAR 5 on RHEL4U4 that I thought
> I'd report here:
>
> 1. /etc/profile.d/ssh-oscar.[c]sh: the second thing these scripts do
> is (bash version):
>
> home=`getent passwd | egrep "^$user\:" | awk -F: '{print $6}' | tail -1`
>
> In Cisco, our clusters are part of the corporate-wide NIS setup.
> This means that "getent passwd" downloads a 7+MB file with over
> 100,000 containing entries.  This means that a single login takes
> almost 2 minutes while this download is going on as part of normal /
> etc/profile.d/*.sh processing.  Yikes!
>
> Is there a reason that the following form is not used instead:
>
> home=`getent passwd $user | awk -F: '{print $6}' | tail -1`
>
> As far as I can tell, this just downloads the single user's record
> (which is darn near instantaneous).  If there's portability problems
> with this approach (I don't know if "getent" on different Linux
> distros takes different argv), perhaps something like this could be
> used (untested -- just typed out here in my mail client):
>
> home=`getent passwd $user`
> if test "$?" != "0"; then
>      home=`getent passwd | egrep "^$user\:"`
> fi
> home=`echo $home | awk -F: '{print $6}' | tail -1`
>
> 2. If I build an oscar image and then go back, make some changes, and
> then try to build it again, I get a popup box saying "Are you sure
> you want to overwrite this image?" (paraphrase).  If I click "yes",
> it fails to build the image.  I have to name my new image something
> different than the original image.  Is there a reason for this?
>
> That's it so far.  Thanks!

-- 
Geoff

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to