Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2023 17:48:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 274454] usr.sbin/syslogd: closing a configured terminal in parse_action(), line 3057
Message-ID:  <bug-274454-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274454

            Bug ID: 274454
           Summary: usr.sbin/syslogd: closing a configured terminal in
                    parse_action(), line 3057
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info

Created attachment 245605
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D245605&action=
=3Dedit
Patch for usr.sbin/syslogd/syslogd.c disabling closing of a terminal.

Since forever I've run syslogd(8) configured to show all log lines on
/dev/ttyvb, i.e.

*.*;mark.* /dev/ttyvb

Recent changes in CURRENT made /dev/ttyvb inactive. I've tracked the issue =
down
to closing the terminal in parse_action() in usr.sbin/syslogd/syslogd.c on =
line
3057.

I therefore suggest to omit closing a terminal in case it's a VTY. Without =
such
a change, a VTY is inaccessible by the user and completely useless.

Feel free to rework or reject the attached patch.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274454-227>