Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when configured with custom dshgroups path - still uses hardcoded #34

Closed
GoogleCodeExporter opened this issue Jan 7, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Configure line:

./configure --prefix=/hpc/local --without-rsh --with-ssh --without-readline 
--with-machines=/hpc/local/etc/pdsh.machines --with-dshgroups=/hpc/local/etc 
--with-nodeupdown --with-rcmd-rank-list=ssh


Run line:

$pdsh -g pdsh.vm uptime
pdsh@boo15: unable to read group file from /home/miked/.dsh/group/pdsh.vm or 
/etc/dsh/group/pdsh.vm
pdsh@boo15: no remote hosts specified
$

Original issue reported on code.google.com by mike.dub...@gmail.com on 9 Aug 2011 at 9:08

@GoogleCodeExporter
Copy link
Author

fix is simple
dshgroup.c +129

- snprintf (backupfile, 4096, "/etc/dsh/group/%s", group);
+ snprintf (backupfile, 4096, "%s/%s", DSHGROUP_PATH, group);

Original comment by mike.dub...@gmail.com on 9 Aug 2011 at 9:22

@GoogleCodeExporter
Copy link
Author

Yes, that fix looks good. I guess there were good intentions to use 
DSHGROUP_PATH, but it never actually made it into the code.

Thanks!

Original comment by mark.gro...@gmail.com on 9 Aug 2011 at 2:09

@GoogleCodeExporter
Copy link
Author

This issue was closed by revision r1349.

Original comment by mark.gro...@gmail.com on 12 Aug 2011 at 11:07

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant