<div dir="ltr">Hi,<div class="gmail_extra"><div class="gmail_quote"><div> Please see this thread <a href="http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/35437">http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/35437</a>, and for that usecase, the suggestion to do shutdown did work fine, and with that I was able to handle this case.</div><div><br></div><div> At that time, the other request I had was if <span style="font-family:palatino,georgia,verdana,arial,sans-serif;font-size:medium;line-height:24px;text-align:justify">sd_pid_notify_with_fds or equivalent could be enhanced to explictly ask systemd to forgot some FDs, as I felt that would be useful in situations where systemd is being used as FD store, and the FDs that are being stored may not always support shutdown type of activity.</span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Normally one would solve this by inserting shutdown(fd, SHUT_RDWR) at<br>
the right place, since that *really* terminates the connection,<br>
regardless if anyone else has an fd open still. Is that an option<br>
here?<br></blockquote><div><br></div></span><div>I didn't actually try that myself but that was the 2nd thing that I suggested when I got the original problem report and the developer who reported the problem told me that it didn't work. </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br></blockquote></span></div></div></div></blockquote><div>Thanks</div><div>Jana</div><div> </div></div></div></div>