[ ssic-linux-Bugs-1768752 ] onclass initnode segv if run localview
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1768752, was opened at 2007-08-06 20:42 Message generated for change (Settings changed) made by hughesj You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1768752&group_id=32541 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Booting / init Group: None Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: John Hughes (hughesj) Assigned to: Nobody/Anonymous (nobody) Summary: onclass initnode segv if run localview Initial Comment: $ where_pid 1 1 $ onnode -l 2 onclass initnode pwd Segmentation fault It's crashing 'cos it can't open /proc/1/where 'cos it's being run "localview". Should set "defaultview". ---------------------------------------------------------------------- Comment By: John Hughes (hughesj) Date: 2007-08-07 12:36 Message: Logged In: YES user_id=166336 Originator: YES Segv was 'cos code thought fopen returned -1 on failure. Fixed. Also set localview to defaultview before checking /proc/1/where. ---------------------------------------------------------------------- Comment By: Roger Tsang (rogertsang) Date: 2007-08-07 01:05 Message: Logged In: YES user_id=1246761 Originator: NO Is this a matter of semantics? `onnode -l 2` with argument "-l" explicitly demands "localview". `onnode 2 onclass initnode pwd` works as expected but doing `onclass` within `onnode` seems rather convoluted. It would be less confusing to reduce the command to `onclass initnode pwd` or work with the contents of /cluster/initnode. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=405834&aid=1768752&group_id=32541 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/