From nobody Fri Oct 13 17:48:07 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S6YrS0PQ6z4wYVf for ; Fri, 13 Oct 2023 17:48:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S6YrR4kyfz4Mvy for ; Fri, 13 Oct 2023 17:48:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697219287; a=rsa-sha256; cv=none; b=ccFOdUk0ESgi34o/apFOqChH9H7yiSB8eraH23vBYJC1TI7jGTYR+WGQBmzpgJ81Mvc7XJ X4MK9G2hY+xQd4OxESJIlO4Mssn9qWUisY/RJzMQpxifqEdVchnPOcwKKCx9OFP8AL6O+b q319BHkCwfNgM/QIp8eSMxeb3cPC09piqgsSAWaF8/TO56i7MR+sXUVnKbV34KL6ig9c0x 2w487TT2EqR7MD4q6oE+XxOmRgaHKkaMisZMfFtRjNDNICtwRj7if0ACAiwdKc1h/1KTrx Mp8lhOyclvJx07eDK+mOTeHVDS3ZEPboJORNEG/XrYk+iWOn9X/CVQrRq/7Czw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697219287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K8NBDFC2GGIEbfwshzWBzharvxuwG1NdH//+Q/+jQy4=; b=B1t1nm42syYMUTkREoty9ObFu3NUrBRgMotK4dMa7ZsC5QDJi7isyLi2ED7An4ws0DT90X D7dvTzf3aTx4KBfd7+SEAqgQFKl8Lo0y6wXwWcJyEDxvhlXF9Qy8LgrFSxFMj4bIk3i/PQ JSPCa5KTno7TdbYj9FkAKyW3/npgVmhtQ6YFOPzrOTj40EIGyCW5dtcRNkhJ8djVaI0+b+ pskMZYuZYZkVArM5GB4oQfPvYeJBg0dy9Bm7CAcoWi1/bt7XAabUaTKRjSpoeVtcoOH/wa DPI955FEH7m+1RTKz8Uy3I3f0opxng8OMrKlwcErNJSfIz80joWMJofWoVXdng== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S6YrR3LrWzxF4 for ; Fri, 13 Oct 2023 17:48:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39DHm7gd046357 for ; Fri, 13 Oct 2023 17:48:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39DHm7Yp046356 for bugs@FreeBSD.org; Fri, 13 Oct 2023 17:48:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274454] usr.sbin/syslogd: closing a configured terminal in parse_action(), line 3057 Date: Fri, 13 Oct 2023 17:48:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Trond.Endrestol@ximalas.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 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.=