From nobody Fri Jul 14 13:52:32 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 4R2Xwd1Q1xz2tlCJ for ; Fri, 14 Jul 2023 13:52:33 +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 4R2Xwc3JBfz4JYv for ; Fri, 14 Jul 2023 13:52:32 +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=1689342752; 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=tm2vbYLadVvATkQD64iOf4s+EV91d13nb76X8YJhHbw=; b=mGw541hY8dZdeRaSHo2TCd6i/1csm2KyBohVl3a+gd+g4EYshs2qwmopZxboZYNnULHAlY Z42GsUEgiIgNM9WXJFWcaz1BAjb8n3BVXV97ctTBoIt0SHVKt0dqXdSJMkM2V0AryHfTOi kuAI5E9GbvxhcVJwpXqT0XLGztXOKW54WIjJRjl1kQRqjrjDTCDxvNBHDGioVnC8nLbo8v MVoFT1phYhjUr4iRa3u9JZLDr9jAhu8h6+c5Jp0CZiLEHUy7G1LOx2SbyJsc/z8IsyZQk0 AELI6Pz0kfCgqkUjQKE0ICYLfWjptxlLKnfjDhqfnFEGdVlLvwmxoh0t06Jing== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689342752; a=rsa-sha256; cv=none; b=fViDUzLNOnKGaHkUJzDcSWCyFsU/rzGWr0NQvyYJsWc+obRwES3fJq7zvflnQWRPCRJwwG 7R6Xao6yiFKAOE0EPry9eMjX8AezD7pChhk1pf+vRUEr9NkHVDmS7PEDz/u21shWme3oxl f6JOjIUYKveZ8YHluEa6DoYdMO/Vo+R71ihnODRKCqCtlQlFDbIQFpLtzYYk36XNJONmxS lGFlMoSTlvr/cemL7Shr+Cy2pwGx6CzGNCF8OQV8ScT3Ggpo8arm8gs1+gGMbKqaY2wf4n eG1Sr8iNtthIW/yeXrXU8HQfSalFsPq1136IeSku8OLHmDKifbPv3gInkbSFlA== 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 4R2Xwc2MjBzL3m for ; Fri, 14 Jul 2023 13:52:32 +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 36EDqWZg011653 for ; Fri, 14 Jul 2023 13:52:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36EDqW0X011652 for ports-bugs@FreeBSD.org; Fri, 14 Jul 2023 13:52:32 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 272502] databases/postgresql13-server: startup script not redirecting stdout, breaking Ansible Date: Fri, 14 Jul 2023 13:52:32 +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 Some People X-Bugzilla-Who: topical@gmx.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pgsql@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 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=3D272502 Bug ID: 272502 Summary: databases/postgresql13-server: startup script not redirecting stdout, breaking Ansible Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: pgsql@FreeBSD.org Reporter: topical@gmx.net Flags: maintainer-feedback?(pgsql@FreeBSD.org) Assignee: pgsql@FreeBSD.org The startup script uses pg_ctl which forwards stdout from postgresql daemon= to parent process. Since py39-ansible-core-2.15, the "service" module waits until stdout of startup script is completely read. In our case, this will happen when the postgresql daemon terminates, i.e. never and so the Ansible playbook is stu= ck. According to pg_ctl, this is a feature. But in real life, the only messages= you get are ``` LOG: ending log output to stderr HINT: Future log output will go to log destination "syslog". ``` So this feature is useless and makes trouble. Either, pg_ctl must be fixed (which imho is unlikely as under Linux, usually systemd is used which has no problem with that behaviour) or we must modify= the rc.d script to redirect stdout to /dev/null on startup. --=20 You are receiving this mail because: You are the assignee for the bug.=