Created attachment 178007 [details] unbreak logging subprocess restart Revision 286304 and MFC to stable branches broke restart of unexpectedly finished logging subprocess defined with "|command ..." syntax. Trivial patch fixing this is attached.
A commit references this bug: Author: hrs Date: Sat Dec 31 03:07:48 UTC 2016 New revision: 310888 URL: https://svnweb.freebsd.org/changeset/base/310888 Log: Retry to open an F_PIPE process when it dies unexpectedly. Reported by: Eugene Grosbein PR: 215335 Changes: head/usr.sbin/syslogd/syslogd.c
(In reply to Eugene Grosbein from comment #0) Could you please try a patch in r310888 and let me know if the problem is solved or not?
(In reply to Hiroki Sato from comment #2) The patch does not apply to stable/11 significantly, cannot test it.
Created attachment 178415 [details] r310888 patch for stable/10 and 11
(In reply to Eugene Grosbein from comment #3) A patch for stable/10 and 11 is attached.
(In reply to Hiroki Sato from comment #4) This patch works for stable/11, thank you!
(In reply to Hiroki Sato from comment #5) Please perform MFC for upcoming 11.1-RELEASE.
A commit references this bug: Author: eugen Date: Fri Jul 7 11:54:46 UTC 2017 New revision: 320772 URL: https://svnweb.freebsd.org/changeset/base/320772 Log: MFC r310888: Retry to open an F_PIPE process when it dies unexpectedly. PR: 215335 Reviewed by: ae Approved by: az (mentor) Changes: _U stable/10/ stable/10/usr.sbin/syslogd/syslogd.c
A commit references this bug: Author: eugen Date: Fri Jul 7 13:44:19 UTC 2017 New revision: 320776 URL: https://svnweb.freebsd.org/changeset/base/320776 Log: MFC r310888: Retry to open an F_PIPE process when it dies unexpectedly. PR: 215335 Reviewed by: ae Approved by: az (mentor) Changes: _U stable/11/ stable/11/usr.sbin/syslogd/syslogd.c
Fixed in all supported branches.