Date: Thu, 08 Apr 2021 16:20:04 +0200 From: "Kristof Provost" <kp@FreeBSD.org> To: "Olivier =?utf-8?q?Cochard-Labb=C3=A9?=" <olivier@freebsd.org> Cc: freebsd-testing@freebsd.org Subject: Re: atf-sh shebang Message-ID: <8E5D8DF6-A9C0-4AE3-8B8E-B4C5C2681A29@FreeBSD.org> In-Reply-To: <CA%2Bq%2BTcpM=MAjwh_PJjrp5OFnwZAty5AHS-G3ATziQAhaFy80Cg@mail.gmail.com> References: <CA%2Bq%2BTcpM=MAjwh_PJjrp5OFnwZAty5AHS-G3ATziQAhaFy80Cg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 Apr 2021, at 15:58, Olivier Cochard-Labbé wrote: > atf-sh(1) man page says: > " > Scripts using atf-sh(3) should start with: > #! /usr/bin/env atf-sh > " > > And env(1) man page says: "The env utility uses the PATH environment > variable to locate the requested utility" > > But atf-sh is installed in /usr/libexec/ and this directory is not in > the > default PATH. > > So should we: > 1. update the atf-sh(1) man page; That’s probably the best option, given that our makefiles generate this for test scripts: #! /usr/libexec/atf-sh The source files for test scripts (e.g. /usr/src/tests/sys/netpfil/pf/pfsync.sh) do not include the shebang. It’s inserted by the build system. > 2. or update the default $PATH to add /usr/libexec; > 3. or moving atf-sh into a directory referenced by the default $PATH ? > Best regards, Kristof From owner-freebsd-testing@freebsd.org Fri Apr 9 05:44:11 2021 Return-Path: <owner-freebsd-testing@freebsd.org> Delivered-To: freebsd-testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 83E005CC12D for <freebsd-testing@mailman.nyi.freebsd.org>; Fri, 9 Apr 2021 05:44:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FGnBM38F2z3qT5 for <freebsd-testing@freebsd.org>; Fri, 9 Apr 2021 05:44:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6C0B95CBED1; Fri, 9 Apr 2021 05:44:11 +0000 (UTC) Delivered-To: testing@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6BD3D5CBED0 for <testing@mailman.nyi.freebsd.org>; Fri, 9 Apr 2021 05:44:11 +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 4FGnBM2ZB1z3qcL for <testing@FreeBSD.org>; Fri, 9 Apr 2021 05:44:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4B89A189B2 for <testing@FreeBSD.org>; Fri, 9 Apr 2021 05:44:11 +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 1395iB29015429 for <testing@FreeBSD.org>; Fri, 9 Apr 2021 05:44:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1395iBFh015428 for testing@FreeBSD.org; Fri, 9 Apr 2021 05:44:11 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: testing@FreeBSD.org Subject: [Bug 254903] ntpdate shows "no server suitable for synchronization found" Date: Fri, 09 Apr 2021 05:44:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: tests X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: meetshamsher@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: testing@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: <bug-254903-32464@https.bugs.freebsd.org/bugzilla/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Testing on FreeBSD <freebsd-testing.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-testing>, <mailto:freebsd-testing-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-testing/> List-Post: <mailto:freebsd-testing@freebsd.org> List-Help: <mailto:freebsd-testing-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-testing>, <mailto:freebsd-testing-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 09 Apr 2021 05:44:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254903 Bug ID: 254903 Summary: ntpdate shows "no server suitable for synchronization found" Product: Base System Version: Unspecified Hardware: arm64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: tests Assignee: testing@FreeBSD.org Reporter: meetshamsher@gmail.com I have updated the ntpv4 using port https://www.freshports.org/net/ntp/ seeing below issues as "no server suitable for synchronization found" with ntpdate (-d/-u) from 0.freebsd.pool.ntp.org ntpdate -d 0.freebsd.pool.ntp.org 9 Apr 05:37:14 ntpdate[95778]: ntpdate 4.2.8p15@1.3728-o Thu Feb 18 07:28:= 03 UTC 2021 (1) transmit(173.255.215.209) transmit(85.27.231.43) transmit(72.30.35.88) transmit(200.89.75.198) transmit(173.255.215.209) transmit(85.27.231.43) transmit(72.30.35.88) transmit(200.89.75.198) transmit(173.255.215.209) transmit(85.27.231.43) transmit(72.30.35.88) transmit(200.89.75.198) transmit(173.255.215.209) transmit(85.27.231.43) transmit(72.30.35.88) transmit(200.89.75.198) 173.255.215.209: Server dropped: no data 85.27.231.43: Server dropped: no data 72.30.35.88: Server dropped: no data 200.89.75.198: Server dropped: no data 9 Apr 05:37:22 ntpdate[95778]: no server suitable for synchronization found Also tried=20 ntpdate -u 0.freebsd.pool.ntp.org 9 Apr 05:36:04 ntpdate[68844]: no server suitable for synchronization found ping 0.freebsd.pool.ntp.org PING 0.freebsd.pool.ntp.org (173.255.215.209): 56 data bytes 64 bytes from 173.255.215.209: icmp_seq=3D0 ttl=3D42 time=3D253.551 ms 64 bytes from 173.255.215.209: icmp_seq=3D1 ttl=3D42 time=3D253.642 ms 64 bytes from 173.255.215.209: icmp_seq=3D2 ttl=3D42 time=3D253.674 ms --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8E5D8DF6-A9C0-4AE3-8B8E-B4C5C2681A29>