[systemd-devel] Unable to store fds with systemd and reterive it back again
Pathangi Janardhanan
path.jana at gmail.com
Tue Jan 5 10:55:03 PST 2016
Hi,
>> 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?
Sorry forgot to attach the version, here is the version I am using
jana at ctoserver11:~$ systemd --version
systemd 225
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP
+GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN
And my OS is Ubuntu Wily
jana at ctoserver11:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
let me if this is an issue and I have to move to another version?
Thanks
Jana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20160105/93117237/attachment.html>
More information about the systemd-devel
mailing list