Skip Menu |

This queue is for tickets about the Net-DBus CPAN distribution.

Report information
The Basics
Id: 78538
Status: resolved
Priority: 0/
Queue: Net-DBus

People
Owner: Nobody in particular
Requestors: grawity [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.0.0
Fixed in: (no value)



Subject: 'h' type not supported
When trying to access systemd-logind over DBus, the module dies with "unknown type sig 'h'". $ perl -MNet::DBus -e '$fd = Net::DBus->system- Show quoted text
>get_service("org.freedesktop.login1")- >get_object("/org/freedesktop/login1")->Inhibit("idle", "test", "test",
"delay");' unknown type sig 'h' at /usr/lib/perl5/vendor_perl/Net/DBus/Binding/Introspector.pm line 810. The API is documented at: http://www.freedesktop.org/wiki/Software/systemd/inhibit In the DBus specification, 'h' represents a file descriptor: UNIX_FD – 104 (ASCII 'h') – Unix file descriptor http://dbus.freedesktop.org/doc/dbus-specification.html#message- protocol-signatures - perl v5.16.0 x86_64-linux-thread-multi (Arch Linux) - perl-net-dbus 1.0.0
Fixed in upstream GIT commit 5bf227d1b499bb083b59da0b14f92bd8c78f419e Author: Manuel Reimer <manuel.reimer@gmx.de> Date: Sun Apr 7 12:04:38 2013 +0100 Add support for UNIX file descriptor passing Signed-off-by: Daniel P. Berrange <dan@berrange.com>
This is now resolved in the 1.1.0 release