From owner-freebsd-questions@freebsd.org Sun Jan 10 15:41:58 2021 Return-Path: Delivered-To: freebsd-questions@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 E7BC94D0924 for ; Sun, 10 Jan 2021 15:41:58 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDLgB099Vz4nsT for ; Sun, 10 Jan 2021 15:41:57 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 40E9111BCBC; Sun, 10 Jan 2021 10:41:56 -0500 (EST) (envelope-from jkeenan@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=to:from :subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=sasl; bh=A9qgzB8VY6xHYcT6vxo0ILeLF e8=; b=EgnDmWuoTxGp+D09N2KozRj/SEqqhOk1aM/STUk+XwWpMbmOqQP2uc0KI 1+LRggbVsMEF8ivt0IcWFaSrt3dchn/U+R4xaW4h+vWMSEnnfUGVpjBTDr0DmGVE Vr1PHBkNeD8OXV0POBgLIZAD3tmrjfXcfZnC8gG+Tiy4tj95NM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=to:from:subject :message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=sasl; b=lyNfsNqjJ25G7P54dI2 fdNIW7wIvDn6YzjfIvXVKqybwVz/Vy3iwfQ8I7EFr+r8ARcwH+GVjf3SRFiIaB1q VoyToKPN64wxHVIMtJZ2n+Q8fsNwZzVkE3NYvp4m+EgyHbNYjXTxexGfevLngw4/ wYHmQpA4c3Xixx7Xlew8qlHM= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 3982211BCBA; Sun, 10 Jan 2021 10:41:56 -0500 (EST) (envelope-from jkeenan@pobox.com) Received: from [192.168.1.4] (unknown [24.185.115.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 86C7E11BCB7; Sun, 10 Jan 2021 10:41:53 -0500 (EST) (envelope-from jkeenan@pobox.com) To: freebsd-questions@freebsd.org From: James E Keenan Subject: wget hung at "Initiating handshake"; version upgrade made things worse Message-ID: <17692bb2-7472-4a20-bd8f-05684f209b66@pobox.com> Date: Sun, 10 Jan 2021 10:41:51 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US X-Pobox-Relay-ID: 5D08F906-535A-11EB-A0B6-D609E328BF65-57062903!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DDLgB099Vz4nsT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=EgnDmWuo; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of jkeenan@pobox.com designates 173.228.157.53 as permitted sender) smtp.mailfrom=jkeenan@pobox.com X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[pobox.com:+]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.115.142:received]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[173.228.157.53:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; DWL_DNSWL_NONE(0.00)[pobox.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; RCVD_IN_DNSWL_LOW(-0.10)[173.228.157.53:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[173.228.157.53:from:127.0.2.255]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 15:41:59 -0000 This is a two-stage problem, i.e., a case where what I did to correct a=20 problem in Stage 1 only got me into a worse problem in Stage 2. Stage 1 On FreeBSD-11, using wget 1.19.5, I was attempting to download a tarball=20 in a way I have done dozens of times previously. (I'll show debug and=20 verbose output.) ##### $ wget -dv https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz Setting --verbose (verbose) to 1 Setting --verbose (verbose) to 1 DEBUG output created by Wget 1.19.5 on freebsd11.1. Reading HSTS entries from /home/jkeenan/.wget-hsts URI encoding =3D 'US-ASCII' converted 'https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz'=20 (US-ASCII) -> 'https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz' (UTF-= 8) Converted file name 'perl-5.32.1-RC1.tar.gz' (UTF-8) ->=20 'perl-5.32.1-RC1.tar.gz' (US-ASCII) --2021-01-10 14:56:49-- https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar= .gz Resolving www.cpan.org (www.cpan.org)... 151.101.2.132, 151.101.66.132,=20 151.101.130.132, ... Caching www.cpan.org =3D> 151.101.2.132 151.101.66.132 151.101.130.132=20 151.101.194.132 2a04:4e42::644 2a04:4e42:200::644 2a04:4e42:400::644=20 2a04:4e42:600::644 Connecting to www.cpan.org (www.cpan.org)|151.101.2.132|:443... connected= . Created socket 3. Releasing 0x0000000802371680 (new refcount 1). Initiating SSL handshake. ##### At this point wget hung indefinitely. In contrast (a) wget was able to=20 download a different tarball from an http site; (b) wget successfully=20 loaded the same (perl release candidate) tarball on Linux. Picking up=20 from `Initiating SSL handshake.`, on Linux I got output like this: ##### ... Initiating SSL handshake. Handshake successful; connected socket 3 to SSL handle 0x0000555575f73080 certificate: subject: CN=3D*.cpan.org issuer: CN=3DR3,O=3DLet's Encrypt,C=3DUS X509 certificate successfully verified and matches host www.cpan.org ---request begin--- GET /src/5.0/perl-5.32.1-RC1.tar.gz HTTP/1.1 User-Agent: Wget/1.20.3 (linux-gnu) Accept: */* Accept-Encoding: identity Host: www.cpan.org Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.1 200 OK Connection: keep-alive Content-Length: 18040350 Server: Apache/2.4.41 (Unix) Last-Modified: Sat, 09 Jan 2021 16:48:26 GMT ETag: "113461e-5b87a7110ca80" Cache-Control: public, max-age=3D172800, stale-while-revalidate=3D90,=20 stale-if-error=3D172800 Content-Type: application/x-gzip Via: 1.1 varnish, 1.1 varnish Strict-Transport-Security: max-age=3D15724800; Accept-Ranges: bytes Age: 43433 Date: Sun, 10 Jan 2021 15:08:43 GMT X-Served-By: cache-fra19165-FRA, cache-ewr18172-EWR X-Cache: HIT, HIT X-Cache-Hits: 0, 0 X-Timer: S1610291324.941590,VS0,VE1 ---response end--- 200 OK Registered socket 3 for persistent reuse. Parsed Strict-Transport-Security max-age =3D 15724800, includeSubDomains = =3D=20 false Updated HSTS host: www.cpan.org:443 (max-age: 15724800,=20 includeSubdomains: false) Length: 18040350 (17M) [application/x-gzip] Saving to: =E2=80=98perl-5.32.1-RC1.tar.gz.1=E2=80=99 perl-5.32.1-RC1.tar.gz.1 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>]=20 17.20M 5.95MB/s in 2.9s 2021-01-10 10:08:46 (5.95 MB/s) - =E2=80=98perl-5.32.1-RC1.tar.gz.1=E2=80= =99 saved=20 [18040350/18040350] Saving HSTS entries to /home/jkeenan/.wget-hsts ##### So in Stage 1, the problem was that on FreeBSD-11, wget failed to=20 complete the handshake in a usage I had accomplished many times previousl= y. Stage 2 I noted that the version of wget I was using on FreeBSD-11 was behind=20 that which I was using on Linux. So I attempted to upgrade wget.=20 Upshot: now my wget is unusable. ##### $ sudo pkg install wget Updating FreeBSD repository catalogue... Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 Fetching packagesite.txz: 100% 6 MiB 6.0MB/s 00:01 Processing entries: 0% Newer FreeBSD version for package py37-mysqlclient: To ignore this error set IGNORE_OSVERSION=3Dyes - package: 1104001 - running kernel: 1102503 Ignore the mismatch and continue? [y/N]: y Processing entries: 100% FreeBSD repository update completed. 28863 packages processed. All repositories are up to date. New version of pkg detected; it needs to be installed first. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: pkg: 1.15.4 -> 1.16.1 Number of packages to be upgraded: 1 4 MiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching pkg-1.16.1.txz: 100% 4 MiB 3.7MB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Upgrading pkg from 1.15.4 to 1.16.1... [1/1] Extracting pkg-1.16.1: 100% Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: wget: 1.19.5 -> 1.20.3_1 Number of packages to be upgraded: 1 650 KiB to be downloaded. Proceed with this action? [y/N]: y [1/1] Fetching wget-1.20.3_1.txz: 100% 650 KiB 666.1kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Upgrading wget from 1.19.5 to 1.20.3_1... [1/1] Extracting wget-1.20.3_1: 100% $ wget -dv https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz /lib/libc.so.7: version FBSD_1.6 required by /usr/local/bin/wget not foun= d ##### So my upgrade to wget-1.20 on FreeBSD-11 was not successful. I can't=20 even use it on non-https sites. I do have /lib/libc.so.7: ##### $ ls -l /lib/libc.so.7 -r--r--r-- 1 root wheel 1760360 Oct 20 2018 /lib/libc.so.7 ##### But wget is not happy with that. Does anyone have suggestions as to either (a) what was going wrong in=20 Stage 1; or (b) how I can get myself out of the rabbit hole in Stage 2? Thank you very much. Jim Keenan From owner-freebsd-questions@freebsd.org Sun Jan 10 15:54:22 2021 Return-Path: Delivered-To: freebsd-questions@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 D17CC4D0C43 for ; Sun, 10 Jan 2021 15:54:22 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDLxT6VNvz4pWl for ; Sun, 10 Jan 2021 15:54:21 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id j12so14576126ota.7 for ; Sun, 10 Jan 2021 07:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VMa6eCC0sOC7MwgP9bYXYSFY4xPKVVcJ93JPgWCKCDU=; b=h5Qbq82N8r0t/MRVeZVL7m12yzYZEhWVXVlsX3hVakh4OM2BtVcY/k5er2TBvS12L+ gJuvKkeY+nNHYRPA4W6/kTLtm3Cn8dm64Ex6FrrEoe6ie/Vz61L3hWnwoIuD32kKerGW krxXCIdqNj1zhV4xNiaGUkeUURM5wWgwdylqFcN6X/HDrGF9F29+SQJ02gwREXlaHSp/ OS4CcusYmwYbS6Ys1Vv9nRdB4N6SILqXFc8qZ6AVI2UpCsNHSW5lhVEmd94Wutjj1bIC +QzDPyZiaFdbBfigwc+8xqtCxjFR9RN+TPLa4UzL10SJjzopjeCuAh8yC2S9XQ/Uqg15 SlsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VMa6eCC0sOC7MwgP9bYXYSFY4xPKVVcJ93JPgWCKCDU=; b=XGT3tH/s8LWAAFHY8Swx1uN6fOWAXOyjv+1QfZkAncS3L7QhxRC1I8a44srVEVbP2R o+OeEKVdwm4rsk1XX7sXZZ9UdtKFUzF5mEwfr2aY5/ZoE0je30HNmzwM4rsocR4e2faM y5g5eN9nzqANTE87CVZuJehNZk5q6+jeIsbmG9y1oFhY3HEX5XaSruQGd5bCwQiA8eW8 Z6UzvMlcWkN3akzoopYOLhhyn4mlN1vwo/9rgJUeF7IpardaETdcFM1WmaIJ4tZLMyio kOQXkxf6v/so3q3XASFtpbXZ947dFuQckUfygWvK56JfIXbnZ54i/aUcOSvPjYAoGlyC dRYw== X-Gm-Message-State: AOAM532wfktznHsU9vHJppPjSoN4bFaioj1gcKFZ0OctpBonCKg5+cDu dYvLvC0RTSf/VZ/jMwcQpGlzQuBLzF6y3HZvcXsH0N0F6Ia14k4r X-Google-Smtp-Source: ABdhPJy5Ye6dqPc3di11WChLGxg2GkLCp4stD0AEyvD8jRI94xfx/qL4Ns2I/5HIZzb6gwv/kik6qexQV9TR2DLHfLY= X-Received: by 2002:a05:6830:13d2:: with SMTP id e18mr8698625otq.366.1610294060529; Sun, 10 Jan 2021 07:54:20 -0800 (PST) MIME-Version: 1.0 References: <17692bb2-7472-4a20-bd8f-05684f209b66@pobox.com> In-Reply-To: <17692bb2-7472-4a20-bd8f-05684f209b66@pobox.com> From: Vasily Postnicov Date: Sun, 10 Jan 2021 18:54:08 +0300 Message-ID: Subject: Re: wget hung at "Initiating handshake"; version upgrade made things worse To: James E Keenan Cc: freeBSD Mailing List X-Rspamd-Queue-Id: 4DDLxT6VNvz4pWl X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=h5Qbq82N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamazmazum@gmail.com designates 2607:f8b0:4864:20::32e as permitted sender) smtp.mailfrom=shamazmazum@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32e:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32e:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32e:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 15:54:22 -0000 Update to supported FreeBSD version, when update all packages =D0=B2=D1=81, 10 =D1=8F=D0=BD=D0=B2. 2021 =D0=B3., 18:42 James E Keenan : > This is a two-stage problem, i.e., a case where what I did to correct a > problem in Stage 1 only got me into a worse problem in Stage 2. > > Stage 1 > > On FreeBSD-11, using wget 1.19.5, I was attempting to download a tarball > in a way I have done dozens of times previously. (I'll show debug and > verbose output.) > > ##### > $ wget -dv https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz > Setting --verbose (verbose) to 1 > Setting --verbose (verbose) to 1 > DEBUG output created by Wget 1.19.5 on freebsd11.1. > > Reading HSTS entries from /home/jkeenan/.wget-hsts > URI encoding =3D 'US-ASCII' > converted 'https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz' > (US-ASCII) -> 'https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz' > (UTF-8) > Converted file name 'perl-5.32.1-RC1.tar.gz' (UTF-8) -> > 'perl-5.32.1-RC1.tar.gz' (US-ASCII) > --2021-01-10 14:56:49-- > https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz > Resolving www.cpan.org (www.cpan.org)... 151.101.2.132, 151.101.66.132, > 151.101.130.132, ... > Caching www.cpan.org =3D> 151.101.2.132 151.101.66.132 151.101.130.132 > 151.101.194.132 2a04:4e42::644 2a04:4e42:200::644 2a04:4e42:400::644 > 2a04:4e42:600::644 > Connecting to www.cpan.org (www.cpan.org)|151.101.2.132|:443... connected= . > Created socket 3. > Releasing 0x0000000802371680 (new refcount 1). > Initiating SSL handshake. > > ##### > > At this point wget hung indefinitely. In contrast (a) wget was able to > download a different tarball from an http site; (b) wget successfully > loaded the same (perl release candidate) tarball on Linux. Picking up > from `Initiating SSL handshake.`, on Linux I got output like this: > > ##### > ... > Initiating SSL handshake. > Handshake successful; connected socket 3 to SSL handle 0x0000555575f73080 > certificate: > subject: CN=3D*.cpan.org > issuer: CN=3DR3,O=3DLet's Encrypt,C=3DUS > X509 certificate successfully verified and matches host www.cpan.org > > ---request begin--- > GET /src/5.0/perl-5.32.1-RC1.tar.gz HTTP/1.1 > User-Agent: Wget/1.20.3 (linux-gnu) > Accept: */* > Accept-Encoding: identity > Host: www.cpan.org > Connection: Keep-Alive > > ---request end--- > HTTP request sent, awaiting response... > ---response begin--- > HTTP/1.1 200 OK > Connection: keep-alive > Content-Length: 18040350 > Server: Apache/2.4.41 (Unix) > Last-Modified: Sat, 09 Jan 2021 16:48:26 GMT > ETag: "113461e-5b87a7110ca80" > Cache-Control: public, max-age=3D172800, stale-while-revalidate=3D90, > stale-if-error=3D172800 > Content-Type: application/x-gzip > Via: 1.1 varnish, 1.1 varnish > Strict-Transport-Security: max-age=3D15724800; > Accept-Ranges: bytes > Age: 43433 > Date: Sun, 10 Jan 2021 15:08:43 GMT > X-Served-By: cache-fra19165-FRA, cache-ewr18172-EWR > X-Cache: HIT, HIT > X-Cache-Hits: 0, 0 > X-Timer: S1610291324.941590,VS0,VE1 > > ---response end--- > 200 OK > Registered socket 3 for persistent reuse. > Parsed Strict-Transport-Security max-age =3D 15724800, includeSubDomains = =3D > false > Updated HSTS host: www.cpan.org:443 (max-age: 15724800, > includeSubdomains: false) > Length: 18040350 (17M) [application/x-gzip] > Saving to: =E2=80=98perl-5.32.1-RC1.tar.gz.1=E2=80=99 > > perl-5.32.1-RC1.tar.gz.1 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>] > 17.20M 5.95MB/s in 2.9s > > 2021-01-10 10:08:46 (5.95 MB/s) - =E2=80=98perl-5.32.1-RC1.tar.gz.1=E2=80= =99 saved > [18040350/18040350] > > Saving HSTS entries to /home/jkeenan/.wget-hsts > ##### > > So in Stage 1, the problem was that on FreeBSD-11, wget failed to > complete the handshake in a usage I had accomplished many times previousl= y. > > Stage 2 > > I noted that the version of wget I was using on FreeBSD-11 was behind > that which I was using on Linux. So I attempted to upgrade wget. > Upshot: now my wget is unusable. > > ##### > $ sudo pkg install wget > Updating FreeBSD repository catalogue... > Fetching meta.txz: 100% 916 B 0.9kB/s 00:01 > Fetching packagesite.txz: 100% 6 MiB 6.0MB/s 00:01 > Processing entries: 0% > Newer FreeBSD version for package py37-mysqlclient: > To ignore this error set IGNORE_OSVERSION=3Dyes > - package: 1104001 > - running kernel: 1102503 > Ignore the mismatch and continue? [y/N]: y > Processing entries: 100% > FreeBSD repository update completed. 28863 packages processed. > All repositories are up to date. > New version of pkg detected; it needs to be installed first. > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: > pkg: 1.15.4 -> 1.16.1 > > Number of packages to be upgraded: 1 > > 4 MiB to be downloaded. > > Proceed with this action? [y/N]: y > [1/1] Fetching pkg-1.16.1.txz: 100% 4 MiB 3.7MB/s 00:01 > Checking integrity... done (0 conflicting) > [1/1] Upgrading pkg from 1.15.4 to 1.16.1... > [1/1] Extracting pkg-1.16.1: 100% > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > The following 1 package(s) will be affected (of 0 checked): > > Installed packages to be UPGRADED: > wget: 1.19.5 -> 1.20.3_1 > > Number of packages to be upgraded: 1 > > 650 KiB to be downloaded. > > Proceed with this action? [y/N]: y > [1/1] Fetching wget-1.20.3_1.txz: 100% 650 KiB 666.1kB/s 00:01 > Checking integrity... done (0 conflicting) > [1/1] Upgrading wget from 1.19.5 to 1.20.3_1... > [1/1] Extracting wget-1.20.3_1: 100% > > $ wget -dv https://www.cpan.org/src/5.0/perl-5.32.1-RC1.tar.gz > /lib/libc.so.7: version FBSD_1.6 required by /usr/local/bin/wget not foun= d > ##### > > So my upgrade to wget-1.20 on FreeBSD-11 was not successful. I can't > even use it on non-https sites. > > I do have /lib/libc.so.7: > > ##### > $ ls -l /lib/libc.so.7 > -r--r--r-- 1 root wheel 1760360 Oct 20 2018 /lib/libc.so.7 > ##### > > But wget is not happy with that. > > Does anyone have suggestions as to either (a) what was going wrong in > Stage 1; or (b) how I can get myself out of the rabbit hole in Stage 2? > > Thank you very much. > Jim Keenan > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sun Jan 10 18:36:13 2021 Return-Path: Delivered-To: freebsd-questions@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 E41634D4F24 for ; Sun, 10 Jan 2021 18:36:13 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDQXD4PRxz3G3c for ; Sun, 10 Jan 2021 18:36:12 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id eed7fa1a for ; Sun, 10 Jan 2021 19:36:09 +0100 (CET) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 97306949 for ; Sun, 10 Jan 2021 19:36:09 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 3ff7936d for ; Sun, 10 Jan 2021 19:36:09 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 5c668cc3 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Sun, 10 Jan 2021 19:36:09 +0100 (CET) Date: Sun, 10 Jan 2021 13:36:05 -0500 From: LuMiWa To: FreeBSD Questions Subject: github ports Message-ID: <20210110133605.6538dfd5@dismail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DDQXD4PRxz3G3c X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[dismail.de:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[78.46.223.134:from]; DKIM_TRACE(0.00)[dismail.de:+]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 18:36:13 -0000 Hi! I decided from many years to switch from portsnap tu github. Is it git clone https://github.com/freebsd/freebsd-ports /usr/portsokay, please? How are my ports in /usr/pors. It will replace them? And for update ports is git update https://github.com/freebsd/freebsd-ports /usr/ports Thank you. --=20 =E2=80=9CDon=E2=80=99t think money does everything or you are going to end = up doing everything for money.=E2=80=9D -Voltaire From owner-freebsd-questions@freebsd.org Sun Jan 10 18:49:57 2021 Return-Path: Delivered-To: freebsd-questions@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 CC01B4D5708 for ; Sun, 10 Jan 2021 18:49:57 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDQr45wdvz3H0t for ; Sun, 10 Jan 2021 18:49:56 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: by mail-ot1-x32f.google.com with SMTP id b24so14949709otj.0 for ; Sun, 10 Jan 2021 10:49:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UXP/kLsnnp21rzvnKRGXiYQsS9Q+ydVv72ZnZ+1reCA=; b=rMT0/h3mxRQz8Qg18UeKWcbSpAT8RnBjr5XbrQSW2l7me45+bZ7LMzgxJuN3oVtmXA VDR7Mdtaxw02pa1So2ytEUBZnnfTuD6IR2iNv70vtE3ffahZjEVKLJ3JvXVGQXRo7Xyh 9+vjhEl/h8ZNJL19/Rh74sxFIkGZEvKAGD7MmARTGhX4M2oTHT8OXR9enbd79kmvOwf7 FCA+R5fMTcM2Lif8aJGZNIxhYVjcWsYGSPmio+ietViOLZ7sdF0F4d2wuTBhHHwfNCS/ 3jUqxUoeQ7t9GBtQmqAKwDgo9b4jvBRErZk+D565fJi0/9QusJ+MhLYR6DllGlgS3l4B yPzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UXP/kLsnnp21rzvnKRGXiYQsS9Q+ydVv72ZnZ+1reCA=; b=R5V9mO70fyUKIeu/zOrZxTdBgnZ9PPWoms5iX5RQiKwzyjgXPwZzP99B38nmsmfS2Q 5Td85oGHDgU6ZweijgFz/EeET3yNnmIwyFMgyAGBtzo7hSvDF5ZQtRrJRoHoKUunUv4n cLAOxb6jJiaD+PPomh7bQHRDY3LUxz8pNVSEUx1aRbuyKFv3lNJZJffyEKg7hui4yMTB M4h1cTdGF8fNdjK3GLQUbT7o0ADW873k9gj3IdtizO7JSTbKdMAsQ+L/T6yc5tSRO4OP BZjhzIGQAQ6oftiweztyR0sZkZs+ny/Q0BdjPPtbg46SPtKgBouwBNWaOHB2OXeIxens +9VA== X-Gm-Message-State: AOAM530Ftg0QwnUKaKDFP4y0eOnAo88n0Kehvs8nGGyQ7v03wBZvkGae DjYjvBV2PMY8E6jpaZyHo99SCA2x5Ae3eDTLFykqF4P3xb9KEyWo X-Google-Smtp-Source: ABdhPJwjJ+Tt5qCi89si35g/WTi4lhmdlA8jurZ7XfsUK2NZyLgbOsPKXUkoRQKrYEZ2YU1QGLpk0MfAFVn+wc3MTbA= X-Received: by 2002:a05:6830:13d2:: with SMTP id e18mr9072879otq.366.1610304595209; Sun, 10 Jan 2021 10:49:55 -0800 (PST) MIME-Version: 1.0 References: <20210110133605.6538dfd5@dismail.de> In-Reply-To: <20210110133605.6538dfd5@dismail.de> From: Vasily Postnicov Date: Sun, 10 Jan 2021 21:49:43 +0300 Message-ID: Subject: Re: github ports To: LuMiWa Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DDQr45wdvz3H0t X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=rMT0/h3m; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamazmazum@gmail.com designates 2607:f8b0:4864:20::32f as permitted sender) smtp.mailfrom=shamazmazum@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::32f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::32f:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 18:49:57 -0000 There is no "git update" command At first delete the old port tree, then from /usr do "git clone git://github.com/freebsd/freebsd-ports ports". From /usr/ports run "make index" or "make fetchindex". To update the tree do "git pull" from /usr/ports and then again "make fetchindex" =D0=B2=D1=81, 10 =D1=8F=D0=BD=D0=B2. 2021 =D0=B3., 21:36 LuMiWa via freebsd= -questions < freebsd-questions@freebsd.org>: > Hi! > > I decided from many years to switch from portsnap tu github. > Is it git clone https://github.com/freebsd/freebsd-ports /usr/portsokay, > please? How are my ports in /usr/pors. It will replace them? And for > update ports is git update https://github.com/freebsd/freebsd-ports > /usr/ports > > Thank you. > -- > =E2=80=9CDon=E2=80=99t think money does everything or you are going to en= d up doing > everything for money.=E2=80=9D > > -Voltaire > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sun Jan 10 19:20:17 2021 Return-Path: Delivered-To: freebsd-questions@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 A16A04D6198 for ; Sun, 10 Jan 2021 19:20:17 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDRW16q1Cz3HyY for ; Sun, 10 Jan 2021 19:20:12 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:2a7:6099:a181:1597:dec2:c83f] (unknown [172.58.139.198]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id D3ACC4E655; Sun, 10 Jan 2021 13:15:01 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: github ports From: Valeri Galtsev In-Reply-To: Date: Sun, 10 Jan 2021 13:14:58 -0600 Cc: FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210110133605.6538dfd5@dismail.de> To: Vasily Postnicov X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DDRW16q1Cz3HyY X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.139.198:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.139.198:received]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; R_DKIM_NA(0.00)[]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:20:17 -0000 > On Jan 10, 2021, at 12:49 PM, Vasily Postnicov = wrote: >=20 > There is no "git update" command >=20 > At first delete the old port tree, then from /usr do > "git clone git://github.com/freebsd/freebsd-ports ports". =46rom = /usr/ports > run "make index" or "make fetchindex". >=20 > To update the tree do "git pull" from /usr/ports and then again "make > fetchindex" >=20 Just for my education: is there any advantage in using git like that = instead of portsnap? Valeri > =D0=B2=D1=81, 10 =D1=8F=D0=BD=D0=B2. 2021 =D0=B3., 21:36 LuMiWa via = freebsd-questions < > freebsd-questions@freebsd.org>: >=20 >> Hi! >>=20 >> I decided from many years to switch from portsnap tu github. >> Is it git clone https://github.com/freebsd/freebsd-ports = /usr/portsokay, >> please? How are my ports in /usr/pors. It will replace them? And for >> update ports is git update https://github.com/freebsd/freebsd-ports >> /usr/ports >>=20 >> Thank you. >> -- >> =E2=80=9CDon=E2=80=99t think money does everything or you are going = to end up doing >> everything for money.=E2=80=9D >>=20 >> -Voltaire >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >>=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Jan 10 19:24:36 2021 Return-Path: Delivered-To: freebsd-questions@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 1CE904D65A2 for ; Sun, 10 Jan 2021 19:24:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDRc25tF9z3JxB for ; Sun, 10 Jan 2021 19:24:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.3.182]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MfbwW-1kJ0v00ILw-00g2me; Sun, 10 Jan 2021 20:24:30 +0100 Date: Sun, 10 Jan 2021 20:24:29 +0100 From: Polytropon To: Valeri Galtsev Cc: Vasily Postnicov , FreeBSD Questions Subject: Re: github ports Message-Id: <20210110202429.c889dee5.freebsd@edvax.de> In-Reply-To: References: <20210110133605.6538dfd5@dismail.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:fRxvWiPBmcC0kpoxitb91F4BKGj9FLnLzmoLGod3f5WuTEHKMNr FVsNvs6EXLJyI1p1oOMGuZuMNpEQ98Fxn4zjivBeV4ind6VZDEwH+A3/Ss0MnDf6ho6AiV1 qpzbJOyp5rcTJtKt9YYrqLmmxQ4optSrqRaIFvVPqTcxSuuKjCk09kLoBSsLZFaOcnGPLid 1hIxnOcxU5BJym+BYJaag== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:adA1k+2pqPM=:zhQlnEbkhAOW3ndjli9Uxp FJ35f3rmH1Rn/B5GKfXTDvZUBF3egwe3ASVN4DgMM8+NPYD5vj3W52qoj32olzdiLlIN73wi2 sHsHFD+F9XQ8tiHVTZD9LfRHo5qEFfm7Z8QThSsKZ5zhrDIrekTCsd8fc6U9mDAnhZ9Q84upC SANqBj2QQ2aKy1H56cxJzJPppLDGuH6kWCIs8Q5S4sNQfJZzNdnOviihoHsbWxlryQ8a/lOqs NFHd5VfgPALcE9KAwCUmNCveeGWaibCj3A4ETdNesDre8jU1ezOdIilgXGfUUp/FgLZLSXxYI XbyWR4CyabAHRelsQEr4By0KMTIqJgWJHY5GfIF6IBK61TdSdj8jzdtE6aqobVUJF3syv+JrZ Qpg3tPhwwReerEEYkoc/MeINr/G+qkpp5hHokaOUwp/mw7ooQxPQfmMasBr5N X-Rspamd-Queue-Id: 4DDRc25tF9z3JxB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.57 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[212.227.126.130:from]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.130:from]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.3.182:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.97)[-0.966]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.126.130:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.130:from]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:24:36 -0000 On Sun, 10 Jan 2021 13:14:58 -0600, Valeri Galtsev wrote: > Just for my education: is there any advantage in using git > like that instead of portsnap? >From my limited understanding: With portsnap, you get a snapshot, while a git update will always provide you with the most recent tree (compare the use of "freebsd-update" regarding the /usr/src tree vs. the use of former SVN checkout). The snapshot has a certain "delay" compared to the most recent version. Except... to use git, you'll have to install it, while you can use portsnap (and freebsd-update) from base. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Jan 10 19:28:49 2021 Return-Path: Delivered-To: freebsd-questions@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 36ACB4D678F for ; Sun, 10 Jan 2021 19:28:49 +0000 (UTC) (envelope-from 4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDRhw1w0dz3KJd for ; Sun, 10 Jan 2021 19:28:48 +0000 (UTC) (envelope-from 4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1610306928; x=1612898928; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=shMd1PKsgGrvbzCM/5eXmQPcXWXoVJSrDegYA4YuLC8=; b=mFRvghv5MeFgR4Cg9gCgUkFLNeXOQeu4TGyQTf1BWi02LDw0qQGxaFRMdDRWlvLir1w6TV9faj2PJgQmuMVLY6Wdoj9ENWLEWpCITtiJkpkGDyKN8fzD6Y5HX542XphJemasZldzx5esUAkVmPOes8wjJHZYkTXMiDQNocwpGxQ= X-Thread-Info: NDI1MC45Mi4xZDRjNzAwMDNhN2FkNWUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jan 2021 14:28:46 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jan 2021 14:28:45 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kygOK-0007mX-Bw for freebsd-questions@freebsd.org; Sun, 10 Jan 2021 19:28:44 +0000 Date: Sun, 10 Jan 2021 19:28:44 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: github ports Message-Id: <20210110192844.abddfcdbe99975b4b15c56f1@sohara.org> In-Reply-To: References: <20210110133605.6538dfd5@dismail.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DDRhw1w0dz3KJd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=mFRvghv5; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c70003a7ad5e.d802245e0f2e45062f990e556c7aa1bf@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:28:49 -0000 On Sun, 10 Jan 2021 13:14:58 -0600 Valeri Galtsev wrote: > Just for my education: is there any advantage in using git like that > instead of portsnap? With git you get the full history, with portsnap you just get the current (snap) state. If you don't want the history portsnap is almost certainly faster. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Jan 10 19:34:50 2021 Return-Path: Delivered-To: freebsd-questions@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 E37D04D69DF for ; Sun, 10 Jan 2021 19:34:50 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDRqt2v5Rz3KdX for ; Sun, 10 Jan 2021 19:34:50 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:2a7:6099:a181:1597:dec2:c83f] (unknown [172.58.139.198]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id CBF684E655; Sun, 10 Jan 2021 13:34:49 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: github ports From: Valeri Galtsev In-Reply-To: <20210110192844.abddfcdbe99975b4b15c56f1@sohara.org> Date: Sun, 10 Jan 2021 13:34:48 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <31737345-7010-4FF5-9DEF-F7C5ACA87882@kicp.uchicago.edu> References: <20210110133605.6538dfd5@dismail.de> <20210110192844.abddfcdbe99975b4b15c56f1@sohara.org> To: Steve O'Hara-Smith X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DDRqt2v5Rz3KdX X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [4.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_SHORT(-0.99)[-0.994]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.139.198:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.139.198:received]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:34:50 -0000 > On Jan 10, 2021, at 1:28 PM, Steve O'Hara-Smith = wrote: >=20 > On Sun, 10 Jan 2021 13:14:58 -0600 > Valeri Galtsev wrote: >=20 >> Just for my education: is there any advantage in using git like that >> instead of portsnap? >=20 > With git you get the full history, with portsnap you just get = the > current (snap) state. If you don't want the history portsnap is almost > certainly faster. >=20 Thanks! I almost feel ashamed I didn=E2=80=99t figure out quite trivial = thing. Well, everything is trivial after someone explained it ;-) Valeri > --=20 > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Jan 10 19:43:15 2021 Return-Path: Delivered-To: freebsd-questions@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 9ADED4D6B7B for ; Sun, 10 Jan 2021 19:43:15 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDS1b2wJnz3LdK for ; Sun, 10 Jan 2021 19:43:15 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.nyi.freebsd.org (Postfix) id 641F94D6FA5; Sun, 10 Jan 2021 19:43:15 +0000 (UTC) Delivered-To: questions@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 63E414D6B7A for ; Sun, 10 Jan 2021 19:43:15 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDS1Z2SG0z3LJx for ; Sun, 10 Jan 2021 19:43:14 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1610307793; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=lAlx6L5qCHcLPcJp2BBRlCfJ3NU=; b=fVDF8ohN3oiLMP+X1rf0l6uWNG6KseoVspWIpDYIsYgVULpJGtjM4FrvGEXLSnFq X5Q7XMOgEBYoSPe/ZVYjOGGrf4n9BsUv5bRL2UxAIAlGAL6UNPhVUbQe1bWWOoq6 8/3M5qgjndR/g3yUffhMlMqn7c6wzo3+xX4XjKR43jP1S7Qr98LRCGb5rNKXj7EP 5xkyy7qZZgsB7mBLOUAJ/SmVj0UNtFSPuw+ZEhvJVDGW3I27v6gQNRh177q8Jza9 33RK4xgd248XDGalQJ+pAL47GGV4p0WFspKJSVl9gGKV68KGqejhI6HG+zrkDnot DG2OM/CeA+fX3577O+2v4Q==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.3 cv=GfZpYjfL c=1 sm=1 tr=0 cx=a_idp_x a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=EmqxpYm9HcoA:10 a=48faUk6PgeAA:10 a=s1G7sxBSAAAA:20 a=kLGEYwHHQ66YalXlhTMA:9 a=CjuIK1q_8ugA:10 a=VlZU0XKO32wA:10 a=jY6h8LbK99vnKCxNoKLi:22 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Received: from [209.6.230.48] ([209.6.230.48:53431] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 09/A0-50009-0D85BFF5; Sun, 10 Jan 2021 14:43:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <24571.22736.224828.479307@jerusalem.litteratus.org> Date: Sun, 10 Jan 2021 14:43:12 -0500 From: Robert Huff To: questions@freebsd.org Subject: Re: github ports In-Reply-To: References: <20210110133605.6538dfd5@dismail.de> X-Mailer: VM 8.2.0b under 27.1 (amd64-portbld-freebsd13.0) X-Vade-Verditct: clean X-Vade-Analysis: gggruggvucftvghtrhhoucdtuddrgedujedrvdegledguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfujgfpteevqfftnfgvrghrnhhinhhgpdftvefppdfqfgfvnecuuegrihhlohhuthemuceftddunecunecujfgurhepgggtgffkfffhvffujghfofesthejredtredtvdenucfhrhhomheptfhosggvrhhtucfjuhhffhcuoehrohgsvghrthhhuhhffhesrhgtnhdrtghomheqnecuggftrfgrthhtvghrnhepgeegteeiteegkeegvedvveehhfevtedtkeefvdelgeelfeffieeukeehfffhgeeunecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepvddtledriedrvdeftddrgeeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvddtledriedrvdeftddrgeeknedpmhgrihhlfhhrohhmpehrohgsvghrthhhuhhffhesrhgtnhdrtghomhenpdhrtghpthhtohepqhhuvghsthhiohhnshesfhhrvggvsghsugdrohhrghen X-Rspamd-Queue-Id: 4DDS1Z2SG0z3LJx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rcn.com header.s=20180516 header.b=fVDF8ohN; dmarc=pass (policy=none) header.from=rcn.com; spf=pass (mx1.freebsd.org: domain of roberthuff@rcn.com designates 69.168.97.78 as permitted sender) smtp.mailfrom=roberthuff@rcn.com X-Spamd-Result: default: False [-3.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:69.168.97.0/24]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[rcn.com:+]; DMARC_POLICY_ALLOW(-0.50)[rcn.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.985]; RCVD_IN_DNSWL_LOW(-0.10)[69.168.97.78:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[69.168.97.78:from]; INTRODUCTION(2.00)[]; ASN(0.00)[asn:36271, ipnet:69.168.97.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[rcn.com:s=20180516]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[rcn.com:dkim]; SPAMHAUS_ZRD(0.00)[69.168.97.78:from:127.0.2.255]; RWL_MAILSPIKE_POSSIBLE(0.00)[69.168.97.78:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:43:15 -0000 Hello: > I decided from many years to switch from portsnap tu github. Is it > git clone https://github.com/freebsd/freebsd-ports /usr/portsokay, > please? How are my ports in /usr/pors. It will replace them? And for > update ports is git update https://github.com/freebsd/freebsd-ports > /usr/ports Have I missed the announcement of ports being switched from svn to git? I know src and doc were; been doing that for a week. But ... ports? Respectfully, Robert Huff -- Hello ... my name is SARS-CoV-2. You are not wearing a mask? Prepare to die! From owner-freebsd-questions@freebsd.org Sun Jan 10 19:50:28 2021 Return-Path: Delivered-To: freebsd-questions@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 B9F7E4D7557 for ; Sun, 10 Jan 2021 19:50:28 +0000 (UTC) (envelope-from 4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDS9w2G38z3M30 for ; Sun, 10 Jan 2021 19:50:28 +0000 (UTC) (envelope-from 4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1610308228; x=1612900228; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=RYs4TKR1O9wlIAcvF0/LX3gctc7/+uNA9dGrz37GVhk=; b=Wv5vKfBjbDPbtFOcZVkDaiE5wvTi5AD6KaPvvCP9xis/Rxr1EGVwBZWptGoA2aHIL1Qc+l6VwiKELOfaHCGx3Qn6sgXSAGyemvrSrTjvvFnOr01NLOE4OeGfy0LVdIDWvlIQD/cybeBBzLtHR/RuvEE8Hw2U3zqnUZmOGIM28gU= X-Thread-Info: NDI1MC45Mi4xZDRjNzAwMDNhODBjODIuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jan 2021 14:50:20 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 10 Jan 2021 14:50:20 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kygjD-0007sv-71 for freebsd-questions@freebsd.org; Sun, 10 Jan 2021 19:50:19 +0000 Date: Sun, 10 Jan 2021 19:50:18 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: github ports Message-Id: <20210110195018.845b22f24152110d9f332ee7@sohara.org> In-Reply-To: <31737345-7010-4FF5-9DEF-F7C5ACA87882@kicp.uchicago.edu> References: <20210110133605.6538dfd5@dismail.de> <20210110192844.abddfcdbe99975b4b15c56f1@sohara.org> <31737345-7010-4FF5-9DEF-F7C5ACA87882@kicp.uchicago.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DDS9w2G38z3M30 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=Wv5vKfBj; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com X-Spamd-Result: default: False [-2.69 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-0.99)[-0.993]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c70003a80c82.10f1cd8d5ba2608104bf6500b4015e03@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:50:28 -0000 On Sun, 10 Jan 2021 13:34:48 -0600 Valeri Galtsev wrote: > Thanks! I almost feel ashamed I didn’t figure out quite trivial thing. > Well, everything is trivial after someone explained it ;-) "The only stupid question is the one you didn't ask". -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Sun Jan 10 19:54:56 2021 Return-Path: Delivered-To: freebsd-questions@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 38B804D78F5 for ; Sun, 10 Jan 2021 19:54:56 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDSH32Ypnz3MZ4 for ; Sun, 10 Jan 2021 19:54:55 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 471d37a7; Sun, 10 Jan 2021 20:54:52 +0100 (CET) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 2e5ed481; Sun, 10 Jan 2021 20:54:52 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id ab6e4f65; Sun, 10 Jan 2021 20:54:52 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 64fd3747 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 10 Jan 2021 20:54:51 +0100 (CET) Date: Sun, 10 Jan 2021 14:54:49 -0500 From: LuMiWa To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: github ports Message-ID: <20210110145449.194954b7@dismail.de> In-Reply-To: <20210110202429.c889dee5.freebsd@edvax.de> References: <20210110133605.6538dfd5@dismail.de> <20210110202429.c889dee5.freebsd@edvax.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DDSH32Ypnz3MZ4 X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DWL_DNSWL_MED(-2.00)[dismail.de:dkim]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; RCVD_IN_DNSWL_MED(-0.20)[78.46.223.134:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:54:56 -0000 On Sun, 10 Jan 2021 20:24:29 +0100 Polytropon wrote: > On Sun, 10 Jan 2021 13:14:58 -0600, Valeri Galtsev wrote: > > Just for my education: is there any advantage in using git > > like that instead of portsnap? >=20 > From my limited understanding: >=20 > With portsnap, you get a snapshot, while a git update will > always provide you with the most recent tree (compare the > use of "freebsd-update" regarding the /usr/src tree vs. the > use of former SVN checkout). The snapshot has a certain > "delay" compared to the most recent version. >=20 > Except... to use git, you'll have to install it, while you > can use portsnap (and freebsd-update) from base. :-) >=20 >=20 >=20 I like prtsnap and is okay for me but I did read that portsnap will be deprecated and this is the reason to switch to git. To everyone: Thank you very much for the help. --=20 =E2=80=9CDon=E2=80=99t think money does everything or you are going to end = up doing everything for money.=E2=80=9D -Voltaire From owner-freebsd-questions@freebsd.org Sun Jan 10 19:55:01 2021 Return-Path: Delivered-To: freebsd-questions@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 3EFD04D7B3C for ; Sun, 10 Jan 2021 19:55:01 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DDSH83j1hz3Mfw for ; Sun, 10 Jan 2021 19:54:59 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-173-48-64-3.bstnma.fios.verizon.net [173.48.64.3]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4DDSH73rzBzSty for ; Sun, 10 Jan 2021 14:54:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1610308499; bh=YtGXJhv5+2Y4hs9aUrg6RNyCHyz3xCkaQ0OJvY7S4H8=; h=Subject:To:References:From:Date:In-Reply-To; b=IDSLdqkMIMvFImxdl34nD8DdjHAXqoKn1Jun+9ufCaPk0k7SPLmoHhuUyIMzasHzW jmjcXiP0ir3MXSQYU+sHVPGG0G4Tst0qIbRQLi6wOx1/Esup/ea2QOl+2w23hHbdqI rD42YItgbnauWQ7YJklkrdLUurU/s5JOzlMCLB/k= Subject: Re: github ports To: freebsd-questions@freebsd.org References: <20210110133605.6538dfd5@dismail.de> <24571.22736.224828.479307@jerusalem.litteratus.org> From: Kurt Hackenberg Message-ID: Date: Sun, 10 Jan 2021 14:54:57 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <24571.22736.224828.479307@jerusalem.litteratus.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DDSH83j1hz3Mfw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=panix.com header.s=panix header.b=IDSLdqkM; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-5.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.84.1.89:from]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[166.84.1.89:from]; DKIM_TRACE(0.00)[panix.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RECEIVED_SPAMHAUS_PBL(0.00)[173.48.64.3:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[panix.com:s=panix]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[panix.com]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[panix.com:dkim]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 19:55:01 -0000 On 1/10/21 2:43 PM, Robert Huff wrote: > Have I missed the announcement of ports being switched from svn > to git? > I know src and doc were; been doing that for a week. > But ... ports? No, that hasn't happened. Ports will be moved to git at the end of this quarter. From owner-freebsd-questions@freebsd.org Sun Jan 10 20:22:44 2021 Return-Path: Delivered-To: freebsd-questions@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 B2ED54D85F4 for ; Sun, 10 Jan 2021 20:22:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DDSv80TvHz3NVS for ; Sun, 10 Jan 2021 20:22:43 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.142.134]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 3E1CE4E66B; Sun, 10 Jan 2021 14:22:43 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: github ports From: Valeri Galtsev In-Reply-To: <20210110195018.845b22f24152110d9f332ee7@sohara.org> Date: Sun, 10 Jan 2021 14:22:41 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <73338A8F-A868-470B-81C4-B491120CCA5C@kicp.uchicago.edu> References: <20210110133605.6538dfd5@dismail.de> <20210110192844.abddfcdbe99975b4b15c56f1@sohara.org> <31737345-7010-4FF5-9DEF-F7C5ACA87882@kicp.uchicago.edu> <20210110195018.845b22f24152110d9f332ee7@sohara.org> To: Steve O'Hara-Smith X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DDSv80TvHz3NVS X-Spamd-Bar: +++++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [11.38 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.142.134:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.142.134:received]; RECEIVED_SPAMHAUS_CSS(4.00)[172.58.142.134:received]; NEURAL_HAM_MEDIUM(-0.13)[-0.132]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.91)[0.912]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 20:22:44 -0000 > On Jan 10, 2021, at 1:50 PM, Steve O'Hara-Smith = wrote: >=20 > On Sun, 10 Jan 2021 13:34:48 -0600 > Valeri Galtsev wrote: >=20 >> Thanks! I almost feel ashamed I didn=E2=80=99t figure out quite = trivial thing. >> Well, everything is trivial after someone explained it ;-) >=20 > "The only stupid question is the one you didn't ask". >=20 Exactly. That was the thing my university professors kept repeating: = there are no stupid questions. Stupid is not to ask question when you = need. Thank you, and thanks to Mr. Polytropon for detailed insights. Valeri > --=20 > Steve O'Hara-Smith | Directable Mirror = Arrays > C:\>WIN | A better way to focus = the sun > The computer obeys and wins. | licences available = see > You lose and Bill collects. | = http://www.sohara.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Jan 10 20:24:36 2021 Return-Path: Delivered-To: freebsd-questions@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 B4BEA4D86C2 for ; Sun, 10 Jan 2021 20:24:36 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDSxH72mrz3NdB for ; Sun, 10 Jan 2021 20:24:35 +0000 (UTC) (envelope-from shamaz.mazum@gmail.com) Received: by mail-ot1-x331.google.com with SMTP id o11so15067695ote.4 for ; Sun, 10 Jan 2021 12:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v9stVkuw/+jstq46GJkOHRlfkNIeavVw45DF6ovG/Y8=; b=L3WOmGpgkk1elz/q38Dxyxce7r7oe2bsRH48+fdpaVWtusfcdj29ahI08jopbGqyXR Yqat7Ojnu+SBvd8xC8ozq+CMDaHudgj2WEy0qxKkKm3DrOlTOZWjo0N6vUggbT+lTpoc xH54huCiISSd4ue0u7/U+Wy42d8onDQGFsgqGkZyID+ur2pVAdA/1Ylj+30E2raiDpOo Rimz7dkaHtG7Nu2GWZpV9xLW5eoCBTm6UFfHMfj4FgeCwzzzqP69EYSxfUFMYjXB0WqR Tozke5dCmznDqn3rP4ZbBo1E7QxcCQx839jOaxwOadL4CldcEj36oB8qaLT2n94SGoIn 3HOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v9stVkuw/+jstq46GJkOHRlfkNIeavVw45DF6ovG/Y8=; b=PTQNqWJblAUGw/sKZw4zT4S34ZDT7oA86BTucC/g7x9+lZt9fxk2+GLSvJqi7wrGM+ MZyvi/9TCpzza1xK8a32/THfUic5+x0jJLMT6GKYjigXEeDxuMYU9YbZBVbcgzu7odf0 Slm9rIwp/0iUVIj6j3zoBuba5T7ZQenE++6SinQLnonhK0i4r5Bnf39gU9PouRkxZvy8 s3FtJEMxW40g4on+ip25IO5dsN2ZfT0fBHNKf0zdDTQm+PibLcTF7MTacux9XrLTwLon 1NmDEtY127S9JX5qkgda40P0beojW5PDrmpu3srpWJjaGfDP4xPpmzc2prum8v9pIej6 KZLA== X-Gm-Message-State: AOAM531Pqqr/xXxUrzntDGiPT9Jb+XC52ohZfEC40XA8MuuZw2919xn6 12o5K6dnw18vilG44v8p4ZchfDh0bxlZmryFAFXEbFydJN5Nkw== X-Google-Smtp-Source: ABdhPJx/iHOMB5WCGCAVhTpB4k+gdwg3PKTbH9wXx2ADcqPs9dJ0eTPwZLBK8q2+jhfwDEPyrESNtYYdiPnj2p9nJVk= X-Received: by 2002:a9d:37c4:: with SMTP id x62mr9260757otb.87.1610310274531; Sun, 10 Jan 2021 12:24:34 -0800 (PST) MIME-Version: 1.0 References: <20210110133605.6538dfd5@dismail.de> In-Reply-To: From: Vasily Postnicov Date: Sun, 10 Jan 2021 23:24:22 +0300 Message-ID: Subject: Re: github ports To: Valeri Galtsev Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DDSxH72mrz3NdB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=L3WOmGpg; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shamazmazum@gmail.com designates 2607:f8b0:4864:20::331 as permitted sender) smtp.mailfrom=shamazmazum@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.03)[-0.031]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::331:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::331:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::331:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 20:24:36 -0000 Just my 50 cents. If you master git, you will be able to merge your personal port tree (I have some personal ports I think nobody will be interested in) into master. Or keep master and rebase your trees on top of it. So if you are dev, git is your option. =D0=B2=D1=81, 10 =D1=8F=D0=BD=D0=B2. 2021 =D0=B3., 22:15 Valeri Galtsev : > > > > On Jan 10, 2021, at 12:49 PM, Vasily Postnicov > wrote: > > > > There is no "git update" command > > > > At first delete the old port tree, then from /usr do > > "git clone git://github.com/freebsd/freebsd-ports ports". From > /usr/ports > > run "make index" or "make fetchindex". > > > > To update the tree do "git pull" from /usr/ports and then again "make > > fetchindex" > > > > Just for my education: is there any advantage in using git like that > instead of portsnap? > > Valeri > > > =D0=B2=D1=81, 10 =D1=8F=D0=BD=D0=B2. 2021 =D0=B3., 21:36 LuMiWa via fre= ebsd-questions < > > freebsd-questions@freebsd.org>: > > > >> Hi! > >> > >> I decided from many years to switch from portsnap tu github. > >> Is it git clone https://github.com/freebsd/freebsd-ports > /usr/portsokay, > >> please? How are my ports in /usr/pors. It will replace them? And for > >> update ports is git update https://github.com/freebsd/freebsd-ports > >> /usr/ports > >> > >> Thank you. > >> -- > >> =E2=80=9CDon=E2=80=99t think money does everything or you are going to= end up doing > >> everything for money.=E2=80=9D > >> > >> -Voltaire > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to " > >> freebsd-questions-unsubscribe@freebsd.org" > >> > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > From owner-freebsd-questions@freebsd.org Sun Jan 10 22:49:36 2021 Return-Path: Delivered-To: freebsd-questions@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 A033F4DC825 for ; Sun, 10 Jan 2021 22:49:36 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDX8b6m0Wz3q8h for ; Sun, 10 Jan 2021 22:49:35 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 10AMnTRk031706 for ; Sun, 10 Jan 2021 17:49:29 -0500 (EST) (envelope-from doug@safeport.com) Date: Sun, 10 Jan 2021 17:49:29 -0500 (EST) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: xorg-7.7_3 and freebsd 12.2 Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Sun, 10 Jan 2021 17:49:29 -0500 (EST) X-Rspamd-Queue-Id: 4DDX8b6m0Wz3q8h X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.74.231.101:from:127.0.2.255]; DMARC_NA(0.00)[safeport.com]; NEURAL_SPAM_SHORT(0.99)[0.985]; NEURAL_HAM_LONG(-0.98)[-0.978]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 22:49:36 -0000 I updated a Lenovo ideapad 700 from 11.3 --> 12.2 and installed xorg, xdm, and xfce4. I did not do anything about address the evdev mode recommendation. Everything worked except double click would not paste. Sadly I did not accept this situation. I tried the evdev sysctl suggestions, starting moused forcing '-3' and a number of other options without effecting any change at all. So I thought I would try `Xorg -configure` and pick out the input section. AT this point the xserver/xdm would not start any more getting the errors: Command: startx xauth: file /root/.serverauth.5930 does not exist : Fatal server error: (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices Since there was nothing of use on this system I removed all packages and tried again with the above error persisting. I removed all packages again and also clear /usr/local, /tmp/ and removed all xorg.conf files. The error persists even with that. The current state of the system: pkg prime-origins ports-mgmt/pkg x11/xdm x11/xorg At this point I checked question and the "Xorg broken after upgrade to 12.2" thread. I did not think it relevant on the first pass as I had an almost working system. The error messages in Xorg.0.log (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 4257.423] (EE) Failed to load module "intel" (module does not exist, 0) [ 4257.425] (EE) open /dev/dri/card0: No such file or directory [ 4257.425] (EE) open /dev/dri/card0: No such file or directory [ 4257.425] (EE) Screen 0 deleted because of no matching config section. [ 4257.425] (EE) [ 4257.425] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices [ 4257.425] (EE) [ 4257.425] (EE) [ 4257.425] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 4257.425] (EE) [ 4257.426] (EE) Server terminated with error (1). Closing log file. So I tried building graphics/drm-kmod from a ports tree I portsnap'd Saturday. That would not build. When I did a `make clean` I cancelled that cleared /usr/ports and portsnap'd a new copy. graphics/drm-kmod is not in the current tree BTW, so I am going to try graphics/drm-legacy-kmod which I expect to meet the same fate. The solution here (if it works) is somewhat at odds with this statement from the handbook: "Warning: Before installing and using the Ports Collection, please be aware that it is generally ill-advised to use the Ports Collection in conjunction with the binary packages provided via pkg to install software. pkg, by default, tracks quarterly branch-releases of the ports tree and not HEAD. Dependencies could be different for a port in HEAD compared to its counterpart in a quarterly branch release and this could result in conflicts between dependencies installed by pkg and those from the Ports Collection. If the Ports Collection and pkg must be used in conjunction, then be sure that your Ports Collection and pkg are on the same branch release of the ports tree." _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Mon Jan 11 01:36:13 2021 Return-Path: Delivered-To: freebsd-questions@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 C7B7A4C8EB8 for ; Mon, 11 Jan 2021 01:36:13 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out1-46.antispamcloud.com (out1-46.antispamcloud.com [185.201.16.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDbrs14clz4YtV for ; Mon, 11 Jan 2021 01:36:12 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=out.niagahoster.com; s=spamexpert; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: reply-to:sender:bcc; bh=zuNoQNQBv5n0eumT2uMlYqYc4e9DTEymKPjTo6uusOM=; b=EUHvF J6sZ+nRek9oJYQGAQHQvyPFk0y1OkJVUxEEmSEJHgXcZIylqqVDjCDVj2xJ1+xqeScqT3NsrmB7vW 3NeErDNVofbkgTYlw9spDxLfx1KQIvDw/CAVIf2ysVqMXQBrYrRa2f+aL/WOL55B8cH3OhU+e9a9r aadSTZExwAaFtE7flk2YfTnMAR+qwCz3nbjYXVM0UnWN03TXGw3hqDXM8uFIykAtf5t8g1rOQo4EL r4DDkR3dav0aC9uTlDWRHBuXW+3B1npNUJwx95VKPoidUCEvBCqp8nykincBya5K36XVmXjMpv1RD WQ/qlX7LXFqINL+1pcekT1mXxxF0Q==; Received: from srv31.niagahoster.com ([153.92.8.106]) by mx31.antispamcloud.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1kyln4-0001kb-NZ; Mon, 11 Jan 2021 02:14:41 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sumeritec.com; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zuNoQNQBv5n0eumT2uMlYqYc4e9DTEymKPjTo6uusOM=; b=pguJ0oILMsTbgw5ITq7GDR+Gx7 JUO3Qon3K3TBSy5942Px002LcUrHA0zLpv3gM36DtYDk0WF9DsiV2M6AVBbJ2JxNhZjD4/aBZweOi ZP+DwJS13j9bS4sjz99vfCveCifVxCberUXnOOBOtrlJqWZhryrTLDe2ZrBfbGiUnlmWeA75iHH4H wN8zJUcB+z+d6AB2dBZaAxQoS0VMBgmjJxKEW/mTbjnbWfTtBnyqnSOnLhbTk+ho0cSCQCn6EuW4c 2uJwS6y+sWp98zKw9RVEx9k2iDguyjP5XqSCk+salHk1J2YY0ALnOH35cZWxEBB5XapiF94y7ub7i EwnhdoKw==; Received: from subs08-103-10-67-148.three.co.id ([103.10.67.148]:30675 helo=Ryzen1.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kylmu-0005s6-NQ; Mon, 11 Jan 2021 08:14:31 +0700 Date: Mon, 11 Jan 2021 09:14:27 +0800 From: Erich Dollansky To: Doug Denault Cc: freebsd-questions@FreeBSD.ORG Subject: Re: xorg-7.7_3 and freebsd 12.2 Message-ID: <20210111011427.1a2472e1.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OutGoing-Spam-Status: No, score=-0.5 X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-Spampanel-Domain: out.niagahoster.com X-Spampanel-Username: niaga X-Spampanel-Outgoing-Class: ham X-Spampanel-Outgoing-Evidence: Combined (0.06) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9SrCZw6cZyAzA70wZuVyMSPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5zbRkoXWh98PfCJrWhYXZE7kAwtw43G0FNz2hhSaVGUvvZh c+XMc8TYphjE691pMbIvLpoom0OjoA0piVbBGpYo/+GspMdQKmrXurHSGcWYwVprjQPFk8m4tSTf ORUp3yn8qwQcwkW9qHuCQjXdrDqXcUXzzsskg25zjRSNGC/UZrwz2MpogAD7xcut2fULfiJlN+9h yy0OFIPdlNhKGNtQuo+Sjcu/AJDJw7UEWMO6q2fPfoYZI4Eyb6mxKZxvI9O28aMBpUUIvovhmwh6 Ksc/RJhOPxKpIO/fMjXjjXAixEpCHkq3t2QWc5y7R2vgTKRl8Kg+IH2tGp5DTuaZ3Tzn9leYmH7V rWbF6P/eErO6RKO1G7ls8LzOXkY85X1GAzFhYDivIFvoWs4fOKAXjLRhqaZ9mGkYOQau9q3a4AgN SptwIRuNuppYmJAhwWaToKKnOLgkNYSIm5/jKyA2Mtlg/5NTd7Su/aLm1f/nDo77J1YFvf25LVON YbYifH5OzZAPV7vqzOxa8GxpL4pWK6wGDhN9Lay79vLKZK6pPLGn9kTEPJGKKhCa8ZOt7fuZaHRy EYUeNDqrX3Sju+Zod+Vz5i7cr1GsWgji7UzrXSrxh7FLTemXeJCYTZyzu2FS455eHSKHj9Qq6K9k xYECSgdL+BHg4xhUisKdFUavoMPjLgbMOxpSYvD5++qBhv+DByDTPpuFqUUQz+mM8JAD4ECWWYRm J9X3pT58qc/zzochLX1/5uQgvhvlzY/eVaRVCWV7uN5ZTgs5rOLqrJ2+mSpBUuvtf29iks6jjmt9 SNWrKWbjO41FyBEqIaDudcVplPHVsOG6S5eOGE6TlPPf5H43fJs+v/uda8tfQXBuBZAgDJ+oubOr o0vH1aFEYUw2fbTBEySMWQF2Dk2FUoK1HKpU3jR5NeVaJQBh0uawl0Cg8vRCcNKA7NyLldT9wgAi USgt2f4FHwUfNQ33YzsOx8ywv0f4gBVLxJCQxGJwecOYJZVeOGYnG/Abl3llRaIJyDHnY12QTTiX qlcxoKyrUehw X-Report-Abuse-To: spam@quarantine10.antispamcloud.com X-Rspamd-Queue-Id: 4DDbrs14clz4YtV X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=out.niagahoster.com header.s=spamexpert header.b=EUHvF J6; dkim=pass header.d=sumeritec.com header.s=default header.b=pguJ0oIL; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd.ed.lists@sumeritec.com has no SPF policy when checking 185.201.16.46) smtp.mailfrom=freebsd.ed.lists@sumeritec.com X-Spamd-Result: default: False [8.95 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[out.niagahoster.com:+,sumeritec.com:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8972, ipnet:185.201.16.0/24, country:DE]; RECEIVED_SPAMHAUS_PBL(0.00)[103.10.67.148:received]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[103.10.67.148:received]; R_DKIM_ALLOW(0.00)[out.niagahoster.com:s=spamexpert,sumeritec.com:s=default]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.950]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sumeritec.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.201.16.46:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.201.16.46:from]; GREYLIST(0.00)[pass,body]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 01:36:13 -0000 Hi, On Sun, 10 Jan 2021 17:49:29 -0500 (EST) Doug Denault wrote: > I updated a Lenovo ideapad 700 from 11.3 --> 12.2 and installed xorg, > xdm, and xfce4. I did not do anything about address the evdev mode did you also update the DRM drivers from ports? Is there then the X driver for Intel installed? Erich > recommendation. Everything worked except double click would not > paste. Sadly I did not accept this situation. I tried the evdev > sysctl suggestions, starting moused forcing '-3' and a number of > other options without effecting any change at all. So I thought I > would try `Xorg -configure` and pick out the input section. AT this > point the xserver/xdm would not start any more getting the errors: > > Command: startx > xauth: file /root/.serverauth.5930 does not exist > : > Fatal server error: > (EE) Cannot run in framebuffer mode. Please specify busIDs for all > framebuffer devices > > Since there was nothing of use on this system I removed all packages > and tried again with the above error persisting. I removed all > packages again and also clear /usr/local, /tmp/ and removed all > xorg.conf files. The error persists even with that. > > The current state of the system: > pkg prime-origins > ports-mgmt/pkg > x11/xdm > x11/xorg > > At this point I checked question and the "Xorg broken after upgrade > to 12.2" thread. I did not think it relevant on the first pass as I > had an almost working system. > > The error messages in Xorg.0.log > > (WW) warning, (EE) error, (NI) not implemented, (??) unknown. > [ 4257.423] (EE) Failed to load module "intel" (module does not > exist, 0) [ 4257.425] (EE) open /dev/dri/card0: No such file or > directory [ 4257.425] (EE) open /dev/dri/card0: No such file or > directory [ 4257.425] (EE) Screen 0 deleted because of no matching > config section. [ 4257.425] (EE) > [ 4257.425] (EE) Cannot run in framebuffer mode. Please specify > busIDs for all framebuffer devices > [ 4257.425] (EE) > [ 4257.425] (EE) > [ 4257.425] (EE) Please also check the log file at > "/var/log/Xorg.0.log" for additional information. > [ 4257.425] (EE) > [ 4257.426] (EE) Server terminated with error (1). Closing log file. > > So I tried building graphics/drm-kmod from a ports tree I portsnap'd > Saturday. That would not build. When I did a `make clean` I cancelled > that cleared /usr/ports and portsnap'd a new copy. graphics/drm-kmod > is not in the current tree BTW, so I am going to try > graphics/drm-legacy-kmod which I expect to meet the same fate. > > The solution here (if it works) is somewhat at odds with this > statement from the handbook: > > "Warning: > Before installing and using the Ports Collection, please be > aware that it is generally ill-advised to use the Ports > Collection in conjunction with the binary packages provided > via pkg to install software. pkg, by default, tracks > quarterly branch-releases of the ports tree and not HEAD. > Dependencies could be different for a port in HEAD compared > to its counterpart in a quarterly branch release and this > could result in conflicts between dependencies installed by > pkg and those from the Ports Collection. If the Ports > Collection and pkg must be used in conjunction, then be sure > that your Ports Collection and pkg are on the same branch > release of the ports tree." > > _____ > Douglas Denault > http://www.safeport.com > doug@safeport.com > Voice: 301-217-9220 > Fax: 301-217-9277 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Mon Jan 11 01:53:56 2021 Return-Path: Delivered-To: freebsd-questions@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 1150E4C9496 for ; Mon, 11 Jan 2021 01:53:56 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from p-impout003.msg.pkvw.co.charter.net (p-impout003aa.msg.pkvw.co.charter.net [47.43.26.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDcFH07jwz4Zdg for ; Mon, 11 Jan 2021 01:53:54 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.177.163]) by cmsmtp with ESMTP id ymP3ky2PNIuTJymP3kj6yG; Mon, 11 Jan 2021 01:53:53 +0000 X-Authority-Analysis: v=2.3 cv=S/SnP7kP c=1 sm=1 tr=0 a=xqrt2BZAGHte7XHhrxJgbA==:117 a=xqrt2BZAGHte7XHhrxJgbA==:17 a=HpEJnUlJZJkA:10 a=6I5d2MoRAAAA:8 a=s1G7sxBSAAAA:20 a=kLGEYwHHQ66YalXlhTMA:9 a=IjZwj45LgO3ly-622nXo:22 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 Date: Mon, 11 Jan 2021 01:53:45 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: github ports References: <20210110133605.6538dfd5@dismail.de> X-CMAE-Envelope: MS4wfHdJpO2w9E+sljEM8VROMlCQAE+7y7dm+I3GDN8pw1BN7gZpQVQfW5TYDdE4xLnTR2eDn3gY08otJeJS2nKgK4rAxE8XE1dThZi+Equb+yIRo5P6JXCS 4xtn2Q6Y4TiOxWUjUJ3Jn3r7fQIG62Vg5ksiV6N2eXs81o8VLSnNSXA8Y1G8Me20uysizrJLZwZ3Uw== X-Rspamd-Queue-Id: 4DDcFH07jwz4Zdg X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 47.43.26.134 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [2.96 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.72)[0.717]; RECEIVED_SPAMHAUS_PBL(0.00)[96.28.177.163:received]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.134:from]; FREEMAIL_FROM(0.00)[twc.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.134:from:127.0.2.255]; MISSING_MID(2.50)[]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[47.43.26.134:from]; NEURAL_HAM_MEDIUM(-0.96)[-0.961]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 01:53:56 -0000 from LuMiWa via freebsd-questions : > I decided from many years to switch from portsnap tu github. > Is it git clone https://github.com/freebsd/freebsd-ports /usr/portsokay, > please? How are my ports in /usr/pors. It will replace them? And for > update ports is git update https://github.com/freebsd/freebsd-ports > /usr/ports I believe svn is still the most fully up-to-date way to track ports tree. This was also true for src and doc trees prior to the recent switch to git. As I remember, FreeBSD used csup for src and doc trees, also ports tree, but switched to svn in 2012 because of a security breach with csup. I used portsnap before that for the ports tree, but then switched to svn, since I was tracking src and doc trees and was motivated by one-stop shopping. I expect to switch to git with ports tree as well around the end of March when the ports tree is expected to switch from svn to git. I suspect portsnap will no longer be workable. Tom From owner-freebsd-questions@freebsd.org Mon Jan 11 02:58:10 2021 Return-Path: Delivered-To: freebsd-questions@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 ECBEA4CA5A6 for ; Mon, 11 Jan 2021 02:58:10 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDdgP4RM3z4cjb for ; Mon, 11 Jan 2021 02:58:09 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 10B2vw9J011002 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 10 Jan 2021 20:57:59 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: github ports To: freebsd-questions@freebsd.org References: <20210110133605.6538dfd5@dismail.de> <202101110154.10B1s7mx009948@oceanview.tundraware.com> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= xsFNBFlVgYoBEADIYD9W4mbKz5cEleX923hagDWkxyJl4kRiMJnz+dNAH71MItSdErMb0cFt CPxVncb4dR4R2ec0c0MjPcgVINNtbY1DMWsF7t31TKD8NG9ZjLqF6fZDFjgkRejqHytgjmCI UejrMSCf0UJsLtg+I3N1ZVVxd7ALj2bCvC/uc5S7j+YbNnhQvSoBbdFj/xOTjyOGGpk7WfB7 e42PGKq1NSgnI7tcY6HSaSH+LHeoc0yUpBb5A1ge+RhR1N9JTniEFe0qvOBi+HgUltEoxsk4 xb6IhpkDOTsxHvEg5h0ukfl8kG9cu+LrEBqwPaC8lPw3UmoTEAU+lXHanPE12JCF/54EtVCc rb4W0vqgGmLJzn5dRU/fWkar0FKPq4eoV0XMbGZKIC6pWQnMEsxEMpNvh7oefK6Kyn+LO+59 +sNYHbv1RImDJccmfHTOA6/jHdwOcnYy37U8UF7e+mGrwNs8GsMQx2AaQbR6VErakH3GBgft bMFOGQxiaRBkbzba7BZCQ060yhiC3/Mb/xHoVi7PBEmKig1SErTMA7Fh3CYPYIRDphNs6OSr tf9O4hbzUAsjbU3rxOfiWQjP3fSOM0KUBj4wpIWZlMrjAGnMIz2wHb211wsBiLqSaGiiO1LR 7RrcvbIFZvHQHiWe2tdRyuH3N/h7A316yoLfx+yy1gyP5weWsQARAQABzSRUaW0gRGFuZWxp dWsgPHR1bmRyYUB0dW5kcmF3YXJlLmNvbT7CwXcEEwEIACEFAllVgYoCGyMFCwkIBwIGFQgJ CgsCBBYCAwECHgECF4AACgkQdoOXo5EJFKntcA/9F9ags9Ik5C49N39iRq+yqBdn/Lr75rqv +Yg7JkjeVlwHpnQt1S6orTC7EaJc+AqY3szCEmhfuT0+E96Bw2k+G/XRnaedZ9SHSdImlmq0 RmOFpWLr67ScvlA9YG1tyR+QYraEFqK5EB6qhOWRJoz1BYtAAntK9b9gUTXt/277sT7lAWaj oPi4CDd4DofHc4E9VRsniMQNMLCWqc/ygAK07cWbK2Rh90tS2C4nK6OHFkNkK94zDilfxod1 NBFTUPPYfEU2CSa3eLlpfhYY3/2X7zNvmmCt+chHUnAhQLhldQ3WlqmTKP+ZK9LX002/bY1O M8Zk76WyA/A3EfsIUbnXBQvFyjwX6W4QEytlZWtp/yRIe64JOa3dZ8rkhragb2N4VgVLBVe3 jtZgfQ72pHrfNk/T0uT+hjFqInvIYiXkhxB2GiD7Ga28VuXojTmeoaW3GKcvoVxONSju7WzD XgyxWRmNpd5uifJcC3YU3tNNAosnQ0/5FW4wkducSEVwwqnAiSMQEMDDa/e6oP6GyOzes5SV LTNCRYdHWVKbxjetYU4SKm5RdLx9XuJo0qL9vO97mCNwdNkTM7gO2ycQ49qUiGbCZJOh2gpP ZRFrpJDxbloosAfOEB6IYjhb38u6jvbScJKK3bWA+a8TK4SrQpdRd1cAnW9sA8jCTV8ejZq0 CHnOwU0EWVWBigEQAJYuihAOOOe/kAn045Ayn+3is3S+6eV4IAgL6lJhoChkgUJJuFoRX9BY rd35z29+q2/UCoProzd4Mk66wXeWv6n4s5R79OUzjgMLCTVlVaMy4gjPL9NRDwMt7KYRF56g mnoKZwfPDi/oJ5toPPboW94FrMwonqbdqYM2Pyi/HPMe4e396WQ4TaA1CdhyzKHoFSpkGcjX zIQ5yQ5aaGS7wonRu/pg15dbu+8QOgxRNFa0bO+ntz/30u+VmxFqFVbExjuy3Or8fSBhJgx4 cfyrrunKLclpZ/52VeK3l53yWYpR8RaTZfzpu8Ih+ijAY4XLO5F8P1T6sEviMaTY2F0sbFRx ZJXsgFpiKeWPHUn7/LX7qcoFJYoFqG6b3n5km+qy39x6lMgJDuxKpeN6lYj//LB6xVzn0JI+ 4ZHPrEkFqxu8VkL7deCPTI67ZJik18jXjTH9sha1YBvgvxIPFMA7ZwXX2AwNu7PzdcCpWarS usOAHbjQBUsQ+ZPpI1oeFnsCPZ+8/mMcTjVRZyJxOPs3KnXZv2cXNuaa7lwkWS366gHzQI7O l6WdC8TyNjiOzR654cL8BgYQ/xNSW1vTXqPWSRU8/b/5IueY2tQJh0CKIvfoP0rk8976wa1R 8SRi08mwHX7+F5oSeXLRNHicQGpS1f0DywdRcQ0MFHyq/CV4dTltABEBAAHCwV8EGAEIAAkF AllVgYoCGwwACgkQdoOXo5EJFKkDNw//c8nailIVOV72l7Lze+2AuK9MYUCFb1i4qI1WTnG0 OHQlCAltPhdwZPAozJw/eNqIcuWQh8rZspve9ipj589wLSsVyaFRsuYXTiYZ9RlRsnJYa36h 2JML3ZGrRsSxaUEAggbiOKbwmw27JuOIPmC3Gln4tJuZ+nw6cfCgMI45bIzinVanxHwPLeLp BZKpaEYzAwtBykUfAXn3jDwrI95UlMJvhHDFuRgvb6uSyJIqmp5aR/BjnlSdEwICyWpRAVSt yqZeBMeHbCr1B97PIRzk/q0eHm9T+AoiZWwz1iVGGgkYdAaCfs2PBlNHmRm93cfgoEcaGvNb RbTXOe28niMJeYMQsnjOTy5AQIrhVKeP5E+qVs/oPK/inmLiTbjZcnrO2wR+uxpPGgmR6M/3 p8qyRdaOvT87HZXO+Wr+r9A4UnwhCPsfELwPlEo+TJQ/oE71Mlkx/ddQCWELcHjXrQF9YbzA Ml7g0zTkgHysh4DNkV5iYteOcmCwsWdOwn0H0yZfz6weyr8nEdPngyOjFNKMIpcTbeg8866c GxXAJj46dub4VdVwfvMRHfmmRJkjdId7YHWMgz2Kf7S7KPCROLis7WjlOdSS0q2m/7qy9WL/ ZW50YLS8ZZLMrnari5JxCyJX+8n6ZASo2AA93iTbKmYegK2LDwW1QLU1iAF3GyGOnSE= Message-ID: Date: Sun, 10 Jan 2021 20:57:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <202101110154.10B1s7mx009948@oceanview.tundraware.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Sun, 10 Jan 2021 20:57:59 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 10B2vw9J011002 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.761, required 6, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.17, NICE_REPLY_A -0.01, TW_SV 0.08) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DDdgP4RM3z4cjb X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-1.53 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.60.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.55.60.57:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.37)[0.371]; NEURAL_HAM_LONG(-0.60)[-0.596]; DMARC_NA(0.00)[tundraware.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 02:58:11 -0000 On 1/10/21 7:53 PM, Thomas Mueller wrote: > I believe svn is still the most fully up-to-date way to track ports tree. I've just switched a couple of systems to the git repo to see how often updates flow. I wonder how far apart they really are ... From owner-freebsd-questions@freebsd.org Mon Jan 11 03:16:45 2021 Return-Path: Delivered-To: freebsd-questions@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 3941F4CA8DA for ; Mon, 11 Jan 2021 03:16:45 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDf4r3M5Gz4dx2 for ; Mon, 11 Jan 2021 03:16:44 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 10B3GVg6018024 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 10 Jan 2021 21:16:31 -0600 (CST) (envelope-from tundra@tundraware.com) To: FreeBSD Mailing List From: Tim Daneliuk Subject: Why services.db? Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= xsFNBFlVgYoBEADIYD9W4mbKz5cEleX923hagDWkxyJl4kRiMJnz+dNAH71MItSdErMb0cFt CPxVncb4dR4R2ec0c0MjPcgVINNtbY1DMWsF7t31TKD8NG9ZjLqF6fZDFjgkRejqHytgjmCI UejrMSCf0UJsLtg+I3N1ZVVxd7ALj2bCvC/uc5S7j+YbNnhQvSoBbdFj/xOTjyOGGpk7WfB7 e42PGKq1NSgnI7tcY6HSaSH+LHeoc0yUpBb5A1ge+RhR1N9JTniEFe0qvOBi+HgUltEoxsk4 xb6IhpkDOTsxHvEg5h0ukfl8kG9cu+LrEBqwPaC8lPw3UmoTEAU+lXHanPE12JCF/54EtVCc rb4W0vqgGmLJzn5dRU/fWkar0FKPq4eoV0XMbGZKIC6pWQnMEsxEMpNvh7oefK6Kyn+LO+59 +sNYHbv1RImDJccmfHTOA6/jHdwOcnYy37U8UF7e+mGrwNs8GsMQx2AaQbR6VErakH3GBgft bMFOGQxiaRBkbzba7BZCQ060yhiC3/Mb/xHoVi7PBEmKig1SErTMA7Fh3CYPYIRDphNs6OSr tf9O4hbzUAsjbU3rxOfiWQjP3fSOM0KUBj4wpIWZlMrjAGnMIz2wHb211wsBiLqSaGiiO1LR 7RrcvbIFZvHQHiWe2tdRyuH3N/h7A316yoLfx+yy1gyP5weWsQARAQABzSRUaW0gRGFuZWxp dWsgPHR1bmRyYUB0dW5kcmF3YXJlLmNvbT7CwXcEEwEIACEFAllVgYoCGyMFCwkIBwIGFQgJ CgsCBBYCAwECHgECF4AACgkQdoOXo5EJFKntcA/9F9ags9Ik5C49N39iRq+yqBdn/Lr75rqv +Yg7JkjeVlwHpnQt1S6orTC7EaJc+AqY3szCEmhfuT0+E96Bw2k+G/XRnaedZ9SHSdImlmq0 RmOFpWLr67ScvlA9YG1tyR+QYraEFqK5EB6qhOWRJoz1BYtAAntK9b9gUTXt/277sT7lAWaj oPi4CDd4DofHc4E9VRsniMQNMLCWqc/ygAK07cWbK2Rh90tS2C4nK6OHFkNkK94zDilfxod1 NBFTUPPYfEU2CSa3eLlpfhYY3/2X7zNvmmCt+chHUnAhQLhldQ3WlqmTKP+ZK9LX002/bY1O M8Zk76WyA/A3EfsIUbnXBQvFyjwX6W4QEytlZWtp/yRIe64JOa3dZ8rkhragb2N4VgVLBVe3 jtZgfQ72pHrfNk/T0uT+hjFqInvIYiXkhxB2GiD7Ga28VuXojTmeoaW3GKcvoVxONSju7WzD XgyxWRmNpd5uifJcC3YU3tNNAosnQ0/5FW4wkducSEVwwqnAiSMQEMDDa/e6oP6GyOzes5SV LTNCRYdHWVKbxjetYU4SKm5RdLx9XuJo0qL9vO97mCNwdNkTM7gO2ycQ49qUiGbCZJOh2gpP ZRFrpJDxbloosAfOEB6IYjhb38u6jvbScJKK3bWA+a8TK4SrQpdRd1cAnW9sA8jCTV8ejZq0 CHnOwU0EWVWBigEQAJYuihAOOOe/kAn045Ayn+3is3S+6eV4IAgL6lJhoChkgUJJuFoRX9BY rd35z29+q2/UCoProzd4Mk66wXeWv6n4s5R79OUzjgMLCTVlVaMy4gjPL9NRDwMt7KYRF56g mnoKZwfPDi/oJ5toPPboW94FrMwonqbdqYM2Pyi/HPMe4e396WQ4TaA1CdhyzKHoFSpkGcjX zIQ5yQ5aaGS7wonRu/pg15dbu+8QOgxRNFa0bO+ntz/30u+VmxFqFVbExjuy3Or8fSBhJgx4 cfyrrunKLclpZ/52VeK3l53yWYpR8RaTZfzpu8Ih+ijAY4XLO5F8P1T6sEviMaTY2F0sbFRx ZJXsgFpiKeWPHUn7/LX7qcoFJYoFqG6b3n5km+qy39x6lMgJDuxKpeN6lYj//LB6xVzn0JI+ 4ZHPrEkFqxu8VkL7deCPTI67ZJik18jXjTH9sha1YBvgvxIPFMA7ZwXX2AwNu7PzdcCpWarS usOAHbjQBUsQ+ZPpI1oeFnsCPZ+8/mMcTjVRZyJxOPs3KnXZv2cXNuaa7lwkWS366gHzQI7O l6WdC8TyNjiOzR654cL8BgYQ/xNSW1vTXqPWSRU8/b/5IueY2tQJh0CKIvfoP0rk8976wa1R 8SRi08mwHX7+F5oSeXLRNHicQGpS1f0DywdRcQ0MFHyq/CV4dTltABEBAAHCwV8EGAEIAAkF AllVgYoCGwwACgkQdoOXo5EJFKkDNw//c8nailIVOV72l7Lze+2AuK9MYUCFb1i4qI1WTnG0 OHQlCAltPhdwZPAozJw/eNqIcuWQh8rZspve9ipj589wLSsVyaFRsuYXTiYZ9RlRsnJYa36h 2JML3ZGrRsSxaUEAggbiOKbwmw27JuOIPmC3Gln4tJuZ+nw6cfCgMI45bIzinVanxHwPLeLp BZKpaEYzAwtBykUfAXn3jDwrI95UlMJvhHDFuRgvb6uSyJIqmp5aR/BjnlSdEwICyWpRAVSt yqZeBMeHbCr1B97PIRzk/q0eHm9T+AoiZWwz1iVGGgkYdAaCfs2PBlNHmRm93cfgoEcaGvNb RbTXOe28niMJeYMQsnjOTy5AQIrhVKeP5E+qVs/oPK/inmLiTbjZcnrO2wR+uxpPGgmR6M/3 p8qyRdaOvT87HZXO+Wr+r9A4UnwhCPsfELwPlEo+TJQ/oE71Mlkx/ddQCWELcHjXrQF9YbzA Ml7g0zTkgHysh4DNkV5iYteOcmCwsWdOwn0H0yZfz6weyr8nEdPngyOjFNKMIpcTbeg8866c GxXAJj46dub4VdVwfvMRHfmmRJkjdId7YHWMgz2Kf7S7KPCROLis7WjlOdSS0q2m/7qy9WL/ ZW50YLS8ZZLMrnari5JxCyJX+8n6ZASo2AA93iTbKmYegK2LDwW1QLU1iAF3GyGOnSE= Message-ID: <244e6157-2bc8-9587-4b4f-e67b8f5af3c8@tundraware.com> Date: Sun, 10 Jan 2021 21:16:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (oceanview.tundraware.com [45.55.60.57]); Sun, 10 Jan 2021 21:16:31 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 10B3GVg6018024 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-0.814, required 6, autolearn=not spam, ALL_TRUSTED -1.00, AWL 0.19) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DDf4r3M5Gz4dx2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-0.33 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_SPAM_SHORT(0.95)[0.950]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.60.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.55.60.57:from:127.0.2.255]; DMARC_NA(0.00)[tundraware.com]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.982]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 03:16:45 -0000 Back in the olden daze, services where defined in /etc/services. I came upon a rather large /var/db/services.db that seems somehow obliquely related to this but I am unclear on a few things: - Why does this file exist? What problem is it solving? - Can it be safely removed? - Does it need periodic regeneration, and if so, how? (There is some hint there with services_mkdb, but I - again - am unclear on the overall concept.) TIA... From owner-freebsd-questions@freebsd.org Mon Jan 11 06:46:24 2021 Return-Path: Delivered-To: freebsd-questions@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 08CF74CE16D for ; Mon, 11 Jan 2021 06:46:24 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDkkl2QHKz4nVQ for ; Mon, 11 Jan 2021 06:46:22 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x331.google.com with SMTP id a6so12863214wmc.2 for ; Sun, 10 Jan 2021 22:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=+8MJ1Q9AIthKJid0d3uCN6OgIgElfdPGF/b7aCB00t4=; b=ftC1ZP9PGWO7DP0SpxG34NtwEro8pgThTmZfRmeiEliVRQXKV2n4h0gSPuZgtOL/br 6Y/S7ZK+/gLQiqxKpl1diB3sCyna0Q5DrLSy70twV8lL3Bn1cUyDKfHFHAXcusVK3lRL JCJfrwM4svDzv2jLcvSbQD7fXH99zVTsqGQuQRstqWaTd1oBs96lt4h0duVf520qh0OH SmpBbAWsQlqwgr39wLxLrH/D/l4RBZY4heV6uTh15c76lg731Z+CqKmubIBEL6uBMPEL NXKS6FA/GsODuUJqvCm6/0JsVqM5E5LrMk07oQlAnWbftKHcYLG5BU42/IpMAAk/Euus F9cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=+8MJ1Q9AIthKJid0d3uCN6OgIgElfdPGF/b7aCB00t4=; b=DsFK+T947paeOwHsEiPsJPIpb7738oxOtgaJY8Fc2Bd5JowiF2cOpqoWpoiQ8gWu8Z t1KAhbI26OFgvjhp18NSMUDsZ8J7U+hh7DiLSqIfXLmvpHCdIFN6Kz2oJ00Or1FuH0bB 1bBQoeNN6txYQWcMadK+ptv7SR9zKr1MhMg7EDAY819Yk35aoZuMjrVjavJ+sUUDCE+J HlwIoEjRvdn/bIiwPHm0HkoKEzzhni5pVR5GZ2gTn1GZGBo4VVngGb511YNFdE8je54O 80w8zuzBuOhGUxPsdMcCG2QxGjuVAxpVzRicq0j0341aQxdAGdP3+aH1sjWba/Y0MowC wGnQ== X-Gm-Message-State: AOAM532C+PX3hr43l8JyvTtruzpmYL3a2hbWp4+0AsTr0PGSbN4+MKkh +nCxU1oHs7RBNe5MzSEiVEWBsnCGowhg1g== X-Google-Smtp-Source: ABdhPJz4irX/BQLaETs84aCVmpKAxj9FcvKAm5iyEV6e/83DuZ6i5eH+aaJKLjv++Yep0c7BPqe2UQ== X-Received: by 2002:a1c:6383:: with SMTP id x125mr13247148wmb.46.1610347581294; Sun, 10 Jan 2021 22:46:21 -0800 (PST) Received: from [192.168.1.11] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id t188sm20276855wmf.9.2021.01.10.22.46.19 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Jan 2021 22:46:20 -0800 (PST) Subject: FreeBSD ports: looking ahead: Portsnap, after Git becomes primary To: freebsd-questions@freebsd.org References: <20210110133605.6538dfd5@dismail.de> <5ffbafbc.1c69fb81.34c15.3b26SMTPIN_ADDED_MISSING@mx.google.com> From: Graham Perrin Message-ID: <5777f16a-60e1-0982-4d4c-58e2bc2db1fa@gmail.com> Date: Mon, 11 Jan 2021 06:46:15 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <5ffbafbc.1c69fb81.34c15.3b26SMTPIN_ADDED_MISSING@mx.google.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4DDkkl2QHKz4nVQ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ftC1ZP9P; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::331 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-2.25 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::331:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::331:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.75)[0.749]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::331:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 06:46:24 -0000 On 11/01/2021 01:53, Thomas Mueller wrote: > … I expect to switch to git with ports tree as well around the end of March when the ports tree is expected to switch from svn to git. > > I suspect portsnap will no longer be workable. … I imagine that after Git becomes primary, Portsnap will remain usable for a respectable period. (Compare with , which discusses continuing use of Subversion for src.) Expect a 'ports Specific' section at in due course :-) From owner-freebsd-questions@freebsd.org Mon Jan 11 07:02:17 2021 Return-Path: Delivered-To: freebsd-questions@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 79B7D4CDF2F for ; Mon, 11 Jan 2021 07:02:17 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDl545qHFz4nqN for ; Mon, 11 Jan 2021 07:02:16 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-qk1-x735.google.com with SMTP id 22so13812722qkf.9 for ; Sun, 10 Jan 2021 23:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qrIo9SFLORsN7omPnECYZYCShLtWhEIpE3gR6ho+vSI=; b=S72e9DsuOW2DZ2PfO4Qfv1MboW+j6Tj+wv0IFnCdOnuItgkur2TVUlOAd4sX3EMQae TdTK8d5M3lYFi/F3ETsBBg48xA2jZVZVAJLshq0mHChUy7TXJF3AeBwYwYDTiemZVrUM j4WTzsUPvp9loLiGbdl+Y5W52WV9GOaFxr/LzfvCx8RCoHmbTxQZKIMqGU8SzuROpCft xJnRkSRxdXIafyj0imeWac3rvCCfrSN9qs3L3ZZHrrRahm96inzfnjiH9GvQ7fcwK9Ag FW9DyVrPEE5PG5eA5XUhP78DV525SjUPVlOu/tzHPZkGZKayuOjFTrdaag8WidGV8WQW jfXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qrIo9SFLORsN7omPnECYZYCShLtWhEIpE3gR6ho+vSI=; b=uO/6FIR35iTpqSrIYDNZsUj2g+kCLjIfqvyxJgV/VZvxOUZ4+KpEEGv0kc7aGYR73e E1rRSvBHhxhwMcDN6kLqX1EPxPjiD2VrBXuxGYbvmuwse4JpBzrsgO4zUhKktJyqSl/J o+/nLjhyyQCKUvCLkzkX0fquuFCp52EMpxKtX5L5UHJXoeK54t1uw9kQuaUgg+wrEBhz gcwpLhSO7KNg4sJgRcO2L754v6XstPFahVtXhP/lu03QIHv/BNChvB4c0dcQlXlHI52T 1Jle74ikBCIN7d8eWr5l8W23Rthj2mvGnBB3ouIJSNVr2YMWKSPOwBrDwEHRtfzmzaRo DeVg== X-Gm-Message-State: AOAM533M0eLY7/KyAFTQfzWOzHyh74CcIFjksXW0H8gtlXCOqS7GiQIN YGJ75J3N1afS7p0HNF0XxbGJ+G4+pNMAV9bX+tA= X-Google-Smtp-Source: ABdhPJx/hGLVedh/jqdp5GahkwGPpZ6X1A/MwruTSGVD3aK6SIW1L8cDhbwnuH2RH6Bk3t09FoATCra1FR9U7QFu3Zg= X-Received: by 2002:a05:620a:16a4:: with SMTP id s4mr14944838qkj.131.1610348535801; Sun, 10 Jan 2021 23:02:15 -0800 (PST) MIME-Version: 1.0 References: <20210110133605.6538dfd5@dismail.de> In-Reply-To: From: Odhiambo Washington Date: Mon, 11 Jan 2021 10:01:37 +0300 Message-ID: Subject: Re: github ports To: Vasily Postnicov Cc: LuMiWa , FreeBSD Questions X-Rspamd-Queue-Id: 4DDl545qHFz4nqN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=S72e9Dsu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::735 as permitted sender) smtp.mailfrom=odhiambo@gmail.com X-Spamd-Result: default: False [-2.52 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::735:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.48)[0.477]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::735:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::735:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 07:02:17 -0000 On Sun, 10 Jan 2021 at 21:50, Vasily Postnicov wrote: > There is no "git update" command > > At first delete the old port tree, then from /usr do > "git clone git://github.com/freebsd/freebsd-ports ports". From /usr/ports > run "make index" or "make fetchindex". > > To update the tree do "git pull" from /usr/ports and then again "make > fetchindex" git clone https://github.com/freebsd/freebsd-ports ports # use HTTPS instead of GIT as you're likely to get permission errors. I don't know why, but https worked for me. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) From owner-freebsd-questions@freebsd.org Mon Jan 11 07:22:15 2021 Return-Path: Delivered-To: freebsd-questions@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 881D84CF131 for ; Mon, 11 Jan 2021 07:22:15 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDlX64SWJz4pwN for ; Mon, 11 Jan 2021 07:22:14 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) by bucksport.safeport.com (8.14.5/8.14.5) with ESMTP id 10B7MDTL056455; Mon, 11 Jan 2021 02:22:13 -0500 (EST) (envelope-from doug@safeport.com) Date: Mon, 11 Jan 2021 02:22:13 -0500 (EST) From: Doug Denault To: Erich Dollansky cc: freebsd-questions@FreeBSD.ORG Subject: Re: xorg-7.7_3 and freebsd 12.2 In-Reply-To: <20210111011427.1a2472e1.freebsd.ed.lists@sumeritec.com> Message-ID: References: <20210111011427.1a2472e1.freebsd.ed.lists@sumeritec.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bucksport.safeport.com [198.74.231.101]); Mon, 11 Jan 2021 02:22:13 -0500 (EST) X-Rspamd-Queue-Id: 4DDlX64SWJz4pwN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of doug@safeport.com designates 198.74.231.101 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.74.231.101]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; SPAMHAUS_ZRD(0.00)[198.74.231.101:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:198.74.228.0/22, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; ONCE_RECEIVED(0.10)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 07:22:15 -0000 First I'm gonna continue with the top post. So first thank you for your ideas, I did RTFM before answering below. On Mon, 11 Jan 2021, Erich Dollansky wrote: > Hi, > > On Sun, 10 Jan 2021 17:49:29 -0500 (EST) > Doug Denault wrote: > >> I updated a Lenovo ideapad 700 from 11.3 --> 12.2 and installed xorg, >> xdm, and xfce4. I did not do anything about address the evdev mode > > did you also update the DRM drivers from ports? No xorg-7.7_3=X.Org complete distribution metaport. If this were a problem the one I installed around 10AM Saturday had the drivers and the one installed later Saturday did not. Remember I had a working system except for paste by mouse. In the current setup libdrm-2.4.103,1 is installed. > Is there then the X driver for Intel installed? The easy answer would be as above and the fact that I had a working system xserver-wise until running configure (if I had not done that I do not know if I would believe me either BTW). But that said, it is the first error. So how would I test this? I do have: xorg-drivers-7.7_6, and xf86-video-vesa-2.5.0 installed via the xorg package. installed is: root@mneme:/usr/local # find . -type f -name "*intel*" ./include/libdrm/intel_aub.h ./include/libdrm/intel_bufmgr.h ./include/libdrm/intel_debug.h ./include/vulkan/vulkan_intel.h ./libdata/pkgconfig/libdrm_intel.pc ./share/vulkan/icd.d/intel_icd.x86_64.json ./lib/libdrm_intel.so.1.0.0 ./lib/libvulkan_intel.so The ports tree has the following: xf86-video-intel-2.99.917.914,1 x11-drivers/xf86-video-intel29 x11-drivers/xf86-video-sis-intel None of the above are installed. Forcing the vesa driver would probably also work but clearly I do not know how to break the xorg.conf output apart. If x.org addresses any of this I can't find the URL. Predictably google gets one Ubuntu answers. > Erich > >> recommendation. Everything worked except double click would not >> paste. Sadly I did not accept this situation. I tried the evdev >> sysctl suggestions, starting moused forcing '-3' and a number of >> other options without effecting any change at all. So I thought I >> would try `Xorg -configure` and pick out the input section. AT this >> point the xserver/xdm would not start any more getting the errors: >> >> Command: startx >> xauth: file /root/.serverauth.5930 does not exist >> : >> Fatal server error: >> (EE) Cannot run in framebuffer mode. Please specify busIDs for all >> framebuffer devices >> >> Since there was nothing of use on this system I removed all packages >> and tried again with the above error persisting. I removed all >> packages again and also clear /usr/local, /tmp/ and removed all >> xorg.conf files. The error persists even with that. >> >> The current state of the system: >> pkg prime-origins >> ports-mgmt/pkg >> x11/xdm >> x11/xorg >> >> At this point I checked question and the "Xorg broken after upgrade >> to 12.2" thread. I did not think it relevant on the first pass as I >> had an almost working system. >> >> The error messages in Xorg.0.log >> >> (WW) warning, (EE) error, (NI) not implemented, (??) unknown. >> [ 4257.423] (EE) Failed to load module "intel" (module does not >> exist, 0) [ 4257.425] (EE) open /dev/dri/card0: No such file or >> directory [ 4257.425] (EE) open /dev/dri/card0: No such file or >> directory [ 4257.425] (EE) Screen 0 deleted because of no matching >> config section. [ 4257.425] (EE) >> [ 4257.425] (EE) Cannot run in framebuffer mode. Please specify >> busIDs for all framebuffer devices >> [ 4257.425] (EE) >> [ 4257.425] (EE) >> [ 4257.425] (EE) Please also check the log file at >> "/var/log/Xorg.0.log" for additional information. >> [ 4257.425] (EE) >> [ 4257.426] (EE) Server terminated with error (1). Closing log file. >> >> So I tried building graphics/drm-kmod from a ports tree I portsnap'd >> Saturday. That would not build. When I did a `make clean` I cancelled >> that cleared /usr/ports and portsnap'd a new copy. graphics/drm-kmod >> is not in the current tree BTW, so I am going to try >> graphics/drm-legacy-kmod which I expect to meet the same fate. >> >> The solution here (if it works) is somewhat at odds with this >> statement from the handbook: >> >> "Warning: >> Before installing and using the Ports Collection, please be >> aware that it is generally ill-advised to use the Ports >> Collection in conjunction with the binary packages provided >> via pkg to install software. pkg, by default, tracks >> quarterly branch-releases of the ports tree and not HEAD. >> Dependencies could be different for a port in HEAD compared >> to its counterpart in a quarterly branch release and this >> could result in conflicts between dependencies installed by >> pkg and those from the Ports Collection. If the Ports >> Collection and pkg must be used in conjunction, then be sure >> that your Ports Collection and pkg are on the same branch >> release of the ports tree." >> > _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Mon Jan 11 08:42:44 2021 Return-Path: Delivered-To: freebsd-questions@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 1741F4D0BDE for ; Mon, 11 Jan 2021 08:42:44 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDnJz6swjz4spX; Mon, 11 Jan 2021 08:42:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id C2BA92FE83; Mon, 11 Jan 2021 08:42:43 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:7d89:178a:4e3d:190f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6DF3E1C58F; Mon, 11 Jan 2021 08:42:41 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6DF3E1C58F; dkim=none; dkim-atps=neutral Subject: Re: github ports To: Valeri Galtsev , Vasily Postnicov Cc: FreeBSD Questions References: <20210110133605.6538dfd5@dismail.de> From: Matthew Seaman Message-ID: <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> Date: Mon, 11 Jan 2021 08:42:37 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="z83F812aj5VET1OWc906cMYVK9f9rVgAG" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 08:42:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --z83F812aj5VET1OWc906cMYVK9f9rVgAG Content-Type: multipart/mixed; boundary="2xhvMEoMjV5bi4NZB6AkYlIAQ0vjDVEQc"; protected-headers="v1" From: Matthew Seaman To: Valeri Galtsev , Vasily Postnicov Cc: FreeBSD Questions Message-ID: <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> Subject: Re: github ports References: <20210110133605.6538dfd5@dismail.de> In-Reply-To: --2xhvMEoMjV5bi4NZB6AkYlIAQ0vjDVEQc Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 10/01/2021 19:14, Valeri Galtsev wrote: > Just for my education: is there any advantage in using git like that in= stead of portsnap? Just that the git method will be supported in the future, whereas=20 portsnap is slated for removal, associated with the upcoming switch of=20 ports from SVN to git due at the end of Q1 this year. Cheers, Matthew --2xhvMEoMjV5bi4NZB6AkYlIAQ0vjDVEQc-- --z83F812aj5VET1OWc906cMYVK9f9rVgAG Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl/8D30FAwAAAAAACgkQAFE/EOCp5Ofw Dg/9EGqMHAM6E16HdZ8FS6LJA4TFFnHLmMwwNVz1qzQ4LdbP7P6Iap5P6TOeR5iYVQa70kMEBVr7 Dy8ypvl+TOzbGyQHqPA0TFq42OzJBioTJHVAnbWHK+vebpk9mLb92+5tnylZumgfEjGeXzqnBIWh c0NhT6wJHgkKTjUoJ445/34gA+hErq92XqAHlNSzkfCIioMh/JFOWFCRPYxo4RBtHBU5EO3zrdyI k9ZGwXku45y1rateehmgWZXO9M6O7RXHyK7h1nuhgI5vB/7Q46ADFXGdX6uZ63GJPWqJFC3NQXwY qTDQqqsjlo7H2IKbD2pwIU5myz1AbOdohVWq1/4osBhgqQMkRRC3H2VtMIGOLzGSh4h8ehbq3Okb syJegSprgz47bHNS3Co5u1Z9hE5yZYUobX+zHHHj1LfMhGinhDSeBdneBalZQbXidNv9UjvFXJau vMx+XnaPAqf9Y2saDnGLllaDFRCFsrgiXONZnO811/hOrqEAXTzmGtMzdvoFYdaMBUqC/KCNG08Q lTF7c0alIU8xibPQlleMMWHSBEGcXdVBr7Un14sQ1JOwMzGrjlut5aALRQnqdddFcOLiuLga+jyE LLks1+wCAILOEONTAXHBPJO4i2+vYLH0RCQrO9FOFDkIMUT2FA3fCWUK33GcArd26eZ3ZudpDang 4Nk= =XXlA -----END PGP SIGNATURE----- --z83F812aj5VET1OWc906cMYVK9f9rVgAG-- From owner-freebsd-questions@freebsd.org Mon Jan 11 08:57:48 2021 Return-Path: Delivered-To: freebsd-questions@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 C80C44D1799 for ; Mon, 11 Jan 2021 08:57:48 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from tgv.rail.eu.org (mail.rail.eu.org [IPv6:2001:bc8:30d3:ff17::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DDnfN0Kgwz4tvh for ; Mon, 11 Jan 2021 08:57:47 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from [IPv6:2a01:e0a:2b7:70e1:2cd4:c85c:aa40:2bfc] (unknown [IPv6:2a01:e0a:2b7:70e1:2cd4:c85c:aa40:2bfc]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: erwan) by tgv.rail.eu.org (Postfix) with ESMTPSA id 5A617C324 for ; Mon, 11 Jan 2021 09:57:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rail.eu.org; s=mail; t=1610355459; bh=W2HaOI5AA3PPTbB6mC/rY6YvyDI6HK2FDxkKMu64niI=; h=Subject:To:References:From:Date:In-Reply-To:From; b=pIDgGWcGCsVMw0ObFAybybRylb3C0qJCBQtCvDVZPkH94MAYyLyp/OQTz9BWoUy0w Y9BeLv7hNLExSgfG5hYo4jPBeRffB5lU3FRsqfE3tbTn+H8GPVftYyjqQnGzH+58SN KtHXWqVHbpX1HZIOtEF10xfZBPEBw/l93aKUyk+4= Subject: Re: github ports To: freebsd-questions@freebsd.org References: <20210110133605.6538dfd5@dismail.de> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> From: Erwan David Message-ID: Date: Mon, 11 Jan 2021 09:57:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DDnfN0Kgwz4tvh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rail.eu.org header.s=mail header.b=pIDgGWcG; dmarc=pass (policy=none) header.from=rail.eu.org; spf=pass (mx1.freebsd.org: domain of erwan@rail.eu.org designates 2001:bc8:30d3:ff17::2 as permitted sender) smtp.mailfrom=erwan@rail.eu.org X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rail.eu.org:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:bc8:30d3:ff17::2:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[rail.eu.org:+]; DMARC_POLICY_ALLOW(-0.50)[rail.eu.org,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:bc8:30d3:ff17::2:from]; ASN(0.00)[asn:12876, ipnet:2001:bc8::/32, country:FR]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 08:57:48 -0000 Le 11/01/2021 à 09:42, Matthew Seaman a écrit : > On 10/01/2021 19:14, Valeri Galtsev wrote: > >> Just for my education: is there any advantage in using git like that >> instead of portsnap? > > Just that the git method will be supported in the future, whereas > portsnap is slated for removal, associated with the upcoming switch of > ports from SVN to git due at the end of Q1 this year. > >     Cheers, > >     Matthew > What is the solution for those who are not interessed/cannot handle the whole history with all branches ? From owner-freebsd-questions@freebsd.org Mon Jan 11 09:16:30 2021 Return-Path: Delivered-To: freebsd-questions@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 8F1284D1AE9 for ; Mon, 11 Jan 2021 09:16:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDp3x4nMMz4vPB for ; Mon, 11 Jan 2021 09:16:29 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.8.191]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1N9MYu-1ju0yb1AJw-015J17; Mon, 11 Jan 2021 10:16:25 +0100 Date: Mon, 11 Jan 2021 10:16:24 +0100 From: Polytropon To: "Thomas Mueller" Cc: freebsd-questions@freebsd.org Subject: Re: github ports Message-Id: <20210111101624.1c7b97e3.freebsd@edvax.de> In-Reply-To: <202101110905.10B95CDu001945@r56.edvax.de> References: <20210110133605.6538dfd5@dismail.de> <202101110905.10B95CDu001945@r56.edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:U93LBaXe3cMg81MKQqLMcORtjh3tWLj52BZZm07rNdOTWiNoBDq fFB7XuE7z+enZZo+FlXO6ddEa4gpYJZ2+yMJ6XNbq3ubUgf3VvxIOawbvUt4dt0D8gDZsPg uoWDmtTm24LwdxzjEkJm/VNRkA8cpmSXtrcuocsjKLzvGLzJjNYfLhJXQIEAUp25Yec1SIR QLMQFM5q1xP7F/a8rwrmg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:4iMjuVUaM5A=:ddkIYW8h3b7GEzyWbk7s2M hiwIv5pouxdBfayJ5P9lcubTPtwXUil+YELBWFgYfGM7Q4cE1acSF0k8wCgbCOYl3mqy/WaAD xcbMoXIw257DdKv5ETM4VYKNtMiyqL19ldG1oPfnnEVKSpkf4AdJgjNJsyT1/KbyE32IOfK/p FfDSSllTwVFp9zqlZAReziTiFThYDGPOOnPIO2L6lGtHqbxJtHNlsDtEyhho7vsw8LJX0nUD2 xX+uzfvFWRMMryspPrVwoloVxkRNqVUqX5X+RQNtD0kQhWe8198LB4a1ElosqepoP0/9V00t/ FZ9h9kknNqLrlXzXi2yKuD2cTciFPSj8l61movtXZUh+FsKolmGK5b1gKL4Stk8Hpb/J+bt1O 32939fl16DEbxN//OyYyV2xNzmk1I1mpTn1BvhN0BMD40uuBPPTnhkBAPUhAp X-Rspamd-Queue-Id: 4DDp3x4nMMz4vPB X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [1.27 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.8.191:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.87)[0.865]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.135:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[212.227.126.135:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 09:16:30 -0000 > As I remember, FreeBSD used csup for src and doc trees, also ports > tree, but switched to svn in 2012 because of a security breach with > csup. Initially, you had to install cvs (the whole package) or cvsup-without-gui. Later on, a CVS client written in C called csup was made part of the OS. With the transition to Subversion, the same happened: at first you needed to install SVN, later on a "small" client called svnlite was added to the OS. If I understood the planning correctly, a similar approach is intended for Git, i. e., a Git client will become part of the OS so you can obtain the sources without having to install the whole Git software package and its many dependencies. > I used portsnap before that for the ports tree, but then > switched to svn, since I was tracking src and doc trees and > was motivated by one-stop shopping. Additionally, the "make update" mechanisms for source-based updating work best with CVS / SVN / Git, especially if you just want to obtain some little delta of a few days. The scope of Git and portsnap, from a user's perspective, is so different that it would be nice to have two distinct tools (except Git gains the capabilities of portsnap). Just compare the "whole ports tree" method of portsnap with obtaining the "whole src tree" method of freebsd-update, having the "src" distribution enabled. > I suspect portsnap will no longer be workable. That is not implied, but could be possible. My understanding is that it's technically possible to create a snapshot (the "snap" part of the portsnap name) from a Git-based ports tree and then distribute that as a binary package. Of course the mechanisms to do so would have to be adapted from SVN to Git... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Jan 11 09:21:24 2021 Return-Path: Delivered-To: freebsd-questions@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 7C3D24D21AF for ; Mon, 11 Jan 2021 09:21:24 +0000 (UTC) (envelope-from 4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDp9b4CnSz3Bvh for ; Mon, 11 Jan 2021 09:21:23 +0000 (UTC) (envelope-from 4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1610356884; x=1612948884; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=jG1WHX8vxY9PrQ5tgr93BI4S/NhnntxeXZjutbwVr2o=; b=OLWjgqZlbbFvQBwZF8fZhUq+sbXPzl/In2SPo1zwqUAGykUTFgNBKXLXZeuhwz2B7V0gCnvbYPNThGINngspROlnbswaDnRo1ED/02I1EFGtfKJP4gjVQHPeeKQXV2fRDIOlsGAGsmeLPzChpZ0pcsCP50tbVmDoiOP8p4DHKeA= X-Thread-Info: NDI1MC45Mi4xZDRjNzAwMDNiMGU1MDcuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.sg.in.socketlabs.com (r3.sg.in.socketlabs.com [142.0.179.13]) by mxsg2.email-od.com with ESMTP; Mon, 11 Jan 2021 04:21:18 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 11 Jan 2021 04:21:17 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kytO0-000CPb-76 for freebsd-questions@freebsd.org; Mon, 11 Jan 2021 09:21:16 +0000 Date: Mon, 11 Jan 2021 09:21:16 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: github ports Message-Id: <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> In-Reply-To: References: <20210110133605.6538dfd5@dismail.de> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DDp9b4CnSz3Bvh X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=OLWjgqZl; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c70003b0e507.6f46bc68a03a11f341f02c90141347ad@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 09:21:24 -0000 On Mon, 11 Jan 2021 09:57:37 +0100 Erwan David wrote: > What is the solution for those who are not interessed/cannot handle the > whole history with all branches ? Add these to the git clone command. --depth 1 --single-branch -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Jan 11 10:00:47 2021 Return-Path: Delivered-To: freebsd-questions@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 6D4C04D2D29 for ; Mon, 11 Jan 2021 10:00:47 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from sonic311-30.consmr.mail.ir2.yahoo.com (sonic311-30.consmr.mail.ir2.yahoo.com [77.238.176.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDq320c0Wz3DfW for ; Mon, 11 Jan 2021 10:00:45 +0000 (UTC) (envelope-from emorrasg@yahoo.es) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1610359243; bh=9BxaqY9cTAeH8E/C/oik9tROtfUhTseCfBIpNw1AzYj=; h=Date:From:To:Subject:From:Subject; b=IbG+885H3oEkeGpSZ2G65U0n1uhRqouGJscZnQk8untfK7TWHN04U83R17IUpTcpRFl9lNB1pWF/ARSzvmzMa5z+9SuKneJEPJ3v8J2PjWxSC8wF+9X/OhEy4+iYJ6nOj9UQL6bkTi+HLxtpNpUTNJEvA3N67qmp4oJSCxl8OMIMsix6MRYRPg44cAAiO2+9I8qh3RDh0oOg6K1K7/UolIq/d7u9XIMvbsxpv6He48Sbf3rDU0zaRhg6EP/Uz5Wk7nlI6jv4qSGxlOJD2SqqPWNfB4zJ4gUdCXOqGd1qFnbrEu9F6Y32wshB/1LTxanr0i8DJmmPNlhpRfdoc2bkVg== X-YMail-OSG: UcuJVZgVM1m6CvpgH9zlyXRlP_NGTDiNjGalorf38KUvJFStwTznJUsVzyeYlcq mxSFC6B2ho5n1UAVNllb4uL4C2vteVxWdOu7H0gSdm.tl7gch4yY2K7tYUOnveQ8dhPtFfo60GSc gISBUwSDNkVCLJvU4.DPqR0PZeL2f1pDW5petw0eiUoeERFqQPjvurzy6GbFObIlsNK_szacQGuu ADN8wiosfzJ1Pgl5_weR24TtLXt17JeF_DnoxBX_kOgCRuGsD5T_7YwhQf87VmFy02scrCmVS7hl y5MlPzVV5qXV7eklsbX9JRtmCgCQ8Y55n_Vq5p0o27JlgMM2jt3IWrTg0G8j4FOerGbn_x9LB9Ms buRO.68GCgraU.pg14lT8VSo3UD2mO3eUzpPMrNTMuRnu.14lq7A6JXTcuWjf4q8AtZ1wnrUZcWa FVT_M0wfruhy.JhhEucys3eq42GH1_xulYp7qHtKM4C1C2Uoe7N6.V6.vFQsIeN5ubT6pwYPGB_. f_QC5KwXI1w.bQtzscJoDQZjalZkKli_SvQZ5ZOfAMP1W.i2Ezsv7vwdB8X0NwsucUFdrAJlyWWM TsmlLqt9PdPaJAmPJaqR8_yauurrV1zYzP9gAprZc4_ihqxn9McS5m1BhxlUPcWcgiPe6DnPTwA9 8t_fPiZOSXRqgKlFL5alJeQnBe.Bq7kSNN1rDSLJloxNGTBgI4.NgK1CZJceYFkwzlrHJEg5bSEy SW4QRiSku9RvSH1tS1epnrww3IjF7vDOOK2kGZY3p0Vx8vq1WJGgR6troMvppuGFXrelI7yDBlnK _pnI353xR2MFJ_PH.7Lh9gkmgoExX6IcIINJ65AP9ol8eJ2hY_QBG94Ng4AWUu58BlcgOG4.Ghp_ QXzuO2MI0AoVNNUUra82QEW4jyyrXLLaNF.g6WZ256KzwZcDIirmzWAlA9WVPk.am6nWg.ovkySl XvXxMQ2ZGZah8XlMpoPugZM3Ku4FXrUbqAQ_l8A9etHJJa1OuWxrhhHiYbtdcFbjO1j9kZoXOJQV yzsvlNkqxgiqfwxKENVCwmB4fFQYyk7VXGTn1dpBZ1yn2e0S6ojwjC8h1L4.8vRfNDK3LDgo4hs3 XWZo89VfxfICdzqXKOjCQzcb0hU9gpNUpbPRs9QTUIEAR9fr.TdClW_3MZz4eO1xKn4wZ1Dq8QWL iHGYV7X8cLUb53VO5cVMes2M4veC1cSGcyYFxk9KNzfKGM8uEfWpFj.yIpyJ9prYIYIXD9_Q1r1E NsUUJNbBfpU7FIfF659BnVY4a0QeNgpBaS9I6lCz2XCNcizEjD2pGlP7XsneMHcd9JHUcYBOWmVr HOZ.qkPpGCtSaGrjN79D59mRlcFdnFQaNiIiHPuji3DfefpDpGy.Okrg7pMCOmWpIVbPG5kZDyA3 OBsJ.tpzGKbnK2JLbOGYXrIi8vpntzYS7hr.L.Lq_RMD6grYZv1ajRcfLUkiPTZTs0sw7KicRJnR 4k1FEmFtqPRWhtQ_0.1yHon9jMcR7BxP0D418WA.jiWkt88BannImX_FL3EJebXlAgPYKpivuCUJ dVmu6jZEccGBqeE8Yq7TWtOfEie.e6w9kE533a5r4IGaIseg7q8Jw5dsumrTEgf7DbCKUNZZslJ4 aZtB9ozpX6z7OM5YOHkFNTW9JkAA_eS5J26eSjDtVCTEfLJgTx58fZ5wrMUTOEtIDeyqukfyPVX8 f213RzSahWGFrY.OzLyrCYOfgWS.5861opYY8kH2ONgxJTqVRFJKFy2ae2ax4HAf_o0aFzCFn4E_ D9wQwXqxK2ugmCAhtaFNksrnAMUFIk0DkC9gxsuHG_Gq8P.XE_4ZItBh979slIkvdidNbPYJ8Yad aP8pEbc4gx2i3d9cPI4.ohJ0uFqG8qtYv2.29qqKC5pl6yELOglNNerznWt.JqSZHQwcgnhzaMlZ L7p_3.wTfIfVWEqpRqGSez_UFA03DP5qxJo7qfOE5FKsayTnNU1ZOUByZnjsrYtzFlYHvMD4U4W8 j1EML9XAafGqxcc_lgFi8uSLq7k0rN.WratrvQAPRS3c6hfgYwwtvEqljTqvtb0jeh3sZwL5X936 f9ygjqZ.YAI8BVhEXnHh0Lm2NolaMPKTSsYnWyFxDmqxLQhTfSkuqEO8nisTeirAlqO84iXcO0gE LslyVx8.8KzQYKEkz.1lBHJ3JuZFlHQcwL.laoZtk98YTkzPIzD1Uf5Ueas5UxCLNfe_WLv_vXn9 SL9WDfqJ9_XuMOfRQX7cdWUzLfyiZTTJBVHoTCUscWY5tuK9zu.iY2wP4kYUH4AsBl2Oxs7MUABM FsDTY1YfPRefEqXxLlHbDtQEQioZXOCgX4cKYHVNpsuBqms5exqj6Nr0XVisSY4Ofww-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Mon, 11 Jan 2021 10:00:43 +0000 Received: by smtp414.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID fc5ad8e6a0fdb27a8f4aed237c50ca96; Mon, 11 Jan 2021 10:00:39 +0000 (UTC) Date: Mon, 11 Jan 2021 11:00:38 +0100 From: Eduardo =?ISO-8859-1?Q?Morr=E1s?= To: freebsd-questions@freebsd.org Subject: Re: github ports Message-Id: <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> In-Reply-To: <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> References: <20210110133605.6538dfd5@dismail.de> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DDq320c0Wz3DfW X-Spamd-Bar: - X-Spamd-Result: default: False [-1.67 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.es]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.es:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.es,reject]; NEURAL_HAM_SHORT(-0.17)[-0.169]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; R_MIXED_CHARSET(1.00)[subject]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.es]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[77.238.176.162:from]; R_DKIM_ALLOW(-0.20)[yahoo.es:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[77.238.176.162:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[77.238.176.162:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[77.238.176.162:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 10:00:47 -0000 On Mon, 11 Jan 2021 09:21:16 +0000 Steve O'Hara-Smith wrote: > On Mon, 11 Jan 2021 09:57:37 +0100 > Erwan David wrote: >=20 > > What is the solution for those who are not interessed/cannot handle > > the whole history with all branches ? >=20 > Add these to the git clone command. >=20 > --depth 1 --single-branch So, can I change=20 #portsnap fetch update=20 with=20 with this sh script? #!/bin/sh git clone --depth 1 --single branch git://github.com/freebsd/freebsd-ports = ports Or will be it more complicated and prone to error? What happens with the /usr/ports/distfile content? Is it erased everytime I= clone the ports repository? For now, portsnap never fired my feet but git... > --=20 > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --- --- Eduardo Morr=E1s From owner-freebsd-questions@freebsd.org Mon Jan 11 10:28:48 2021 Return-Path: Delivered-To: freebsd-questions@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 2223E4D4573 for ; Mon, 11 Jan 2021 10:28:48 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDqgL6H4Lz3GNS for ; Mon, 11 Jan 2021 10:28:46 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Type:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nCL+MMP1N23sHXQ8SR5G5MF6Rnu99fEEkdAFL1YZTBs=; b=bvjJ3F2SqobDCQOja94rlZh1ij yjAIEIEwX9rmrbBf8/ze0kGHRHmxe9pAo82U5VslezImlsRfDxdK84QxW+d89MfNu4+sSy6hBLgdN ZAekuHjpX5zCzGPcXOmAbKDd85POGANv4uKKzehBQeKH4fFAaH0vAYm92+KQIXnLs2J+wTL+fED/O uVnGO7FJ5SPFuPITh7PEsJuFJw9rJyC/nZAQcLMCWp3cruyPgt2/25h6ZuaFK049Znin6nFgUopew YwurxaTR40wyp+q/Ph0SyUqHFU+G78flV3cfdC3o29OdeQnMQ3wbQt4t7Je8F2HJnas7wfsI0tYZ2 XqaaXcJA==; Received: from 82-71-56-121.dsl.in-addr.zen.co.uk ([82.71.56.121]:36403 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kyuR9-000i4f-I7 for freebsd-questions@freebsd.org; Mon, 11 Jan 2021 10:28:35 +0000 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.94) (envelope-from ) id 1kyuR9-0007Cc-IK for freebsd-questions@freebsd.org; Mon, 11 Jan 2021 10:28:35 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Subject: Re: github ports Date: Mon, 11 Jan 2021 10:28:10 +0000 Message-ID: <2005774.cYikG52F1y@curlew> In-Reply-To: References: <20210110133605.6538dfd5@dismail.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1kyuR9-000i4f-I7 X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4DDqgL6H4Lz3GNS X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=bvjJ3F2S; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.238.160.176:from]; CTE_CASE(0.50)[]; ASN(0.00)[asn:12703, ipnet:91.238.160.0/22, country:GB]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.238.160.176:from:127.0.2.255]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 10:28:48 -0000 On Sunday, 10 January 2021 18:49:43 GMT Vasily Postnicov wrote: > There is no "git update" command > > At first delete the old port tree, then from /usr do > "git clone git://github.com/freebsd/freebsd-ports ports". From /usr/ports > run "make index" or "make fetchindex". > > To update the tree do "git pull" from /usr/ports and then again "make > fetchindex" I usually build a small number of packages from ports because I need different options. It doesn't seem justifiable to install and run poudriere to handle such a small number of ports. What I do is to use pkg upgrade to update the rest of my packages and then sync my ports tree with the revision which was used to build the current packages. This avoids the risk of incompatibilities when mixing ports and packages. This process would be much easier if there was some mechanism built into the pkg system to easily determine the revision number of ports corresponding to the last run of pkg upgrade. In the absence of such a feature I find the svn revision by checking the latest revision on the build server's webpage. For my version of FreeBSD (12.2 on AMD64), this is currently http:// beefy6.nyi.freebsd.org/ but I've occasionally had problems in the past when things have moved to a different server. Is there any chance that when we move over to using git for ports there could be a convenient way of identifying the git revision number of the commit corresponding to the time when pkg upgrade was last run.? -- Mike Clarke From owner-freebsd-questions@freebsd.org Mon Jan 11 10:37:20 2021 Return-Path: Delivered-To: freebsd-questions@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 0B8044D49C0 for ; Mon, 11 Jan 2021 10:37:20 +0000 (UTC) (envelope-from 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDqsC0J85z3H97 for ; Mon, 11 Jan 2021 10:37:18 +0000 (UTC) (envelope-from 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1610361439; x=1612953439; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=U+Kw4Nl8eMU9PA9lHx4lyQ12l9b3CnP3qDQwor0fENE=; b=CI3nhWoImojYpDHLa9QJ0d9CWQ2/zCHF9uvsx0bLllJBHOVs7yn4Xgz0hNZsiLgqz9M2T6F2dpfin/92SiZSvUj174vfGgE8RHmdzRAT4V0c6ViatJ/N0BoZC4nKja8QdKp8S3ez7dyeNxwlD0NHgia2Q6v7XqkaRJCoYcRnDj0= X-Thread-Info: NDI1MC45Mi4xZDRjNzAwMDNiMThjMTAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 11 Jan 2021 05:37:13 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 11 Jan 2021 05:37:13 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kyuZU-000Ckp-2r; Mon, 11 Jan 2021 10:37:12 +0000 Date: Mon, 11 Jan 2021 10:37:11 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Eduardo =?UTF-8?B?TW9ycsOhcw==?= Subject: Re: github ports Message-Id: <20210111103711.cfc9272b2d1e3884a99a3f34@sohara.org> In-Reply-To: <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> References: <20210110133605.6538dfd5@dismail.de> <9cf7e6cd-7eb2-3e21-f11c-1470f53a0107@FreeBSD.org> <20210111092116.b7e9fc2b87ce745162849fd0@sohara.org> <20210111110038.35efd1a2820c47bb89b0552a@yahoo.es> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DDqsC0J85z3H97 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=CI3nhWoI; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c70003b18c10.d3685c039875022516335e874ae5da0c@email-od.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[142.0.176.198:from]; FREEMAIL_CC(0.00)[yahoo.es]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 10:37:20 -0000 On Mon, 11 Jan 2021 11:00:38 +0100 Eduardo Morrás via freebsd-questions wrote: > On Mon, 11 Jan 2021 09:21:16 +0000 > Steve O'Hara-Smith wrote: > > > On Mon, 11 Jan 2021 09:57:37 +0100 > > Erwan David wrote: > > > > > What is the solution for those who are not interessed/cannot handle > > > the whole history with all branches ? > > > > Add these to the git clone command. > > > > --depth 1 --single-branch > > So, can I change > > #portsnap fetch update > > with > > with this sh script? > > #!/bin/sh > git clone --depth 1 --single branch > git://github.com/freebsd/freebsd-ports ports > > Or will be it more complicated and prone to error? You want to do the clone once to set things up, after that you use git pull git://github.com/freebsd/freebsd-ports ports -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Jan 11 11:57:40 2021 Return-Path: Delivered-To: freebsd-questions@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 A2AF74D6086 for ; Mon, 11 Jan 2021 11:57:40 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDsdt5srSz3LkR for ; Mon, 11 Jan 2021 11:57:38 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10BBvOY7096460 for ; Mon, 11 Jan 2021 22:57:24 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10BBvOcE090835 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Mon, 11 Jan 2021 22:57:24 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10BBvOPt094594 for ; Mon, 11 Jan 2021 22:57:24 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10BBvNob094593 for freebsd-questions@freebsd.org; Mon, 11 Jan 2021 22:57:23 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Mon, 11 Jan 2021 22:57:23 +1100 From: Scott To: freebsd-questions@freebsd.org Subject: Need help specifying args in rc.conf for a service Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DDsdt5srSz3LkR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 11:57:40 -0000 Hi all, I posted this on the forums and was unsuccessful so I thought I'd try here: I've been struggling to pass additional arguments to the Prometheus node_exporter daemon in /etc/rc.conf. The help for node_exporter provides an example argument (mount points to ignore) as: --collector.filesystem.ignored-mount-points="^/(dev)($|/)" Regexp of mount points to ignore for filesystem collector. The rc script says to use the _args variable to specify arguments to node_exporter: # node_exporter_args (string): Set extra arguments to pass to # Default is "". Adding the line: node_exporter_args="--collector.filesystem.ignored-mount-points=\"^/(dev)($|/)\"" to /etc/rc.conf and running sh -x /usr/local/etc/rc.d/node_exporter start results in: + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' Illegal variable name. It was suggested on the forum to try: node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' # OR node_exporter_args="--collector.filesystem.ignored-mount-points='^/(dev)($|/)'" However with the first suggestion I got: limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' Badly placed (. and with the second I got: eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points=\'^/(dev)($|/)\'"\'' eval: 1: Syntax error: "(" unexpected Can anyone please help? Thanks, Scott From owner-freebsd-questions@freebsd.org Mon Jan 11 12:21:22 2021 Return-Path: Delivered-To: freebsd-questions@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 7C1624D7668 for ; Mon, 11 Jan 2021 12:21:22 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDt9F3GHGz3NFV for ; Mon, 11 Jan 2021 12:21:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.8.191]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1N2E5Q-1jwhmk3jHq-013dXa; Mon, 11 Jan 2021 13:21:09 +0100 Date: Mon, 11 Jan 2021 13:21:07 +0100 From: Polytropon To: Scott Cc: freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-Id: <20210111132107.82de40d0.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:vMIYiztecpzVR8XoWF4kyacSL52XbID6P8Mg0NYiHWyBobLf0PU O8GQt/hvzv8oqxj2faUO0F3ZK5nIGUgl9aX23oYw1Kw5g6zKXdi8wanjneFYcYQLBf+aCRo qZYDpAgIC2UhfDHygB5penxBf/STfI4c+BPwLo/xf0Zvp+QDbY9pXt4jqVb0YVLpzkDBgu6 1QutAwUwkbP2+8xg1cxTg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:9ZPjef0sL24=:fglZIAvPNMkPVxc5wIiH7F /pRKGNToFaizQJd11FdeJXQcxQ4rvi5hrf8ZD/hx3pDugb4Y+SXAj3jbj+DukPQTx/wl+k6MO XMvXubtnrPzYZdot82MLyhVPt5WMi9nFcQFEyACR7vdwvTlZOHNNv8GNPUI+ocmVa+pqDcM2R xGlfLlTa2SzcTudjNHZnnYJHPqlG1EogSpMGQpJVFFQCScqipGMHIRrqjdHkuuIaVClc8OTat suseT9sl1HM6Z6fvsSLGKjjctJex7/7+DiFSq3LXvMNlAoBE9lnfLu3DapuIHjrUpH7f0jaZy wBpwXz3W1nX2GAAEySBLPMz5cZXUePL87TosgAVU4O2YjiGoyT2xxROq5oZ+yHiR9NYsHN3bl SVkBKNrmzuL05cKcPeGAHu7w+ZuR9jRXKZZzrGhDjud86Wv4vTU0xzIBISmOA X-Rspamd-Queue-Id: 4DDt9F3GHGz3NFV X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.10) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.10:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.17.10:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.8.191:received]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.17.10:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.10:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 12:21:22 -0000 On Mon, 11 Jan 2021 22:57:23 +1100, Scott wrote: > Hi all, > > I posted this on the forums and was unsuccessful so I thought I'd try here: > > I've been struggling to pass additional arguments to the Prometheus > node_exporter daemon in /etc/rc.conf. > > The help for node_exporter provides an example argument (mount points to > ignore) as: > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)" > Regexp of mount points to ignore for filesystem collector. > > The rc script says to use the _args variable to specify arguments to > node_exporter: > # node_exporter_args (string): Set extra arguments to pass to > # Default is "". > > Adding the line: > > node_exporter_args="--collector.filesystem.ignored-mount-points=\"^/(dev)($|/)\"" > > to /etc/rc.conf and running sh -x /usr/local/etc/rc.d/node_exporter start > results in: > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > Illegal variable name. > > [...] > > Can anyone please help? If I see this correctly, the argument given to to the program's option --collector.filesystem.ignored-mount-points= is to be a regex, not the result of evaluating the regex (which the program surely does internally). So my suggestion, without knowing any further details, is to use this in /etc/rc.conf: node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' Always remember that /etc/rc.conf is, more or less, just a simple shell script, so all rules applying to sh will apply to rc.conf exactly. That's why 'single quotes' will stop any expansion and transfer the value 1:1, which I think is what you are require to do here. Characters such as $, " or ^ will be part of the string handed over to the program, and will _not_ be interpreted by the shell prior to assigning to the _args variable. Within "double quotes", symbols such as $ have a specific meaning, that's why you see the error ($ not properly quoted). So the error message is completely valid and logical - and expected. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Jan 11 12:55:55 2021 Return-Path: Delivered-To: freebsd-questions@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 74A9D4D87DE for ; Mon, 11 Jan 2021 12:55:55 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDtx54qDWz3QMg for ; Mon, 11 Jan 2021 12:55:51 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10BCtekY000305; Mon, 11 Jan 2021 23:55:40 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10BCtdKL091467 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 11 Jan 2021 23:55:40 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10BCtdtM080726; Mon, 11 Jan 2021 23:55:39 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10BCtdeh080722; Mon, 11 Jan 2021 23:55:39 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Mon, 11 Jan 2021 23:55:39 +1100 From: Scott To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-ID: Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20210111132107.82de40d0.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111132107.82de40d0.freebsd@edvax.de> X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DDtx54qDWz3QMg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.79 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.988]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 12:55:55 -0000 On Mon, Jan 11, 2021 at 01:21:07PM +0100, Polytropon wrote: > On Mon, 11 Jan 2021 22:57:23 +1100, Scott wrote: > > Hi all, > > > > I posted this on the forums and was unsuccessful so I thought I'd try here: > > > > I've been struggling to pass additional arguments to the Prometheus > > node_exporter daemon in /etc/rc.conf. > > > > The help for node_exporter provides an example argument (mount points to > > ignore) as: > > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)" > > Regexp of mount points to ignore for filesystem collector. > > > > The rc script says to use the _args variable to specify arguments to > > node_exporter: > > # node_exporter_args (string): Set extra arguments to pass to > > # Default is "". > > > > Adding the line: > > > > node_exporter_args="--collector.filesystem.ignored-mount-points=\"^/(dev)($|/)\"" > > > > to /etc/rc.conf and running sh -x /usr/local/etc/rc.d/node_exporter start > > results in: > > > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > > > Illegal variable name. > > > > [...] > > > > Can anyone please help? > > If I see this correctly, the argument given to to the program's > option --collector.filesystem.ignored-mount-points= is to be a > regex, not the result of evaluating the regex (which the program > surely does internally). So my suggestion, without knowing any > further details, is to use this in /etc/rc.conf: > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > Always remember that /etc/rc.conf is, more or less, just a simple > shell script, so all rules applying to sh will apply to rc.conf > exactly. That's why 'single quotes' will stop any expansion and > transfer the value 1:1, which I think is what you are require to > do here. Characters such as $, " or ^ will be part of the string > handed over to the program, and will _not_ be interpreted by the > shell prior to assigning to the _args variable. > > Within "double quotes", symbols such as $ have a specific meaning, > that's why you see the error ($ not properly quoted). So the > error message is completely valid and logical - and expected. ;-) > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > Thanks Poly, here's what I get using: node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' Illegal variable name. Thanks From owner-freebsd-questions@freebsd.org Mon Jan 11 13:31:53 2021 Return-Path: Delivered-To: freebsd-questions@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 A84814D9750 for ; Mon, 11 Jan 2021 13:31:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDvkc5J10z3hg2 for ; Mon, 11 Jan 2021 13:31:52 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.8.191]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MwjO6-1k2AT82Ee2-00y7eg; Mon, 11 Jan 2021 14:31:40 +0100 Date: Mon, 11 Jan 2021 14:31:39 +0100 From: Polytropon To: Scott Cc: freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-Id: <20210111143139.278aec37.freebsd@edvax.de> In-Reply-To: References: <20210111132107.82de40d0.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:aP4i5jZ1dsFnQ/J6SvlAS7LD8sChG+yk7DkhyUtovNN5EJtS7nu Fi6hqbQMLKFtyxK9q/F5LQq+eDJB/rFIp7wdmY7gEHyworXb9TcpGjHv4Xc4rNH/jQvIC9M +NmPBj7Udtj5NGWkY7QGDzSk7iGl7RozFSie/GlVWdjd9Apt1WT0oJQRhObG3aKrjOoRofX qqezHgyR3ZbmbcTNdHUFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:JNNjZ8SCwg4=:CQd+1hNg4NTCieQ29HowFN 6oRtPmiu8rjj3sGIU/tSGCwKikWVwFiApVkh2CiJfIN9heDGXy3I3XaEKyb/YR0usMW+giJsq Yz+Jd5IvsUKpUE3kvouVu96mVzT/QKM+mJmrX8Dr7ws2x2NlHWfUKgP+Zx1j35A0gQWxu5ii+ SQey6fKvGFFBPt2xU1GGJ/aD+gpGVynlSmXe9E6wof/IEOjTNe0mdrfxB4dlXZaMQm9uVH0A3 pANISZJm3d1XEVeJbmOEN3F8VbBDx4yXyH63K3v7uR1MEQ3QcCcYtROHn2Wim1O13kFZKQ8Ey OlDaswVKDO+42KhhrZ532sgNuKYpvRwq2I9mZl+HVvN2G8vY7DPNL47TVgRTRwM1Zje/UGogL 30waqKuZluUWEtB6EcrBOTbRxBVih58VX6F1ADLhhZf746naSnkYZ+J2N3TOH X-Rspamd-Queue-Id: 4DDvkc5J10z3hg2 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RWL_MAILSPIKE_GOOD(0.00)[212.227.126.133:from]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.8.191:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.126.133:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[212.227.126.133:from:127.0.2.255]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.133:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 13:31:53 -0000 On Mon, 11 Jan 2021 23:55:39 +1100, Scott wrote: > On Mon, Jan 11, 2021 at 01:21:07PM +0100, Polytropon wrote: > > On Mon, 11 Jan 2021 22:57:23 +1100, Scott wrote: > > > Hi all, > > > > > > I posted this on the forums and was unsuccessful so I thought I'd try here: > > > > > > I've been struggling to pass additional arguments to the Prometheus > > > node_exporter daemon in /etc/rc.conf. > > > > > > The help for node_exporter provides an example argument (mount points to > > > ignore) as: > > > > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)" > > > Regexp of mount points to ignore for filesystem collector. > > > > > > The rc script says to use the _args variable to specify arguments to > > > node_exporter: > > > # node_exporter_args (string): Set extra arguments to pass to > > > # Default is "". > > > > > > Adding the line: > > > > > > node_exporter_args="--collector.filesystem.ignored-mount-points=\"^/(dev)($|/)\"" > > > > > > to /etc/rc.conf and running sh -x /usr/local/etc/rc.d/node_exporter start > > > results in: > > > > > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > > > > > Illegal variable name. > > > > > > [...] > > > > > > Can anyone please help? > > > > If I see this correctly, the argument given to to the program's > > option --collector.filesystem.ignored-mount-points= is to be a > > regex, not the result of evaluating the regex (which the program > > surely does internally). So my suggestion, without knowing any > > further details, is to use this in /etc/rc.conf: > > > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > > > Always remember that /etc/rc.conf is, more or less, just a simple > > shell script, so all rules applying to sh will apply to rc.conf > > exactly. That's why 'single quotes' will stop any expansion and > > transfer the value 1:1, which I think is what you are require to > > do here. Characters such as $, " or ^ will be part of the string > > handed over to the program, and will _not_ be interpreted by the > > shell prior to assigning to the _args variable. > > > > Within "double quotes", symbols such as $ have a specific meaning, > > that's why you see the error ($ not properly quoted). So the > > error message is completely valid and logical - and expected. ;-) > > > > [...] > > > Thanks Poly, > > here's what I get using: > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > Illegal variable name. So there seems to be another "layer" of possible interpretation. The call to sh contains still a single $ which leads to the error. Maybe using the quoted form \$ would help here? node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' It's not entirely trivial to deal with several layers of variable expansion, especially when you want to avoid it. ;-) Another option is to make the ' part of the option argument, but that would be quite ugly (and maybe doesn't work): node_exporter_args="--collector.filesystem.ignored-mount-points='^/(dev)(\$|/)'" Maybe you can try that as well? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Jan 11 13:44:15 2021 Return-Path: Delivered-To: freebsd-questions@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 991EE4D9AED for ; Mon, 11 Jan 2021 13:44:15 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDw0s5TdXz3jBJ for ; Mon, 11 Jan 2021 13:44:13 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10BDhvDq003405; Tue, 12 Jan 2021 00:43:57 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10BDhvxo091977 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 12 Jan 2021 00:43:57 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10BDhv7g056460; Tue, 12 Jan 2021 00:43:57 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10BDhvVS056456; Tue, 12 Jan 2021 00:43:57 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Tue, 12 Jan 2021 00:43:57 +1100 From: Scott To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-ID: Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20210111132107.82de40d0.freebsd@edvax.de> <20210111143139.278aec37.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111143139.278aec37.freebsd@edvax.de> X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DDw0s5TdXz3jBJ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 13:44:15 -0000 On Mon, Jan 11, 2021 at 02:31:39PM +0100, Polytropon wrote: > On Mon, 11 Jan 2021 23:55:39 +1100, Scott wrote: > > On Mon, Jan 11, 2021 at 01:21:07PM +0100, Polytropon wrote: > > > On Mon, 11 Jan 2021 22:57:23 +1100, Scott wrote: > > > > Hi all, > > > > > > > > I posted this on the forums and was unsuccessful so I thought I'd try here: > > > > > > > > I've been struggling to pass additional arguments to the Prometheus > > > > node_exporter daemon in /etc/rc.conf. > > > > > > > > The help for node_exporter provides an example argument (mount points to > > > > ignore) as: > > > > > > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)" > > > > Regexp of mount points to ignore for filesystem collector. > > > > > > > > The rc script says to use the _args variable to specify arguments to > > > > node_exporter: > > > > # node_exporter_args (string): Set extra arguments to pass to > > > > # Default is "". > > > > > > > > Adding the line: > > > > > > > > node_exporter_args="--collector.filesystem.ignored-mount-points=\"^/(dev)($|/)\"" > > > > > > > > to /etc/rc.conf and running sh -x /usr/local/etc/rc.d/node_exporter start > > > > results in: > > > > > > > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > > > > > > > Illegal variable name. > > > > > > > > [...] > > > > > > > > Can anyone please help? > > > > > > If I see this correctly, the argument given to to the program's > > > option --collector.filesystem.ignored-mount-points= is to be a > > > regex, not the result of evaluating the regex (which the program > > > surely does internally). So my suggestion, without knowing any > > > further details, is to use this in /etc/rc.conf: > > > > > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > > > > > Always remember that /etc/rc.conf is, more or less, just a simple > > > shell script, so all rules applying to sh will apply to rc.conf > > > exactly. That's why 'single quotes' will stop any expansion and > > > transfer the value 1:1, which I think is what you are require to > > > do here. Characters such as $, " or ^ will be part of the string > > > handed over to the program, and will _not_ be interpreted by the > > > shell prior to assigning to the _args variable. > > > > > > Within "double quotes", symbols such as $ have a specific meaning, > > > that's why you see the error ($ not properly quoted). So the > > > error message is completely valid and logical - and expected. ;-) > > > > > > [...] > > > > > Thanks Poly, > > > > here's what I get using: > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > Illegal variable name. > > So there seems to be another "layer" of possible interpretation. > The call to sh contains still a single $ which leads to the error. > Maybe using the quoted form \$ would help here? > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' > > It's not entirely trivial to deal with several layers of > variable expansion, especially when you want to avoid it. ;-) > > Another option is to make the ' part of the option argument, but > that would be quite ugly (and maybe doesn't work): > > node_exporter_args="--collector.filesystem.ignored-mount-points='^/(dev)(\$|/)'" > > Maybe you can try that as well? > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... Thanks again, but no luck: with: node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' Badly placed (. with: node_exporter_args="--collector.filesystem.ignored-mount-points='^/(dev)(\$|/)'" + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points=\'^/(dev)($|/)\'"\'' + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points=\'^/(dev)($|/)\'"\'' + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points=\'^/(dev)($|/)\'"\'' + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points=\'^/(dev)($|/)\'"\'' eval: 1: Syntax error: "(" unexpected Scott From owner-freebsd-questions@freebsd.org Mon Jan 11 13:54:47 2021 Return-Path: Delivered-To: freebsd-questions@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 DED8C4D9DB4 for ; Mon, 11 Jan 2021 13:54:47 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (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 "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDwF30Ychz3kKL for ; Mon, 11 Jan 2021 13:54:46 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 0EA164659C for ; Mon, 11 Jan 2021 08:54:43 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id uRaRPmeSjmdB for ; Mon, 11 Jan 2021 08:54:36 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id B694A46591 for ; Mon, 11 Jan 2021 08:54:35 -0500 (EST) Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 11 Jan 2021 08:54:36 -0500 Message-ID: <94ddb7c7d79c1614761fee4c28aaf367.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Mon, 11 Jan 2021 08:54:36 -0500 Subject: Re: github ports From: "James B. Byrne" To: "FreeBSD Questions" Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4DDwF30Ychz3kKL X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.70 / 15.00]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[216.185.71.32:from]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 13:54:47 -0000 On Mon, January 11, 2021 03:42, Matthew Seaman wrote: > On 10/01/2021 19:14, Valeri Galtsev wrote: > >> Just for my education: is there any advantage in using git like that instead >> of portsnap? > > Just that the git method will be supported in the future, whereas > portsnap is slated for removal, associated with the upcoming switch of > ports from SVN to git due at the end of Q1 this year. > A bigger advantage is that with git you get the complete development history. Which means that if you need to rebuild an old package for a previous FreeBSD release then you need only know the id of the last last commit made before the packages were built for a specific release or quarterly update. With that information one can checkout the entire code base as it existed at that moment and rebuild from that. And with git these should be tagged so that you can locate this point based on the release or quarterly build name or anything else the maintainers consider significant milestones worthy of a tag.. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Mon Jan 11 14:12:12 2021 Return-Path: Delivered-To: freebsd-questions@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 809804DA3AB for ; Mon, 11 Jan 2021 14:12:12 +0000 (UTC) (envelope-from johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 (2048 bits) client-digest SHA256) (Client CN "gal.iecc.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDwd75x0xz3lF2 for ; Mon, 11 Jan 2021 14:12:11 +0000 (UTC) (envelope-from johnl@iecc.com) Received: (qmail 74214 invoked from network); 11 Jan 2021 14:12:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=121e3.5ffc5cb5.k2101; bh=NUOpb70uJNW3sdUaCkFk4esor5LKdCkGNDEHMhKde2s=; b=VkK/aYUBUO7HWtzc1ab67IfKn7ShORrxPsIf0i047N/vDA0kC4d+efXH0GR6G0QaE3/Djv1RwPQwAXLXIECn4eEwxwgeiHIKhugWvoO9yOddeq6CeL6sUiXa2BBznrXgOJTTPfo00Zy9PiIMR9wUHPknQGY3+0oapvY2k0jaEzd48TgnccE2mSb6t1EfsbM+PdsYzbCRiQ5Y7yAXfghvlsIo72mRx7xtEs6Cg8WTBJZ5TjOGejP7ZdsC0rQ7y9nbQF93J1k4OJY8zlDfeU07a+Bw0nYqY+XaWsLDfK6lzpVqonahsvTzYzQ/F+3zpddDJYvYdclMOfEQ4V94Q9b1eA== Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 11 Jan 2021 14:12:04 -0000 Received: by ary.qy (Postfix, from userid 501) id 80BFB6A14C9D; Mon, 11 Jan 2021 09:12:04 -0500 (EST) Date: 11 Jan 2021 09:12:04 -0500 Message-Id: <20210111141204.80BFB6A14C9D@ary.qy> From: "John Levine" To: freebsd-questions@freebsd.org Cc: grahamperrin@gmail.com Subject: Re: FreeBSD ports: looking ahead: Portsnap, after Git becomes primary In-Reply-To: <5777f16a-60e1-0982-4d4c-58e2bc2db1fa@gmail.com> Organization: Taughannock Networks X-Headerized: yes Cleverness: minimal Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Rspamd-Queue-Id: 4DDwd75x0xz3lF2 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none (invalid DKIM record) header.d=iecc.com header.s=121e3.5ffc5cb5.k2101 header.b=VkK/aYUB; dmarc=pass (policy=none) header.from=iecc.com; spf=pass (mx1.freebsd.org: domain of johnl@iecc.com designates 2001:470:1f07:1126:0:43:6f73:7461 as permitted sender) smtp.mailfrom=johnl@iecc.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f07:1126::/64]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[2001:470:1f07:1126:0:43:6f73:7461:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[iecc.com:~]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[iecc.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_PERMFAIL(0.00)[iecc.com:s=121e3.5ffc5cb5.k2101]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:1f07:1126:0:43:6f73:7461:from]; FREEMAIL_CC(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:12:12 -0000 In article <5777f16a-60e1-0982-4d4c-58e2bc2db1fa@gmail.com> you write: >On 11/01/2021 01:53, Thomas Mueller wrote: > >> … I expect to switch to git with ports tree as well around the end of March when the ports tree is expected to switch from svn to git. >> >> I suspect portsnap will no longer be workable. … > >I imagine that after Git becomes primary, Portsnap will remain usable >for a respectable period. I sure hope so because I do not want to store the entire development history of the ports tree on each of my FreeBSD VPS. They don't do the same thing at all. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly From owner-freebsd-questions@freebsd.org Mon Jan 11 14:14:26 2021 Return-Path: Delivered-To: freebsd-questions@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 0DFBD4DA1D4 for ; Mon, 11 Jan 2021 14:14:26 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDwgj4DC4z3lJQ for ; Mon, 11 Jan 2021 14:14:25 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 8EB6D46611 for ; Mon, 11 Jan 2021 09:14:24 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id t-ifAxrgn2Rf for ; Mon, 11 Jan 2021 09:14:18 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 627E346606 for ; Mon, 11 Jan 2021 09:14:17 -0500 (EST) Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 11 Jan 2021 09:14:17 -0500 Message-ID: <79bdc2dc938a0832051ad7d21faa3066.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Mon, 11 Jan 2021 09:14:17 -0500 Subject: Re: github ports From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4DDwgj4DC4z3lJQ X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.69 / 15.00]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[216.185.71.32:from]; NEURAL_HAM_SHORT(-0.99)[-0.992]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:14:26 -0000 On Mon, January 11, 2021 03:57, Erwan David wrote: > > What is the solution for those who are not interessed/cannot handle the > whole history with all branches ? > What is meant by the term handle in this case? Insofar as disc space goes Git uses a hashing algorithm to identify file changes and only actually stores those. It references everything else so that a particular version of a file (based on content) is only stored once. It is a very economical system with respect to storage. One can liken it to rsync in that fashion; it only keeps the stuff it does not already have. Once you get used to Git it turns out to be exceptionally flexible. The main problem that I have is keeping track of what branch I am on. I have somewhat ameliorated this by using a script that dynamically modifies my prompt to tell me where I am. The only thing about Git that I find lacking is that by design it does not keep track of the file times. There are third-party addons to do this but, Git itself does not. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Mon Jan 11 14:18:01 2021 Return-Path: Delivered-To: freebsd-questions@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 3EAD74DA898 for ; Mon, 11 Jan 2021 14:18:01 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from tgv.rail.eu.org (mail.rail.eu.org [IPv6:2001:bc8:30d3:ff17::2]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DDwlr1QyPz3lHZ for ; Mon, 11 Jan 2021 14:17:59 +0000 (UTC) (envelope-from erwan@rail.eu.org) Received: from [IPv6:2a01:e0a:2b7:70e1:2cd4:c85c:aa40:2bfc] (unknown [IPv6:2a01:e0a:2b7:70e1:2cd4:c85c:aa40:2bfc]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: erwan) by tgv.rail.eu.org (Postfix) with ESMTPSA id DCF4BC754 for ; Mon, 11 Jan 2021 15:17:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=rail.eu.org; s=mail; t=1610374675; bh=NNRwmIuqAR+A8NxST3fTSBB+9C65fSn+v14D5iUSeHo=; h=Subject:To:References:From:Date:In-Reply-To:From; b=XEkmHGBKVn5Y4/YIz/bqOty70hh/jIVFs6ZIlakV1F+oxIEFK1+0lY+jxZ8m/I3RS 3q2P4c+V1eE5g3rDBcsY3MkHvYnlx7KXzCWPNRBwWGgxthyDdTIeU0sE5JziJlnVOg T15NYtyeZOlCFR8lZbql48WYC1ANPH9VNiN+0Dbo= Subject: Re: github ports To: freebsd-questions@freebsd.org References: <94ddb7c7d79c1614761fee4c28aaf367.squirrel@webmail.harte-lyne.ca> From: Erwan David Message-ID: <2c921d94-98dc-4916-6b1b-c3c2d2001932@rail.eu.org> Date: Mon, 11 Jan 2021 15:17:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <94ddb7c7d79c1614761fee4c28aaf367.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4DDwlr1QyPz3lHZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rail.eu.org header.s=mail header.b=XEkmHGBK; dmarc=pass (policy=none) header.from=rail.eu.org; spf=pass (mx1.freebsd.org: domain of erwan@rail.eu.org designates 2001:bc8:30d3:ff17::2 as permitted sender) smtp.mailfrom=erwan@rail.eu.org X-Spamd-Result: default: False [-3.85 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[rail.eu.org:s=mail]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:bc8:30d3:ff17::2:from:127.0.2.255]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[rail.eu.org:+]; DMARC_POLICY_ALLOW(-0.50)[rail.eu.org,none]; NEURAL_HAM_SHORT(-0.85)[-0.855]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:bc8:30d3:ff17::2:from]; ASN(0.00)[asn:12876, ipnet:2001:bc8::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:18:01 -0000 Le 11/01/2021 à 14:54, James B. Byrne via freebsd-questions a écrit : > > > On Mon, January 11, 2021 03:42, Matthew Seaman wrote: >> On 10/01/2021 19:14, Valeri Galtsev wrote: >> >>> Just for my education: is there any advantage in using git like that instead >>> of portsnap? >> >> Just that the git method will be supported in the future, whereas >> portsnap is slated for removal, associated with the upcoming switch of >> ports from SVN to git due at the end of Q1 this year. >> > > A bigger advantage is that with git you get the complete development history. > Which means that if you need to rebuild an old package for a previous FreeBSD > release then you need only know the id of the last last commit made before the > packages were built for a specific release or quarterly update. With that > information one can checkout the entire code base as it existed at that moment > and rebuild from that. And with git these should be tagged so that you can > locate this point based on the release or quarterly build name or anything else > the maintainers consider significant milestones worthy of a tag.. > > But a big drawback is that as defauklt you get the whole history, which the moajority of us do not need and that some people cannot handle (not enough space, not enough bandwidth). From owner-freebsd-questions@freebsd.org Mon Jan 11 14:35:32 2021 Return-Path: Delivered-To: freebsd-questions@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 DED264DAF07 for ; Mon, 11 Jan 2021 14:35:32 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDx835Q9nz3mCT for ; Mon, 11 Jan 2021 14:35:31 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Mon, 11 Jan 2021 15:34:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1610375722; bh=VWFFw/u9RPfMv2Uuxq4qmUOp4McijQopnCn2pMRmiow=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=0tsFJALA+bx3hqNKCIz4aIrOiZ/GxqihcqYKD+tkt/KRJX0QLzEzogtr2AG+/WQna OoI9oyXttwRx5WYenN3u4ZEUFdkhBXUVy8r7diad9DlJJT1V5v0n+euPjOWvY9Flhm K65DfUIZ/VNsiv6ehgeBqOPWiT+aq0GkkGsOi7IlT8Iaie7nKfvZAZY9JmpaBGWDXE 8IZkkYWnofphOpyKA+nCTEH2/omiSEOuH9AhO+p66h2R1ltaaGMjIknq28KnbRAYCF rznldqjbgKqEFZxBm50CPTKtwmfp4CjaitmQVK0F1lbC/7KgcFCLEwp47XewIE4Lf2 2XjvAPiTYR3Ug== Message-ID: <87v9c3leyt.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: FreeBSD ports: looking ahead: Portsnap, after Git becomes primary In-Reply-To: <20210111141204.80BFB6A14C9D@ary.qy> References: <5777f16a-60e1-0982-4d4c-58e2bc2db1fa@gmail.com> <20210111141204.80BFB6A14C9D@ary.qy> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/28.0 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4DDx835Q9nz3mCT X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=0tsFJALA; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-2.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:4f8:13b:240c::25:from:127.0.2.255]; DKIM_TRACE(0.00)[gojira.at:+]; NEURAL_HAM_SHORT(-0.88)[-0.884]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:13b:240c::25:from]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:35:32 -0000 On Mon, 11 Jan 2021 15:12:04 +0100, "John Levine" wrote: > I sure hope so because I do not want to store the entire development > history of the ports tree on each of my FreeBSD VPS. net/gitup A minimalist, dependency-free FreeBSD program to clone/pull git repositories. Intended for non-developers, gitup synchronizes local copies of repositories without the additional overhead that the official git client requires. Because gitup neither uses nor updates the contents of .git directories, the official git client should not be used on repositories cloned or modified with gitup. -- Herbert From owner-freebsd-questions@freebsd.org Mon Jan 11 14:45:03 2021 Return-Path: Delivered-To: freebsd-questions@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 8B62B4DB52A for ; Mon, 11 Jan 2021 14:45:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDxM33PyBz3mgN; Mon, 11 Jan 2021 14:45:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 48A6E224F; Mon, 11 Jan 2021 14:45:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (130.31-255-62.static.virginmediabusiness.co.uk [62.255.31.130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D8FD21C5DB; Mon, 11 Jan 2021 14:45:00 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/D8FD21C5DB; dkim=none; dkim-atps=neutral Subject: Re: github ports To: Erwan David , freebsd-questions@freebsd.org References: <94ddb7c7d79c1614761fee4c28aaf367.squirrel@webmail.harte-lyne.ca> <2c921d94-98dc-4916-6b1b-c3c2d2001932@rail.eu.org> From: Matthew Seaman Message-ID: <1746973c-e7c0-9ce3-a3cd-12ba239c597a@FreeBSD.org> Date: Mon, 11 Jan 2021 14:44:59 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <2c921d94-98dc-4916-6b1b-c3c2d2001932@rail.eu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 14:45:03 -0000 On 11/01/2021 14:17, Erwan David wrote: > But a big drawback is that as defauklt you get the whole history, which > the moajority of us do not need and that some people cannot handle (not > enough space, not enough bandwidth). If you do a shallow clone of the repository (as Steve suggested upthread) eg: git clone --depth 1 --single-branch git@github.com:freebsd/freebsd-ports.git then the amount of disk space used should be roughly similar to what you'ld use for portsnap(8) (including the bits portsnap uses under /var as well as what's in /usr/ports). At least, extrapolating from some investigations done comparing freebsd-update(8) and a similar shallow clone of the src repository. Tools like gitup will effectively do this sort of checkout for you. (In ports as net/gitup, but beware: it's so new the paint is still wet, and it probably has quite a bit of debugging still to do before it is production ready.) gitup has been proposed as a possible BSD-licensed tool to be bundled with the OS as a native way to pull down the system, ports and other sources. There's also OpenBSD's 'got' which uses the same repository format as `git` but assumes the sort of development process the OpenBSD people use currently. The first clone of the repo will be pretty bandwidth intensive, and also not something you can restart from where you got to if your session gets interrupted in the middle. There are plans afoot to supply snapshots of the repositories as tarballs that you can pull down via fetch(8), which will support resuming a download. That might not be available for ports until after the ports cuts over from SVN though. Subsequently updating via `git pull` should be pretty bandwidth efficient -- you will literally download the exact changes needed to take your existing checkout to the latest version from the upstream repo. Over time, as you repeatedly `git pull` the disk usage will tend to creep up a bit, but you can use `git gc --aggressive` to garbage collect and minimize disk space usage. Cheers, Matthew From owner-freebsd-questions@freebsd.org Mon Jan 11 15:24:39 2021 Return-Path: Delivered-To: freebsd-questions@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 017734DCAB4 for ; Mon, 11 Jan 2021 15:24:39 +0000 (UTC) (envelope-from liedtke@punkt.de) Received: from mail.punkt.de (mail.punkt.de [217.29.41.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDyDk13wQz3r08 for ; Mon, 11 Jan 2021 15:24:37 +0000 (UTC) (envelope-from liedtke@punkt.de) Received: from [217.29.46.73] (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.punkt.de (Postfix) with ESMTPSA id 5AE4633FE1 for ; Mon, 11 Jan 2021 16:24:30 +0100 (CET) Subject: Re: github ports To: freebsd-questions@freebsd.org References: <20210110133605.6538dfd5@dismail.de> <20210110202429.c889dee5.freebsd@edvax.de> <20210110145449.194954b7@dismail.de> From: Lars Liedtke Organization: punkt.de GmbH Message-ID: <3d89cd5a-05ed-19a5-523c-3fbeab17829b@punkt.de> Date: Mon, 11 Jan 2021 16:24:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20210110145449.194954b7@dismail.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Rspamd-Queue-Id: 4DDyDk13wQz3r08 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of liedtke@punkt.de designates 217.29.41.227 as permitted sender) smtp.mailfrom=liedtke@punkt.de X-Spamd-Result: default: False [-1.37 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.29.41.227:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[217.29.41.227:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.93)[0.927]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 15:24:39 -0000 > but I did read that portsnap will be > deprecated and this is the reason to switch to git. > > To everyone: Thank you very much for the help. While it is true that portsnap will be deprecated, the reason to switch to git is ease of use and collaboration for developers and that it has become the quasi standard for VCS. So with that additionally the entry barrier for new devs is hoped to be reduced (As far as my understanding of recent communication has become). -- --- punkt.de GmbH Lars Liedtke .infrastructure Kaiserallee 13a 76133 Karlsruhe Tel. +49 721 9109 500 https://infrastructure.punkt.de info@punkt.de AG Mannheim 108285 Geschäftsführer: Jürgen Egeling, Daniel Lienert, Fabian Stein From owner-freebsd-questions@freebsd.org Mon Jan 11 16:26:02 2021 Return-Path: Delivered-To: freebsd-questions@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 07D164DEBA7 for ; Mon, 11 Jan 2021 16:26:02 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDzbX5lK5z4Sw1 for ; Mon, 11 Jan 2021 16:26:00 +0000 (UTC) (envelope-from jkeenan@pobox.com) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 2274D124D33 for ; Mon, 11 Jan 2021 11:25:59 -0500 (EST) (envelope-from jkeenan@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=sasl; bh=lu+uvwckQogF g0icKhPEGt3s66M=; b=WC3XywVhtD/WPa1tAdyeFyftk875+XkyteootjmjsD7b hnFbgHDjbOr5djV5vgoMAMBKGt8bkgucM9iK1/g3IZJvOmOQ/B7+GGWj3WLgKUjH W7nSGH2qsBluM8IM53ailepCTEuRW7uDCDnUT1Kv8wtZ3XUGSrHV6cwR7YwMmI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=GY66pp w6IENOVvy7f8wsT+xioybcfMvcTCfBhihTPkUBbKT6ZksqrUkwBHmMS80pdyD3zt elMGAKvONcSXE8U7pQM0zNC1ylaOpxp+IAiIMlGorPMbnS2uhsQo4Hs9VLWK82/I FnzPow4R3KAfqXP/vnFTbogsdZQb3o1Gd8tkc= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 1B9A1124D32 for ; Mon, 11 Jan 2021 11:25:59 -0500 (EST) (envelope-from jkeenan@pobox.com) Received: from [192.168.1.4] (unknown [24.185.115.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 4DC95124D31 for ; Mon, 11 Jan 2021 11:25:56 -0500 (EST) (envelope-from jkeenan@pobox.com) Subject: Re: wget hung at "Initiating handshake"; version upgrade made things worse To: freebsd-questions@freebsd.org References: <17692bb2-7472-4a20-bd8f-05684f209b66@pobox.com> From: James E Keenan Message-ID: <2daf45d9-cca3-9186-2bf7-469aa987c300@pobox.com> Date: Mon, 11 Jan 2021 11:25:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: AE91168A-5429-11EB-811D-D609E328BF65-57062903!pb-smtp21.pobox.com X-Rspamd-Queue-Id: 4DDzbX5lK5z4Sw1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pobox.com header.s=sasl header.b=WC3XywVh; dmarc=pass (policy=none) header.from=pobox.com; spf=pass (mx1.freebsd.org: domain of jkeenan@pobox.com designates 173.228.157.53 as permitted sender) smtp.mailfrom=jkeenan@pobox.com X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[pobox.com:+]; DMARC_POLICY_ALLOW(-0.50)[pobox.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[24.185.115.142:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[173.228.157.53:from]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl]; RCVD_IN_DNSWL_LOW(-0.10)[173.228.157.53:from]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[pobox.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[173.228.157.53:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 16:26:02 -0000 On 1/10/21 10:54 AM, Vasily Postnicov wrote: > Update to supported FreeBSD version, when update all packages The sysadmin did that during the last 24 hours, and everything now works as expected. Thanks. From owner-freebsd-questions@freebsd.org Tue Jan 12 02:25:02 2021 Return-Path: Delivered-To: freebsd-questions@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 D9A7A4EDB6D for ; Tue, 12 Jan 2021 02:25:02 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFDtj6Q0nz3mtw for ; Tue, 12 Jan 2021 02:25:01 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=1w1/zBbmizffr+NlEXL4xkr89ARMY5ZOW187oIvvoa0=; b=TjmR85qMWQ/vXPEY46YAoNVHFQ omsF78MWI4ATknflK5V2NtRgb3DzPSp9pejxmGHrUxwIZ3Ho+Tmjr2j1O/TgKtrRv01MJDHhDBz6Z kRVA5kAVkcDdHRNeX919EjLd3k808Bm4xE4Pr8bsXftEzrVRG4deGs1Rd6rfmaK6K3kQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kz9Mb-000DNe-CK for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 09:24:53 +0700 Date: Tue, 12 Jan 2021 09:24:53 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Why services.db? Message-ID: <20210112022453.GA51163@admin.sibptus.ru> References: <244e6157-2bc8-9587-4b4f-e67b8f5af3c8@tundraware.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <244e6157-2bc8-9587-4b4f-e67b8f5af3c8@tundraware.com> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4DFDtj6Q0nz3mtw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=TjmR85qM; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-5.10 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 02:25:02 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tim Daneliuk wrote: > Back in the olden daze, services where defined in /etc/services. >=20 > I came upon a rather large /var/db/services.db that seems somehow oblique= ly > related to this but I am unclear on a few things: >=20 > - Why does this file exist? What problem is it solving? Isn't it for use in nsswitch.conf?=20 /etc/nsswitch.conf can use databases instead of plain files, probably to speed up lookup. >=20 > - Can it be safely removed? Unless you use "services: db" in /etc/nsswitch.conf, then probably it's safe to remove. If you do, you'd better keep the database up-to-date. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJf/Qh1AAoJEA2k8lmbXsY0VV4H/i4MWmB89KIwiWgrH6B4QBgf AYQgEIauMf8ep0bCFQsoTZPG2FWtJc7a2Jjy8OJmw3xVI39sDEKr4aCKwxEHC45W thsTX2YKzGMu/BRu47JTH3d7oeUMJ06hoemSzBu1RltRj1orYrdl4Cb9EiPkJwhb uO1HI27+Qwzad9x0RjAoowIwKrGaqUzDSV6MH4QV9TZA4V7fLrBfSAHYPhfT7/Mm 1WV/Ma8jigXgIWa3rP3NY7NHo4z7zp2xwqcvYmRNsebSE3uzON3zMsD5Ltmegrte pgKZy9yq3QKywncVpzE5qlloQs0+1/QhcrphUGbMCh48uO3X+2ziUCeywtnOIxU= =xxc3 -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From owner-freebsd-questions@freebsd.org Tue Jan 12 14:13:58 2021 Return-Path: Delivered-To: freebsd-questions@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 DEBA24D9B8F for ; Tue, 12 Jan 2021 14:13:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFXck29HGz3Km2 for ; Tue, 12 Jan 2021 14:13:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kzKKw-0006BV-5z for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 15:07:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ottavio Caruso Subject: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Date: Tue, 12 Jan 2021 14:07:48 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 Content-Language: en-GB X-Rspamd-Queue-Id: 4DFXck29HGz3Km2 X-Spamd-Bar: +++++ X-Spamd-Result: default: False [5.17 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[116.202.254.214:from]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.83)[-0.829]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[116.202.254.214:from:127.0.2.255]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 14:13:58 -0000 Hi, For educational purposes [1], I have to answer the question: "Configure Sendmail [...] to use a relay for outgoing mail. It has be sendmail and not a substitute smtp client such as ssmtp or similar. According to [2], it seems I have to edit sendmail.cf; however. according to an older post on this list [3], one would have to run "make" in /etc/mail and then edit the generated file, presumably `hostname`.mc. On IRC (freenode/#freebsd), I have been told that I can edit any .mc files, then run "make" and that will generate an .cf file. For example freebsd.mc >> freebsd.cf. So, I am basically confused and I wonder if there is a canonical way to do that on FreeBSD. Thanks. [1] https://wiki.lpi.org/wiki/BSD_Specialist_Objectives_V1.0#713.5_Mail_Transfer_Agents_.28MTA.29_Basics_.28weight:_1.29 [2] https://www.freebsd.org/doc/handbook/outgoing-only.html [3] https://lists.freebsd.org/pipermail/freebsd-questions/2004-February/035329.html -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Tue Jan 12 14:36:05 2021 Return-Path: Delivered-To: freebsd-questions@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 E13704DA3D3 for ; Tue, 12 Jan 2021 14:36:05 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (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 "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFY6D4wwnz3M4g for ; Tue, 12 Jan 2021 14:36:04 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id EE06747213; Tue, 12 Jan 2021 09:36:00 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id ckUgNk9XZwb6; Tue, 12 Jan 2021 09:35:58 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 2B72247208; Tue, 12 Jan 2021 09:35:58 -0500 (EST) Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 12 Jan 2021 09:35:58 -0500 Message-ID: <74ebbde2ed354c37fc2a84cbf3e36840.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: Date: Tue, 12 Jan 2021 09:35:58 -0500 Subject: Re: Need help specifying args in rc.conf for a service From: "James B. Byrne" To: "Scott" Cc: "Polytropon" , freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4DFY6D4wwnz3M4g X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.70 / 15.00]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[216.185.71.32:from]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 14:36:05 -0000 On Mon, January 11, 2021 07:55, Scott wrote: > > here's what I get using: > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon > -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c > "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter > /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > Illegal variable name. > > Thanks > > Try escaping the '$' character (\$). node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Tue Jan 12 14:58:30 2021 Return-Path: Delivered-To: freebsd-questions@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 48DA94DB074 for ; Tue, 12 Jan 2021 14:58:30 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFYc44rVXz3Nr4 for ; Tue, 12 Jan 2021 14:58:28 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 10CERAMS035820 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 12 Jan 2021 15:27:11 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? To: freebsd-questions@freebsd.org References: From: Andrea Venturoli Message-ID: <20135884-9845-f562-f06d-978057eb6ce8@netfence.it> Date: Tue, 12 Jan 2021 15:27:10 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DFYc44rVXz3Nr4 X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [8.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; R_SPF_ALLOW(0.00)[+ip4:78.134.96.152:c]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(0.00)[netfence.it,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; R_DKIM_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RSPAMD_URIBL(4.50)[sendmail.cf:url]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.976]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 14:58:30 -0000 On 1/12/21 3:07 PM, Ottavio Caruso via freebsd-questions wrote: > According to [2], it seems I have to edit sendmail.cf; Where does that page say this? I don't see any reference to sendmail.cf there. Anyway, manually editing cf files was the way to go (and go mad :) a long time ago. Now you edit ".mc"s and generate ".cf"s from those. > however. > according to an older post on this list [3], one would have to run > "make" in /etc/mail and then edit the generated file, presumably > `hostname`.mc. The first time you issue "cd /etc/mail ; make", it will generate {hostname}.cf, {hostname}.mc, {hostname}.submit.cf and {hostname}.submit.mc. You can then edit the two .mc files and issue "cd /etc/mail ; make install". bye av. From owner-freebsd-questions@freebsd.org Tue Jan 12 14:58:44 2021 Return-Path: Delivered-To: freebsd-questions@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 AD9C04DB38F for ; Tue, 12 Jan 2021 14:58:44 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from smtpq1.tb.mail.iss.as9143.net (smtpq1.tb.mail.iss.as9143.net [212.54.42.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFYcM1mqvz3NsT for ; Tue, 12 Jan 2021 14:58:42 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from [212.54.42.134] (helo=smtp10.tb.mail.iss.as9143.net) by smtpq1.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzL84-0004xA-Rx; Tue, 12 Jan 2021 15:58:40 +0100 Received: from 84-25-247-31.cable.dynamic.v4.ziggo.nl ([84.25.247.31] helo=smtp.boosten.org) by smtp10.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1kzL84-0001v1-K6; Tue, 12 Jan 2021 15:58:40 +0100 Received: from mailserver.boosten.org (localhost [127.0.0.1]) by smtp.boosten.org (Postfix) with ESMTP id E506416976; Tue, 12 Jan 2021 15:58:39 +0100 (CET) X-Virus-Scanned: amavisd-new at boosten.org Received: from amon.boosten.org (amon.boosten.org [192.168.13.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.boosten.org (Postfix) with ESMTPSA id 4C4AE1694C; Tue, 12 Jan 2021 15:58:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.boosten.org 4C4AE1694C From: freebsd@boosten.org Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\)) Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Date: Tue, 12 Jan 2021 15:58:35 +0100 In-Reply-To: Cc: freebsd-questions@freebsd.org To: Ottavio Caruso References: X-Mailer: Apple Mail (2.3654.40.0.2.32) X-SourceIP: 84.25.247.31 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.4 cv=SvcuVNC0 c=1 sm=1 tr=0 ts=5ffdb920 a=JWBJsaPp29SgP5DpYRBqZw==:17 a=EmqxpYm9HcoA:10 a=6I5d2MoRAAAA:8 a=GzhXGCvBx0YeCvzuIyMA:9 a=QEXdDO2ut3YA:10 a=XBvu2zEkEnPKBy_nCJoA:9 a=iM0vjlT1qPGpCuBO:21 a=_W_S_7VecoQA:10 a=IjZwj45LgO3ly-622nXo:22 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Rspamd-Queue-Id: 4DFYcM1mqvz3NsT X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.54.32.0/19]; DKIM_TRACE(0.00)[boosten.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[boosten.org,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com]; RECEIVED_SPAMHAUS_PBL(0.00)[84.25.247.31:received]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.54.42.164:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:33915, ipnet:212.54.32.0/20, country:NL]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[boosten.org:s=myselector]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[212.54.42.164:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[212.54.42.164:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.54.42.164:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 14:58:44 -0000 > Op 12 jan. 2021, om 15:07 heeft Ottavio Caruso via freebsd-questions = het volgende geschreven: >=20 > Hi, >=20 > For educational purposes [1], I have to answer the question: = "Configure Sendmail [...] to use a relay for outgoing mail. >=20 > It has be sendmail and not a substitute smtp client such as ssmtp or = similar. >=20 > According to [2], it seems I have to edit sendmail.cf; however. = according to an older post on this list [3], one would have to run = "make" in /etc/mail and then edit the generated file, presumably = `hostname`.mc. >=20 > On IRC (freenode/#freebsd), I have been told that I can edit any .mc = files, then run "make" and that will generate an .cf file. For example = freebsd.mc >> freebsd.cf. >=20 > So, I am basically confused and I wonder if there is a canonical way = to do that on FreeBSD. >=20 Basically all my jails use another jail as mail hub: Change /etc/mail/freebsd.submit.mc to reflect the correct mail hub FEATURE(`msp', `[your.smart.host]', `MSA=E2=80=99)dnl Also configure the confDOMAIN_NAME and confHELO_NAME to reflect your = host/domain. Then run =E2=80=98make install=E2=80=99.=20 In my /etc/rc.conf there=E2=80=99s this: sendmail_enable=3D"NO" sendmail_msp_queue_enable=3D"YES" sendmail_outbound_enable=3D"NO" sendmail_submit_enable=3D=E2=80=9CNO" Then run =E2=80=98make restart=E2=80=99 in your /etc/mail directory. This basically makes the machine not accept email from outside (only = from the machine itself) and forwards everything to your smart host. Peter =E2=80=94 It never hurts to help=20 - Eek the Cat! From owner-freebsd-questions@freebsd.org Tue Jan 12 15:53:38 2021 Return-Path: Delivered-To: freebsd-questions@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 32ACD4DCF29 for ; Tue, 12 Jan 2021 15:53:38 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFZqh67bTz3jTk for ; Tue, 12 Jan 2021 15:53:36 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Type:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bqVQLJAgn4Q/qnh+csryVLzrIysQCyEdKHWyHRhaX3s=; b=dG3sWJ/1kyHa0fcN2v7E4th2V4 vd8eZrORRfNysKFvLEKll8wZvCGvUcr+/iNyiOUSZpHq70sJt06++IV8KQqiRw67NWaLyjNxt38BE X5zZ3g8ypj9zRDX4Q2kZdqcK42FxuBCCzRZF7c5msxHXWRptg8ZP9+JLQxz4U2ev0Kz/uczrKbEE6 QSPLnNSoL4awBDfVpf32Q20uAVT1CJooSvxUbj6BgEDGoahrHzUsPpuV3PcsgddA50BnH/iwHaEVE MvpKaR9VbDDnNyy/5rVQh00rlgrSLbXU57qYLIl42R5EqaU/B6DcFApRHUSPL1UBUMIVQJ1SKqq9C DgBlLZ+w==; Received: from 82-71-56-121.dsl.in-addr.zen.co.uk ([82.71.56.121]:29319 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kzLyw-000483-EG for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 15:53:18 +0000 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.94) (envelope-from ) id 1kzLyw-0000o5-HL for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 15:53:18 +0000 From: Mike Clarke To: FreeBSD questions Subject: Several 'Not supported' messages with UEFI boot Date: Tue, 12 Jan 2021 15:53:17 +0000 Message-ID: <9050372.RH3biPoPvx@curlew> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1kzLyw-000483-EG X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4DFZqh67bTz3jTk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=dG3sWJ/1; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_X_SOURCE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.238.160.176:from]; CTE_CASE(0.50)[]; ASN(0.00)[asn:12703, ipnet:91.238.160.0/22, country:GB]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.238.160.176:from:127.0.2.255]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 15:53:38 -0000 As an experiment I've switched from legacy boot to UEFI. It seems to be working OK except that I see several 'Not supported' messages at the start of the boot process. I've manually typed the following boot messages from a video shot of the start up so there may be a few typos. >> FreeBSD EFI boot block Loader path /boot/loader.efi Initializing modules: ZFS UFS Load Path: \EFI\BOOT\BOOTX64,EFI Load Device: PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0x0,0x0)/HD(2,GPT, 62ea9e00-529a-11eb-94b8-408d5c843d74,0x428,0xbd8) BootCurrent: 002e BootOrder: 002e[*] 002d 0028 002a 0026 0017 0018 0016 0019 0029 002b Probing 18 block devices...not supported not supported not supported not supported not supported not supported not supported not supported not supported not supported not supported better not supported not supported not supported good good not supported done ZFS found the following pools: ssd home UFS found no partitions Consoles: EFI console Things then scrolled too fast to capture a sharp video until the FreeBSD loader menu appeared and everything went normally. So should I worry about the 'Not supported' messages, just ignore them or revert to legacy boot? -- Mike Clarke From owner-freebsd-questions@freebsd.org Tue Jan 12 16:53:30 2021 Return-Path: Delivered-To: freebsd-questions@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 899404DE9A4 for ; Tue, 12 Jan 2021 16:53:30 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFc8m71nBz3pl1 for ; Tue, 12 Jan 2021 16:53:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.27.40]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mwfj0-1k2JK41zOU-00y8A7; Tue, 12 Jan 2021 17:53:22 +0100 Date: Tue, 12 Jan 2021 17:53:22 +0100 From: Polytropon To: freebsd@boosten.org Cc: Peter Boosten via freebsd-questions , Ottavio Caruso Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Message-Id: <20210112175322.b35d6ea7.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:0snmshs/Y8BUpEeTujmPcEs17+009I20Sgs61bl08t9sqa4EVpP iHcFkCHbiOWZlEq/LwjWZYHqXqoig6QT7AwMOzl+V9hzbJU17k28UAU5Q08x/UkMH7yKkTY csA/OG7tSUNA5UyfGGuI/LWfBGEfkEqoqjiVTVEqtRgwtpuV6T/cMOW66tqcFoHxBJjK4jq A68ZX9VKxw4rdn0wbyzSw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:qH2bjiEzLyo=:6YCnpdJ7iy0rkIqZY6QwE4 3CJ/4Ur55nnQXS17N2RQRQ1WoeniJSAD8pHNCjy5YuKB/GSNrwjjQUqFbu/CpoQxqkCIFEE9h RVvBnVKAhsM8SIwb9Im/mNwFxm44oWUCLPgZJoxpY6HFuI58Wf0yjlKNAdU9JhIw8U7gBrYru zYxzzlgfZwBW3nUl+x0CLhFlLm5hnFu+6929Ez/p0C2sRWbM4QKGLTrUuTXkoFhJ6fKolqxlg 1BdDgpiV0X184QlUhkHs8zRz5pbHxZQbw42h5yLgnTp1BV7Kou4RjBgHTOhBonR+BADzAXT3f mueHmW9DM6i186zjyVsem3whNM0bOZlSSx5Ui0zh5Xw+d9LLDSOVGNfWXSy9LbPU5UJ4dcDqp NcC1kocXsT42gRGjyn67paZpCgh5f2NJC2XVByheyNdfAt8Go3f97BloMBNMp X-Rspamd-Queue-Id: 4DFc8m71nBz3pl1 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [0.40 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.27.40:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.135:from]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[212.227.126.135:from]; FREEMAIL_CC(0.00)[freebsd.org,yahoo.com]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 16:53:30 -0000 On Tue, 12 Jan 2021 15:58:35 +0100, Peter Boosten via freebsd-questions wrote: > Basically all my jails use another jail as mail hub: > > Change /etc/mail/freebsd.submit.mc to reflect the correct mail hub > > FEATURE(`msp', `[your.smart.host]', `MSA’)dnl > > Also configure the confDOMAIN_NAME and confHELO_NAME to reflect your > host/domain. > > Then run ‘make install’. > > In my /etc/rc.conf there’s this: > > sendmail_enable="NO" > sendmail_msp_queue_enable="YES" > sendmail_outbound_enable="NO" > sendmail_submit_enable=“NO" > > Then run ‘make restart’ in your /etc/mail directory. > > This basically makes the machine not accept email from outside (only > from the machine itself) and forwards everything to your smart host. In the past, I have been using my ISP's mail relay until they cut support for that. In order to have all outgoing messages to be sent through the ISP's relay (instead of having my own sendmail doing that, especially from behind a dynamic IP), I had the followint setting in /etc/mail/`hostname`.mc: define(`SMART_HOST', `mx.example.com') where mx.example.com is the mail relay I wanted to use, and it worked for all systems from within the network of the ISP. With a "make install", the setting was activated, and it worked for many happy years. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Jan 12 17:09:58 2021 Return-Path: Delivered-To: freebsd-questions@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 9DAC64DF376 for ; Tue, 12 Jan 2021 17:09:58 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFcWn5zpBz3qbs for ; Tue, 12 Jan 2021 17:09:57 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kzNB4-0009L5-Rt for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 18:09:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ottavio Caruso Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Date: Tue, 12 Jan 2021 17:09:50 +0000 Message-ID: References: <20135884-9845-f562-f06d-978057eb6ce8@netfence.it> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 In-Reply-To: <20135884-9845-f562-f06d-978057eb6ce8@netfence.it> Content-Language: en-GB X-Rspamd-Queue-Id: 4DFcWn5zpBz3qbs X-Spamd-Bar: +++++++++++ X-Spamd-Result: default: False [11.80 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(0.00)[+mx]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[116.202.254.214:from]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; ARC_NA(0.00)[]; RSPAMD_URIBL(4.50)[sendmail.cf:url]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[116.202.254.214:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 17:09:58 -0000 On 12/01/2021 14:27, Andrea Venturoli wrote: > On 1/12/21 3:07 PM, Ottavio Caruso via freebsd-questions wrote: > >> According to [2], it seems I have to edit sendmail.cf; > > Where does that page say this? > I don't see any reference to sendmail.cf there. My bad. I meant this: https://www.freebsd.org/doc/handbook/sendmail.html Third para: /etc/mail/sendmail.cf -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Tue Jan 12 17:15:05 2021 Return-Path: Delivered-To: freebsd-questions@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 102BE4DF9C4 for ; Tue, 12 Jan 2021 17:15:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFcdh3X0Dz3rN0 for ; Tue, 12 Jan 2021 17:15:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kzNG1-0004g3-UG for freebsd-questions@freebsd.org; Tue, 12 Jan 2021 18:15:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ottavio Caruso Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Date: Tue, 12 Jan 2021 17:11:39 +0000 Message-ID: References: <20210112175322.b35d6ea7.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 In-Reply-To: <20210112175322.b35d6ea7.freebsd@edvax.de> Content-Language: en-GB X-Rspamd-Queue-Id: 4DFcdh3X0Dz3rN0 X-Spamd-Bar: +++++ X-Spamd-Result: default: False [5.25 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[116.202.254.214:from]; MIME_TRACE(0.00)[0:+]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.75)[-0.747]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[116.202.254.214:from:127.0.2.255]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 17:15:05 -0000 On 12/01/2021 16:53, Polytropon wrote: > On Tue, 12 Jan 2021 15:58:35 +0100, Peter Boosten via freebsd-questions wrote: >> Basically all my jails use another jail as mail hub: >> >> Change /etc/mail/freebsd.submit.mc to reflect the correct mail hub >> >> FEATURE(`msp', `[your.smart.host]', `MSA’)dnl >> >> Also configure the confDOMAIN_NAME and confHELO_NAME to reflect your >> host/domain. >> >> Then run ‘make install’. >> >> In my /etc/rc.conf there’s this: >> >> sendmail_enable="NO" >> sendmail_msp_queue_enable="YES" >> sendmail_outbound_enable="NO" >> sendmail_submit_enable=“NO" >> >> Then run ‘make restart’ in your /etc/mail directory. >> >> This basically makes the machine not accept email from outside (only >> from the machine itself) and forwards everything to your smart host. > > In the past, I have been using my ISP's mail relay until they > cut support for that. In order to have all outgoing messages > to be sent through the ISP's relay (instead of having my own > sendmail doing that, especially from behind a dynamic IP), I > had the followint setting in /etc/mail/`hostname`.mc: > > define(`SMART_HOST', `mx.example.com') > > where mx.example.com is the mail relay I wanted to use, and > it worked for all systems from within the network of the ISP. > With a "make install", the setting was activated, and it worked > for many happy years. :-) How did you create /etc/mail/`hostname`.mc? By copying and editing or by running make in /etc/mail? -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Tue Jan 12 17:33:36 2021 Return-Path: Delivered-To: freebsd-questions@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 1A36C4E03A0 for ; Tue, 12 Jan 2021 17:33:36 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (mailserver.netfence.it [78.134.96.152]) (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 (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFd3243TXz3sZ9 for ; Tue, 12 Jan 2021 17:33:34 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.16.1/8.16.1) with ESMTPSA id 10CHXWRU024659 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Tue, 12 Jan 2021 18:33:32 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? To: freebsd-questions@freebsd.org References: <20135884-9845-f562-f06d-978057eb6ce8@netfence.it> From: Andrea Venturoli Message-ID: <77c65edb-ddf3-1314-8b85-0db1e867dae1@netfence.it> Date: Tue, 12 Jan 2021 18:33:32 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DFd3243TXz3sZ9 X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 78.134.96.152 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [8.46 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:78.134.96.152]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(0.00)[netfence.it,none]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; MIME_TRACE(0.00)[0:+]; RSPAMD_URIBL(4.50)[sendmail.cf:url]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.96)[0.956]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 17:33:36 -0000 On 1/12/21 6:09 PM, Ottavio Caruso via freebsd-questions wrote: > On 12/01/2021 14:27, Andrea Venturoli wrote: >> On 1/12/21 3:07 PM, Ottavio Caruso via freebsd-questions wrote: >> >>> According to [2], it seems I have to edit sendmail.cf; >> >> Where does that page say this? >> I don't see any reference to sendmail.cf there. > > My bad. I meant this: > https://www.freebsd.org/doc/handbook/sendmail.html > > Third para: /etc/mail/sendmail.cf Ok, then. Read that again :) It doesn't say you have to mess directly with sendmail.cf. What it says is: > The master Sendmail configuration file can be built from m4(1) macros that define the features and behavior of Sendmail. which is what "cd /etc/mail ; make" does. bye av. From owner-freebsd-questions@freebsd.org Tue Jan 12 17:56:37 2021 Return-Path: Delivered-To: freebsd-questions@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 5631A4E0BF9 for ; Tue, 12 Jan 2021 17:56:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFdYc1g4hz3wLV for ; Tue, 12 Jan 2021 17:56:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.27.40]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1MDQmW-1kq0Fd3up4-00AaEQ; Tue, 12 Jan 2021 18:56:32 +0100 Date: Tue, 12 Jan 2021 18:56:31 +0100 From: Polytropon To: Ottavio Caruso Cc: Ottavio Caruso via freebsd-questions Subject: Re: Authoritative guide to configuring Sendmail to use a relay for outgoing mail on FreeBSD? Message-Id: <20210112185631.b34d393f.freebsd@edvax.de> In-Reply-To: References: <20210112175322.b35d6ea7.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2zB9MLt9BsvIja672eTl2j+BzMwUjF7tbNI+tOrL3VQfVEuuu18 0HY8ORy2dpHbjyNIQ4XzYp1v6qxroJHLmYfRjTHjHgaiGQXYTNby+CkEY0TU2d95yYMIEAA DQ9UZAz2BicJBvjDuIQIxIV4N/ShddHdyMgm2dyNixUBf8emDpkYwmMXugvmdQwf3yim//q Hq/GmW+lk+P6FC8k7PTLw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:FAsRZCM/3uY=:bkF4bRqJ5amgVGdGiIFipT 35hNy/0qIzNfhoRhDyFFHWSBB1gria4xJY08h1KWx3p3Zi41wswA/u0omhJsf4dZOFZubE9KL 1EfSzs8F0k7MuvN9LIX4oyAwvv/30uzXaKZe/AtuqZlKbyega+QCCS/+mcTQfzOfCtwRDQ//U PhkTM2tCXFE9dyzrBF80l4y0mn88o0yMThOtN+ODVYu2AOrgIBmSSyLYqychoWsExpa9M0c1m g7ukKJ1B/lRaXr+iV/f8oHyLbuiweDcd3XgzAjvo+ClYjKEbya6RoIdJMiNVr80O9BCoU2mF5 KaS9OUoQh3OoC15Wq4hQUd0097ETnDa9uzEqOv0PxaJOwVnyxWTEJmhgU8hM1XPFeVkBoJiWh c4NjLs6+p4oNb4Ja++aj3jPOpYSxjsZ2KYnSseg/HhgJUIry7GwLetAguQR8v X-Rspamd-Queue-Id: 4DFdYc1g4hz3wLV X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [1.01 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[217.72.192.73:from]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.39)[-0.388]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.72.192.73:from]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.27.40:received]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[217.72.192.73:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[217.72.192.73:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 17:56:37 -0000 On Tue, 12 Jan 2021 17:11:39 +0000, Ottavio Caruso via freebsd-questions wrote: > On 12/01/2021 16:53, Polytropon wrote: > > On Tue, 12 Jan 2021 15:58:35 +0100, Peter Boosten via freebsd-questions wrote: > >> Basically all my jails use another jail as mail hub: > >> > >> Change /etc/mail/freebsd.submit.mc to reflect the correct mail hub > >> > >> FEATURE(`msp', `[your.smart.host]', `MSA’)dnl > >> > >> Also configure the confDOMAIN_NAME and confHELO_NAME to reflect your > >> host/domain. > >> > >> Then run ‘make install’. > >> > >> In my /etc/rc.conf there’s this: > >> > >> sendmail_enable="NO" > >> sendmail_msp_queue_enable="YES" > >> sendmail_outbound_enable="NO" > >> sendmail_submit_enable=“NO" > >> > >> Then run ‘make restart’ in your /etc/mail directory. > >> > >> This basically makes the machine not accept email from outside (only > >> from the machine itself) and forwards everything to your smart host. > > > > In the past, I have been using my ISP's mail relay until they > > cut support for that. In order to have all outgoing messages > > to be sent through the ISP's relay (instead of having my own > > sendmail doing that, especially from behind a dynamic IP), I > > had the followint setting in /etc/mail/`hostname`.mc: > > > > define(`SMART_HOST', `mx.example.com') > > > > where mx.example.com is the mail relay I wanted to use, and > > it worked for all systems from within the network of the ISP. > > With a "make install", the setting was activated, and it worked > > for many happy years. :-) > > How did you create /etc/mail/`hostname`.mc? By copying and editing or by > running make in /etc/mail? Simply run # make in /etc/mail, this will generate the hostname-based files according to the templates. Do not edit the templates, just edit the .mc files with your hostname, then run # make install to put them into action. Refer to the commend header of /etc/mail/Makefile where xou can find an explanation of the different targets (all, cf, maps, aliases, install, start, stop, restart). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Jan 12 23:36:27 2021 Return-Path: Delivered-To: freebsd-questions@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 EF1294E9A9E for ; Tue, 12 Jan 2021 23:36:27 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DFn5k0qvxz4qpX for ; Tue, 12 Jan 2021 23:36:24 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10CNa4oM033096; Wed, 13 Jan 2021 10:36:04 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10CNa3Ew018584 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 13 Jan 2021 10:36:03 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10CNa3WL041141; Wed, 13 Jan 2021 10:36:03 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10CNa1H4041029; Wed, 13 Jan 2021 10:36:01 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Wed, 13 Jan 2021 10:36:01 +1100 From: Scott To: "James B. Byrne" Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-ID: Mail-Followup-To: "James B. Byrne" , Polytropon , freebsd-questions@freebsd.org References: <74ebbde2ed354c37fc2a84cbf3e36840.squirrel@webmail.harte-lyne.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <74ebbde2ed354c37fc2a84cbf3e36840.squirrel@webmail.harte-lyne.ca> X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DFn5k0qvxz4qpX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 23:36:28 -0000 On Tue, Jan 12, 2021 at 09:35:58AM -0500, James B. Byrne wrote: > > > On Mon, January 11, 2021 07:55, Scott wrote: > > > > here's what I get using: > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > --collector.textfile.directory=/var/tmp/node_exporter > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon > > -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > --collector.textfile.directory=/var/tmp/node_exporter > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c > > "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter > > /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 > > --collector.textfile.directory=/var/tmp/node_exporter > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > --collector.textfile.directory=/var/tmp/node_exporter > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > --collector.textfile.directory=/var/tmp/node_exporter > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > Illegal variable name. > > > > Thanks > > > > > > Try escaping the '$' character (\$). > > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Unencrypted messages have no legal claim to privacy > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:ByrneJB@Harte-Lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > No joy: + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' Badly placed (. Cheers From owner-freebsd-questions@freebsd.org Wed Jan 13 11:21:05 2021 Return-Path: Delivered-To: freebsd-questions@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 19C2B4D8C04 for ; Wed, 13 Jan 2021 11:21:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DG4kl6dt6z4Vsk for ; Wed, 13 Jan 2021 11:21:03 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.56.26] (helo=c720-r368166.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzeCz-0007DM-EB for freebsd-questions@freebsd.org; Wed, 13 Jan 2021 12:21:01 +0100 Received: from c720-r368166.fritz.box (localhost [127.0.0.1]) by c720-r368166.unixarea.de (8.16.1/8.14.9) with ESMTPS id 10DBL0aT008412 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 13 Jan 2021 12:21:00 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by c720-r368166.fritz.box (8.16.1/8.14.9/Submit) id 10DBL0g0008411 for freebsd-questions@freebsd.org; Wed, 13 Jan 2021 12:21:00 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: c720-r368166.fritz.box: guru set sender to guru@unixarea.de using -f Date: Wed, 13 Jan 2021 12:21:00 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: sound devices /dev/dsp* && pulseaudio Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.56.26 X-Rspamd-Queue-Id: 4DG4kl6dt6z4Vsk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [-2.20 / 15.00]; HAS_REPLYTO(0.00)[guru@unixarea.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[178.254.4.101:server fail]; RWL_MAILSPIKE_GOOD(0.00)[178.254.4.101:from]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[188.174.56.26:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[178.254.4.101:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[178.254.4.101:from:127.0.2.255]; RCVD_IN_DNSWL_LOW(-0.10)[178.254.4.101:from]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 11:21:05 -0000 I have in my laptop running 13.0-CURRENT r368166 the following situation $ cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) default No devices installed from userspace. When I now plug-in an USB headset it gives (logically) one device more: $ cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play/rec) pcm2: (play/rec) default No devices installed from userspace. and also the device files are there fine: $ ls -l /dev/dsp* crw-rw-rw- 1 root wheel 0x191 Jan 13 12:05 /dev/dsp0.0 crw-rw-rw- 1 root wheel 0x18c Jan 13 10:59 /dev/dsp1.0 crw-rw-rw- 1 root wheel 0x192 Jan 13 11:49 /dev/dsp1.1 crw-rw-rw- 1 root wheel 0x193 Jan 13 11:00 /dev/dsp1.2 crw-rw-rw- 1 root wheel 0x195 Jan 13 11:00 /dev/dsp1.3 crw-rw-rw- 1 root wheel 0x198 Jan 13 12:04 /dev/dsp1.4 crw-rw-rw- 1 root wheel 0x19c Jan 13 12:15 /dev/dsp2.0 <*** USB But the running pulseaudio(8) daemon does not know the new device: $ pacmd info | grep dsp Default sink name: oss_output.dsp1 Default source name: oss_output.dsp1.monitor argument: argument: name: device.string = "/dev/dsp0" device.description = "/dev/dsp0" name: device.string = "/dev/dsp1" device.description = "/dev/dsp1" name: device.description = "Monitor of /dev/dsp0" name: Of course, I could restart the pulseaudio(8) and all would be fine (and working also with firefox https://meet.jit.si/myroom ), but is there any way to get pulseaudio(8) informed about the new device (and also the detach)? matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub ¡Con Cuba no te metas! «» Don't mess with Cuba! «» Leg Dich nicht mit Kuba an! http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/ From owner-freebsd-questions@freebsd.org Wed Jan 13 13:37:12 2021 Return-Path: Delivered-To: freebsd-questions@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 44BEA4DD09C for ; Wed, 13 Jan 2021 13:37:12 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (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 "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DG7lq3R8Bz4gGh for ; Wed, 13 Jan 2021 13:37:10 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id ECC3147CB2; Wed, 13 Jan 2021 08:37:06 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id IaWfljhB2OeF; Wed, 13 Jan 2021 08:37:04 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 7C08D47CA7; Wed, 13 Jan 2021 08:37:03 -0500 (EST) Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Wed, 13 Jan 2021 08:37:03 -0500 Message-ID: In-Reply-To: References: <74ebbde2ed354c37fc2a84cbf3e36840.squirrel@webmail.harte-lyne.ca> Date: Wed, 13 Jan 2021 08:37:03 -0500 Subject: Re: Need help specifying args in rc.conf for a service From: "James B. Byrne" To: "Polytropon" , freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4DG7lq3R8Bz4gGh X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.70 / 15.00]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[216.185.71.32:from]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 13:37:12 -0000 On Tue, January 12, 2021 18:36, Scott wrote: > On Tue, Jan 12, 2021 at 09:35:58AM -0500, James B. Byrne wrote: >> >> >> On Mon, January 11, 2021 07:55, Scott wrote: >> > >> > here's what I get using: >> > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' >> > >> > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f >> -p >> > /var/run/node_exporter.pid -T node_exporter /usr/bin/env >> > /usr/local/bin/node_exporter --web.listen-address=:9100 >> > --collector.textfile.directory=/var/tmp/node_exporter >> > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' >> > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c >> "/usr/sbin/daemon >> > -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env >> > /usr/local/bin/node_exporter --web.listen-address=:9100 >> > --collector.textfile.directory=/var/tmp/node_exporter >> > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' >> > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c >> > "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter >> > /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 >> > --collector.textfile.directory=/var/tmp/node_exporter >> > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' >> > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p >> > /var/run/node_exporter.pid -T node_exporter /usr/bin/env >> > /usr/local/bin/node_exporter --web.listen-address=:9100 >> > --collector.textfile.directory=/var/tmp/node_exporter >> > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' >> > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p >> > /var/run/node_exporter.pid -T node_exporter /usr/bin/env >> > /usr/local/bin/node_exporter --web.listen-address=:9100 >> > --collector.textfile.directory=/var/tmp/node_exporter >> > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' >> > Illegal variable name. >> > >> > Thanks >> > >> > >> >> Try escaping the '$' character (\$). >> >> >> node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' >> >> -- >> *** e-Mail is NOT a SECURE channel *** >> Do NOT transmit sensitive data via e-Mail >> Unencrypted messages have no legal claim to privacy >> Do NOT open attachments nor follow links sent by e-Mail >> >> James B. Byrne mailto:ByrneJB@Harte-Lyne.ca >> Harte & Lyne Limited http://www.harte-lyne.ca >> 9 Brockley Drive vox: +1 905 561 1241 >> Hamilton, Ontario fax: +1 905 561 0757 >> Canada L8E 3C3 >> > > No joy: > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon > -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c > "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter > /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > /usr/local/bin/node_exporter --web.listen-address=:9100 > --collector.textfile.directory=/var/tmp/node_exporter > --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' > Badly placed (. > > Cheers > . . . --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' . . . --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' VICE . . . --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' Why is the last different than the first two? Is the first -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Wed Jan 13 17:02:04 2021 Return-Path: Delivered-To: freebsd-questions@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 7A3D94E27ED for ; Wed, 13 Jan 2021 17:02:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGDJC1gc9z3CFh for ; Wed, 13 Jan 2021 17:02:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.8.191]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1N1cvQ-1jy7NT2xKq-011xJX; Wed, 13 Jan 2021 18:01:39 +0100 Date: Wed, 13 Jan 2021 18:01:34 +0100 From: Polytropon To: Scott Cc: "James B. Byrne" , Polytropon , freebsd-questions@freebsd.org Subject: Re: Need help specifying args in rc.conf for a service Message-Id: <20210113180134.a481ad1e.freebsd@edvax.de> In-Reply-To: References: <74ebbde2ed354c37fc2a84cbf3e36840.squirrel@webmail.harte-lyne.ca> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:tJ6Lygr4n5Eiyay190Y0TUKbxyQ8KNdUWGRXfi9aA6Go+Fv6lUj Qbl7dNJxxQlm8fMkny3Xl0M+7epVXuS2kWSwxTQZG7sQgJvXQ6fgCBcQxMQhCg1F+5IsDVt iuXUFYaTDZBzGjQHnON3losP8YMcLUm0G0BEOLUm4kiVTNptAM40sl5JDph1Yczhdjm/THm hfIKIgySJIZwQJP0TpjPQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:OGrcNHBMjaw=:i0bXskEaNvK+pVcvIG5r11 tzrT/HAvlLZMpSxoGd/b0i8C5jmynd2622PCIW+di3SYHZnAoa19v82P1VcdkDxBKmz6fxqRQ CsF8Nn45DyGiNvyiba7DlXcFlTaYJ/0/Eu7QR8q/4Pfe57kRXz3gKtb5pk9AgB3XG6y4Hv7dE U7h1GpwNU89mug2FspHRiXVIoJAKvwKVMmkW08Psy9+4bcYRNA5u45na1NS2KaDg3PnPYMhLl lee6u0NyLcGQx1Xj39GwRpJZ99qwa+wWe+k1Cjzd4176h7OvKorDVABokCf6uuiFwMxBGeQ2K 2dKzkqHekyRwRbpseImWgp5nC6L2uiTRmXLpj8wcVmHMsNJQOQIoR5JRYwGE0toQPqbEXBtET YrsYfmngFoCI6LGpgwrCXKLraVcK93rsQCX+bxWORDbehURh6ETT/N9C0L9TY X-Rspamd-Queue-Id: 4DGDJC1gc9z3CFh X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [-0.60 / 15.00]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[94.222.8.191:received]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.227.126.135:from]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_VERYGOOD(0.00)[212.227.126.135:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 17:02:04 -0000 On Wed, 13 Jan 2021 10:36:01 +1100, Scott wrote: > On Tue, Jan 12, 2021 at 09:35:58AM -0500, James B. Byrne wrote: > > > > > > On Mon, January 11, 2021 07:55, Scott wrote: > > > > > > here's what I get using: > > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)($|/)"' > > > > > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > > --collector.textfile.directory=/var/tmp/node_exporter > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon > > > -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > > --collector.textfile.directory=/var/tmp/node_exporter > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c > > > "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter > > > /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 > > > --collector.textfile.directory=/var/tmp/node_exporter > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p > > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > > --collector.textfile.directory=/var/tmp/node_exporter > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""\'' > > > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p > > > /var/run/node_exporter.pid -T node_exporter /usr/bin/env > > > /usr/local/bin/node_exporter --web.listen-address=:9100 > > > --collector.textfile.directory=/var/tmp/node_exporter > > > --collector.filesystem.ignored-mount-points="^/(dev)($|/)""' > > > Illegal variable name. > > > > > > Thanks > > > > > > > > > > Try escaping the '$' character (\$). > > > > > > node_exporter_args='--collector.filesystem.ignored-mount-points="^/(dev)(\$|/)"' > > [...] > > No joy: > > + _doit=$' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + _run_rc_doit $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + debug $'run_rc_command: doit: limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + eval $' limits -C daemon su -m nobody -c \'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\\$|/)""\'' > + limits -C daemon su -m nobody -c 'sh -c "/usr/sbin/daemon -f -p /var/run/node_exporter.pid -T node_exporter /usr/bin/env /usr/local/bin/node_exporter --web.listen-address=:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.filesystem.ignored-mount-points="^/(dev)(\$|/)""' > Badly placed (. The last error indicates that there still is a problem with escaping and quoting. You'd have to find a combination of ", ' and \ to make it work. Another idea: Create a file /etc/ignore.txt with the following content: "^/(dev)(\$|/)" Make sure no \n follows - the 2nd " should be the last symbol in the file, its size therefore be 15 bytes. In /etc/rc.conf, try: node_exporter_args="--collector.filesystem.ignored-mount-points=`/in/cat /etc/ignore.txt`" It's not fully clear to me where the expansion attempt happens, but it seems that it happens in at least two places: first in /etc/rc.conf, which turns \$ into literal $, and further down in the "starter script" which reads $ and tries to expand it, instead of using it "as is". The idea is to keep at least one of those possible interpreters from interpreting, which almost every time leads to a predictable mis-interpretation. To avoid this, try /etc/ignore.txt with: '^/(dev)($|/)' or maybe even: '^/(dev)(\$|/)' Finally, you have the ability to hard-code the $ at the last place it will be processed, checking the "surrounding" for any possible variable evalation. That is of course not an ideal solution, but it might be a working solution. Create a diff for it so you can apply it after each program upgrade. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Wed Jan 13 23:24:19 2021 Return-Path: Delivered-To: freebsd-questions@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 010694EB79B for ; Wed, 13 Jan 2021 23:24:19 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2048.outbound.protection.outlook.com [40.92.22.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGNnF6bz5z3vww for ; Wed, 13 Jan 2021 23:24:17 +0000 (UTC) (envelope-from brandon.helsley@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M406YOiOhl/EZZsApQZhVflmHpZgfQoniv6W1TEEuvXHlNJqDeV2JK5PAOTr6to+K0OIuKjJ/ctuuIaMdDAYpYvhjbrbvwCnKQDE6nmo32olwM3FpjEksQz4v3psROFzmFQGjd1CAELc3LSAmEJT8igFNaTO8SSJ6cwkzf19SciIQblvfi/leT4VMUpAlqRdlME1UF8HprF49MS2XhNU54IbhKrw6lQ8DPrVRQGEwKJno9iVnXkmSqlNPMC1Nz/xmvywWYPc8SMp0ssrWJnademaMPV5Sj4OFEf7Hq2BM+dJF13rkUh4PIoYcwOF0lSCtyeS1+rXfbBBr/zKG2prtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g72RNDhLq/NcYyzFQAVDHhy0iWRh5Wq//TnyVND2QS0=; b=gPQEuum4otvePPLDIIMglWTI4df8wlJUm+b+lqhfA0yFa3xjQp4r/9TCCvqHCtL2kl1m/PsKOYlxgAUOJcxqrZfwU2wnmglutZqesr0mSJhh1Lw4BmjckuFqPtz9UrkeyzTAeY4mvDsQ7sq3sq6US8/5ngqAbNfy4ERpBg/9TSFYn6hmRv7jN8VGx1N/BN1xqze6L71OLiqTxHKJIkhxALQ4LeejvVInuXqiqeeUisBYTIbWNplANA7bISYUvCPNbA2k+reSR6SByKKESws72hKG+h3+ZdaMCZxWfxhV/B1iIexTgzuoN6/TUwhN/y+wiO8It3n4M0oo3ebHQV8oIA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g72RNDhLq/NcYyzFQAVDHhy0iWRh5Wq//TnyVND2QS0=; b=Mxjeu/s6vPCmV8S+9IAhDHWTz8zeF5Um4fQYMApYW8i2VBYy4B7DgFMpHaM9zb9h7ExF3dtHiRRmJbmO2ZuWKoCehfGKP3NHkQ6m9MKEIlkq9Da4yCKB+6s0tNc/dtgSnndEWlxOXbH9FrWxox3QNa0Ms/IWf2vFnk7l8to82J5dLmaRDKZvJ6lxTH4n/5iLSvL9Zl+Q6GHXoScU4CU/6w9zeC7NI4CdWXIpdve4C54W26s8XleepF8UGQaoqf8fAcMrYFktpKTWyLjOuxIAsDWKPRPaZfp+RL3mjlGvdmFuN1GucnReF3MT46yyIz1JCoS3RE2NQ9XCucFJfXcf5w== Received: from MW2NAM12FT011.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::4e) by MW2NAM12HT178.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::273) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.2; Wed, 13 Jan 2021 23:24:16 +0000 Received: from CY4PR05MB3574.namprd05.prod.outlook.com (2a01:111:e400:fc65::42) by MW2NAM12FT011.mail.protection.outlook.com (2a01:111:e400:fc65::78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.2 via Frontend Transport; Wed, 13 Jan 2021 23:24:16 +0000 Received: from CY4PR05MB3574.namprd05.prod.outlook.com ([fe80::8589:6c66:2af2:32de]) by CY4PR05MB3574.namprd05.prod.outlook.com ([fe80::8589:6c66:2af2:32de%5]) with mapi id 15.20.3763.009; Wed, 13 Jan 2021 23:24:16 +0000 From: Brandon helsley To: FreeBSD Questions Mailing List Subject: No answer from virt list Thread-Topic: No answer from virt list Thread-Index: AQHW6gMXCMu0BhuOWEiet8csgq+x1g== Date: Wed, 13 Jan 2021 23:24:16 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:3CB6B837CAC732639357C64C40A5E0A75A4FA7010A46C90F5072BB4D4B1C5C06; UpperCasedChecksum:0832288F8D26ECBC89A686FF0AFACBE809D1ADFF8136F3392FC952E4C66B898C; SizeAsReceived:6620; Count:41 x-tmn: [yM9TEEmBOZ7xepiFLxhk6x3t0+khiOoD] x-ms-publictraffictype: Email x-incomingheadercount: 41 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 54f095d8-2ac3-4b08-2ae7-08d8b81a5857 x-ms-traffictypediagnostic: MW2NAM12HT178: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BcMGW3wjSupW0I0e7YDPAaHyfdqII/rf5O9OCqFYUUNewkC10qkPYi+LCUwfyeCVqG+wjYoVc7+fXyZpwyXL7HEwoXmuVUvS0uMRPhZGYuRV5g89ZyNvOARFHUoRsA695RLohjeI5HvEwLnBp6kez0IzZtTBlGl107FheucMMWZcYAPv/BO0QZ9sfVTJlh8jKK5cKtXBqOSmoIm4JWZLCeAwBNPM+Tcr0DBEWy7sraz3imuFwrG6FVnFxLQnb7xO x-ms-exchange-antispam-messagedata: 9SDaE3fKGSdjLEOQF4xdsFoOYflg8eH4s2/luuU0oIFh2a8U+NuITWRmxG31Cng3x1fiSxW7JIsQ8rUgvTz+qGsmMjBvygO61Zw871gIicAmrQ5Xj0/fb3UCXTFW436Tol7n8++pL6/UtPW554Xvrw== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT011.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 54f095d8-2ac3-4b08-2ae7-08d8b81a5857 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2021 23:24:16.3123 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT178 X-Rspamd-Queue-Id: 4DGNnF6bz5z3vww X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=Mxjeu/s6; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of brandon.helsley@hotmail.com designates 40.92.22.48 as permitted sender) smtp.mailfrom=brandon.helsley@hotmail.com X-Spamd-Result: default: False [-4.99 / 15.00]; FREEMAIL_FROM(0.00)[hotmail.com]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.987]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[40.92.22.48:from]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[40.92.22.48:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[40.92.22.48:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.22.48:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2021 23:24:19 -0000 I am using VirtualBox 6.1 and have had another problem booting after an err= or with the system. I have made this post about the failure to boot before = with screenshots on virtualbix forums but they told me it's an error with F= reeBSD and to search for help there. Since I ran into the problem again I t= hought I would make this post. Also, this occurred after canceling an unsaf= e build of apache24 with Cntrl c and then rebooting. Below I have included = a copy paste of part of the last log file where I think it displays what we= nt wrong. ZFS: I/o error - all block copies unavailable ZFS: can't read MOS of pool root gotzfsboot: failed to mount default pool root FreeBSD/x86 boot ZFS: I/O error - blocks larger than 16777216 are not supported ZFS: can't find dataset 0 Default: root/<0x0>: boot: _ 00:15:19.908023 E1000#0: Larger TX frames : 0 00:15:19.908034 E1000#0: Max TX Delay : 0 00:15:19.936455 NEM: Destroying partition 0000000001238390 with its 1 VCpus= ... 00:15:19.941792 Changing the VM state from 'DESTROYING' to 'TERMINATED' 00:15:19.944810 Console: Machine state changed to 'PoweredOff' 00:15:20.798899 GUI: Passing request to close Runtime UI from machine-logic= to UI session. From owner-freebsd-questions@freebsd.org Thu Jan 14 08:26:24 2021 Return-Path: Delivered-To: freebsd-questions@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 5456E4D9A46 for ; Thu, 14 Jan 2021 08:26:24 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGcpl2kk9z3FSt for ; Thu, 14 Jan 2021 08:26:23 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=+gT7yYbftwxLSMjtU42n74/N6gucJXkKX/GggVakq8c=; b=TEAVmfwx4QZhCB/0PKdqznrXUG 8s61uotHsl40G7aQnHmPvhyAwWl61yArvRBTRLV1YA+CIctKZ/D77Lf2UF3fUWKhJLU8GZ38QjMD1 i5FsIBWnzSUV9CYpjz60T4okzIEz7H3o5wLDbGKBWnpLCoxHO9H7KNon85aLwhE2VnPc=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1kzxxP-000Kqj-1S for freebsd-questions@freebsd.org; Thu, 14 Jan 2021 15:26:15 +0700 Date: Thu, 14 Jan 2021 15:26:15 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Building PHP 5.6.40 on 12.2 Message-ID: <20210114082615.GA79730@admin.sibptus.ru> References: <20210108080123.GA41153@admin.sibptus.ru> <20210108142420.GA52267@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20210108142420.GA52267@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4DGcpl2kk9z3FSt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=TEAVmfwx; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-0.996]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 08:26:24 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: >=20 >=20 > I hope there is a cumulative patch somewhere? I have found this https://github.com/simplerezo/freebsd-ports-php56/ promising. but it is no magic bullet either. It has multiple issues related to constant changes in the living ports tree, so I have not been able to complete this quest yet: the build fails on several PHP 5.6 modules. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJgAAAnAAoJEA2k8lmbXsY0Mw8H+wRhlbim66JHAkK7FwUFCBep Hmyd9e0ftH+NyzPMhGuGUHjIrTj3pBRx/lrc6M5XNDrZ7ppNbaGzTywDe6teKC7G xNIqghwu6TQI5mRqg37of3d5ki9JTAsOQIFSDJ7q0t4CklYrF5AUDeR545LcrP92 nGUS7Sg4QUSGgj4Y7SQaShWNk5sfvd/xBdCgRq8OO01YSWdvXw+uD249NBGJjEOx YcvUfhiAi6iXpvB0N961bZE2KWUu4gGbmTqRT+5gHugNWg0oWTHYac4wwkypSZvT 76b2oRoH/gCpnD05iSrMwpUp8kzjCaZMJrd0Pqh+SyczjOvs1S3fTyNqbhPME6w= =IURI -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-questions@freebsd.org Thu Jan 14 10:50:56 2021 Return-Path: Delivered-To: freebsd-questions@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 3EE754DD39E for ; Thu, 14 Jan 2021 10:50:56 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGh1W0pQ3z3QFW for ; Thu, 14 Jan 2021 10:50:54 +0000 (UTC) (envelope-from dpostolov@yandex.ru) Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward103j.mail.yandex.net (Yandex) with ESMTP id EEB5E6741C12 for ; Thu, 14 Jan 2021 13:50:51 +0300 (MSK) Received: from vla1-bd837c944af5.qloud-c.yandex.net (vla1-bd837c944af5.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:3819:0:640:bd83:7c94]) by forward102q.mail.yandex.net (Yandex) with ESMTP id EAA6F3A20010 for ; Thu, 14 Jan 2021 13:50:51 +0300 (MSK) Received: from localhost (localhost [::1]) by vla1-bd837c944af5.qloud-c.yandex.net (mxback/Yandex) with ESMTP id jxDnWmrLfN-opEmK0XN; Thu, 14 Jan 2021 13:50:51 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1610621451; bh=UGRhW4apqkWEBrev5wPNlF240AFA1O3c1ezCCdSMVL4=; h=Message-Id:Date:Subject:To:From; b=aAFnc5u2SQDwuu++BBVHhWf/Ni9mQ50u4vZDWhjFa6BNwFPwpBi5rch0RmEvppoMi vaAl7VQw7o5HrHWvSoP3zyXoeNuYxFN1shHqhSlIdf4/DLS7zQnwu/BLV56M7ABkyu 19sLzEdwexULBOKxvh50Hrx8XZmqsBhbSbWYiX74= Received: by vla1-3991b5027d7d.qloud-c.yandex.net with HTTP; Thu, 14 Jan 2021 13:50:51 +0300 From: Dmitrii Postolov To: freebsd-questions Subject: Intel NUC7PJYH2 BIOS Upgrade to 0058 causes FreeBSD boot failure MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Thu, 14 Jan 2021 15:50:51 +0500 Message-Id: <5076201610621284@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 X-Rspamd-Queue-Id: 4DGh1W0pQ3z3QFW X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yandex.ru header.s=mail header.b=aAFnc5u2; dmarc=pass (policy=none) header.from=yandex.ru; spf=pass (mx1.freebsd.org: domain of dpostolov@yandex.ru designates 5.45.198.246 as permitted sender) smtp.mailfrom=dpostolov@yandex.ru X-Spamd-Result: default: False [-0.13 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:5.45.192.0/19:c]; FREEMAIL_FROM(0.00)[yandex.ru]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yandex.ru:+]; DMARC_POLICY_ALLOW(-0.50)[yandex.ru,none]; RCVD_IN_DNSWL_LOW(-0.10)[5.45.198.246:from]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[5.45.198.246:from]; FREEMAIL_ENVFROM(0.00)[yandex.ru]; ASN(0.00)[asn:13238, ipnet:5.45.192.0/18, country:RU]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yandex.ru:s=mail]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[yandex.ru:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[5.45.198.246:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.97)[0.965]; RWL_MAILSPIKE_POSSIBLE(0.00)[5.45.198.246:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 10:50:56 -0000 Hi to all! Sorry for my bad English... Intel NUC7PJYH2 BIOS Upgrade to 0058 causes FreeBSD boot failure Intel BOXNUC7PJYH2 Version #: J67992-404, Date of Manufacture: 22 May 2020. With previous BIOS 0057 all OK with Linux, NetBSD, FreeBSD and Windows. After upgrading the BIOS by F7 to version 0058 and F9 - Load defaults and configure Bios (with Linux or Windows boot profile and disable Secure Boot), Windows 10 installer is loading successfully from USB stick, but Linux and Unix-like (FreeBSD and NetBSD) are not loaded. Linux Mint 20.1 Xfce edition -> blank screen when loading and system stops FreeBSD 12.2 Screenshot -> https://yadi.sk/i/OvWKz7XfLH_EGA NetBSD 9.1_STABLE Screenshot -> https://yadi.sk/i/-uSPJoVtqTr0gA --- https://downloadmirror.intel.com/30156/eng/JY_0058_ReleaseNotes.pdf Due to the CPU microcode update in BIOS version 0058, you can’t downgrade to version 0057 or earlier. --- Probably this is a problem with ACPI BIOS settings for Linux and Unix-like OSes. https://community.intel.com -> section Intel NUC Topic "Intel NUC7PJYH2 BIOS Upgrade to 0058 causes boot failure Linux and Unix-like operating systems" Attention! Due to the CPU microcode update and a problem with ACPI BIOS settings for Linux and Unix-like OSes, updating the BIOS on Intel systems is not recommended, this can turn the system into a brick for Unix-like OSes. --- best regards, Dmitrii Postolov dpostolov@yandex.ru From owner-freebsd-questions@freebsd.org Thu Jan 14 20:50:45 2021 Return-Path: Delivered-To: freebsd-questions@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 1E4544ED0B7 for ; Thu, 14 Jan 2021 20:50:45 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGxKc2mzqz4vq4 for ; Thu, 14 Jan 2021 20:50:44 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ed1-x535.google.com with SMTP id u19so7228304edx.2 for ; Thu, 14 Jan 2021 12:50:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=WEWzfV6Evaj9+LtK2F73mwrhZoy4zt4ol//tBBs8e3Y=; b=ZUrYwqCO533za/4KQW7E8Mw7qZ99NCIreiFt7lF9g1u0HD6TrU2P9kB87MatxW5zw7 dgbEzQgzyIf4AK+wH2Mw8CCYtYY0BEMFlQk4IpMNGNrmQ81+XGmabb8izK1gqfnxGLd2 ddF4PROUL/VDxsMhiGqZCewR8TawBWPx/Gc9yGEsCOAbtoBX3EAKFySbcDj5eX/cJshE nEdEqyfGgVEgyWZlRdz75FzquNuw2PZDAcjn218I2F1ZRwABCUQzBiYbny8RMz1Ybp5S bVYmXzvvPyKArEgQ8ULcpWxeH1HlCFGoTRtjCjyNb6gB7Blb0P5+7OrQVJusjYkygw95 IC8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WEWzfV6Evaj9+LtK2F73mwrhZoy4zt4ol//tBBs8e3Y=; b=D/rJt/pZ3PFtvv0qDn9Sbp/lIY5DySkOr/hYCcNIEvOJjvWKGcaGTwdFMTKGinASpL UWtk9MwC/1ARmT4xG1dr8fZP9RurjWI6ch5l/IkjDePBxv/HbvbPWE305qwL45MeCN2u v0xynADJ9jXfnsiJU4wOHSjz4Lw0OVexPA5P3RDvdVgGr45RuYYDCoG02gNz63lU9R4f oRFV2lo6kDrZ0MngDxBaRoIopF+jghxL8Xnfms7pMiXZAW0qg5mZcjrJ/cBao5H4V8X+ KY9XNL7BTDBtwRtTfJAbuSTDXN0pKVLCH3pKnsqi1Y7R0VetyXB6ToTDBn4ub/Pxkcws SOiA== X-Gm-Message-State: AOAM533NBQFciYEWuP0Dp9UcOFrcMftC0t0p+0bQ5XKWPaG2OCWi2GeD GnMdjYg5fpwt7rxHFruVnbt0e7hnG2H/q07tUXGhzWZY+L1Kvg== X-Google-Smtp-Source: ABdhPJwAP2g6FCIioD1YW2IqWz0PRp+N+y+2Z4fOULzsnWNgJEhzaLHVz3e0q5q8bW+IYwNX+86POM/OlaxZ4DTIbBc= X-Received: by 2002:a50:c8c3:: with SMTP id k3mr1375536edh.302.1610657443011; Thu, 14 Jan 2021 12:50:43 -0800 (PST) MIME-Version: 1.0 From: Tomasz CEDRO Date: Thu, 14 Jan 2021 21:50:33 +0100 Message-ID: Subject: CMAKE_PREFIX_PATH and /usr/local To: freebsd-ports , FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DGxKc2mzqz4vq4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=ZUrYwqCO; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::535) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-0.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.08)[-0.076]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.98)[0.978]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::535:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::535:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::535:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 20:50:45 -0000 Hello world :-) I am porting LimeSuite to FreeBSD. Local patch fixes missing "/usr/local/" path in CMakeLists.txt so the package now builds fine on FreeBSD. On Linux probably most of the libraries and includes are located in /usr/ do problem does not exist. Upstream has some objections to accept this patch and considers "/usr/local" a non-standard path [1]. But they propose to use CMAKE_PREFIX_PATH to add "/usr/local". This however does not seem to be supported in Ports (yet?). The question is how to tell CMake about "/usr/local/include" without source code modification? :-) Below is the proposed patch: > @@ -171,6 +171,11 @@ if (ENABLE_NEW_GAIN_BEHAVIOUR) add_definitions(-DNEW_GAIN_BEHAVIOUR) endif() +if (CMAKE_SYSTEM_NAME MATCHES "BSD") + include_directories("/usr/local/include") Any hints welcome :-) Tomek [1] https://github.com/myriadrf/LimeSuite/pull/329 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Thu Jan 14 20:56:37 2021 Return-Path: Delivered-To: freebsd-questions@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 BF48C4ED9D4 for ; Thu, 14 Jan 2021 20:56:37 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (mx32.harte-lyne.ca [216.185.71.32]) (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 "mx32.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DGxSP12dZz3Cc5 for ; Thu, 14 Jan 2021 20:56:36 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 10603595E7 for ; Thu, 14 Jan 2021 15:56:35 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id Ok-JR-9Iq_tI for ; Thu, 14 Jan 2021 15:56:33 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 2D66B595DC for ; Thu, 14 Jan 2021 15:56:33 -0500 (EST) Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Thu, 14 Jan 2021 15:56:33 -0500 Message-ID: <0da3914ef32698b92b6e012de365424f.squirrel@webmail.harte-lyne.ca> Date: Thu, 14 Jan 2021 15:56:33 -0500 Subject: Paying to port to FreeBSD From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Rspamd-Queue-Id: 4DGxSP12dZz3Cc5 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; HAS_REPLYTO(0.00)[byrnejb@harte-lyne.ca]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.185.71.0/26]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[216.185.71.32:from]; DKIM_TRACE(0.00)[harte-lyne.ca:+]; HAS_X_PRIO_THREE(0.00)[3]; DMARC_POLICY_ALLOW(-0.50)[harte-lyne.ca,quarantine]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:12021, ipnet:216.185.64.0/20, country:CA]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[harte-lyne.ca:s=dkim_hll]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[harte-lyne.ca:dkim]; NEURAL_SPAM_SHORT(1.00)[1.000]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 20:56:37 -0000 I wish to trial a software package (aubit4gl) on FreeBSD. The application is written in C and has a maintainer. However, he is not familiar with FreeBSD insofar as I can determine and he is busy with other things. The source package is available as a tarball from sourceforge, or I can provide it. What I need is someone familiar with building software on FreeBSD to configure and build this application in a manner suitable for adding to ports if possible, but to compile and run properly on FreeBSD at a minimum. I am willing to pay to have this done if it can be accomplished in a reasonably short period of time and without a great deal of expense. I anyone is interested then please contact me directly. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3 From owner-freebsd-questions@freebsd.org Fri Jan 15 11:31:06 2021 Return-Path: Delivered-To: freebsd-questions@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 B277B4E1C43 for ; Fri, 15 Jan 2021 11:31:06 +0000 (UTC) (envelope-from freebsd@sudoers.net) Received: from mail.doom-labs.net (diabolo.doom-labs.net [81.92.172.233]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DHJsN5TDwz4p3F for ; Fri, 15 Jan 2021 11:31:04 +0000 (UTC) (envelope-from freebsd@sudoers.net) Received: from [192.168.1.123] (gw-out.haj.doom.de [212.60.130.139]) (Authenticated sender: gehm@doom-labs.net) by mail.doom-labs.net (Postfix) with ESMTPSA id 55F961443C for ; Fri, 15 Jan 2021 12:30:53 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail.doom-labs.net DKIM-Filter: OpenDKIM Filter v2.10.3 mail.doom-labs.net 55F961443C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sudoers.net; s=201810; t=1610710253; bh=JjWEDXdyNVrgF/W6SnZZkc5YSgGb5OJwxUHyBNCcJBg=; h=To:From:Subject:Date:From; b=xKrq2YSOiyikxej8SQ5VmVe51tA1Bfwqgcau+Qz0WVZ+qTl20Wtdq4eua4tjq21H7 GOfUocSFMle3rn8wiSz5h6tUVRRnauXZMSvO4oyAsEFIiM5YahALnHcJIGMiLrk2tE vL8Oy0zqJrgZ0PnKtZWDpPODYff59kiDyREf3MkY7GLOTK5Y0KMfEySU3KRaudEJ0e U3x7WXJADbuJvGdkU7ZxHR1zstQNxf0AATI2s0Q1zbtg2JkibK3SAqlx96r1dul94c aMQPxS3QvaAJ6YACxytfn/3nxlKigvC33B/Of3sWDI0Niasq8X2EA/brTzL8IbqCDn FYGPIuF3dtpAQ== To: freebsd-questions@freebsd.org From: Ekkehard Gehm Subject: iSCSI initiator to target with multiple IPs Message-ID: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> Date: Fri, 15 Jan 2021 12:30:52 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wMVfM42IEFutdysxpCqgb4oNMq8t1zILi" X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on diabolo.doom-labs.net X-Rspamd-Queue-Id: 4DHJsN5TDwz4p3F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sudoers.net header.s=201810 header.b=xKrq2YSO; dmarc=pass (policy=none) header.from=sudoers.net; spf=pass (mx1.freebsd.org: domain of freebsd@sudoers.net designates 81.92.172.233 as permitted sender) smtp.mailfrom=freebsd@sudoers.net X-Spamd-Result: default: False [-6.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[sudoers.net:+]; DMARC_POLICY_ALLOW(-0.50)[sudoers.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[81.92.172.233:from]; ASN(0.00)[asn:21385, ipnet:81.92.160.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[sudoers.net:s=201810]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[81.92.172.233:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 11:31:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wMVfM42IEFutdysxpCqgb4oNMq8t1zILi Content-Type: multipart/mixed; boundary="iqt196Z7V5Z4G2YB9JcF7vAY2y2xH21GN"; protected-headers="v1" From: Ekkehard Gehm To: freebsd-questions@freebsd.org Message-ID: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> Subject: iSCSI initiator to target with multiple IPs --iqt196Z7V5Z4G2YB9JcF7vAY2y2xH21GN Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-GB Ahoy! I hope someone can give me a hint on an issue I have with iSCSI. I have a FreeBSD Server (the iSCSI initiator) which connects to a Dell Equilogic RAID (the iSCSI target). So far no big deal. But... The Target has one IP to connect to but in reality it has 8 interfaces with different IPs for traffic shaping. So. The initial connect to the pool-ip will result in a connection to one of those 8 ips. Every now and then, the RAID (target) shifts the interfaces. That will result in a message that the the target has moved to another ip... And that is where shit happens - My FreeBSD initiator drops the target completely (With a warning " target requests logout; removing session")... Bad thing :-) I don't know where to look. Is it multipath? MPIO? Any hint is highly appreciated :-) Cheers! Ekki --iqt196Z7V5Z4G2YB9JcF7vAY2y2xH21GN-- --wMVfM42IEFutdysxpCqgb4oNMq8t1zILi Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQSyS/1dgH7dA1TlJQLcAzNBjqfO5gUCYAF87AUDAAAAAAAKCRDcAzNBjqfO5vtV AKCvrydkfrTxQpa/R96ccYaOeJ+rXQCgn+zZOvsp7/f0x3WRZEu1V702K6k= =1/7+ -----END PGP SIGNATURE----- --wMVfM42IEFutdysxpCqgb4oNMq8t1zILi-- From owner-freebsd-questions@freebsd.org Fri Jan 15 16:27:05 2021 Return-Path: Delivered-To: freebsd-questions@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 72F264EAEFF for ; Fri, 15 Jan 2021 16:27:05 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DHRQw4km4z3DL1 for ; Fri, 15 Jan 2021 16:27:04 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x431.google.com with SMTP id a12so9848225wrv.8 for ; Fri, 15 Jan 2021 08:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=qTTvGr+wiPMBGHdteRN+J7VLGEaOruS7CG77pwDxLKQ=; b=hdkjyzO6905CbMulCAZagA1b93Jl6ca57MrpikjdIxzyof1d/j+JE9OeBqwCEbClDF SRgH15640qjbUNeY3Uuxcy5xz5slEha4E0RI1+w2vVEtxiWS002sSdlKSaZNEimFkAeZ 83yUYLGk/1pAaiaGay56BK79SQ95XaWdcvV/hOscjpYvlqmuwZ39wQ5ngpfxjDrHLgwU OQww/FoJBF2w9qJn2xf70TGEUTDlBh3ukUggEqTHb92IPm3zLjm5p7uyM0TC7/9+MCJ8 KlvjbQfcm7lIElpqtpCJkKxD2epMd/pexDF025Fu4IPCQVODaeUl8A5pxxbuIZlgET2j Osjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=qTTvGr+wiPMBGHdteRN+J7VLGEaOruS7CG77pwDxLKQ=; b=SyuZ8U6Q3vYl10WkQGtBt/IXBknMhqI0Vkpm5eCTxSXasko3UjudgeHkr2Iw2slCs6 a6jAaXRj9LFFLudC6jelARe85WOOc5Fm4WjAKy0uiUhLPWmNMvNQV2QLALj6je11xzar sAwiPbZmjvWbtXvchyX5wNyI3nzdEmVo0daVooVpGliVx1HgqouyXaOvKDmRctkXUKVx Nwlaccjbak7f1Oqy7F8r4DAHzDFtvbE/VLAcUZs+lZIEV8hOjC9uIfDK9ul3HnejZAOw 6HxzJbCAPBiug+wO46dUYyQR9PzfPImbRwVc4PjEfHdktbWjg6IYbOS0y4PzBbudSYCW Bc4A== X-Gm-Message-State: AOAM5336jg+rO0rfmAdMJCd+RKp6ukt6/V3ROeAZ3aDgkG+FkYYwd5Rw RgCl1/gKSvya0LBo7TmMsrVoh0HM7whXryhoiCu6jfpMhmU= X-Google-Smtp-Source: ABdhPJwKPtX1UKRwowdP/F9PcmoD1YA+e9vKAyjP/Rw0K2mncS1449F8k7Ham1dG6MVag/J4BTSSoKhVLbgiL6ZskNA= X-Received: by 2002:adf:cc81:: with SMTP id p1mr13885848wrj.339.1610728022636; Fri, 15 Jan 2021 08:27:02 -0800 (PST) MIME-Version: 1.0 From: Antonio Olivares Date: Fri, 15 Jan 2021 10:26:51 -0600 Message-ID: Subject: java web start ; icedtea-web To: FreeBSD Questions X-Rspamd-Queue-Id: 4DHRQw4km4z3DL1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hdkjyzO6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::431 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-1.96 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; HAS_ATTACHMENT(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::431:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.971]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.986]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::431:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::431:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2021 16:27:05 -0000 Dear kind FreeBSD users, I am not able to run java-web-start, ie, icedtea-web. I need to open gradebook online(requires java). It worked flawlessly before. Now it refuses to open. Maybe something changed? I try and try and I get the following: I cannot get past that. Any pointers? Thanks and Regards, Antonio From owner-freebsd-questions@freebsd.org Sat Jan 16 06:21:49 2021 Return-Path: Delivered-To: freebsd-questions@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 CC5D74D543F for ; Sat, 16 Jan 2021 06:21:49 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DHny25vJ0z4vl8 for ; Sat, 16 Jan 2021 06:21:46 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10G6LVk0036637; Sat, 16 Jan 2021 17:21:31 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10G6LVS9073971 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sat, 16 Jan 2021 17:21:31 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10G6LVc1044828; Sat, 16 Jan 2021 17:21:31 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10G6LUMl044816; Sat, 16 Jan 2021 17:21:30 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Sat, 16 Jan 2021 17:21:30 +1100 From: Scott To: Ekkehard Gehm Cc: freebsd-questions@freebsd.org Subject: Re: iSCSI initiator to target with multiple IPs Message-ID: Mail-Followup-To: Ekkehard Gehm , freebsd-questions@freebsd.org References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DHny25vJ0z4vl8 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 06:21:49 -0000 On Fri, Jan 15, 2021 at 12:30:52PM +0100, Ekkehard Gehm wrote: > Ahoy! > > I hope someone can give me a hint on an issue I have with iSCSI. > > I have a FreeBSD Server (the iSCSI initiator) which connects to a Dell > Equilogic RAID (the iSCSI target). So far no big deal. But... The Target > has one IP to connect to but in reality it has 8 interfaces with > different IPs for traffic shaping. > > So. The initial connect to the pool-ip will result in a connection to > one of those 8 ips. Every now and then, the RAID (target) shifts the > interfaces. That will result in a message that the the target has moved > to another ip... And that is where shit happens - My FreeBSD initiator > drops the target completely (With a warning " target requests logout; > removing session")... Bad thing :-) > > I don't know where to look. Is it multipath? MPIO? > > Any hint is highly appreciated :-) > > Cheers! > > Ekki > > Hi, more from a networking perspective than an iSCSI one: when you say that the initial connection to the pool-ip results in a connection to an interface address - is this an iSCSI redirection or is there a proxy of sorts (that would obscure the real target address)? Put another way, if configured to connect to IP 1.1.1.1, after the connection would netstat show the initiator connected to 1.1.1.1 or another address? Scott From owner-freebsd-questions@freebsd.org Sat Jan 16 10:01:34 2021 Return-Path: Delivered-To: freebsd-questions@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 891654D9E6B for ; Sat, 16 Jan 2021 10:01:34 +0000 (UTC) (envelope-from freebsd@sudoers.net) Received: from mail.doom-labs.net (diabolo.doom-labs.net [81.92.172.233]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4DHtqb31HQz3Mx1 for ; Sat, 16 Jan 2021 10:01:29 +0000 (UTC) (envelope-from freebsd@sudoers.net) Received: from [192.168.1.123] (gw-out.haj.doom.de [212.60.130.139]) (Authenticated sender: gehm@doom-labs.net) by mail.doom-labs.net (Postfix) with ESMTPSA id 769BE9F37F for ; Sat, 16 Jan 2021 11:01:24 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail.doom-labs.net DKIM-Filter: OpenDKIM Filter v2.10.3 mail.doom-labs.net 769BE9F37F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sudoers.net; s=201810; t=1610791284; bh=DpsrIzzR15HWJec5nUawagqct4+GuES5ITJ7KlMjy38=; h=To:References:From:Subject:Date:In-Reply-To:From; b=F/bQowh/KecI3DvHyYacxnPnZFexOz3drkgqPItPcrojs+fXcs8jcqmqb3I1BOlOj dd7muaJMlZu0RqEAniyBDJHwrkjPaGhgcneF2SxzBnxBkkNu0gmykEiaWx+P2N1of+ mkmK0dX6FvcX1toCE+n8v6M3nfgiEK6LH93EmfX0VK5RkkTpxe6AS3+2Y+YMmR4rUD hnElerddQoh3CRIZtJhpTvuhSy1F5QTjX1ubgC5zYlSEg8kIJJoQSOD1hsskz94sx1 w40t0718fH9J/uxP7BiEKZ5QLXF4d+zVnP0IhSWK9zw1j6sfoEg+eNuNBnwGrE+fk3 obwLt0bt6lVCQ== To: freebsd-questions@freebsd.org References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> From: Ekkehard Gehm Subject: Re: iSCSI initiator to target with multiple IPs Message-ID: Date: Sat, 16 Jan 2021 11:01:24 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ" X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on diabolo.doom-labs.net X-Rspamd-Queue-Id: 4DHtqb31HQz3Mx1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sudoers.net header.s=201810 header.b=F/bQowh/; dmarc=pass (policy=none) header.from=sudoers.net; spf=pass (mx1.freebsd.org: domain of freebsd@sudoers.net designates 81.92.172.233 as permitted sender) smtp.mailfrom=freebsd@sudoers.net X-Spamd-Result: default: False [-6.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_ATTACHMENT(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[sudoers.net:+]; DMARC_POLICY_ALLOW(-0.50)[sudoers.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[81.92.172.233:from]; ASN(0.00)[asn:21385, ipnet:81.92.160.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[sudoers.net:s=201810]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[81.92.172.233:from:127.0.2.255]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 10:01:34 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ Content-Type: multipart/mixed; boundary="OSreicVWPwlo6UGJo6cECjPENGi14gISA"; protected-headers="v1" From: Ekkehard Gehm To: freebsd-questions@freebsd.org Message-ID: Subject: Re: iSCSI initiator to target with multiple IPs References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> In-Reply-To: --OSreicVWPwlo6UGJo6cECjPENGi14gISA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-GB Ahoy Scott, Am 16.01.2021 um 07:21 schrieb Scott: > On Fri, Jan 15, 2021 at 12:30:52PM +0100, Ekkehard Gehm wrote: >> Ahoy! >> >> I hope someone can give me a hint on an issue I have with iSCSI. >> >> I have a FreeBSD Server (the iSCSI initiator) which connects to a Dell= >> Equilogic RAID (the iSCSI target). So far no big deal. But... The Targ= et >> has one IP to connect to but in reality it has 8 interfaces with >> different IPs for traffic shaping. >> >> So. The initial connect to the pool-ip will result in a connection to >> one of those 8 ips. Every now and then, the RAID (target) shifts the >> interfaces. That will result in a message that the the target has move= d >> to another ip... And that is where shit happens - My FreeBSD initiator= >> drops the target completely (With a warning " target requests logout; >> removing session")... Bad thing :-) >> >> I don't know where to look. Is it multipath? MPIO? >> >> Any hint is highly appreciated :-) >> >> Cheers! >> >> Ekki >> >> > Hi, > more from a networking perspective than an iSCSI one: when you say that= the=20 > initial connection to the pool-ip results in a connection to an interfa= ce=20 > address - is this an iSCSI redirection or is there a proxy of sorts (th= at=20 > would obscure the real target address)? > > Put another way, if configured to connect to IP 1.1.1.1, after the conn= ection=20 > would netstat show the initiator connected to 1.1.1.1 or another addres= s? > > Scott > _______________________________________________ Fair question. The "icscictl -L" and also netstat lists one of the pool addresses not the initial and configured address. So my client with, lets say, address 1.1.1.101 has the address e.g. 1.1.1.1 in his iscsi.conf but will than connect to one of the pool IPs 1.1.1.2 - 1.1.1.9 on port 3260 It works just fine with the VMware vSphere hosts... :/ Ekki --OSreicVWPwlo6UGJo6cECjPENGi14gISA-- --5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQSyS/1dgH7dA1TlJQLcAzNBjqfO5gUCYAK5dAUDAAAAAAAKCRDcAzNBjqfO5sBE AKCckbAVfnPs1Q48V+bQxm2VBag61gCgtZoyalkV/3LAvWtliViU7mYqLd0= =cLeG -----END PGP SIGNATURE----- --5GAKg0T89yjWKeNPJZkQWtG27k6MmW5MJ-- From owner-freebsd-questions@freebsd.org Sat Jan 16 15:39:56 2021 Return-Path: Delivered-To: freebsd-questions@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 C501E4E31A1 for ; Sat, 16 Jan 2021 15:39:56 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mail-01.thismonkey.com (mail-01.thismonkey.com [IPv6:2406:3400:35e:6602::a01:232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thismonkey.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DJ2L20fnBz4S7L for ; Sat, 16 Jan 2021 15:39:53 +0000 (UTC) (envelope-from freebsd-lists-5@thismonkey.com) Received: from mailhub-01.thismonkey.com (mailhub-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:11e]) by mail-01.thismonkey.com (8.15.2/8.15.2) with ESMTP id 10GFdkF1072328; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) X-TM-Via-MX: mailhub-01.thismonkey.com Received: from utility-01.thismonkey.com (utility-01.thismonkey.com [IPv6:2406:3400:35e:6601:0:0:a01:120]) by mailhub-01.thismonkey.com (8.15.2/8.15.2) with ESMTPS id 10GFdkcl079827 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Sun, 17 Jan 2021 02:39:46 +1100 (AEDT) (envelope-from freebsd-lists-5@thismonkey.com) Received: from utility-01.thismonkey.com (localhost [127.0.0.1]) by utility-01.thismonkey.com (8.16.1/8.16.1) with ESMTP id 10GFdkX2039083; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Received: (from root@localhost) by utility-01.thismonkey.com (8.16.1/8.16.1/Submit) id 10GFdktw039074; Sun, 17 Jan 2021 02:39:46 +1100 (EST) (envelope-from freebsd-lists-5@thismonkey.com) Date: Sun, 17 Jan 2021 02:39:46 +1100 From: Scott To: Ekkehard Gehm Cc: freebsd-questions@freebsd.org Subject: Re: iSCSI initiator to target with multiple IPs Message-ID: Mail-Followup-To: Ekkehard Gehm , freebsd-questions@freebsd.org References: <0365d82d-88f2-6ce8-b730-edd7982ba083@sudoers.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: clamav-milter 0.102.2 at mail-01.thismonkey.com X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DJ2L20fnBz4S7L X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=thismonkey.com; spf=pass (mx1.freebsd.org: domain of freebsd-lists-5@thismonkey.com designates 2406:3400:35e:6602::a01:232 as permitted sender) smtp.mailfrom=freebsd-lists-5@thismonkey.com X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2406:3400:35e:6602::a01:232:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[2406:3400:35e:6602::a01:232:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[thismonkey.com,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10143, ipnet:2406:3400:340::/42, country:AU]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2021 15:39:56 -0000 On Sat, Jan 16, 2021 at 11:01:24AM +0100, Ekkehard Gehm wrote: > Ahoy Scott, > > Am 16.01.2021 um 07:21 schrieb Scott: > > On Fri, Jan 15, 2021 at 12:30:52PM +0100, Ekkehard Gehm wrote: > >> Ahoy! > >> > >> I hope someone can give me a hint on an issue I have with iSCSI. > >> > >> I have a FreeBSD Server (the iSCSI initiator) which connects to a Dell > >> Equilogic RAID (the iSCSI target). So far no big deal. But... The Target > >> has one IP to connect to but in reality it has 8 interfaces with > >> different IPs for traffic shaping. > >> > >> So. The initial connect to the pool-ip will result in a connection to > >> one of those 8 ips. Every now and then, the RAID (target) shifts the > >> interfaces. That will result in a message that the the target has moved > >> to another ip... And that is where shit happens - My FreeBSD initiator > >> drops the target completely (With a warning " target requests logout; > >> removing session")... Bad thing :-) > >> > >> I don't know where to look. Is it multipath? MPIO? > >> > >> Any hint is highly appreciated :-) > >> > >> Cheers! > >> > >> Ekki > >> > >> > > Hi, > > more from a networking perspective than an iSCSI one: when you say that the > > initial connection to the pool-ip results in a connection to an interface > > address - is this an iSCSI redirection or is there a proxy of sorts (that > > would obscure the real target address)? > > > > Put another way, if configured to connect to IP 1.1.1.1, after the connection > > would netstat show the initiator connected to 1.1.1.1 or another address? > > > > Scott > > _______________________________________________ > > > Fair question. The "icscictl -L" and also netstat lists one of the pool > addresses not the initial and configured address. > > So my client with, lets say, address 1.1.1.101 has the address e.g. > 1.1.1.1 in his iscsi.conf but will than connect to one of the pool IPs > 1.1.1.2 - 1.1.1.9 on port 3260 > > It works just fine with the VMware vSphere hosts... :/ > > Ekki Ok, I was wondering if it is a network issue but it sounds further up the stack. I do use iSCSI with both FreeBSD and ESXi but with a far simpler configuration. Good luck! Scott