From nobody Mon Mar 25 20:12:39 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 4V3PHW72Bfz4nycm for ; Mon, 25 Mar 2024 20:12:39 +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 4V3PHW4VCQz3wkN for ; Mon, 25 Mar 2024 20:12:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711397559; a=rsa-sha256; cv=none; b=wBTyKNuEYSlCgNqs0Al5kj+TmDjRM32uYU8WrbDkO0H+WpxWLa19S5Mk8Ze7N8+aNBgq45 ccH2+VFyjeCFmwXyTHAOw6IppgfiHKrDW/wlRxiTggZqy7PSf0XQOSdWbYcsetRJ4MZSFa uaDyn2KgjomqXZRjPTerQStJk4Ji+7zBVKw7IUUEgsgBSNoRloYQPXb3febC5tOnf5iWkF ilDsAJS3jN/c6UlCDUaz1PFTwO6XlGMjN6pKHaWWlTupNL2Pb/L1LXH/f1JIYwUhih7syB MR8rHX0pRxz6jAEv1D7TVFsORWu7L6tXrCj9p+o11fOWm/3S4kdYlUlBKRoj1A== 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=1711397559; 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=x5i6jTTW/9EeoOBDNat5YDBTewf6gQeNR7o8QnA3osg=; b=FTU7JU14h6PR/tsTthkTw/+rIZStntIH2e8FOK3L+6zat5KVZhDEMo1rX+Lp93xgr+f5J1 zMIbvEUhYWzt1DV8Kc8Xh/H4S3T8u229b+BnjK1SJVTsv6MkSw97nSCwLxGR5rH+EA+wiF zLpgsHb2rTL/ZrWwo78oG34w2xBFDFFhjFfPac/sE71lhttgSr7CFHjUG/y8frKchhhN6B oj80hpRtdhTMW8CJc5X0H6zdn6ceQ8LBKbKnIY75OT3cabaSjWUieig9giK+Uug1XO8Ioe 5+995Hylv9G0ab7odZVUxcN8VyUR1C0UMR9621PbCbYk4Nu2QGdNOGEt0D6nTw== 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 4V3PHW45hTzWLQ for ; Mon, 25 Mar 2024 20:12:39 +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 42PKCdxw046139 for ; Mon, 25 Mar 2024 20:12:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42PKCdNU046129 for bugs@FreeBSD.org; Mon, 25 Mar 2024 20:12:39 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: Mon, 25 Mar 2024 20:12:39 +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: 13.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: awalker@ixsystems.com 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 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=3D277959 Bug ID: 277959 Summary: Refactor of usr.sbin/daemon caused regression in restart parameter Product: Base System Version: 13.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: awalker@ixsystems.com /usr/sbin/daemon was refactored to use kqueue in b64f569e5c051ff1acbfd7fefb3d32005957fc80.=20 As a result of this if daemon is being used to supervise process with -r -R, then if supervised child process dies and SIGTERM sent to daemon, it will h= ang indefinitely (observed 24 hour hang). For example if daemon is used to monitor collectd as follows: /usr/sbin/daemon -f -p /var/run/collectd.pid -P/var/run/collectd-daemon.pid= -r -R 60 /usr/local/sbin/collectd -f and then kill -9 and then kill -15 last kill reproduces issue. Reverting to daemon from before above-referenced commit fixes issue. --=20 You are receiving this mail because: You are the assignee for the bug.=