[PATCH 1/3] iscsid,iscsiadm: fix abstract socket length in bind() call

2012-11-21 Thread Tomasz Torcz
For abstract sockets, the addrlen parameter should be the actual length of socket's name. Otherwise socket gets padded with some number of NULs. --- usr/iscsid_req.c | 3 ++- usr/mgmt_ipc.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr/iscsid_req.c

[PATCH 2/3] iscsid: implement systemd-compatibile socket activation

2012-11-21 Thread Tomasz Torcz
--- usr/mgmt_ipc.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/usr/mgmt_ipc.c b/usr/mgmt_ipc.c index 36f5d02..90dddbe 100644 --- a/usr/mgmt_ipc.c +++ b/usr/mgmt_ipc.c @@ -39,13 +39,35 @@ #define PEERUSER_MAX 64 #define EXTMSG_MAX (64 * 1024) +#define

Re: [PATCH 2/3] iscsid: implement systemd-compatibile socket activation

2012-11-27 Thread Tomasz Torcz
Ok, so what's about this version, with separate function? From 4f4cc6497c11730098f8e89cc146359d1ae16660 Mon Sep 17 00:00:00 2001 From: Tomasz Torcz to...@pipebreaker.pl Date: Mon, 26 Nov 2012 11:54:25 +0100 Subject: [PATCH 2/3] iscsid: implement systemd-compatible socket activation --- usr

[PATCH v2 0/3] Implement systemd-compatible socket activation

2012-11-28 Thread Tomasz Torcz
Hello, This is v2 of systemd-activation patches for iscsid. v1-v2 changes: - separate address length calculation - separate systemd functionality to own function -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send

[PATCH 1/3] iscsid,iscsiadm: fix abstract socket length in bind() call

2012-11-28 Thread Tomasz Torcz
For abstract sockets, the addrlen parameter should be the actual length of socket's name. Otherwise socket gets padded with some number of NULs. --- usr/iscsid_req.c | 10 ++ usr/mgmt_ipc.c | 9 + 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/usr/iscsid_req.c

[PATCH 2/3] iscsid: implement systemd-compatible socket activation

2012-11-28 Thread Tomasz Torcz
--- usr/mgmt_ipc.c | 29 + usr/mgmt_ipc.h | 1 + 2 files changed, 30 insertions(+) diff --git a/usr/mgmt_ipc.c b/usr/mgmt_ipc.c index a1dafc9..f34f688 100644 --- a/usr/mgmt_ipc.c +++ b/usr/mgmt_ipc.c @@ -39,6 +39,7 @@ #define PEERUSER_MAX 64 #define EXTMSG_MAX

[PATCH 3/3] iscsid: add example unit files for systemd

2012-11-28 Thread Tomasz Torcz
Those two units, based on the work by Jóhann B. Guðmundsson, exploit on-demand socket activation in iscsid. --- etc/systemd/iscsid.service | 13 + etc/systemd/iscsid.socket | 9 + 2 files changed, 22 insertions(+) create mode 100644 etc/systemd/iscsid.service create mode

Re: [systemd-devel] [RFC] iscsid / systemd / dracut integration effort

2012-12-12 Thread Tomasz Torcz
of it. -- Tomasz Torcz Morality must always be based on practicality. xmpp: zdzich...@chrome.pl-- Baron Vladimir Harkonnen -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi

Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-26 Thread Tomasz Torcz
for finishing it, Jan! -- Tomasz Torcz ,,If you try to upissue this patchset I shall be seeking xmpp: zdzich...@chrome.pl an IP-routable hand grenade.'' -- Andrew Morton (LKML) -- You received this message because you are subscribed to the Google Groups open-iscsi group