On 07/27/2016 07:25 PM, Svante Signell wrote: > (Adding bug-hurd to the Cc: list, not all developers follows the > debian-hurd list) > > On Wed, 2016-07-27 at 18:15 +0200, Christian Seiler wrote: >> Oh, I should mention that every time you run isnsadm the server >> (isnsd) crashes with SIGLOST, so you need to restart it between >> tries. >> >> Or you can run it in foreground on another shell under e.g. gdb or >> rpctrace. (--foreground) > > I found that out, thanks! > >> Any ideas where to set breakpoints in gdb? >>> isns_net_stream_xmit >>> isns_net_recvmsg >>> >>> (stream_xmit for sending, recvmsg for receiving.) >>> >>> Thanks for looking into this! > > Using rpctrace I get the same output as you. It seems like the > SCM_CREDS support is failing somewhere. Or the implementation differs > from the kFreeBSD version.
Funnily enough, I tried to create a very simple test case that does the same thing as open-isns - and there SCM_CREDS does work on Hurd. (FTR: <http://paste.debian.net/785673/>, code is more or less identical to the code in open-isns when it comes to sendmsg and recvmsg, but it works...) Regards, Christian