[Bug 296401] syslogd with piped command sometimes terminates

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jun 2026 11:08:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296401

            Bug ID: 296401
           Summary: syslogd with piped command sometimes terminates
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: terehovv@mail.ru

Created attachment 272288
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272288&action=edit
kdump -E -m10 | tail -100

After upgrading from 14.3-RELEASE to 15.1-RELEASE, syslogd sometimes terminates
after receiving a SIGHUP from newsyslog.

In /etc/syslog.conf, I have the following line:
auth.info | /opt/script.sh

According to ktrace, syslogd terminates after "pdgetpid -1 errno 9 Bad file
descriptor."

-- 
You are receiving this mail because:
You are the assignee for the bug.