/NEWS
#! | 384 lines | 352 code | 32 blank | 0 comment | 0 complexity | 9a18651556cd41ad611fe1742aa1ff56 MD5 | raw file
1This file describes changes in recent versions of pdsh. It primarily 2documents those changes that are of interest to users and admins. 3 4* Changes in pdsh-2.28 (2011-10-19) 5=================================== 6 -- Fix issue 39: ssh forces use of -l<user> option 7 -- Fix issue 40: -l%u added to ssh args only if remote and local 8 usernames differ 9 -- testsuite: Added tests for -l%u handing in ssh 10 11* Changes in pdsh-2.27 (2011-09-07) 12=================================== 13 -- Fix issue 17: Allow dshgroup files to include other files 14 -- Fix issue 33: dshbak breaks up host lists at zeropad boundaries, 15 (e.g. 01-09,10-11, 010-099,100-101, etc.) 16 -- Fix issue 34: dshgroup path override broken in ./configure 17 -- Fix issue 36: pdsh truncates output lines at 8K 18 -- dshgroup: Allow dshgroup search path to be overridden by DSHGROUP_PATH, 19 a colon-separated list of directories to search. $HOME/.dsh/group 20 is still always prepended to this path. 21 -- Allow wcoll files (-w ^file and WCOLL=file) to include other files 22 with a "#include FILE" syntax. If included files have no path, then 23 a search path of the dirname of the included file ("." for stdin) 24 is used. 25 -- testsuite: added tests, fixed some portability issues. 26 -- Fix some minor memory leaks and locking bugs reported by Coverity. 27 28* Changes in pdsh-2.26 (2011-04-29) 29=================================== 30 -- Fix issue 14: interactive mode broken with ssh 31 -- Fix issue 19: missing commas in dshbak(1) header output 32 -- Fix issue 20: compilation error in genders.c with non-GCC compilers 33 -- Fix issue 23: compilation failure with --enable-static-modules 34 -- Fix issue 24: don't arbitrarily limit usernames to 16 characters 35 -- Fix issue 25: PDSH_SSH_ARGS should not require %u and %h 36 -- Fix issue 26: document use of %u and %h in PDSH_SSH_ARGS 37 -- Fix interactive mode with rcmd/exec. 38 -- genders: do not look for genders_query(3) support at runtime, 39 as this causes too many problems on some systems. Instead, 40 use autoconf to include or exclude genders_query support from 41 the genders module. (fixes Issue 1) 42 -- Fix build on AIX 43 -- Add -Wl,-E to LDFLAGS on HP-UX (Issue 18) 44 -- Fixes for testsuite portability (Issues 15, 22, 28) 45 46* Changes in pdsh-2.25 (2011-03-09) 47=================================== 48 -- Fix pdcp breakage with ssh (bug introduced in pdsh-2.24). 49 (Resolves issue 12: pdcp executes file instead of copying.) 50 -- testsuite: Skip tests dependent on PDSH_MODULE_DIR when testsuite 51 run as root (Resolves issue 13: testsuite broken when run as root). 52 -- testsuite: Skip dshbak -d test to non-writable directory when 53 directory permissions do not seem to apply (e.g. privileged user). 54 (Possibly resolves issue 11: tests fail on Mac OSX under fink) 55 -- testsuite: add simple ssh tests. 56 57* Changes in pdsh-2.24 (2011-02-28) 58=================================== 59 -- Resolve issue 7: Allow PDSH_REMOTE_PDCP_PATH to set default path 60 to remote pdcp program (pdcp -e). 61 -- Resolve issue 9: Fix use of PDSH_SSH_ARGS_APPEND. 62 -- Resolve issue 10: dshbak: Support writing output to file-per-host. 63 Adds new -d DIR and -f options to dshbak. 64 -- genders: Allow relative paths to genders files with -F and 65 PDSH_GENDERS_FILE. 66 -- genders: Don't print an error if genders file is missing, unless 67 a genders optin (-F, -a, -g, -i, -X) is explicitly used. 68 -- genders: Allow -g to be used with other node selection options as 69 a filter. For example: pdsh -w host[0-1024] -g attr1 ... 70 -- ssh: Better preservation of remote command args in ssh module. 71 Previous versions of pdsh would alwas collapse all args into 72 a single argument passed to ssh: "cmd arg1 arg2 ..." With this 73 fix the argv list will more closely match the form passed to pdsh. 74 -- Refactored large portions of dshbak, improve usage output, 75 and update manpage. 76 -- Expanded testsuite. 77 78* Changes in pdsh-2.23 (2010-10-22) 79=================================== 80 -- Fix issue 4: List available but conflicting modules in -V and -L output. 81 -- Fix issue 5: dshbak -c doesn't properly coalesce hosts with different 82 zero-padding in the numeric suffix. 83 -- Added torque module for setting list of target hosts based on Torque/PBS 84 jobs (Issue 2). 85 -- Enhance syntax of -w and -x to allow preceeding arguments with: 86 `-' - Exclude hosts instead of include with -w ( -w foo[1-9],-foo8) 87 `^' - insert/exclude list of hosts from a file (^/path/to/file) 88 `/' - filter hosts based on regex (/host.*0$/) 89 -- Introduce new pdsh testsuite with many new tests. See tests/README 90 for more information. 91 92* Changes in pdsh-2.22 (2010-09-03) 93=================================== 94 -- Fixes several bugs introduced in pdsh-2.21, Including: 95 - genders: segfault when genders file doesn't exist 96 - Failure to initialize some modules if others conflict 97 - -M option doesn't work in some cases 98 -- Sort modules by name before initialization so that modules 99 initialize in a reproducible order. 100 101* Changes in pdsh-2.21 (2010-09-02) 102=================================== 103 -- New option -M name,... forces load of misc modules by 104 name, thus allowing users to select between conflicting 105 modules. (PDSH_MISC_MODULES environment variable may 106 also be used) 107 -- Due to above, an error is no longer printed when module 108 options conflict. 109 -- genders: Support PDSH_GENDERS_FILE environment variable to 110 override default genders file name (default = "genders") 111 -- genders: Support PDSH_GENDERS_DIR environment variable to 112 override default directory for genders files (default = /etc). 113 -- genders: Allow non-absolute path to be specified to -F option. 114 -- Fix parsing of hostlist expressions with multiple brackets 115 (from SF.net user don.fanucci) 116 -- Fix compile error on platforms where setnetgrent() doesn't 117 return an int. 118 -- Allow path to dshgroup files to be specified to ./configure 119 with --with-dshgroups=PATH. 120 -- Update libltdl 121 122* Changes in pdsh-2.20 (2009-09-29) 123=================================== 124 -- Fix bug in pdcp which serialized copy of files to nodes 125 regardless of fanout. 126 127* Changes in pdsh-2.19 (2009-05-21) 128=================================== 129 -- New pdsh configure option --with-rcmd-rank-list allows 130 the default pdsh rcmd module priority list to be overridden 131 at compile time. 132 -- genders: Always read genders file in case there are any 133 pdsh_rcmd_type attributes to apply to the target hosts. 134 -- genders: Fix bug where altnames were not used by default 135 in some cases due to a bug in generic module loading code. 136 (patch from Py Watson) 137 -- Fix for coredump when no rcmd module is loaded. 138 (patch from Py Watson) 139 -- %{_libdir}/pdsh should be owned by pdsh RPM. 140 (patch from Py Watson) 141 142* Changes in pdsh-2.18 (2009-03-24) 143=================================== 144 -- Fix duplicate error output from ssh module. 145 (Patch from Paul D Smith <psmith at users.sourceforge.net>) 146 -- Add -e option to pdcp to explicitly specify remote execution path. 147 This is necessary if pdcp is installed in a different path locally 148 than on the target hosts. 149 -- Fix recursive pdcp (-r) which has been broken since pdsh-2.12. 150 -- Support --without-ssh-connect-timeout-option for ./configure. 151 -- Add note to pdsh(1) manpage that only very old versions of 152 the genders nodeattr script are supported by the pdsh nodeattr 153 module. The genders module is the preferred interface to genders. 154 155* Changes in pdsh-2.17 (2008-09-23) 156=================================== 157 -- Ignore multiple consecutive ':' characters in host list argument to 158 -w option. Only a single ':' by itself will be interpreted as the 159 special "rcmd_type:hosts" syntax. 160 -- dshbak: Allow for ':' in pdsh output lines. 161 (patch from Ashley Pittman) 162 -- Fix for compile against glibc 2.8, which no longer defines ARG_MAX 163 (patch from Tom 'spot' Callaway via sf.net). 164 -- Include missing unistd.h in hostlist.h. 165 (patch from Ashley Pittman) 166 -- Fix compile on Solaris by updating to latest ACX_PTHREAD autoconf 167 macro from autoconf-archive.cryp.to. 168 169* Changes in pdsh-2.16 (2008-03-19) 170=================================== 171 -- Don't attempt to read WCOLL file unless no other host 172 selection method is utilized. 173 -- (genders) Don't attempt to read a genders file if no genders 174 options are used. 175 -- When specifying rcmd_type via -w (i.e. [rcmd_type:][user@]host) 176 have rcmd_type apply across all hosts until the next rcmd 177 specification. That is ssh:host1,host2 now uses ssh for both 178 host1 and host2. Prior to this change, ssh would only be used 179 to contact host1. Same change for [user]. 180 -- Check for valid fanout specified to -f option. 181 -- Always sort output of dshbak, and remove dshbak -s option. 182 -- Strip leading space (added by pdsh) from dsbak output. 183 184* Changes in pdsh-2.15 (2007-10-24) 185=================================== 186 -- Refactor ssh module to use built in "pipecmd" support 187 (same code as the "exec" module) 188 -- Add connect timeout support for ssh implementations which support it. 189 By default, the OpenSSH "-oConnectTimeout=%d" option is used. This 190 can be overridden at configure time using 191 192 --with-ssh-connect-timeout-option="OPTION" 193 194 where OPTION should contain one %d which will be expanded to the 195 actual timeout value specified on the command line. 196 -- Add ncurses-devel to pdsh.spec BuildRequires. 197 198* Changes in pdsh-2.14 (2007-06-22) 199=================================== 200 -- Fix compile error in src/pdsh/mod.c when using --enable-static-modules. 201 -- Allow conditional and static build of "exec" rcmd module. 202 -- (slurm) Re-order headers in slurm module to avoid redefinition 203 of pdsh bool type. 204 205* Changes in pdsh-2.13 (2007-06-06) 206=================================== 207 -- New "exec" rcmd module for executing arbitrary commands. 208 (Thanks to Christopher Maestas <cdmaest at sandia dot gov> 209 for the idea.) 210 -- New -N option to disable hostname: prefix on lines of output. 211 -- dshbak: Allow host range compression for numerically keyed hosts 212 which have non-numeric suffix. 213 -- Fix for compilation problem on some machines for sshcmd.c. 214 -- Fix for erroneous command timeouts with ssh due to stray signals. 215 -- Fix handling of empty lines when parsing WCOLL files. 216 217* Changes in pdsh-2.12 (2006-12-11) 218=================================== 219 -- Fix Solaris build. 220 -- New command rpdcp(1) ("reverse" pdcp) copies files from remote 221 hosts to the local machine (with remote hostname appended). 222 -- Do not truncate host domain in output labels if any domains differ. 223 -- (genders) Default user name may be specified to pdsh_rcmd_type attr 224 by prepending "user@". 225 -- (slurm) `-j' "all" parameter to target all nodes running SLURM jobs. 226 -- (slurm) Fix for build issue against slurm-1.0. 227 -- Minor code cleanup. 228 -- Minor RPM spec file cleanup. 229 230* Changes in pdsh-2.11 (2006-07-26) 231=================================== 232 -- Fix for WCOLL file contents unconditionally added to host list. 233 Prior behavior was to have -w override WCOLL. 234 -- Supply more specific errors when pdsh detects that the path to 235 pdsh modules is insecure. 236 -- Fix man page typos. 237 -- Fix compile for Tru64. 238 -- (xcpu) Use lexec facility. 239 -- New dshbak -s option to sort output. 240 -- Allow users to cancel pending threads by issuing ctrl-C ctrl-Z 241 (ctrl-Z within one second of initial ctrl-C). Pending threads 242 are those threads which have not yet invoked a remote command. 243 244* Changes in pdsh-2.10 (2006-03-22) 245=================================== 246 -- Fix for -w hosts parsing bug. 247 -- Fix missing support for "-w user@hosts" in pdsh-2.9. 248 -- Add support for command history in interactive mode with readline. 249 Command history file is ~/.pdsh/history. 250 -- (xcpu) Support for signals and -S. 251 252* Changes in pdsh-2.9 (2006-03-15) 253=================================== 254 -- Add netgroup module which provides -g/-X groupname option to read 255 list of hosts from netgroup entries (/etc/netgroup or NIS). 256 -- Add support for specifying alternate rcmd connection type and/or 257 remote username for a subset of hosts on the commandline. Format 258 is ``-w [rcmd_type:][user@]hosts...'' 259 -- (genders) Add support for pdsh_rcmd_type genders attribute to set 260 the default rcmd connection type for certain hosts via the genders 261 database. 262 -- Add a trivial form of privilege separation to pdsh when pdsh or pdcp 263 binaries are installed setuid root. This is necessary to safely support 264 multiple rcmd connection methods in a single invocation of pdsh. 265 Currently, the privileged process in pdsh is only used to serve reserved 266 ports to threads that need it (e.g. rsh, qsh), while allowing all threads 267 to still run as the "user" to support ssh and mrsh. This is *not* 268 a security enhancement, and doesn't make installing pdsh setuid root 269 any more secure. 270 -- (ssh) Allow arguments to ssh command to be overridden and augmented 271 with environment variables PDSH_SSH_ARGS and PDSH_SSH_ARGS_APPEND. 272 -- Fix for race condition in ssh support which caused occasional pdsh 273 hang, especially when running with a larger fanout. 274 -- Fix for ``-x hosts'' processing bug: occasionally hosts provided to 275 -x option would not be removed from the list of targets because the 276 list of excluded hosts was being processed too early. 277 -- Fixes for Mac OSX support: Update libtool/ltmain.sh and test for 278 and include sys/uio.h. 279 -- Add support for LANL XCPU. 280 281* Changes in pdsh-2.8 (2005-10-13) 282=================================== 283 -- (dshgroup) Fix bug in dshgroup module which resulted in the module 284 trying to read only from ~/.dsh/group/ even if /etc/dsh/group/ 285 should have been used. (patch from Joe Ramey <ramey@it.com>) 286 -- Print error strings returned by remote RCP server instead of generic 287 "Failed to initiate RCP protocol." 288 -- Allow hostlist expressions to have suffixes (e.g. foo[0-10]-bar). 289 -- Fix for command timeout when its value is less than connect timeout. 290 -- (ssh) Remove ssh_reaper thread and instead reap child ssh processes 291 within each thread spawned by pdsh. This fixes reported problem 292 under LinuxThreads. 293 -- (sdr) Fix assertion failure if host_responds info exists in SDR 294 for a node number that doesn't exist in Node class. 295 296* Changes in pdsh-2.7 (2005-08-15) 297=================================== 298 -- Add dshgroup module which adds -g/-X groupname to utilize dsh-style 299 "group" files in ~/.dsh/group/groupname || /etc/dsh/group/groupname. 300 -- Fix possible truncation of output when poll() returns POLLHUP before 301 all data has been read. 302 -- Close pdsh file descriptors opened to ssh commands before invoking 303 subsequent ssh connections to fix possible pdsh hang with -Rssh. 304 -- Replace setenv() & seteuid() with putenv() & setuid() for portability. 305 -- Module path elements now considered secure if they have same ownership 306 as pdsh binary (as well as either root or current user). Allows pdsh 307 to be installed with other than root ownership. 308 309* Changes in pdsh-2.6 (2005-08-02) 310=================================== 311 -- (ssh) Fix pdcp hang with ssh on HP-UX (and possibly other systems). 312 (Yehia Beyh <Yehia.Beyh@hp.com>) 313 -- Remove pdcp debugging code released with pdsh-2.5. 314 315* Changes in pdsh-2.5 (2005-07-21) 316=================================== 317 -- (ssh) Added ssh "reaper" thread to collect exit status of ssh commands 318 invoked by pdsh. At the end of the pdsh or pdcp run, any non-zero 319 exit status from ssh will be written to stderr instead of silently 320 ignored. 321 -- (genders) Added genders "query" support for genders versions that 322 support this functionality. (Al Chu <chu11@llnl.gov>) 323 -- (ssh) Fix for a possible pdsh hang when running with ssh on Mac OS X. 324 -- (qshell) Fix for m/qshd failure on nodes without an elan3 adapter. 325 (Daniel Blueman <daniel.blueman@quadrics.com>) 326 -- Update path to xinetd script in pdsh specfile (Daniel Blueman). 327 -- Don't increase number of open files rlimit until after rcmd modules 328 are initialized in case rcmd module increases fanout. 329 -- Don't consider directory permissions insecure when other has write 330 access if the sticky bit is set. 331 332* Changes in pdsh-2.4 (2004-12-08) 333=================================== 334 -- (mrsh) Update to mrsh protocol version 2.1, provided by mrsh >= 2.3. 335 This version of the protocol allows connections over "localhost." 336 337* Changes in pdsh-2.3 (2004-11-22) 338=================================== 339 -- Support copying files >2GB in pdcp. 340 -- Increase max number of open files to the hard limit if 341 a large fanout is requested. 342 343* Changes in pdsh-2.2 (2004-07-30) 344=================================== 345 -- Do not abort when excluded hosts are not within the target list. 346 -- (slurm) Allow multiple SLURM jobids to be passed to -j option. 347 348* Changes in pdsh-2.1 (2004-06-09) 349=================================== 350 -- Fix dshbak script to allow whitespace in hostname "tags" 351 (Ashley Pittman <ashley@quadrics.com>). 352 -- Fix broken QsNet support on Elan3 systems without libelanctrl. 353 -- Explicitly set thread stack size to 128K to avoid arbitrarily 354 large stack set from current rlimit under Linux/NPTL. 355 356* Changes in pdsh-2.0 (2004-05-26) 357=================================== 358 -- Reorganized pdsh source tree. 359 -- Modularized pdsh functionality into dynamic runtime "modules." 360 - Moved remote command api (e.g. rsh, ssh, etc.) into "rcmd" modules. 361 - New pdsh option `-R' for selection of rcmd type at runtime. 362 - All other optional functionality moved into "misc" modules (e.g. genders). 363 - See README.modules in pdsh distribution for more information. 364 -- Package core pdsh functionality and pdsh modules separately in order to 365 make pdsh installation much more flexible. 366 -- Removed pdsh dependency on rcp. Rcp server code used by pdsh is now 367 coded directly into pdcp. (Note: This means pdcp *must* be installed 368 on all target nodes) 369 -- Added mrsh and mqshell client modules, as well as mqshd server for Munge 370 authenticated rcmd() support. 371 -- Added SLURM module to build list of targets from SLURM allocations. 372 -- (genders) Added "-X" option to exclude targets based on genders attributes. 373 -- (genders) Multiple attributes may now be passed to "-g" and "-X." 374 -- (genders) "-a" renamed to "-A" -- "-a" now skips any nodes in genders 375 database with "pdsh_all_skip" attribute. 376 -- (genders) New "-F" option to specify non-default genders file. 377 -- QsNet support now requires "/etc/elanhosts" config file (see README.QsNet). 378 -- QsNet support includes support for QSW elanctrl interface. (Elan3/Elan4) 379 -- Added support for running Elan network error resolver thread in qshd/mqshd. 380 (Elan3 only) 381 -- Nominal support for Elan multirail jobs (largely untested). See 382 qshell and mqshell `-r railmask' option. 383 384$Id$