Package: pdsh
Version: 2.16-1
Severity: normal

Running pdsh using a /etc/genders file results in an assertion error:

kaipak[nordmark]~> pdsh -a uptime
pdsh: list.c:288: list_count: Assertion `l != ((void *)0)' failed.
pdsh: list.c:288: list_count: Assertion `l != ((void *)0)' failed.

Running with an explicit list instead works:

kaipak[nordmark]~> pdsh -w`nodeattr -c ~nonexistentattr` -R ssh uptime

(is there a better way to get all hosts in /etc/genders?)

The funny thing is that the assertion error in only seen when the pdsh
command is run from certain hosts (all running up-to-date lenny). It
is however consistent, in that the error occurs on a particular host
either all the time, or never.

The error does not seem to depend on the contents of the /etc/genders
file. Even a single line like:
hostname pdsh_rcmd_type=ssh
triggers the error. The command "nodeattr -k" shows no error in the
/etc/genders file.

Recompiling the 2.18-5 version from sid shows no change in this behavior.


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pdsh depends on:
ii  debconf [debconf-2.0]    1.5.24          Debian configuration management sy
ii  genders                  1.11-1-1        cluster configuration management d
ii  heimdal-clients [rsh-cli 1.2.dfsg.1-2.1  Heimdal Kerberos - clients
ii  libc6                    2.7-18lenny2    GNU C Library: Shared libraries
ii  libgenders0              1.11-1-1        C library for parsing and querying
ii  openssh-client [rsh-clie 1:5.1p1-5       secure shell client, an rlogin/rsh
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

pdsh recommends no packages.

pdsh suggests no packages.

-- debconf information:
  pdsh/setuidroot: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to