From nobody Thu Feb 23 13:29:19 2023 X-Original-To: ports-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 4PMv4w3Bczz3tkY1 for ; Thu, 23 Feb 2023 13:29:20 +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 4PMv4w18t2z4G2N for ; Thu, 23 Feb 2023 13:29:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677158960; 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=4VcV1pYPRLgHnB2qhXjbbu+nO+gIKLzS1wBPGDTKHis=; b=GHyZPUtz/X/akbNeltTX2iMCTTTMWQy4dJHWTb7dHIikykNNTsdPbySyULtFBsjyx9U0kJ LhBnkwO/SJ10VCJ6oq1zqZbRo1NbIDD6bcQp2fNggzhSnSmcsgLDyANKrjquJH41Ye/s+Y R3J7tUxb63cmfzm4Piu4KDoEYQNgiBWAXU82/8OidinkaybNFuMQx9jrSy3X2fNoOdzoLV O0LyDDioDKa/9vZKDWcFEPjBwOe39dYcS6RpEAa5/1o/R0xJyxm0dEB7QNXWaZPx51WKfY hDfGVRhMRrsh8GyGY0bsprG2n//85JbTGls/kLYfMdH2A3ZX5VQJCqXq1A988w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677158960; a=rsa-sha256; cv=none; b=ji/7oGfXnSgNp/09iH779WT0Rq6pPH96MUYEZ/gNccuj6OQtwvFom0hIj/dtACQKJOCqMh 8wHGK4Qu/2+A3KJar9PpWC5aZaHaGT2m+0IZKpXOwcuhkl6PoouH73Rq+Dx/viQWIebsTg k7oC/LA3ihPwUeA845oRt++GWPKX2Tu0jQqU0gYgWmf88w1TgFH0h0ZAVt8sf6NqMyFclD rs5AR0ZhhJBEKH1ZjI+Qf2NeDzWrtxfkGbSS9eFy9XV6KaBw1FBDWbUKLwhtIxE9zEQsMM uA33jfn/U+dz3rVPcu/9z7GTII2bmE1TaMO6PZF9ev1R77kftQth883Ezrn4Xw== 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 4PMv4w0GvXzkLC for ; Thu, 23 Feb 2023 13:29:20 +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 31NDTJdw094925 for ; Thu, 23 Feb 2023 13:29:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 31NDTJAa094924 for ports-bugs@FreeBSD.org; Thu, 23 Feb 2023 13:29:19 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: ports-bugs@FreeBSD.org Subject: [Bug 269778] sysutils/datadog-agent: restart hangs Date: Thu, 23 Feb 2023 13:29:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alexis.cimpu@dmatrixsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269778 Bug ID: 269778 Summary: sysutils/datadog-agent: restart hangs Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: alexis.cimpu@dmatrixsoft.com CC: uros@gruber.si Flags: maintainer-feedback?(uros@gruber.si) CC: uros@gruber.si Datadog agent fails to restart on freebsd with the error below if the agent= is already stopped: # service datadog-agent restart Error: Error stopping the agent: Post "https://localhost:5001/agent/stop": = dial tcp [::1]:5001: connect: operation timed out Current workaround that seems to fix the problem is adding a check and a sl= eep in the stop or restart in rc.d of datadogagent=20 Below is a snip of current datadogagent rc.d datadog_agent_restart() { datadog_agent_stop && sleep 3 && datadog_agent_start return $? } datadog_agent_stop() { rc_pid=3D`check_pidfile ${pidfile} ${command}` if [ -n "${rc_pid}" ]; then ${command} ${command_args} stop fi return $? } --=20 You are receiving this mail because: You are the assignee for the bug.=