[systemd-devel] Unable to store fds with systemd and reterive it back again

Daniel Mack daniel at zonque.org
Tue Jan 5 09:51:00 PST 2016


On 01/05/2016 06:33 PM, Pathangi Janardhanan wrote:
>  This is the output of the strace call on this section of the code in
> the sd_pid_notify_with_fds, when I try to save the fds.
> 
> socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 8
> 
> sendmsg(8, {msg_name(21)={sa_family=AF_LOCAL,
> sun_path="/run/systemd/notify"}, msg_iov(1)=[{"FDSTORE=1\n", 10}],
> msg_controllen=40, {cmsg_len=20, cmsg_level=SOL_SOCKET,
> cmsg_type=SCM_RIGHTS, {7}}, msg_flags=0}, MSG_NOSIGNAL) = -1 EINVAL
> (Invalid argument)

Which version of systemd are you running? Does it contain a5bd3c32?


Thanks,
Daniel






More information about the systemd-devel mailing list