From nobody Tue Jul 02 07:05:07 2024 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 4WCv7745J3z5PnkM for ; Tue, 02 Jul 2024 07:05:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WCv7714W5z4BH2 for ; Tue, 2 Jul 2024 07:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719903907; a=rsa-sha256; cv=none; b=dUuiHMdpi5GtwW77kO4SHx7Icu/A2j7rwG7mWsSAd00vCDjpWXGQu1tNMIXi+Jdy9UwR4A jg4w1ndGHsB/83rR0C45YfVvS9QrlRHNLeJdn+Ux1Ze2aCFrA0cCA4cxyKNbZ6hQDcJEW7 rItCLj07XsnyFqQFQ6qVyTT8ob9L/hwKAap1Laoz+eNgcxwuI8SpUs1yvxgwM4MCB+ke3t E9+aErJHwlHO7dI8JMQNC5YSeNa3pz8Mnto2GTsdng6OYawNFmQwDAnD4ol9TywZl7mw3C vMiZLeElhmLs4S6w6wyILCCfII4DzYN6GJgR6o48vXeNibzaRLUsIJKVLWiswg== 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=1719903907; 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: in-reply-to:in-reply-to:references:references; bh=RqCOVMobyI9zcM045KvNXn7CEntAOMQp5YQFzNblY5I=; b=bd3lAXSAv0pplakYIprJhbdJbfpKFGKDSkBspFbiYrE8IgIqiXlycMbmITivwI2YPeHf06 JrWkZKIo6Etl7AcISrXeeyTnRZjK3l55BcIV2itQQwe5Oj/VAgomwFZtWUcmt/93BbqHv/ wk1fYwNOyDQpgReErksuyQA3/L/vSgcrL/ZFwwNjTl6QSywBUQOSKG3K6dA5MXDFq/gMOc qxwXvqTeVB42psRYbV5ILXKHTU8wRiW/07VW04yWLlFuMk/F3lEr7kr3cHflNJEJzI17NE 4GYSKjdGQFLL3JvJs0v1K+o8/OBYrEEM+pBM2MvZOKcUM/DYytThLTHVcc8uvw== 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 4WCv770YxLzf7b for ; Tue, 2 Jul 2024 07:05: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 462756db026478 for ; Tue, 2 Jul 2024 07:05:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 462756Au026472 for bugs@FreeBSD.org; Tue, 2 Jul 2024 07:05:06 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 277959] Refactor of usr.sbin/daemon caused regression in restart parameter Date: Tue, 02 Jul 2024 07:05:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.3-STABLE X-Bugzilla-Keywords: regression, vendor X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kevans@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kevans@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D277959 --- Comment #6 from Kyle Evans --- I have a tentative patch for this, but I'm still thinking about it a little bit. My current approach is to pull the kqueue out of the eventloop and st= op recreating it every time; the pipe read event will drop out when we close t= he read-side and leave just the signals. daemon_sleep() then switches to usin= g a one-shot EVFILT_TIMER instead of nanosleep(2) so that it can still process signals received in the interim following a previously processed SIGCHLD. --=20 You are receiving this mail because: You are on the CC list for the bug.=