pdsh mishandles gender queries

Bug #501432 reported by Mike Coleman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pdsh (Debian)
Fix Released
Unknown
pdsh (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: pdsh

Description: Ubuntu 9.10
Release: 9.10

pdsh:
  Installed: 2.18-1
  Candidate: 2.18-1
  Version table:
 *** 2.18-1 0
        500 http://us.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

The documentation says that the -g flag will accept gender queries, but something like this

    $ pdsh -g 'myattr=ABC||myattr=DEF' hostname

doesn't work right, even though 'nodeattr' accepts this query. In fact, the above command throws me into interactive mode, so apparently it's being seriously misparsed.

I expected it to run 'hostname' on all nodes matching the gender query.

(This bug might be the same as #501427.)

Changed in pdsh (Debian):
status: Unknown → Fix Released
Revision history for this message
Wil Cooley (wilcooley) wrote :

As a workaround, you can install libgenders0-dev and get the necessary library symlink, or make /usr/lib/libgenders.so.0, which points to libgenders.so.0.2.0.

(You also need to install libgenders0-dev to get the genders(3) man page, which describes the /etc/genders file format.)

Changed in pdsh (Ubuntu):
status: New → Confirmed
Revision history for this message
Wil Cooley (wilcooley) wrote :

Reviewing this again, the symlink work-around I mentioned before permits it to work a little more, but only simple, single-attribute queries.

There remains a problem if you do more complicated set queries. Affects the following:

Ubuntu 10.04.3
genders 1.13-2
libgenders-perl 1.13-2
libgenders0 1.13-2
libgenders0-dev 1.13-2
pdsh 2.18-5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.