[systemd-devel] Perl Net::DBus, org.freedesktop.system1 and inhibitor locks

Michael Hirmke mh at mike.franken.de
Wed May 25 21:52:00 UTC 2016


Hi Mantas,

>In other words, mixing up OS file descriptors and Perl file handles?

exactly 8-<

>D-Bus can only send and receive raw FDs; Net::DBus doesn't know what kind
>of handle it's supposed to be, so you need to either create one manually,
>or just work with the FD directly (I think the relevant function is
>sysclose()?...)

For the moment I create a handle manually and also open it manually.

Bye.
Michael.
-- 
Michael Hirmke


More information about the systemd-devel mailing list