From owner-freebsd-questions@freebsd.org Sun Mar 28 14:47: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 06FDC57BCBF for ; Sun, 28 Mar 2021 14:47:12 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 4F7dpR17t3z4j3K for ; Sun, 28 Mar 2021 14:47:10 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=us-ascii Subject: Re: arm64 FreeBSD13-RC3 /home vs, /usr/home From: "@lbutlr" In-Reply-To: <0205AC3D-5C60-4E6A-B22D-8EE169DBA2E0@xmission.com> Date: Sun, 28 Mar 2021 08:47:09 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <84BAEB93-E785-4975-A0B6-8A7BE2680160@kreme.com> References: <0205AC3D-5C60-4E6A-B22D-8EE169DBA2E0@xmission.com> To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4F7dpR17t3z4j3K X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-1.39 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] 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, 28 Mar 2021 14:47:12 -0000 On 26 Mar 2021, at 20:28, wa5qjh wrote: > and as a user in the boonies with mostly bad internet, may I request = that in package scripts, larger items like llvm10 be fetched very early = on instead of nearly last, please! > If llvm fails to fetch, all that was fetched previously is wasted when = you make the attempt again.=20 Unless you are deleting the downloaded packages, they should not be = fetched again (for example, portmaster -d will do this) unless there is = a new version since you last tried. If your build processes is downloading every package over each time you = try to build, then something is wrong with you build process. Check what = commands you are using and double check for any aliases that might be = mucking things up, or simply specify the path to your child tools to = ovoid any misunderstanding. --=20 No matter how fast light travels it finds the darkness has always got there first, and is waiting for it. From owner-freebsd-questions@freebsd.org Mon Mar 29 01:52:35 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 468A75B7BEE for ; Mon, 29 Mar 2021 01:52:35 +0000 (UTC) (envelope-from wa5qjh@xmission.com) Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) (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 4F7wZB2nXlz4Qvg for ; Mon, 29 Mar 2021 01:52:33 +0000 (UTC) (envelope-from wa5qjh@xmission.com) Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lQh4x-00Gli2-Ok for freebsd-questions@freebsd.org; Sun, 28 Mar 2021 19:52:31 -0600 Received: from [175.176.70.2] (helo=[192.168.5.102]) by in02.mta.xmission.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lQh4w-00FuBo-JF for freebsd-questions@freebsd.org; Sun, 28 Mar 2021 19:52:31 -0600 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: wa5qjh Mime-Version: 1.0 (1.0) Date: Mon, 29 Mar 2021 09:52:25 +0800 Message-Id: <92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com> References: In-Reply-To: To: freebsd-questions@freebsd.org X-Mailer: iPad Mail (18B92) X-XM-SPF: eid=1lQh4w-00FuBo-JF; ; ; mid=<92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com>; ; ; hst=in02.mta.xmission.com; ; ; ip=175.176.70.2; ; ; frm=wa5qjh@xmission.com; ; ; spf=neutral X-XM-AID: U2FsdGVkX18sVN5qbSQE8JtJMGH9bxDj X-SA-Exim-Connect-IP: 175.176.70.2 X-SA-Exim-Mail-From: wa5qjh@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa03.xmission.com X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TR_XM_PhishingBody,T_TM2_M_HEADER_IN_MSG,XMNumbers, XMPhish14,XM_B_Unicode,XM_B_Unsub autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5350] * 2.0 XMPhish14 BODY: Reference to webmail upgrade * 0.0 XM_B_Unicode BODY: Testing for specific types of unicode * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 1397; Body=1 Fuz1=1 Fuz2=1] * 1.0 XMNumbers Suspicious email with numbers in From & Subject * 0.5 XM_B_Unsub Unsubscribe in body of email but missing unsubscribe * header * 0.0 TR_XM_PhishingBody Phishing flag in body of message X-Spam-DCC: XMission; sa03 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;freebsd-questions@freebsd.org X-Spam-Relay-Country: X-Spam-Timing: total 641 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 4.8 (0.7%), b_tie_ro: 3.3 (0.5%), parse: 1.10 (0.2%), extract_message_metadata: 14 (2.3%), get_uri_detail_list: 3.1 (0.5%), tests_pri_-1000: 11 (1.7%), tests_pri_-950: 1.08 (0.2%), tests_pri_-900: 0.82 (0.1%), tests_pri_-90: 291 (45.4%), check_bayes: 287 (44.8%), b_tokenize: 6 (0.9%), b_tok_get_all: 8 (1.3%), b_comp_prob: 2.2 (0.3%), b_tok_touch_all: 267 (41.7%), b_finish: 0.78 (0.1%), tests_pri_0: 303 (47.3%), check_dkim_signature: 0.40 (0.1%), check_dkim_adsp: 2.3 (0.4%), poll_dns_idle: 0.72 (0.1%), tests_pri_10: 2.6 (0.4%), tests_pri_500: 8 (1.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: freebsd-questions Digest, Vol 876, Issue 9 X-SA-Exim-Version: 4.2.1 (built Sat, 08 Feb 2020 21:53:50 +0000) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) X-Rspamd-Queue-Id: 4F7wZB2nXlz4Qvg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=xmission.com; spf=pass (mx1.freebsd.org: domain of wa5qjh@xmission.com designates 166.70.13.231 as permitted sender) smtp.mailfrom=wa5qjh@xmission.com X-Spamd-Result: default: False [-3.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[166.70.13.231:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[166.70.13.231:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[166.70.13.231:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip4:166.70.13.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[xmission.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:6315, ipnet:166.70.0.0/16, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[166.70.13.231:from] 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, 29 Mar 2021 01:52:35 -0000 It tells you that continuing the download at this time is futile, go do some= thing else. waiting , attempting to download the whole thing again, and it w= ill even if cached and ive watched it download it all again, means you have t= o spend all that time waiting to see if its going to finish or not. Believe m= e, Its a big time and (precious) bandwidth waster! I've seen it get to 99% d= ownloaded then declared a file size mismatch and fetch as used, doesn't empl= oy the resume feature so whatever was downloaded last time isn't used the ne= xt even if only 2 minutes prior. partial downloads are not cached. I'm rather curious tho, since I'm pretty certain theres a good reason for= making the big downloads at or near last, what is it? ( no, seriously, why?= not being snarky here or anywhere in this message, honest! no time or patie= nce for that!) Gary Corell Ya gotta see time beyond the end of your nose > On Mar 28, 2021, at 20:00, freebsd-questions-request@freebsd.org wrote: >=20 > =EF=BB=BFSend freebsd-questions mailing list submissions to > freebsd-questions@freebsd.org >=20 > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > or, via email, send a message with subject or body 'help' to > freebsd-questions-request@freebsd.org >=20 > You can reach the person managing the list at > freebsd-questions-owner@freebsd.org >=20 > When replying, please edit your Subject line so it is more specific > than "Re: Contents of freebsd-questions digest..." >=20 >=20 > Today's Topics: >=20 > 1. Re: arm64 FreeBSD13-RC3 /home vs, /usr/home (RW) >=20 >=20 > ---------------------------------------------------------------------- >=20 > Message: 1 > Date: Sat, 27 Mar 2021 15:19:35 +0000 > From: RW > To: freebsd-questions@freebsd.org > Subject: Re: arm64 FreeBSD13-RC3 /home vs, /usr/home > Message-ID: <20210327151935.6d928120@gumby.homeunix.com> > Content-Type: text/plain; charset=3DUS-ASCII >=20 >> On Sat, 27 Mar 2021 10:28:50 +0800 >> wa5qjh wrote: >>=20 >> and as a user in the boonies with mostly bad internet, may I >> request that in package scripts, larger items like llvm10 be fetched >> very early on instead of nearly last, please! If llvm fails to fetch, >> all that was fetched previously is wasted when you make the attempt >> again.=20 >=20 > Why is it wasted? If you rerun "pkg upgrade" the downloaded files will > be locally cached.=20 >=20 > Even if that weren't true, downloading the larger files first doesn't > give you any benefit, since you have to download them all before > pkg proceeds with installing. >=20 >=20 > ------------------------------ >=20 > Subject: Digest Footer >=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.or= g" >=20 >=20 > ------------------------------ >=20 > End of freebsd-questions Digest, Vol 876, Issue 9 > ************************************************* From owner-freebsd-questions@freebsd.org Mon Mar 29 02:09:52 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 E3A935B8834 for ; Mon, 29 Mar 2021 02:09:52 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 4F7wy80Fljz4RbH for ; Mon, 29 Mar 2021 02:09:51 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ej1-x62e.google.com with SMTP id hq27so16984840ejc.9 for ; Sun, 28 Mar 2021 19:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=St7U6PrZYQB2ZTvlgVoXBwQqkL9yLQCmGlFk6mKuP0o=; b=CFdKDo9/4gorsen7qzBdfz3/8phuQ+xIJvLPf0N+mKI7O+peAeuVxvE9ZEOmz5Ur37 lZHC+lJES1g6x/mwa7/vUCfR2YpY5gE4Lbb1D9eQtLdenR87ULPnax0fBvAsLcAf3+Bz JoCwc7qWJ9uN3mIK+V6i74IP0gE+0t6iUWLaX1cCHiBa3SE8A7zN0Aa/ZW3Fy1iN0N1e tm3oJxh0phiZExBeWp/BCrmf6UrKAGkWmkNiipu4QoGBru4tAss1AL0QWLrXK6MyNhrX mMNXYPS85nfP6E8Zhh8Nn4y2+tNsFSvIPSmUrEiMnhKXh+/nzmP4Cbd84n3M8dcCJX8m BGHw== 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:content-transfer-encoding; bh=St7U6PrZYQB2ZTvlgVoXBwQqkL9yLQCmGlFk6mKuP0o=; b=hjvLQv/jskdcw+2iG1stKLUOVE1oU9oRolwutdpn27OpBU37AlL7GQLEUPKcfxHiWu mNE+kupwbZh+gKgcbhLNWkGm1wpCsW0ixY+73ljTKcrW9Fbwkq+mlSl5gpTPsC2o5h32 1PeIWVJy4H2PxuojODURpEzudPTK520k18S45yt713LPHSj1i2WKpz1SJsa/F6UDjdds GARn+L7xk5WVTMHGnDJrkI62GaXtxvY4m0XZvtpdVIGhcybXJ1T2U783/m+tlpi8Hy/P O1IaItK2OlqOkEUugE8y3ZOND5UjKaNUTEWXSEBCdXwtF8RTxFCO1/AH89Y//07c6fZn E3mQ== X-Gm-Message-State: AOAM532w6TxUmxbFjjxbWTKNEsuNgDYP+I+AM0DVguDpeRtbZWNYuWbB q8ZgoHZ0FErhrWdW20nZQw4LKC5gGBVz7EbbDyLTnA5HDZE= X-Google-Smtp-Source: ABdhPJw3nyVx5MjRWsQAVTiBGJR1rPzs/l++0rLWyEke9WDU8ySbu9nDJUFe2umx4VcRbgYOR9PgRQ4QA1x+o6D3NxU= X-Received: by 2002:a17:906:1444:: with SMTP id q4mr26435161ejc.343.1616983790308; Sun, 28 Mar 2021 19:09:50 -0700 (PDT) MIME-Version: 1.0 References: <92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com> In-Reply-To: <92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com> From: Tomasz CEDRO Date: Mon, 29 Mar 2021 04:09:39 +0200 Message-ID: Subject: Re: freebsd-questions Digest, Vol 876, Issue 9 To: wa5qjh Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F7wy80Fljz4RbH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=CFdKDo9/; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::62e) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.15 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(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)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62e: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::62e:from]; NEURAL_HAM_SHORT(-0.85)[-0.850]; 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::62e:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, 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, 29 Mar 2021 02:09:52 -0000 On Mon, Mar 29, 2021 at 3:52 AM wa5qjh wrote: > It tells you that continuing the download at this time is futile, go do s= omething else. waiting , attempting to download the whole thing again, and = it will even if cached and ive watched it download it all again, means you = have to spend all that time waiting to see if its going to finish or not. B= elieve me, Its a big time and (precious) bandwidth waster! I've seen it get= to 99% downloaded then declared a file size mismatch and fetch as used, do= esn't employ the resume feature so whatever was downloaded last time isn't = used the next even if only 2 minutes prior. partial downloads are not cache= d. > I'm rather curious tho, since I'm pretty certain theres a good reason = for making the big downloads at or near last, what is it? ( no, seriously, = why? not being snarky here or anywhere in this message, honest! no time or = patience for that!) > Gary Corell > Ya gotta see time beyond the end of your nose Then chunks / resume download or "continue" feature like in wget would be helpful? Have you created a pkg ticked on bugzilla? :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Mon Mar 29 06:53:14 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 547B05BE984 for ; Mon, 29 Mar 2021 06:53:14 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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 "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F83F53rpVz4h8b for ; Mon, 29 Mar 2021 06:53:12 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4F83F3491GzDqJh for ; Sun, 28 Mar 2021 23:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1617000791; bh=8AR5e0i05lXQ+0AOtfpLOlcoCPRj1tY3cVg0WEBDBXc=; h=Date:From:To:Subject:In-Reply-To:References:From; b=dQ+zGEAhCMqOJteADzotfqCWOQ5E1NYA7hs6NSb137tLnfKS9J2juZ+8WMMWZYvOq AC8rUDiXPSRVSVrqKudXs6Y9PPRpKUKyCyhJsNZGAcr8wFIqZ/6W7JqAGbOYY+NOhF dA/mLnU2Ttr4ogd001dS5gtgl7R4UOlsldukvUHI= X-Riseup-User-ID: 08ABDB08F9585855E2DFD5B7A45268983F0B5ADB362865373BD3E6BB433EDFC1 Received: from archlinux (dynamic-093-133-016-011.93.133.pool.telefonica.de [93.133.16.11]) (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 fews2.riseup.net (Postfix) with ESMTPSA id 4F83F26rBpz1xms for ; Sun, 28 Mar 2021 23:53:10 -0700 (PDT) Date: Mon, 29 Mar 2021 08:53:07 +0200 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: arm64 FreeBSD13-RC3 /home vs, /usr/home Message-ID: <20210329085307.7b79cd1c@archlinux> In-Reply-To: <84BAEB93-E785-4975-A0B6-8A7BE2680160@kreme.com> References: <0205AC3D-5C60-4E6A-B22D-8EE169DBA2E0@xmission.com> <84BAEB93-E785-4975-A0B6-8A7BE2680160@kreme.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F83F53rpVz4h8b X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=dQ+zGEAh; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[93.133.16.11:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.252.153.129:from]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; 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]; SPAMHAUS_ZRD(0.00)[198.252.153.129:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; MID_RHS_NOT_FQDN(0.50)[]; 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, 29 Mar 2021 06:53:14 -0000 On Mon, 29 Mar 2021 09:52:25 +0800, wa5qjh wrote: >It tells you that continuing the download at this time is futile, go >do something else. waiting , attempting to download the whole thing >again, and it will even if cached and ive watched it download it all >again, means you have to spend all that time waiting to see if its >going to finish or not. Believe me "It" is for what? What are the steps to reproduce the issue? What commands do you run? It would be helpful, if we could run the same commands and while the downloads happen unplug the Internet connection. Then to connect to the Internet again and run the same commands as you do again. Maybe you are anyway doing the wrong thing and somebody could mention at least a workaround for bad Internet connections. Btw. first I replied to this thread using an iPad, too, so I'm aware that quoting is broken, but I suspect it's capable of MIME, see http://www.list.org/mailman-member/node28.html and I definitively know that deleting unneeded text and and positioning the pointer does work. From owner-freebsd-questions@freebsd.org Mon Mar 29 14:10: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 5A47857863F for ; Mon, 29 Mar 2021 14:10:02 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 4F8Dx53HPgz3h0l for ; Mon, 29 Mar 2021 14:10:01 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x431.google.com with SMTP id x7so13007532wrw.10 for ; Mon, 29 Mar 2021 07:10:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2UyHA0hCdGUCpomravBz2G4ujzjfagF+PIGjGTuBPQQ=; b=oBiGiSsBHaraPGiDw9tdpL1UVU3xisF2kZxFhyK7ZNRQOoiOqbZmBR50GgPHckztyq VePaJQz9hTA9Ii8m79zwMiGJ6bYCmhjwK9lX2+9HA1YbM5OmK4kfwdX2mkMbZXwR5pHR OvGYaRC74J/5p3UmiDVFOtkJzJ8SFbDtIzfMsER+INIyEdrjr/h9yZnhx1y9pFARPQWI h1Kx1okiMpwr2TMxhipX19wlWVbnXpTs/6NseRjaRRgzpapHx9jclR03trBQhqAsJ04N IvH60aknma3fzmyfa2ASDXUm8fJm5yzD0gcsuXsxkFAGd7sR4SajfbmjO/JRqOdFFrmW KE2w== X-Gm-Message-State: AOAM533Xm0txwyYozIIB3dOiqv807WSILybzGLORN4GiyTtU+afWAs9F SETlln4LHzxim2N4jIjbITeeei5nSM06RA== X-Google-Smtp-Source: ABdhPJyR8HfQTCQ72uN+TxZLBsUN6bH75muMQybhCoY6Q0zahI2AAOXXsB2LNICUDN+SXt5luM29HA== X-Received: by 2002:adf:b313:: with SMTP id j19mr28195870wrd.188.1617026999861; Mon, 29 Mar 2021 07:09:59 -0700 (PDT) Received: from gumby.homeunix.com (host-92-15-61-44.as43234.net. [92.15.61.44]) by smtp.gmail.com with ESMTPSA id z2sm35423652wrm.0.2021.03.29.07.09.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 07:09:59 -0700 (PDT) Date: Mon, 29 Mar 2021 15:09:58 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: freebsd-questions Digest, Vol 876, Issue 9 Message-ID: <20210329150958.54482e70@gumby.homeunix.com> In-Reply-To: <92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com> References: <92E68329-299D-4AB9-B7A3-CABECC7A7004@xmission.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4F8Dx53HPgz3h0l X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RECEIVED_SPAMHAUS_PBL(0.00)[92.15.61.44:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::431:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; 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]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::431:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::431: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, 29 Mar 2021 14:10:02 -0000 On Mon, 29 Mar 2021 09:52:25 +0800 wa5qjh wrote: > and it will even if cached and ive watched it download it all > again, Even if that's true, if you have a poor line there is no advantage in downloading largest first. If the connection fails after 30 minutes you have wasted 30 minutes of downloading regardless of order. You get the minimum waste by downloading slowest first. If you take account of the latency and TCP ramp-up, the slowest transfers are on average the smaller files. > means you have to spend all that time waiting to see if its > going to finish or not. Believe me, Its a big time and (precious) > bandwidth waster! I run it in a loop. > I've seen it get to 99% downloaded then declared a > file size mismatch and I've seen some packages fail at ~99% at lot, but not recently. I think it was a server-side problem that got fixed. >fetch as used, doesn't employ the resume feature so whatever was >downloaded last time isn't used the next even if only 2 minutes >prior. partial downloads are not cached. I'd like to see this change too. I don't recall the history of this with pkg, but in ports it used to work, but fell-off. >I'm rather curious tho, since I'm pretty > certain theres a good reason for making the big downloads at or near > last, what is it? I think it just ends-up that way. Actually, when I downloaded distfiles on dial-up or slow ADSL, I much preferred to leave the largest til last. Some of the larger ports update frequently, so when you download in more than one session it minimizes waste. From owner-freebsd-questions@freebsd.org Mon Mar 29 19:13:52 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 F3FCB57FE72 for ; Mon, 29 Mar 2021 19:13:51 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn20812.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe5b::812]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8Mgf5lhCz4YCr for ; Mon, 29 Mar 2021 19:13:50 +0000 (UTC) (envelope-from dead_line@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fMB+J8Qb30j0hc3GsvNGS87zJnmJTPVmI6MmMJpgpXft593E+zNhZ3iGoTR9F0VaAmYJqbdAgOGXuujPOwnMRZNLYMAiBdMeMSrFqSt34u90omPwfZexi/+FScjurLlOwKJAgcPnvfgsDqGxfAhK4hojkjsDTBbnD12iKmKUYDJ4T4f+BdASR49GTM+9V3WkaZtR8j13tRAMxQIkZ/zQtdkTavF010YEsgj9DSWE3wcF8PFdUArxlkRzKNUK/tDaj3rjhNW38q5MvVmoJuVUkqy448cDFD0PssXJlHdLgDGb21tX4+g+woUqQ/eTddvLYUnncnTcxZediOblqldgWw== 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=ityIndWm2Wgj5wfT3bRDVbO5jZ4BMN/Uw0auRZJXUvo=; b=lkH1jJ4XHSU8CQUoPzMk4HiflzG+N7sjHW3z9u5KLrwDPfkJ1GWLQsdzmZKHFXSPhQ8JILnP8920qQcIzZNBQcoy878mpxZTOUDliXObHnSH5q4iUkBVgxh5Oyq1rM0iWdSVaEluW0g9c3ntYsgdpLC3TRVOvGfDoGhWHoMuo5y1xwgy9B4Q5+mBRqOv4pnieFEh9hDDnafHMfk2c8Fa0tQSLsL0dkT8d6KEmxEV+96QFgy0gLCCfdpMbyPW3NWaQeCXd+FSyjCSRPQmJYZispkKlj5EFoluNjphfA9VzyP0slF3I/Pl+5ForbckfkF1j8em9dHahm/m86YtnPjYRA== 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=ityIndWm2Wgj5wfT3bRDVbO5jZ4BMN/Uw0auRZJXUvo=; b=YI5ygNMpND4cw6Vfd62anSsGxJoTWH68uXe/ln/8BRdYFfS0qi95vfTET6zor3UIb/TMuN8UYIKHY9igbimv8X6kOz4THCV3uyYa0W4wODOsrWnxo73M5rFDdbQVz1UMfmPAzj/PMK9iyYrGDnIpF72tYDbmIz1rxJScy8hKoa+hmpkaZj4FexY46ZoM11q7aC1OJc1R6vEFPqm1p1ATjicZM3+I9psIWUaeChDqJETJoRfzhmXt5CM2MUL68pStLZnGh9Z/SrClCD6kN+KjHySXO9Bl0/n7o7RDP22FEgvG5dOAr5tzlcf+R/vFqwKugZDMQ9e81pGSX1a+vDCZQA== Received: from DM6NAM12FT043.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::4d) by DM6NAM12HT147.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc64::328) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.14; Mon, 29 Mar 2021 19:13:49 +0000 Received: from CO6PR06MB7332.namprd06.prod.outlook.com (2a01:111:e400:fc64::4d) by DM6NAM12FT043.mail.protection.outlook.com (2a01:111:e400:fc64::418) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.14 via Frontend Transport; Mon, 29 Mar 2021 19:13:49 +0000 Received: from CO6PR06MB7332.namprd06.prod.outlook.com ([fe80::ace9:eb00:6a22:ee81]) by CO6PR06MB7332.namprd06.prod.outlook.com ([fe80::ace9:eb00:6a22:ee81%7]) with mapi id 15.20.3977.033; Mon, 29 Mar 2021 19:13:49 +0000 From: Marwan Sultan To: FreeBSD Questions Subject: how to hide dot files on ftp? Thread-Topic: how to hide dot files on ftp? Thread-Index: AQHXJM736UOO4CpIM06EMETWOOuwnA== Date: Mon, 29 Mar 2021 19:13:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:1287402F656F3E9DD85DA3E4FD470A068E2ABC54E53305868DE827092166EE74; UpperCasedChecksum:490D8D0AB2252A057812736DEDF3BFE9DB6411330FB6594B0148630257C08B84; SizeAsReceived:6660; Count:42 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [LUBNE95B6oTYuiDHccgUN2hVpUvoJzvh] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 17402978-c1cf-4f76-f49e-08d8f2e6c855 x-ms-traffictypediagnostic: DM6NAM12HT147: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XsWtdqb14nRlC8JGC0qJkrIIUnevDj5hi9epxLHDNG10fesh7cycN6qQXdhSgfMve7tefC6RutRnPbMuGT37gb3jxHW2M/aRzWlT0faLi03J/lZspZBO0gszXvdwzf7mREs1wYOZ4xbN0941A4VQnnP7/qpt3ogsq5lM4sYymE4+bSZCrlYT6YOcT7fmcMgK4imTrFSBG/rxSf/ngg3g32HFWdT5g9jLv2a+KEVImysoR4DQrJanZhf9d/ZTbOtrbmHis4DFnDxXp4E3rw7Y0iwiXsPfcBy0cYhGhsmeUrDtUOq/P4M0swoVnA+pRqBxIxRdWSUemVzDk4XtqjflP2kZ3wFr53ek5SPCw2fTTheUBj0OOqD8aXjZOViMwd/Hg426ZBGNdu42tT8y7ukunQ== x-ms-exchange-antispam-messagedata: UuUrtIwA/aKNt3oMTLhGGr87tgKs9GWDF4y3+e0qQS2tAg0lugsw8ODas7mzQbMakAwNEDVPMWQMLO7O+6bvI+9zZ/tAGSntIeEihfE1zrWYsodziBB08+hYfFbParAoL9OTWFOa5W7hF98SwEa2FA== 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: DM6NAM12FT043.eop-nam12.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 17402978-c1cf-4f76-f49e-08d8f2e6c855 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Mar 2021 19:13:48.9296 (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: DM6NAM12HT147 X-Rspamd-Queue-Id: 4F8Mgf5lhCz4YCr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=YI5ygNMp; arc=pass (microsoft.com:s=arcselector9901:i=1); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of dead_line@hotmail.com designates 2a01:111:f400:fe5b::812 as permitted sender) smtp.mailfrom=dead_line@hotmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:111:f400:fe5b::812:from]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:111:f400:fe5b::812:from:127.0.2.255]; 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(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] Content-Type: text/plain; charset="iso-8859-1" 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: Mon, 29 Mar 2021 19:13:52 -0000 Dear FreeBSD family! im on FreeBSD 12.2-R i have noticed when i use ftp (the default ftpd freebsd build) - the .dot = files are not hidden! i managed to hide those files on the webserver from apache conf file. but i cannot find away to hide it from any ftp users. I donot want to install any ftp additional package and its no not FTP serv= er. anyone kindly may advise where/how to hide the dot files from ftp user. (f= tp user =3D real shell account) thank you Marwan From owner-freebsd-questions@freebsd.org Mon Mar 29 20:42: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 D05765AAE9F for ; Mon, 29 Mar 2021 20:42:03 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 4F8PdQ72lLz4fVp for ; Mon, 29 Mar 2021 20:42:02 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-pf1-x42a.google.com with SMTP id x126so10602607pfc.13 for ; Mon, 29 Mar 2021 13:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=reply-to:from:to:subject:date:organization:message-id:mime-version :thread-index:content-language; bh=UxyPxiFuyOrb2DowoWXR3ttyunBye/MaCPKd0LoFssQ=; b=ZyQB/AuQnE12rTAHhSVdlmVnnA19pt+4KViZmb01LKCbobgDMzqws1WJRhfsH+De+X 5EKpJI638oAgLnsTwK48r81W8QG7SqkuWlyqqWEdk7i+OCoQhzTBtZtm39H2rEo7ICDP nKQ38nx95v9umZJdRpTIlCoHPBHSkvsaZsfPY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:from:to:subject:date:organization :message-id:mime-version:thread-index:content-language; bh=UxyPxiFuyOrb2DowoWXR3ttyunBye/MaCPKd0LoFssQ=; b=TwcToMhLbISI5KGDqQZHOiq8XgdUe+dzCxYv+OQg/UBeEDol0wL7WdHF7n8O/gzG+y 604Txpti4ZVbxgBebrLsxEWSYX3rc86KOihXhwRZeGgb3GSKdyIq9/s5UkBXzSPr1Uef vDqV60AlkqlP+1dAQ23DN4xwNIqz53wBtUhVKIDqoIOJMlMpJvORGYsaVGgDRU+hqgun RZOL5BufYVnQpyeGYmIZE2F8pyYz3M+9xmMSzRb5d4B0o0heXfabPsPtEHplboojmOl6 h3MRPZS7GMEoXqPgVaqqmZlDqhgqVuvFn0uffZlDioqUFjXCtE2dWBAUy45mtJ928dkL 9v+A== X-Gm-Message-State: AOAM531sq43zNq+3VwdTb2jwgJ5UBhS5psusmsMNlzrz8ETQNh8nsErR eyqBnMQWfLVVTZAzP+l1qYnXhon/SFRmrA== X-Google-Smtp-Source: ABdhPJx8TEXTrGnmyGHEFBxbwaIFECgpwf32fHMgLZ1q045vIzL4z4wGIuN7YpwTSWMZToX0vLDCmQ== X-Received: by 2002:a05:6214:a91:: with SMTP id ev17mr26587362qvb.59.1617050068212; Mon, 29 Mar 2021 13:34:28 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-231-236.nc.res.rr.com. [174.109.231.236]) by smtp.gmail.com with ESMTPSA id i25sm13815046qka.38.2021.03.29.13.34.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 13:34:27 -0700 (PDT) Received: from HPEnvy (zeus.seibercom.net [192.168.1.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 4F8PSf06kwz1lFl for ; Mon, 29 Mar 2021 16:34:25 -0400 (EDT) Reply-To: "FreeBSD" From: "Jerry" To: "'FreeBSD'" Subject: Wire Guard and FreeBSD Date: Mon, 29 Mar 2021 16:34:24 -0400 Organization: seibercom Message-ID: <03bd01d724da$e823a6c0$b86af440$@seibercom.net> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adck2r2+hmE1qv0qTlSXN4NZyJtJfA== Content-Language: en-us X-Rspamd-Queue-Id: 4F8PdQ72lLz4fVp X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=ZyQB/AuQ; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::42a as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [6.41 / 15.00]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; GREYLIST(0.00)[pass,body]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[seibercom.net:+]; NEURAL_HAM_SHORT(-0.09)[-0.086]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::42a:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; RECEIVED_SPAMHAUS_PBL(0.00)[174.109.231.236:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::42a:from:127.0.2.255]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::42a:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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, 29 Mar 2021 20:42:03 -0000 I just found this story regarding Wire Guard and FreeBSD. I thought it was rather interesting. https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-a nd-bad-code-freebsd-13s-close-call/ -- Jerry From owner-freebsd-questions@freebsd.org Mon Mar 29 20:45:42 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 597385AADC9 for ; Mon, 29 Mar 2021 20:45:42 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from relay1.cretaforce.gr (relay1.cretaforce.gr [195.201.253.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8Pjd26Cjz4g2K for ; Mon, 29 Mar 2021 20:45:40 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by smtp1.cretaforce.gr (Postfix) with ESMTPS id 548241F694 for ; Mon, 29 Mar 2021 23:45:39 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1617050739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sYOPJqHPl2x6OjWMFYhHA+WgHolxKVcZvZ1MSEXzjYo=; b=cf+1Pc6PGBtN++mqdkJp45kfKM/vUy6IQ0winLeUZHkBVWDDuRrvEOZFDl4L7v0PWeWrqy 9TW4n5hlYJMiro0cv1VecpnP9JIboabpzlP1ohpR4Tvbbs2bmlkE+FDBH7FrO3NRU+Ps0C avp/60WQbRLulgoxkzmKo7J5yyD73Tc= Received: from macbook-air.fritz.box (athedsl-126859.home.otenet.gr [85.75.71.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 1562B2730B for ; Mon, 29 Mar 2021 23:45:39 +0300 (EEST) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Wire Guard and FreeBSD Date: Mon, 29 Mar 2021 23:45:37 +0300 References: <03bd01d724da$e823a6c0$b86af440$@seibercom.net> To: FreeBSD In-Reply-To: <03bd01d724da$e823a6c0$b86af440$@seibercom.net> Message-Id: <5F77B18B-69C7-4F32-B20D-6C25B6400E0C@cretaforce.gr> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F8Pjd26Cjz4g2K X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cretaforce.gr header.s=cretaforce header.b=cf+1Pc6P; dmarc=none; spf=pass (mx1.freebsd.org: domain of chris@cretaforce.gr designates 195.201.253.145 as permitted sender) smtp.mailfrom=chris@cretaforce.gr X-Spamd-Result: default: False [-4.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.253.145]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cretaforce.gr:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[195.201.253.145:from]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[195.201.253.145:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cretaforce.gr:s=cretaforce]; FREEFALL_USER(0.00)[chris]; 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)[cretaforce.gr]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[195.201.253.145:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[cretaforce.gr:dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.201.253.145: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, 29 Mar 2021 20:45:42 -0000 > On 29 Mar 2021, at 23:34, Jerry wrote: >=20 > I just found this story regarding Wire Guard and FreeBSD. I thought it = was > rather interesting. >=20 >=20 >=20 > = https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations= -a > nd-bad-code-freebsd-13s-close-call/ There are some discussions in the forum: = https://forums.freebsd.org/threads/ars-technica-article-focused-on-wiregua= rd-regarding-freebsd.79537= From owner-freebsd-questions@freebsd.org Mon Mar 29 21:07: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 B84DD5ABBCB for ; Mon, 29 Mar 2021 21:07:01 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 4F8QBF0JKRz4hB0 for ; Mon, 29 Mar 2021 21:07:00 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=us-ascii Subject: Re: how to hide dot files on ftp? From: "@lbutlr" In-Reply-To: Date: Mon, 29 Mar 2021 15:06:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <236372DA-D378-46BB-9944-7FDC4C71055B@kreme.com> References: To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4F8QBF0JKRz4hB0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-0.34 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.938]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] 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, 29 Mar 2021 21:07:01 -0000 > On 29 Mar 2021, at 13:13, Marwan Sultan wrote: >=20 > Dear FreeBSD family! >=20 > im on FreeBSD 12.2-R > i have noticed when i use ftp (the default ftpd freebsd build) - the = .dot files are not hidden! Is this new? I don't think this I new. I know I have certainly used FTP = to upload new htaccess files back when FTP was a thing, oh some 20 years = ago or so. > i managed to hide those files on the webserver from apache conf file. The default configuration of apache hides at least the ht files. Files ".ht*"> Require all denied I would not suggest you change that to ".*" > but i cannot find away to hide it from any ftp users. Seems like a bad idea to me, bit then again running ftp at all in 2021 = seems like a bad idea to me. > I donot want to install any ftp additional package and its no not FTP = server. Not sure what the means, but "I want to do but I don't want to = do anything that is necessary to do is a bad opening position." = It is quite possible the solution to what you want to do will require a = different ftp server, so you refusing to consider that is not going to = solve your problem. > anyone kindly may advise where/how to hide the dot files from ftp = user. (ftp user =3D real shell account) Nope. I have never done this nor would I ever do this nor can I think of = a scenario where I would want to do this, but I am probably missing = something. For example, if I don't want a user to much with some htacess settings, = I put those in a directory above the one the user has access to. --=20 Mind if I kiss the monkey? Ptttfft! Hairball! From owner-freebsd-questions@freebsd.org Tue Mar 30 00:43: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 B508F5B1D5F for ; Tue, 30 Mar 2021 00:43:24 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 4F8Vzv74NMz3F52 for ; Tue, 30 Mar 2021 00:43:23 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id b9so14492469wrt.8 for ; Mon, 29 Mar 2021 17:43:23 -0700 (PDT) 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; bh=56HwtwW4spLA75UJehIwIVt0udpXkz5WOH2OZL6O6Tw=; b=mX2EfEIApVeOYZdaoM0RZpu2+5p0/xN4tBoOvj+0LMd3+tAvfvUAgSmT1uN266zluY 4v9N4FOiyos8CfpejIDJ3pdJ3cepgU0vfWcLk/ZJQmUf6dEvFLOLUHPq18dvWghfAP3M W69lnndNO2KOtjJC70JujmuMTX/1S/eg1Aa+hIZkeIVFOzi35JSOb9JxItBU2f/AIwcZ xh7PXVnZ0e4AXutcOXqcDtsq89GtWK3szx4Z9wysJOCaCPi0NYAWhZzYLMNE1NoM4TtE vYurUqTIxWWu0gOKqt6mFmMm3ROAN+yBdsg+CFvML/U9a9RgE95Ppxp52TFBeyuoVhnv cgaw== 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; bh=56HwtwW4spLA75UJehIwIVt0udpXkz5WOH2OZL6O6Tw=; b=ECrM+uvWyfhd3dy9ESiKFIkaKf5fwQySmL2BLEk5V3vWSXzjpxvM9vpudyRB9K1ppI yLbRmWJKTCbqAM7voV2Kzi7mIeNAYJrW9hBktkvICpS3okIpfx9vQDNYo5Db8WQsKE+T QtTc270oeH6tFGknzOMC+6O8jTSprM2Axqb0que++VIEaj09SjBlJdjcPoFYYvF7fnft ZECXXyQc0jOAB05Dp5jTb5IELuGj3DOeXDFfOGcoyuhO0o3dE8oBuRQy6uQB32ndcjms ektOa1TWG8ZlL7YxcJ+rEOxQMktaT+28EB2tmGxUfLDZvTuODgFd03M/w1wuE8l2CPx1 q86Q== X-Gm-Message-State: AOAM531A201baIkQ04E+2JSODWkwTjp/OfFpxwaSeEUJ019rLl2r2Agr IF3YK3hs9h7ABKJwt5rDrike6B5wJ1P912sh+eOYelv6wz8= X-Google-Smtp-Source: ABdhPJxTm+VvnMRE1WJf+p1wbblos76Z0Ed/xDrXV1FRQ88TvBlp1jSyXqXM5s0Vn26HLDjbHZV1B5aHGqwLhSNKZZ8= X-Received: by 2002:a5d:6dcc:: with SMTP id d12mr30182875wrz.136.1617065001432; Mon, 29 Mar 2021 17:43:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Mon, 29 Mar 2021 14:42:25 -1000 Message-ID: Subject: Re: Installation of some Lua packages would cause installation of multiple versions of Lua To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4F8Vzv74NMz3F52 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mX2EfEIA; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::42c as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42c:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; 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)[]; TO_MATCH_ENVRCPT_ALL(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]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42c:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42c: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: Tue, 30 Mar 2021 00:43:24 -0000 On Wed, Mar 24, 2021 at 12:52 PM parv/freebsd wrote: > Why o' why do some of FreeBSD Lua packages want to install extra versions > of Lua!? > My question is how do I avoid that when installing offending packages? > > Currently I have Lua 5.4 & 5.2 (for Wireshark) installed . Trying to > install, for > example, security/luasec package would mean installation of Lua 5.1 & 5.3 > too. > Filed PR ... https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254650 - parv -- From owner-freebsd-questions@freebsd.org Tue Mar 30 04:16:09 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 0C4815BA032 for ; Tue, 30 Mar 2021 04:16:09 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (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 4F8bjM4DtXz3jYS for ; Tue, 30 Mar 2021 04:16:06 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 80042AD3E; Mon, 29 Mar 2021 23:15:59 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 6AAA6ACCA; Mon, 29 Mar 2021 23:15:59 -0500 (CDT) Date: Mon, 29 Mar 2021 23:15:59 -0500 From: Doug McIntyre To: David Christensen Cc: freebsd-questions@freebsd.org Subject: Re: PCIe sound card for FreeBSD 12.2 RELEASE amd64 Message-ID: References: <05d65c82-848e-5701-94e5-c5f44eb110bd@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05d65c82-848e-5701-94e5-c5f44eb110bd@holgerdanske.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4F8bjM4DtXz3jYS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[geeks.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.153.247.1:from]; SPAMHAUS_ZRD(0.00)[204.153.247.1:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; 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, 30 Mar 2021 04:16:09 -0000 I can't specificly help you, but I recognize one thing in there that you'll have to look out for as well. By low-profile mounting bracket, it sounds like you are looking for a card that can go into a server as well. Years back, almost all PCIe sound cards I could find were 5V only cards. Almost all servers are 3.3V only PCIe buses. Are you sure you can't use a USB connected sound box? That is what I ended up with in the past. It was either that, or to use a desktop box. On Fri, Mar 26, 2021 at 10:43:55PM -0700, David Christensen wrote: > freebsd-questions; > > I am looking for a PCIe sound card supported by FreeBSD 12.2 RELEASE amd64: > > 1. 7.1 surround sound output via four analog 1/8" TRS jacks. > > 2. Includes interchangeable standard and low-profile mounting brackets. > > 3. Currently manufactured and supported. > > > Recommendations? > > > David > > > p.s. The "FreeBSD 12.2-RELEASE Hardware Notes" "Sound Devices" section > has a list of device driver names and chip numbers, but I am unable to > correlate that information to retail products (e.g. SKU): > > https://www.freebsd.org/releases/12.2R/hardware/ > > > _______________________________________________ > 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 Tue Mar 30 12:58: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 8EE9D5C4DAC for ; Tue, 30 Mar 2021 12:58:04 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (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 4F8qHb6prlz4gBX for ; Tue, 30 Mar 2021 12:58:03 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ed1-x52e.google.com with SMTP id e7so18053055edu.10 for ; Tue, 30 Mar 2021 05:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oKt9zmHNIEtsy2jt6Mkied++w5JW5ow/hOVzV1ujymk=; b=GFDZPuaX5H5H2W4HBTtIoqXDNQSdNpKhGmVpo7W0HSZJ7LejEXfmTz1zXCDnJb98oO VKIYPIQRdc1LyzQ0423lV6VkF7AjtP5yLq9W3Uot1c3W3liaj1PH4kBJSBVlor5iVyXM lHjUyooy0DcFtZyoba4AYl7Mw9by993Aes7SDFMmjPdJJMtO+j0lCgb+9BbgxoKUH24I cmEyspTJZuW727ydYdHTK6mSzDSGbu1oIARUXopObyL7NFNU+s1dfJ2ew4x5dy1RIj/T A4smHubFqcgbX7x3uKlEBw4H9f3I3U07zS9c1gXoC/2tfhzN+3y8HdgFznzB45+sqNxw TOqw== 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=oKt9zmHNIEtsy2jt6Mkied++w5JW5ow/hOVzV1ujymk=; b=pmvzvPivGjlsqSH+KdpPoaHYYUutYHtjjaVWyHyA0pogYUbs/iWd6Sc6EOJy8a4gdR mysGvNs2pn4P0NM5pMYIrAA6tfQbsUf7fuGghT/SK9gn4B30OPUAisoR44hegrS9Yg4t RMcGn1RkhCMAm9uHrJbI47jeZtkJIWSwW1op+qFDOXW2MmPL66kYSt1zYUSbDtPAZPGL dxYg2UmZL9GXcedgznKsK2XmZB2Tqr9q+x/ugoaYj+ehtVhWyp/HAZHiDqOinU9ATU24 PfL1KuU0MpHrHLGyIeSTmNvOViF+pAsdzZy1JFdf79U5t7ydkJMQhpW/lC+vLCeW54Ef 449w== X-Gm-Message-State: AOAM5314vZ+oqZw8T4OEDUJmYyA1Oa0XbPlc6L/IjDBxiwHVvUlUw04/ s1sJNdmxPH5rfZ+6E49g1CvHb13jJDHcNyBKXlvLcA== X-Google-Smtp-Source: ABdhPJznL9CcbLc7pL/MI3Z8xpDWMQHfqe2ry3zEHKB7VistQaX/jo25/JAl7LpiBaOzy/4A8fhWCLSH2hjA5tKWEps= X-Received: by 2002:a05:6402:17d5:: with SMTP id s21mr33626907edy.65.1617109082502; Tue, 30 Mar 2021 05:58:02 -0700 (PDT) MIME-Version: 1.0 References: <05d65c82-848e-5701-94e5-c5f44eb110bd@holgerdanske.com> In-Reply-To: <05d65c82-848e-5701-94e5-c5f44eb110bd@holgerdanske.com> From: Tomasz CEDRO Date: Tue, 30 Mar 2021 14:57:51 +0200 Message-ID: Subject: Re: PCIe sound card for FreeBSD 12.2 RELEASE amd64 To: David Christensen Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F8qHb6prlz4gBX X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=GFDZPuaX; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::52e) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(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)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::52e: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::52e:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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::52e:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, 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, 30 Mar 2021 12:58:04 -0000 On Sat, Mar 27, 2021, 06:44 David Christensen wrote: > freebsd-questions; > I am looking for a PCIe sound card supported by FreeBSD 12.2 RELEASE amd64: Have you considered externel USB from Crative / SoundBlaster? I have one (USB Creative SoundBlaster Live 24-bit SB0490 using snd_uaudio module) attached to my loudspeakers over USB 3.0 hub (Unitek Y-3184 with external power supply, power on/off switch and led indicator for each of the active 7 ports), when I work on a desk with my laptop I just connect the hub and all works fine. You can get second hand for $30 it has three mini-jack plugs for speakers, mini-jack for line-in, spdif-out at the back panel, as well as optical-out and mini-jack for mic-in and phones on the front panel what is more than enough for me :-) ugen0.5: at usbus0 uaudio1 on uhub2 uaudio1: on usbus0 uaudio1: Play[0]: 48000 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer. uaudio1: Play[0]: 44100 Hz, 4 ch, 24-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 96000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 48000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer. uaudio1: Record[0]: 44100 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer. uaudio1: No MIDI sequencer. pcm4: on uaudio1 Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Mar 30 17:42: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 B339D57EFF4 for ; Tue, 30 Mar 2021 17:42:12 +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 4F8xbR4G7gz53SV for ; Tue, 30 Mar 2021 17:42:11 +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 12UHg7ip075435 for ; Tue, 30 Mar 2021 13:42:07 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 30 Mar 2021 13:42:07 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: Re: Wire Guard and FreeBSD 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]); Tue, 30 Mar 2021 13:42:07 -0400 (EDT) X-Rspamd-Queue-Id: 4F8xbR4G7gz53SV 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 [-2.10 / 15.00]; FAKE_REPLY(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.74.231.101:from]; 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_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; 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: Tue, 30 Mar 2021 17:42:12 -0000 On Mon, 29 Mar 2021, Christos Chatzaras wrote: >> On 29 Mar 2021, at 23:34, Jerry wrote: >> >> I just found this story regarding Wire Guard and FreeBSD. I thought it was >> rather interesting. >> https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-and-bad-code-freebsd-13s-close-call/ > > There are some discussions in the forum: I did not interpret the arsTechnica article the way the first poster in the forum did. My take, Netgate sponsored a guy named Matthew Macy to write the FreeBSD kernel code to implement WireGuard. This he did apparently starting from scratch and (my interpretation) ignored suggestions and/or the offer of help from Jason Donenfeld who is clearly (if not original author of) the main contributor to WireGuard. That Macy's code was horribly flawed is not in dispute and that was not what I took from the article. The issue for us as FreeBSD users is that because of size, complexity, and Marcy's credentials, the code got little or no review almost making it into the 13.0-RELEASE. It didn't so cool. That it got as close as the article states, not so cool. Anyone interested should read the arsTechnica article, YMMV. That was not what I really wanted to ask and did not know how. WireGuard would seem to be a really easy to use and high performance VPN. It has been a port for some time apparently. My questions: (1) does adding it to the kernel make it that much better? (2) was it going into the generic kernel? (3) and lastly other that looking a the kernel source is there a way of telling what's in the generic kernel? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Mar 30 18: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 4C78D5A8FCE for ; Tue, 30 Mar 2021 18:31:53 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (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 "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8yhm0143z56nq for ; Tue, 30 Mar 2021 18:31:51 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Tue, 30 Mar 2021 11:31:37 -0700 Subject: Re: PCIe sound card for FreeBSD 12.2 RELEASE amd64 To: freebsd-questions@freebsd.org References: <05d65c82-848e-5701-94e5-c5f44eb110bd@holgerdanske.com> From: David Christensen Message-ID: Date: Tue, 30 Mar 2021 11:31:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.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: 4F8yhm0143z56nq X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.88 / 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)[2001:470:0:19b::b869:801b:from]; 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]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:470:0:19b::b869:801b:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.78)[-0.776]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, 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, 30 Mar 2021 18:31:53 -0000 > On Fri, Mar 26, 2021 at 10:43:55PM -0700, David Christensen wrote: >> freebsd-questions; >> >> I am looking for a PCIe sound card supported by FreeBSD 12.2 >> RELEASE amd64: >> >> 1. 7.1 surround sound output via four analog 1/8" TRS jacks. >> >> 2. Includes interchangeable standard and low-profile mounting >> brackets. >> >> 3. Currently manufactured and supported. >> >> >> Recommendations? >> >> >> David >> >> >> p.s. The "FreeBSD 12.2-RELEASE Hardware Notes" "Sound Devices" >> section has a list of device driver names and chip numbers, but I >> am unable to correlate that information to retail products (e.g. >> SKU): >> >> https://www.freebsd.org/releases/12.2R/hardware/ STFW I was able to find some advertisements for inexpensive 5.1 cards that include a supported chip number: https://www.amazon.com/Padarsey-Internal-Windows-Profile-Bracket/dp/B07VNL332R https://www.amazon.com/GODSHARK-Internal-Windows-Profile-Bracket/dp/B07R191M25 https://www.amazon.com/INTEFIRE-Internal-Windows-Profile-Bracket/dp/B07FMMR59D Thus far, I have not found a 7.1 card. On 3/29/21 9:15 PM, Doug McIntyre wrote: > I can't specificly help you, but I recognize one thing in there that > you'll have to look out for as well. > > By low-profile mounting bracket, it sounds like you are looking for a > card that can go into a server as well. Years back, almost all PCIe > sound cards I could find were 5V only cards. Almost all servers are > 3.3V only PCIe buses. Thank you for the warning. I will need to pay attention to the card voltage specifications and to the host voltage specifications. > Are you sure you can't use a USB connected sound box? This is for a multi-channel audio digital signal processing project. USB would add another level of complexity that I would rather avoid. > That is what I ended up with in the past. It was either that, or to > use a desktop box. Some desktop form factors use low profile PCI/PCIe cards and brackets. David From owner-freebsd-questions@freebsd.org Tue Mar 30 18:36: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 3B0155A91F2 for ; Tue, 30 Mar 2021 18:36:03 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from hermes.heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (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 (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8ynZ3GZKz57Ky for ; Tue, 30 Mar 2021 18:36:01 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 12UIZ6pg032391 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 31 Mar 2021 05:35:07 +1100 (AEDT) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1617129307; x=1617734108; bh=iZgS3xu0f2dwDdObWuzSqaW5KqlcXVuBvJvllcx94/4=; h=Subject:To:From:Message-ID:Date; b=Ef0fn+crVw4KAtUmcFS+j5gza1brwOxg8ydlOwJXbxQZKvPd5Spl1MwOxCrFllk9A 575cZIuWTumhe1YQGTUeoGQljjQahW7rfXfhYjHfkeArMDg+sROl8CYyLRr2qOCcbx TEQjZLJQKOZydFABeTgy9w45Ee7Zr5upEMSnxzB1FXHwb4xp+9uqL X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Subject: Re: Wire Guard and FreeBSD To: Doug Denault , freebsd-questions@FreeBSD.ORG References: From: Dewayne Geraghty Message-ID: <7aeba139-7eac-a8b2-05a9-d716c6272d6f@heuristicsystems.com.au> Date: Wed, 31 Mar 2021 05:33:42 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4F8ynZ3GZKz57Ky X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Ef0fn+cr; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-6.20 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_NA(0.00)[heuristicsystems.com.au]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; 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, 30 Mar 2021 18:36:03 -0000 On 31/03/2021 4:42 am, Doug Denault wrote: > On Mon, 29 Mar 2021, Christos Chatzaras wrote: > >>> On 29 Mar 2021, at 23:34, Jerry wrote: >>> >>> I just found this story regarding Wire Guard and FreeBSD. I thought >>> it was >>> rather interesting. >>> > https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-and-bad-code-freebsd-13s-close-call/ > >> >> There are some discussions in the forum: > > I did not interpret the arsTechnica article the way the first poster in > the forum did. My take, Netgate sponsored a guy named Matthew Macy to > write the FreeBSD kernel code to implement WireGuard. This he did > apparently starting from scratch and (my interpretation) ignored > suggestions and/or the offer of help from Jason Donenfeld who is clearly > (if not original author of) the main contributor to WireGuard. That > Macy's code was horribly flawed is not in dispute and that was not what > I took from the article. The issue for us as FreeBSD users is that > because of size, complexity, and Marcy's credentials, the code got > little or no review almost making it into the 13.0-RELEASE. It didn't so > cool. That it got as close as the article states, not so cool. Anyone > interested should read the arsTechnica article, YMMV. > > That was not what I really wanted to ask and did not know how. WireGuard > would seem to be a really easy to use and high performance VPN. It has > been a port for some time apparently. My questions: (1) does adding it > to the kernel make it that much better? (2) was it going into the > generic kernel? (3) and lastly other that looking a the kernel source is > there a way of telling what's in the generic kernel? > > _____ > 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" 1) Adding to the kernel avoids context switching between kernel and userland. That's why network "stuff" (eg firewalling) is in the kernel. 2) ? 3) kldstat -v (will tell you what's in kernel and what kernel modules have been loaded), though better to read /usr/src/sys/amd64/conf/GENERIC (replace amd64 with your machine architecture) :) From owner-freebsd-questions@freebsd.org Tue Mar 30 18:42: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 D2FA35A963F for ; Tue, 30 Mar 2021 18:42:45 +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 4F8yxK33KXz57T6 for ; Tue, 30 Mar 2021 18:42:45 +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 12UIgk3F078517; Tue, 30 Mar 2021 14:42:46 -0400 (EDT) (envelope-from doug@safeport.com) Date: Tue, 30 Mar 2021 14:42:46 -0400 (EDT) From: Doug Denault To: Dewayne Geraghty cc: freebsd-questions@FreeBSD.ORG Subject: Re: Wire Guard and FreeBSD In-Reply-To: <7aeba139-7eac-a8b2-05a9-d716c6272d6f@heuristicsystems.com.au> Message-ID: References: <7aeba139-7eac-a8b2-05a9-d716c6272d6f@heuristicsystems.com.au> 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]); Tue, 30 Mar 2021 14:42:46 -0400 (EDT) X-Rspamd-Queue-Id: 4F8yxK33KXz57T6 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.03 / 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(-0.93)[-0.930]; 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: Tue, 30 Mar 2021 18:42:45 -0000 On Wed, 31 Mar 2021, Dewayne Geraghty wrote: > On 31/03/2021 4:42 am, Doug Denault wrote: >> On Mon, 29 Mar 2021, Christos Chatzaras wrote: >> >>>> On 29 Mar 2021, at 23:34, Jerry wrote: >>>> >>>> I just found this story regarding Wire Guard and FreeBSD. I thought >>>> it was >>>> rather interesting. >>>> >> https://arstechnica.com/gadgets/2021/03/buffer-overruns-license-violations-and-bad-code-freebsd-13s-close-call/ >> >>> >>> There are some discussions in the forum: >> >> I did not interpret the arsTechnica article the way the first poster in >> the forum did. My take, Netgate sponsored a guy named Matthew Macy to >> write the FreeBSD kernel code to implement WireGuard. This he did >> apparently starting from scratch and (my interpretation) ignored >> suggestions and/or the offer of help from Jason Donenfeld who is clearly >> (if not original author of) the main contributor to WireGuard. That >> Macy's code was horribly flawed is not in dispute and that was not what >> I took from the article. The issue for us as FreeBSD users is that >> because of size, complexity, and Marcy's credentials, the code got >> little or no review almost making it into the 13.0-RELEASE. It didn't so >> cool. That it got as close as the article states, not so cool. Anyone >> interested should read the arsTechnica article, YMMV. >> >> That was not what I really wanted to ask and did not know how. WireGuard >> would seem to be a really easy to use and high performance VPN. It has >> been a port for some time apparently. My questions: (1) does adding it >> to the kernel make it that much better? (2) was it going into the >> generic kernel? (3) and lastly other that looking a the kernel source is >> there a way of telling what's in the generic kernel? >> > > 1) Adding to the kernel avoids context switching between kernel and > userland. That's why network "stuff" (eg firewalling) is in the kernel. > 2) ? > 3) kldstat -v (will tell you what's in kernel and what kernel modules > have been loaded), though better to read /usr/src/sys/amd64/conf/GENERIC > (replace amd64 with your machine architecture) :) Thank you _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@freebsd.org Tue Mar 30 07:08: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 5E7605BD762 for ; Tue, 30 Mar 2021 07:08:34 +0000 (UTC) (envelope-from veonax@protonmail.ch) Received: from mail4.protonmail.ch (mail4.protonmail.ch [185.70.40.27]) (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 "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8gXK2rcwz3sW3 for ; Tue, 30 Mar 2021 07:08:32 +0000 (UTC) (envelope-from veonax@protonmail.ch) Date: Tue, 30 Mar 2021 07:08:19 +0000 To: "freebsd-questions@freebsd.org" From: Veon Ax Reply-To: Veon Ax Subject: mariadb server now requires bash? Message-ID: MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4F8gXK2rcwz3sW3 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.83 / 15.00]; HAS_REPLYTO(0.00)[veonax@protonmail.ch]; RWL_MAILSPIKE_GOOD(0.00)[185.70.40.27:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; MIME_BASE64_TEXT_BOGUS(1.00)[]; DKIM_TRACE(0.00)[protonmail.ch:+]; MIME_BASE64_TEXT(0.10)[]; DMARC_POLICY_ALLOW(-0.50)[protonmail.ch,quarantine]; NEURAL_HAM_SHORT(-0.83)[-0.833]; RCVD_COUNT_ZERO(0.00)[0]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.27:from]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[185.70.40.27:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[protonmail.ch:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[protonmail.ch:s=protonmail]; 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)[multipart/alternative,text/plain]; HAS_PHPMAILER_SIG(0.00)[]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[185.70.40.27:from:127.0.2.255]; AUTOGEN_PHP_SPAMMY(1.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-Mailman-Approved-At: Tue, 30 Mar 2021 19:01:06 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 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, 30 Mar 2021 07:08:34 -0000 SGVsbG8gRnJlZUJTRCB1c2VycywKCkR1cmluZyBhIHJlY2VudCAncGtnIHVwZ3JhZGUnICgxMS40 LVJFTEVBU0UpIEkgd2FzIGluZm9ybWVkIHRoYXQgJ2Jhc2gnIHdhcyB0byBiZSBpbnN0YWxsZWQu IEkgYW0gYSB6c2gvY3NoIHVzZXIgYW5kIGhhdmUgbm8gaW50ZW50aW9uIHRvIGluc3RhbGwgdGhl IGJhc2ggc2hlbGwuIEFmdGVyIHNvbWUgdHJpYWwgYW5kIGVycm9yIGl0IGFwcGVhcnMgdG8gbWUg dGhhdCBiYXNoIGlzIG5vdyBhIHJ1bnRpbWUgZGVwZW5kZW5jeSBvZiBtYXJpYWRiMTAzLXNlcnZl ci4KCklJUkMsIGJhc2ggd2FzIGFsc28gbGlzdGVkIGFmdGVyICdtYWtlIHJ1bi1kZXBlbmRzLWxp c3QnIGluIHRoZSBwb3J0IG9mIHRoZSBzYW1lIHBhY2thZ2UuCgpJIGFtIHRyeWluZyB0byBmaW5k IG91dCB3aHkgdGhpcyBpcyB0aGUgY2FzZSwgYW5kIGlmIHRoZXJlIGlzIGEgd2F5IGFyb3VuZCBp dC4gQnV0IHNvIGZhciBteSBzZWFyY2hlcyBoYXZlIG5vdCBiZWVuIHN1Y2Nlc3NmdWwuIERvZXMg YW55b25lIGtub3c/CgpyZWdhcmRzLApWZW9uYXg= From owner-freebsd-questions@freebsd.org Tue Mar 30 21:27: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 3814C5AE42F for ; Tue, 30 Mar 2021 21:27:36 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor.nl2k.ab.ca (doctor.nl2k.ab.ca [204.209.81.1]) (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 4F92bW437Bz3NVc for ; Tue, 30 Mar 2021 21:27:35 +0000 (UTC) (envelope-from doctor@doctor.nl2k.ab.ca) Received: from doctor by doctor.nl2k.ab.ca with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lRLWX-000AxR-UP; Tue, 30 Mar 2021 15:03:41 -0600 Date: Tue, 30 Mar 2021 15:03:41 -0600 From: The Doctor To: freebsd-questions@freebsd.org, freebsd-zfs@freebsd.org Subject: Broadcom 3108 and zfs Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4F92bW437Bz3NVc X-Spamd-Bar: ++++++ X-Spamd-Result: default: False [6.97 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.209.81.1:from]; NEURAL_SPAM_SHORT(0.97)[0.966]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(0.00)[+a:c]; GREYLIST(0.00)[pass,body]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; BAD_REP_POLICIES(0.10)[]; SPAMHAUS_ZRD(0.00)[204.209.81.1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_VIRUSFREE_BOTNET(2.00)[204.209.81.1:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[nl2k.ab.ca,quarantine]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6171, ipnet:204.209.81.0/24, country:CA]; INTRODUCTION(2.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] 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, 30 Mar 2021 21:27:36 -0000 Is the broadcom 30=7F108 ZFS friendly? --=20 Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.= ab.ca Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist ri= sing! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=3D94a1= f39b =20 They boast of how smart they are, yet cannot even tell salt from sugar.-unk= nown From owner-freebsd-questions@freebsd.org Wed Mar 31 01:37: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 F0A2A5B771E for ; Wed, 31 Mar 2021 01:37:13 +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 4F987Y1WjTz3v6C for ; Wed, 31 Mar 2021 01:37:13 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:a37c:7d43:e599:c5a5:d679:abb3] (unknown [172.58.140.117]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id D05D54E65C; Tue, 30 Mar 2021 20:31:38 -0500 (CDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: mariadb server now requires bash? From: Valeri Galtsev In-Reply-To: Date: Tue, 30 Mar 2021 20:31:36 -0500 Cc: Veon Ax , "freebsd-questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: "Kevin P. Neal" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4F987Y1WjTz3v6C 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 [7.60 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.140.117:received]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.140.117:received]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; 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-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: Wed, 31 Mar 2021 01:37:14 -0000 > On Mar 30, 2021, at 7:19 PM, Kevin P. Neal = wrote: >=20 > On Tue, Mar 30, 2021 at 07:08:19AM +0000, Veon Ax via = freebsd-questions wrote: >> Hello FreeBSD users, >>=20 >> During a recent 'pkg upgrade' (11.4-RELEASE) I was informed that = 'bash' was to be installed. I am a zsh/csh user and have no intention to = install the bash shell. After some trial and error it appears to me that = bash is now a runtime dependency of mariadb103-server. >>=20 >> IIRC, bash was also listed after 'make run-depends-list' in the port = of the same package. >>=20 >> I am trying to find out why this is the case, and if there is a way = around it. But so far my searches have not been successful. Does anyone = know? >=20 > Do I know for sure? No. >=20 > But I'd guess that it comes with shell scripts that use non-portable > bashisms. This is common on Linux. There is even worse thing about both mariadb and mysql: both of them in = the latest version at least use JSON (Java Script Object Notation, = really ?!!) somewhere in their tables. I feel like these two projects just added Junk onto their product. I = always was recommending postgresql to developers I serve as sysadmin for = who were starting some new project=E2=80=A6 Valeri > --=20 > Kevin P. Neal = http://www.pobox.com/~kpn/ >=20 > "It sounded pretty good, but it's hard to tell how it will work out > in practice." -- Dennis Ritchie, ~1977, "Summary of a DEC 32-bit = machine" > _______________________________________________ > 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 Wed Mar 31 03:29: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 259185B97BF for ; Wed, 31 Mar 2021 03:29:55 +0000 (UTC) (envelope-from daniel@dstev.net) Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (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 "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9BdZ19sbz4VSj for ; Wed, 31 Mar 2021 03:29:53 +0000 (UTC) (envelope-from daniel@dstev.net) Date: Wed, 31 Mar 2021 03:29:30 +0000 To: Jacques Foucry From: Daniel Stevenson Cc: Dan Langille , freebsd-questions@freebsd.org Reply-To: Daniel Stevenson Subject: Re: Move jails hard way to iocage Message-ID: In-Reply-To: References: <5ce88d31-5372-4d26-8d35-d13b73ec7b71@www.fastmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.0 required=10.0 tests=ALL_TRUSTED shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4F9BdZ19sbz4VSj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=dstev.net; spf=pass (mx1.freebsd.org: domain of daniel@dstev.net designates 185.70.40.136 as permitted sender) smtp.mailfrom=daniel@dstev.net X-Spamd-Result: default: False [-3.90 / 15.00]; HAS_REPLYTO(0.00)[daniel@dstev.net]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.136:from]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[dstev.net,none]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[185.70.40.136:from] 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, 31 Mar 2021 03:29:55 -0000 On Friday, March 26th, 2021 at 15:45, Jacques Foucry wrote: > Le vendredi 26 mars 2021 =C3=A0 09:00:24 (-0400), Dan Langille =C3=A0 = =C3=A9crit: > > > On Fri, Mar 26, 2021, at 5:34 AM, Dan Langille wrote: > > > > > On Fri, Mar 26, 2021, at 5:28 AM, Jacques Foucry wrote: > > > > > > > Hello Friends, > > > > > > > > I run many jails, configured in the "hard way" (ie `/etc/jail.conf`= file) and > > > > > > > > I would like to move them into iocage. > > > > > > > > I can't find any help on the Internet (may be I did search corretly= ). > > > > > > > > Did some own have a pointer or a how-to? > > > > > > > > Thanks in advance for your time and advises, > > > > > > https://dan.langille.org/2021/02/28/converting-an-iocage-jail-to-a-va= nilla-jail/ > > > > Sorry, I misread, and though you were moving to jails. > > No problem :-) > > > This is from ezjail to iocage. Might help. > > > > https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jail= s/ > > Sure it's help. > > > Yes, I have been moving from iocage to vanilla jails. I find it better = suits my use > > > > cases, specifically my FreshPorts jails which contain zfs file systems = which it > > > > must occasionally issue a 'zfs rollback'. I also like that my jails sta= rt or stop > > > > faster. The additional work I need to do relates to jail creation (crea= ting the > > > > file systems etc). For that, I'm using https://github.com/mkjail/mkjail= - in fact, > > > > this morning I am using that to update several jails. > > > > e.g. [dvl@r720-02:~/src/mkjail/src] $ sudo bin/mkjail upgrade -v 12.2-R= ELEASE -j nginx01 > > Interesting, may be I will reconsider switching=E2=80=A6 > > > After reading FreeBSD Mastery: Jails I saw how straight forward a jail.= conf entry can > > > > be. https://mwl.io/nonfiction/os#fmjail > > I read it, but there's no words about VNET and vanilla jails. Seems a lit= tle > > bit more difficult and all the jails must be switch at the same time (as = I saw > > from my small experience). I just finished the book; it does indeed talk about vanilla VNET jails. There's a section in Chapter 9 titled "Standard VNET Jails." It might be worth another look. > But I read to that you are not very happy with VNET jails :-) > > Btw, it's very hard to make my own opion with all the different experienc= es I > > read. :-) > > That said, and off topic, thanks for your blog, your shared experiences, > > FreshPorts and all you do for the community. -- Daniel Stevenson From owner-freebsd-questions@freebsd.org Wed Mar 31 07:20: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 95B985BD6DD for ; Wed, 31 Mar 2021 07:20:28 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from mout.web.de (mout.web.de [212.227.17.12]) (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.web.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9Hlb2JHYz4h4Y for ; Wed, 31 Mar 2021 07:20:26 +0000 (UTC) (envelope-from tobias.rehbein@web.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1617175225; bh=0y/VBOkWHsRYaFS+k2s0Bn5OpqHUfQIWbJu+MAm1wV8=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=DEe3lfxRDLcAs1avrxoNclYsNx8Y5XOTcMCxk0Kqdy2e4H5LiyIGsRmjRuqfBY5tn /QiPOIxPIwXRi2CTiSF9F4SwBo4T/aiM5Vg4Od2iJD2rd3yl+xpLI5xDcA6o9NsLs9 MgFK/ls5ItaixvrWJ169N/kLvPPffuIyYDtPqX54= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from x230.local ([91.21.11.61]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MV2Ka-1l0adC3vZW-00STz4 for ; Wed, 31 Mar 2021 09:20:25 +0200 Received: from blabber (uid 1001) (envelope-from tobias.rehbein@web.de) id 68532 by x230.local (DragonFly Mail Agent v0.11+); Wed, 31 Mar 2021 09:20:24 +0200 Date: Wed, 31 Mar 2021 09:20:24 +0200 From: Tobias Rehbein To: freebsd-questions@freebsd.org Subject: Re: mariadb server now requires bash? Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YXgqFkKTSkTXDXTA" Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:uq1iP23dyDpmemSzjQTHvBCSj2eSqY5nEfNl/cjDQe41jiVCroL Ge+Wm+0R7jh6aF9X2lBB1KZ8OqsaiWHhTMLmt8sb2JnJ7d67DICtQ7librLY/jXwOzZdyJW ST0VAHIZX0Q15rrcwZQ6TO4al2q7izZ2xiZ0G+1ZgVdQDbPj+KilWcCfPMyLX25kvuUB1lE Eywx3iJN0IJ3tK13Wga7Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ZCMnMCW2Oqg=:7i/KxlCTudLzP2ma9DizZM +cD03XuqHdx82Q3wAimbHb4UldWkCJKnIT9N3FxTZAUCnDW0xgnAnN3o5OmCrOUbMOcZKV7ve CQUCgqv2FtmPYFc8q+BrlBxsCAePXHph2gKkvBtUyxycmbSLRs2nvvoL613SM96QLxt2hoAqr up6WfOdL7Op95W8QjInxq0CHnKyOzn6LR3YyA8Q0A10Ku5G6GIRYGpxtEX8UaRAEDRFEfXOgR ou/Slw7OPgVkbhhEiopbq9A1jR3OePWGbFo5s0UJmCplc+OJdg2ND/HrWeowTNOUJvL1Bf0MA hRMrEvv6Eg9l8dx8SgG2jsRtu6PyrceEIv+j9yQ4om2sxN0hYJxybhxSRwLq6ke+dAnGcjWRO 5ZgouOIfOzic/Z1bzbv8JNhc+TjgI3Swnaic/6cg/IA+h+JHJ+oMv8klYOhepqEiMslMNXh9b dkdUctroiayPs5zCFhYMjZVYM3h6Yv3qeFM55MG1PF8TFdRRtI0ZThBbVhb3X2YQL4D/4yB0m /m7gvSLcph26OJhXVCH6YjZ1IOmAPOAwujg2qP7PB89p13IZKuPdeWqmAUqRosh73cZeQL3Ow 1feJ13wrxTcbtzVPeq/ZFX8U7iYsB6+CiIhiNXJzElQTErPdqDGEqLP54z6wgFajZC5S9hpJd DS056yRk791g0QH5oJVTdsclEkS0CDwlaouSLUd3CRUfm4yI7aILe3liCb77gcCULQbPSJjjN qLns8fnCvOagO4EnI6/gK2q8z5z2cBFYbcN7XYMrqiPk/xD3NB8NmnPSqjTmqcbtl1yEzvbAr GDHdPqc4mRCHWhlDtXbJUi3JRTYTCE1FNGOfjpwmZ7QMg/OggxnTRvDGVgP+mKk74seUGFQUI Ge5Nl+tnWGN2zcuouvZwR8PujVOD65RXv44xXdTHuhKgfsDqJaS1BUEL+G9qCGEgoAVXnQC6I uydPhmnier46azUUUrfZ0nG65FCW1P4QIT504rzOZTr4Sq20Rbt/kiaVdl9rvfBdaD6WvXBAH U5e1bj5/TeF+KC5MzIUkoaG1RFeqnSokjfLiZKU1ljzJc0WnxCcmRM2naaMHHvYKICA6/uNhE T0iib55uARbhoPnd3iSZhLcZIec1oGv6FqhAIAi16J7sdeZul5/x7XurvTFuN73wS5kZ/Fvvy mUQ9vQDZ/66Qr3l3Fiz2yGeX1Jpjo62Wj6V2uhjeMFBK7yu6Y7BsoGllx2H6ZhzB4BIHoZyeF hMN1WET2AI++hRBZ3 X-Rspamd-Queue-Id: 4F9Hlb2JHYz4h4Y X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=DEe3lfxR; dmarc=pass (policy=none) header.from=web.de; spf=pass (mx1.freebsd.org: domain of tobias.rehbein@web.de designates 212.227.17.12 as permitted sender) smtp.mailfrom=tobias.rehbein@web.de X-Spamd-Result: default: False [-6.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[212.227.17.12:from]; FREEMAIL_FROM(0.00)[web.de]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[web.de:+]; DMARC_POLICY_ALLOW(-0.50)[web.de,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.12:from]; FREEMAIL_ENVFROM(0.00)[web.de]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.12:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[web.de:s=dbaedf251592]; RECEIVED_SPAMHAUS_PBL(0.00)[91.21.11.61:received]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[212.227.17.12:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[web.de:dkim]; MIME_TRACE(0.00)[0:+,1:+,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: Wed, 31 Mar 2021 07:20:28 -0000 --YXgqFkKTSkTXDXTA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Am Tue, Mar 30, 2021 at 07:08:19AM +0000 schrieb Veon Ax via freebsd-questions: > I am trying to find out why this is the case, and if there is a way > around it. But so far my searches have not been successful. Does > anyone know? The WSREP option adds bash to the dependency list. If you really want to avoid the installation of bash, you'll have to disable this option and build mariadb yourself using the ports tree. Regards, Tobias --YXgqFkKTSkTXDXTA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE57V3tHionYfJ3KBDS4glXO8RhqYFAmBkIrUACgkQS4glXO8R hqYXKA/7B87UizqPfmmGzVm/qp4roP42DK1xlbtTBUWrx/6UeYPJDZgNFlfLeLDL 0s5b7FuL02tA+EvibuWiEMfuD6abc3uJhdt2pNbHNlJdSKVq8YB/xz4Vs83Pilmp fJvh/0JyWMCelMqPiePBFvKY9CUjPTDEMn6Jq21rZekKHwCwhofh8o2Xuj/8IAgt 9wZYJwTllLjmmUD8iY4nAdGuzpJPp8Z9FzUkZxOpJi0kiSyg28Ef1okxTLhl2XdF GUi7vwcvOAxmxlbWCGYw4GDjwQnEI8sMPU12KotGr/QgrkNRBAE9ezLhPYEj2IZ9 DEKuMGwsoTkfkEjjtoHHxpI75WBK7dy4GIrBjBcUzNlpuZD+DxSMmJZqRY1YdIJi bT2X8nL/2hsRl+a7fapm+3WmcsrFNaPj18T5vXkxJFSDYwOy76jbQ7j1Mx4lnAJX mLq8ghKQtY2YOvMQiJziEY82OEIqTe5UGHl6wBLN3f/SBtFzvY8488gtqH9krJE2 /tMFaoR1zLBAodABMzbOX4fv1XWKY4+uYy0aNglg6Lmuo8KRiuAfNpCnwGj4eCJF H6wxqVpypNsS4XM0HNd8Tbo0bA49092CvWhv10O7flJauuw2V9qGYKe7NJqEKE8S 4H0qCWULYiXKrm8QzrROSRikNeq9je7qPe/EYECf/T0/GF5feuE= =uVV5 -----END PGP SIGNATURE----- --YXgqFkKTSkTXDXTA-- From owner-freebsd-questions@freebsd.org Wed Mar 31 09: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 6B7525C1DDE for ; Wed, 31 Mar 2021 09:50:28 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 4F9M4g3Nhnz4qQs for ; Wed, 31 Mar 2021 09:50:27 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id v4so18973244wrp.13 for ; Wed, 31 Mar 2021 02:50:27 -0700 (PDT) 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; bh=uzCnnLS/mzlcxTy5AgzKVkUNRou+CDm3xmh+g2mEcEA=; b=YiU4CsU7vNlKiC62jlHmX2XbNo4OiOkz2ZKwT2ibkF7G2fEAlzKBH4+qae3PF4OnHg 6ODjRi2JN0bQ/IhgJyxCW6pQ9JoMuz3OB1JNZAIqEO3MenoCQusVwhZ13yKuwXrylJUQ 1AOUyqcjqEpR1XXzdZpANixt6SdrecEVS1cfJddL/lgm7kwe7fQ3t/6KZLrs0uTCgn00 gxBiizY7QLp0ZVdjq7t0+6C/1BTRdby6a6F+DaXvtuL2K14tzF7axyimOc2pUlh6I409 ol5bQ4FdLGqkVPZJZfn+zS736G4HUkR9tDuGy61H7D9OT3h+Guvl/fVQoTa1UwhK8Olq 3qsQ== 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; bh=uzCnnLS/mzlcxTy5AgzKVkUNRou+CDm3xmh+g2mEcEA=; b=tPOtMR0E3V/jJ1OwfKoSB3oAxSvk0ce2BMg54qn1rHWcKI1EvlXefNEK5zfLJ5U5Mc CBzO8KIxHxuGY0zDK4BV5RHBL8wH/PvM/4E7wTLzqTzFg89JMKEHG2clOluAifwNb3Id Z63gtSaw5IwFyNt4ap4U2KXwrFlqEA0I1Y89EoJ1zR0H7XhjcMk6QOT2JSMW0XxGA8Id UqpcgePScP5pAGu+58ej5l3WHOhNGidMOC/JFls8NkArXQ/IJ3TaJuarNdUF3E1naHXx 0v4J6Z/jwK54ungAIh+1z0Q8jw0YpbuPM6IjVSD3kE9/y7MxkO90+MvSkvNEi27djY2k H6RA== X-Gm-Message-State: AOAM530Ygv4amjRmp/6M0lLB5luCAKqz7gCQHy33MZIOa0/GkYHiXazL 7hUZgA9VG88iErwZf6Z7jsVp8y5psbf2EulRCXBL3VVe X-Google-Smtp-Source: ABdhPJwQLNS8JiZygIj8n+XEfa+9isokgxEtSFT1gjkeT4QcQ7QOQjxJ/GT6SlCQPSemlNnVk7AYEaB2FoEMvV2k8F8= X-Received: by 2002:adf:dd48:: with SMTP id u8mr2611938wrm.139.1617184224390; Wed, 31 Mar 2021 02:50:24 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Tue, 30 Mar 2021 23:49:26 -1000 Message-ID: Subject: Re: mariadb server now requires bash? To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4F9M4g3Nhnz4qQs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=YiU4CsU7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::432 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-2.97 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.968]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::432:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; 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)[]; TO_MATCH_ENVRCPT_ALL(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]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::432:from:127.0.2.255]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::432: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: Wed, 31 Mar 2021 09:50:28 -0000 On Tue, Mar 30, 2021 at 9:20 PM Tobias Rehbein wrote: > Am Tue, Mar 30, 2021 at 07:08:19AM +0000 schrieb Veon Ax via > freebsd-questions: > > I am trying to find out why this is the case, and if there is a way > > around it. But so far my searches have not been successful. Does > > anyone know? > > The WSREP option adds bash to the dependency list. If you really want to > avoid the installation of bash, you'll have to disable this option and > build mariadb yourself using the ports tree. > I failed to find the meaning of "WSREP" on MariaDB website; did found various variables starting with "wsrep_" in context of Galera cluster. For my own education, does "WSREP" mean "Warm-Standby Replication"? - parv -- From owner-freebsd-questions@freebsd.org Wed Mar 31 10:11: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 A700F5C2A6A for ; Wed, 31 Mar 2021 10:11:06 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9MXV4LlSz4rsT for ; Wed, 31 Mar 2021 10:11:06 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 953E45C2E03; Wed, 31 Mar 2021 10:11:06 +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 950565C2C9E for ; Wed, 31 Mar 2021 10:11:06 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from jax4mhob24.registeredsite.com (jax4mhob24.registeredsite.com [64.69.218.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.registeredsite.com", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9MXV2SRLz4s2M for ; Wed, 31 Mar 2021 10:11:06 +0000 (UTC) (envelope-from administrator@freebsd.org) Received: from mailpod.hostingplatform.com ([10.30.71.94]) by jax4mhob24.registeredsite.com (8.14.4/8.14.4) with ESMTP id 12VAB3iD131387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 31 Mar 2021 06:11:04 -0400 Received: (qmail 165006 invoked by uid 0); 31 Mar 2021 09:34:53 -0000 X-TCPREMOTEIP: 77.247.110.106 X-Authenticated-UID: elena@turloff.com Received: from unknown (HELO aol.com) (elena@turloff.com@77.247.110.106) by 0 with ESMTPA; 31 Mar 2021 09:34:53 -0000 From: "IT support freebsd.org" To: questions@freebsd.org Subject: ( questions@freebsd.org ) You have { 17 } pending mails Date: 31 Mar 2021 11:34:52 +0200 Message-ID: <20210331113452.F802BCE510A3126B@freebsd.org> X-Rspamd-Queue-Id: 4F9MXV2SRLz4s2M X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:19871, ipnet:64.69.218.0/24, country:US]; local_wl_from(0.00)[freebsd.org] MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" 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, 31 Mar 2021 10:11:06 -0000 From owner-freebsd-questions@freebsd.org Wed Mar 31 14:55:18 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 997C657B26C for ; Wed, 31 Mar 2021 14:55:18 +0000 (UTC) (envelope-from Administrator@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9TrQ44MSz3hyx for ; Wed, 31 Mar 2021 14:55:18 +0000 (UTC) (envelope-from Administrator@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 898D457B096; Wed, 31 Mar 2021 14:55:18 +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 8954657B28E for ; Wed, 31 Mar 2021 14:55:18 +0000 (UTC) (envelope-from Administrator@freebsd.org) Received: from mta0.pwc-1lc.com (hwsrv-849161.hostwindsdns.com [192.236.154.163]) (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 4F9TrQ2gWLz3hmx for ; Wed, 31 Mar 2021 14:55:18 +0000 (UTC) (envelope-from Administrator@freebsd.org) From: Administrator To: questions@freebsd.org Subject: Pending Email Delivering Date: 31 Mar 2021 14:55:13 +0000 Message-ID: <20210331145512.68F25EA0DCCD3314@freebsd.org> X-Rspamd-Queue-Id: 4F9TrQ2gWLz3hmx X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:54290, ipnet:192.236.154.0/23, country:US] MIME-Version: 1.0 Content-Type: text/plain 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, 31 Mar 2021 14:55:18 -0000 From owner-freebsd-questions@freebsd.org Wed Mar 31 18:33: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 89C2D5AB777 for ; Wed, 31 Mar 2021 18:33:58 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9Zhj3MF0z4SxQ for ; Wed, 31 Mar 2021 18:33:57 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 5ACCB17132 for ; Wed, 31 Mar 2021 18:33:51 +0000 (UTC) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 12VIXpBW047271 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Wed, 31 Mar 2021 18:33:51 GMT (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 12VIXpZV047268 for ; Wed, 31 Mar 2021 18:33:51 GMT (envelope-from doug@fledge.watson.org) Date: Wed, 31 Mar 2021 18:33:51 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: freebsd-questions@freebsd.org Subject: Re: mariadb server now requires bash? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4F9Zhj3MF0z4SxQ X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [1.00 / 15.00]; HAS_REPLYTO(0.00)[doug@safeport.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.107.128.30:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[204.107.128.30:from:127.0.2.255]; DMARC_NA(0.00)[watson.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; 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, 31 Mar 2021 18:33:58 -0000 On Wed, 31 Mar 2021, Tobias Rehbein wrote: > Am Tue, Mar 30, 2021 at 07:08:19AM +0000 schrieb Veon Ax via freebsd-questions: >> I am trying to find out why this is the case, and if there is a way >> around it. But so far my searches have not been successful. Does >> anyone know? > > The WSREP option adds bash to the dependency list. If you really want to > avoid the installation of bash, you'll have to disable this option and > build mariadb yourself using the ports tree. > > Regards, > > Tobias Installing a package without a non-needed dependency is doable. I did the following to install libreoffice and keep mysql56: pkg install libreoffice pkg delete -f mysql57-client pkg lock libreoffice pkg install mysql56-server In this case it works fine because I do not care about using the DB viewer. From owner-freebsd-questions@freebsd.org Wed Mar 31 20:14:18 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 593AD5AE76B for ; Wed, 31 Mar 2021 20:14:18 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [96.88.95.61]) (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 4F9cwT24Yvz4ZkX for ; Wed, 31 Mar 2021 20:14:16 +0000 (UTC) (envelope-from bob@proulx.com) Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id A3CD7CB for ; Wed, 31 Mar 2021 14:14:09 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1617221649; bh=gD5CQtt7iy5T7WPToQB7S00/YKLbk7ADs9vy/f6ug1c=; h=Date:From:To:Subject:References:In-Reply-To:From; b=nzwRlqtwvr+1OpOjJX9X2o7V4PcEw8vKSx//ZnfVqGzC4vZA9OFgqlN4FhRie2UMJ w/aiFnYIqcceJJweCDrfExxlRsTR8v76KUqQVr2c5gfjFOfvO0aGsZ0Bc7b11sjVSh LJKj9XOzall5QGpsXmEwVQFGOLXN9K4Im0CynYu6Xxqi1WPVPVc/1giuMOW1CDKVcB f5q6/lSoTTpzsidjyCXOiMDThQYpvng3bVDMbwLViI1hoYLVTHqdWFu52GkWpIzinx aDheZvrGvbwzZ7YW6xPHcfmtl17WyLbyYX7TsnT+ja7qq3TOHRtH2teTS1UjhB7RwG 7V2e3O/2ud9Zw== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 719082118C for ; Wed, 31 Mar 2021 14:14:09 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 64F8C2DC9C; Wed, 31 Mar 2021 14:14:09 -0600 (MDT) Date: Wed, 31 Mar 2021 14:14:09 -0600 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: mariadb server now requires bash? Message-ID: <20210331140954578872611@bob.proulx.com> Mail-Followup-To: freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 4F9cwT24Yvz4ZkX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=nzwRlqtw; dmarc=pass (policy=none) header.from=proulx.com; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 96.88.95.61 as permitted sender) smtp.mailfrom=bob@proulx.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[96.88.95.61:from]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; 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)[96.88.95.61:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[proulx.com:+]; DMARC_POLICY_ALLOW(-0.50)[proulx.com,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:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; 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: Wed, 31 Mar 2021 20:14:18 -0000 Valeri Galtsev wrote: > > There is even worse thing about both mariadb and mysql: both of them in the latest version at least use JSON (Java Script Object Notation, really ?!!) somewhere in their tables. > I feel like these two projects just added Junk onto their product. I always was recommending postgresql to developers I serve as sysadmin for who were starting some new project… > Ahem... PostgreSQL documenation 9.16. JSON Functions and Operators https://www.postgresql.org/docs/current/functions-json.html I don't know the actual timeline but I myself heard about postgresql adding json functionality before mysql/mariadb did. Bob From owner-freebsd-questions@freebsd.org Wed Mar 31 20:24: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 DFCDF5AF05E for ; Wed, 31 Mar 2021 20:24:05 +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 4F9d7n0wH5z4bH8 for ; Wed, 31 Mar 2021 20:24:04 +0000 (UTC) (envelope-from liedtke@punkt.de) Received: from [217.29.46.77] (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 B4D9B3758B for ; Wed, 31 Mar 2021 22:23:57 +0200 (CEST) Subject: Re: mariadb server now requires bash? To: freebsd-questions@freebsd.org References: <20210331140954578872611@bob.proulx.com> From: Lars Liedtke Organization: punkt.de GmbH Message-ID: Date: Wed, 31 Mar 2021 22:23:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210331140954578872611@bob.proulx.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Rspamd-Queue-Id: 4F9d7n0wH5z4bH8 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 [-2.29 / 15.00]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(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)[]; MID_RHS_MATCH_FROM(0.00)[]; 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]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[217.29.41.227:from:127.0.2.255]; ARC_NA(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; 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: Wed, 31 Mar 2021 20:24:06 -0000 +1 IMHO you should know about JSON and NoSQL. Am 31.03.21 um 22:14 schrieb Bob Proulx: > Valeri Galtsev wrote: >> >> There is even worse thing about both mariadb and mysql: both of them in the latest version at least use JSON (Java Script Object Notation, really ?!!) somewhere in their tables. >> I feel like these two projects just added Junk onto their product. I always was recommending postgresql to developers I serve as sysadmin for who were starting some new project… >> > Ahem... > > PostgreSQL documenation > 9.16. JSON Functions and Operators > https://www.postgresql.org/docs/current/functions-json.html > > I don't know the actual timeline but I myself heard about postgresql > adding json functionality before mysql/mariadb did. > > Bob > _______________________________________________ > 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" -- --- 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 Wed Mar 31 20:28:33 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 16A135AF25A for ; Wed, 31 Mar 2021 20:28:33 +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 4F9dDw3KySz4bZM for ; Wed, 31 Mar 2021 20:28:32 +0000 (UTC) (envelope-from liedtke@punkt.de) Received: from [217.29.46.77] (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 25A7936C52 for ; Wed, 31 Mar 2021 22:28:31 +0200 (CEST) Subject: Re: Move jails hard way to iocage To: freebsd-questions@freebsd.org References: <5ce88d31-5372-4d26-8d35-d13b73ec7b71@www.fastmail.com> From: Lars Liedtke Organization: punkt.de GmbH Message-ID: <8e9e81f4-da6c-1038-0d4d-8c814acb1267@punkt.de> Date: Wed, 31 Mar 2021 22:28:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Rspamd-Queue-Id: 4F9dDw3KySz4bZM 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 [-3.25 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.29.41.227:from]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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]; HAS_ORG_HEADER(0.00)[]; SPAMHAUS_ZRD(0.00)[217.29.41.227:from:127.0.2.255]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.955]; 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:16188, ipnet:217.29.32.0/20, country:DE]; 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, 31 Mar 2021 20:28:33 -0000 Most of iocage settings are the same as jail settings. Sometimes the name is a bit different, but much slightly though. Am 31.03.21 um 05:29 schrieb Daniel Stevenson: > On Friday, March 26th, 2021 at 15:45, Jacques Foucry wrote: > >> Le vendredi 26 mars 2021 à 09:00:24 (-0400), Dan Langille à écrit: >> >>> On Fri, Mar 26, 2021, at 5:34 AM, Dan Langille wrote: >>> >>>> On Fri, Mar 26, 2021, at 5:28 AM, Jacques Foucry wrote: >>>> >>>>> Hello Friends, >>>>> >>>>> I run many jails, configured in the "hard way" (ie `/etc/jail.conf` file) and >>>>> >>>>> I would like to move them into iocage. >>>>> >>>>> I can't find any help on the Internet (may be I did search corretly). >>>>> >>>>> Did some own have a pointer or a how-to? >>>>> >>>>> Thanks in advance for your time and advises, >>>> https://dan.langille.org/2021/02/28/converting-an-iocage-jail-to-a-vanilla-jail/ >>> Sorry, I misread, and though you were moving to jails. >> No problem :-) >> >>> This is from ezjail to iocage. Might help. >>> >>> https://dan.langille.org/2019/04/08/converting-thin-jails-to-thick-jails/ >> Sure it's help. >> >>> Yes, I have been moving from iocage to vanilla jails. I find it better suits my use >>> >>> cases, specifically my FreshPorts jails which contain zfs file systems which it >>> >>> must occasionally issue a 'zfs rollback'. I also like that my jails start or stop >>> >>> faster. The additional work I need to do relates to jail creation (creating the >>> >>> file systems etc). For that, I'm using https://github.com/mkjail/mkjail - in fact, >>> >>> this morning I am using that to update several jails. >>> >>> e.g. [dvl@r720-02:~/src/mkjail/src] $ sudo bin/mkjail upgrade -v 12.2-RELEASE -j nginx01 >> Interesting, may be I will reconsider switching… >> >>> After reading FreeBSD Mastery: Jails I saw how straight forward a jail.conf entry can >>> >>> be. https://mwl.io/nonfiction/os#fmjail >> I read it, but there's no words about VNET and vanilla jails. Seems a little >> >> bit more difficult and all the jails must be switch at the same time (as I saw >> >> from my small experience). > I just finished the book; it does indeed talk about vanilla VNET jails. > There's a section in Chapter 9 titled "Standard VNET Jails." It might > be worth another look. > >> But I read to that you are not very happy with VNET jails :-) >> >> Btw, it's very hard to make my own opion with all the different experiences I >> >> read. :-) >> >> That said, and off topic, thanks for your blog, your shared experiences, >> >> FreshPorts and all you do for the community. > -- > Daniel Stevenson > _______________________________________________ > 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" -- --- 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 Wed Mar 31 20:30:00 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 392755AF600 for ; Wed, 31 Mar 2021 20:30:00 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 4F9dGb2Lb9z4bp1 for ; Wed, 31 Mar 2021 20:29:58 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x435.google.com with SMTP id j9so19209463wrx.12 for ; Wed, 31 Mar 2021 13:29:58 -0700 (PDT) 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=ANQlMZtQ2p5Pc4WwmtAcBef/iwlKkxSNqx4q2QiB9Tg=; b=q7xOOwcYzoNNzXcH0rgcsd68oKjqHmPQNtMKoGdcf8nkLVPZXqIK6vDbxTDOWHkpPX iVshuzCWvqXTOkdFC64+PSMLJEsx+cC4GCLleqMQc+9jCmpVvP7bDMUNZeyELNj64lTX guEXJI+nifZjbPKQFL2JH+XJRm4nGHwl9hXNrJ2w+C5yvw9FwoAmDuLDAqXwuyHkikHO Fp3wnH/1m3VIT0YAY69/KMObDPjMlouNl3kUleUKV/mkr6sgUaPKg6h8OQQWbD/gkrPt E4jud/Ftb0E5SArP6FTccNYfINvHs3HSFC3EbhewEq5075FIDF8IfaOB4X7UC19bV2Pa O+nQ== 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=ANQlMZtQ2p5Pc4WwmtAcBef/iwlKkxSNqx4q2QiB9Tg=; b=Qi8hRcMbMSRArEon1089FLbFqnKtMC+sq7EX3T7fvCzTBOPScTsyczpGnutjLLzkVB nAzKqq+DUP2yzA7rynEdW+41WWKghc3DLo1fnSQdmL+/MDeQZtb42tJMCKXrbZIMwbxW 21Uv/sC1vQzU9zE8B5Lv7M9YbvAtr3IbJH+Sm1coQDLD9+vrFgMZMSinamMoiD50jzAW OIKwFBBarCSsqo81/nmGr0cW2/h/JdmtPYQL5z1JKymqIAMhmz3Xm0YG6aTwxeBYz+Ie X/UZzYXj1dBV/bnIPWhWk/NE3TWEQRgIF0uFp001vYYRqj0pvixtMdlWkHDUQoE0bll/ bNQg== X-Gm-Message-State: AOAM530qzjkLXjtdblpd6BFFB4N5hiMsHIGfSfNJdr7gsPbKhdfrfFVi BQfO8+algaI9ja+628SDKkC2yY7GuqH0TCDQ/6DLhzRUP32zZg== X-Google-Smtp-Source: ABdhPJwX3o08dSvgxCi3G3RJ6txtVf5yIVTIw5dYzcDf3X4f60f/JY2IBDA6PWXcmJkYqFnMeOGQ/NApTTl8pVCFNW4= X-Received: by 2002:a5d:58e8:: with SMTP id f8mr5685396wrd.102.1617222596841; Wed, 31 Mar 2021 13:29:56 -0700 (PDT) MIME-Version: 1.0 From: Antonio Olivares Date: Wed, 31 Mar 2021 15:29:45 -0500 Message-ID: Subject: an easter calculating script that uses dc, output does not stop To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F9dGb2Lb9z4bp1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=q7xOOwcY; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-2.16 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450: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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::435: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(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.21:email,0.0.6.47:email,0.0.0.24:email,0.0.0.25:email,0.0.0.31:email,0.0.0.0:email]; 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::435:from:127.0.2.255]; NEURAL_SPAM_SHORT(0.84)[0.843]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::435:from]; 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: Wed, 31 Mar 2021 20:30:00 -0000 Dear kind FreeBSD users, I found a script which I will attach inline. It uses dc *to do the math*, but the output runs indefinitely on FreeBSD machines. From https://forums.opensuse.org/showthread.php/435983-Easter-program <----- script follows -----> #!/bin/sh if test $# -lt 1 then echo usage: $0 year exit 1 fi echo $* '[ddsf[lfp[too early ]Pq]s@1583>@ ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30% d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+ [March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx' | dc | tr '\012' ' ' echo '' <----- end of script ------> I ran the script successfully during prior versions of FreeBSD, but it is now running infinitely( infinite loop). See run: ... to run we put $ sh easterdc.sh and the year olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh usage: easterdc.sh year olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh 2021 ........ 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April 4 April April ^C .... How can I fix this to just output 4 April and stop. Thanks in Advance. Regards, Antonio From owner-freebsd-questions@freebsd.org Wed Mar 31 20:34:18 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 B80705AFBB9 for ; Wed, 31 Mar 2021 20:34:18 +0000 (UTC) (envelope-from 4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@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 4F9dMY6LB3z4cFm for ; Wed, 31 Mar 2021 20:34:17 +0000 (UTC) (envelope-from 4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@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=1617222858; x=1619814858; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=j6c3r/k7C2R3E2wpVbM2Z76G2J7KoIfcyWVZl7S6xoY=; b=DKuUdgJVl3iE9WLRgRWO59zQjLiPe2tSzp5TXjTttVB+k4VchtIOrOxNOQsplbfBSTyiG+HPhN+YUFor0NAIvS68zf5e0fbFxeV4SL8lB+3oDcUtOvkZlBmE8+IjSMU0f55T/85X263SYo75/vufScWqZcKpy+LNzn4Xb0C1rbA= X-Thread-Info: NDI1MC4xMi4xZDRjZjAwMDBjY2RiNzEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 31 Mar 2021 16:34:05 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 31 Mar 2021 16:33:57 -0400 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 1lRhXH-0000hp-Ce; Wed, 31 Mar 2021 21:33:55 +0100 Date: Wed, 31 Mar 2021 21:33:55 +0100 From: Steve O'Hara-Smith To: Valeri Galtsev Cc: "Kevin P. Neal" , Veon Ax , "freebsd-questions@freebsd.org" Subject: Re: mariadb server now requires bash? Message-Id: <20210331213355.dad8ffd7dbbf20f283434269@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; 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: 4F9dMY6LB3z4cFm X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=DKuUdgJV; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@email-od.com X-Spamd-Result: default: False [-1.70 / 15.00]; TO_DN_EQ_ADDR_SOME(0.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:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@email-od.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4cf0000ccdb71.d8ed226ecf3cdc4ad30396ed58ea3f25@email-od.com]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; 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)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[sohara.org]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; 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, 31 Mar 2021 20:34:18 -0000 On Tue, 30 Mar 2021 20:31:36 -0500 Valeri Galtsev wrote: > There is even worse thing about both mariadb and mysql: both of them in > the latest version at least use JSON (Java Script Object Notation, > really ?!!) somewhere in their tables. Not in the least surprised, JSON is a very popular serialisation format and as such has been turning up in database field values for some time now. I know of a number of codebases where a sql query can be followed by expanding JSON encoded fields in each resultant row and checking the contents as a secondary filter. It makes a lot of sense to move that into the database engine. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Mar 31 20:45:07 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 BE0375B0036 for ; Wed, 31 Mar 2021 20:45:07 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 4F9dc26zYqz4d5M for ; Wed, 31 Mar 2021 20:45:06 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x436.google.com with SMTP id z2so20962154wrl.5 for ; Wed, 31 Mar 2021 13:45:06 -0700 (PDT) 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=7LXsud/RcDtZbye4GC5DwOsRFxvz0+/Il7e4orSb3JM=; b=QSfsPFNNimlsZ4gNsmL0J6NPIkLt8z/mOqs7VOZJNThY4ghfUvoG7q9e8By3SklcfX njtW6uhwqbdr11kXVQegPIs/C8JzFvsBdlVOPZcjqKyuIdcJXxbOTte1toD3BZxeTeJJ 2AyM88SD5belybWuKK4ZnHYICVQ+cWMKhgdTOJ8jCqcUURjtfn7IXfhwzUxFsV7oXiIX wsv0ZzoWMmc6SEEO6qz6E4Ed3TMv7UvRnyT+jxR2J8EeNxkPilr368xB0QEdkA5L7Wu6 pO7BXo6rwe4zKPSOJzGhsffWClTvdB2tkcovfNUd8TzNbDTWYmNB+WJJZNluOfMAYDri lLPQ== 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=7LXsud/RcDtZbye4GC5DwOsRFxvz0+/Il7e4orSb3JM=; b=gNLiCWUWVHnGSOsxpLuzjY58M/deABs8jp8QjkHK35/EfsJEMH2nbToPYuDL8pcSJu ZtdwciA8UGjOpfxKGzzIbPOp1x9oHP52rrkDBOX4zppOuxPOWua85nmnf8jBZj/r3gvb zS8bZ2JKDjS1JGGG9Luu+3b8oCLwDo+3t5NKS/0PwHNMy2E8PglrOK0hLCC8A22z26yf VNPqD7pm/9g+4s+fMy8uxKfT2FvxYMF8bH1QQMvJrfXecPbyT0RbUMN5ebuUoc+WyXrw WQC9K3CY/W++tC0Ggo0E2vvq04chPu9ZOSpNFUcIBstJuJXEF4n/Ps7UzA7/HUmHw1Hx 6k/Q== X-Gm-Message-State: AOAM531n/GkRTlhsKhpOBXgWHLq7zjOf/iS+nvb4bRP1jp9kpKrdmsEL NuJn+PmSU8uQulZDlZmWBGHCbjipdLbFC1rNyH4= X-Google-Smtp-Source: ABdhPJyE4AH/zkfwmrMAHLU5I14TB0/8F2B/Ap2vk03/OSUXfj64lxu3bdEv8zemMlTl1cBRtZBETsGdkVKZ9Aek9qU= X-Received: by 2002:a5d:644e:: with SMTP id d14mr4877614wrw.339.1617223505264; Wed, 31 Mar 2021 13:45:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Olivares Date: Wed, 31 Mar 2021 15:44:54 -0500 Message-ID: Subject: Re: an easter calculating script that uses dc, output does not stop To: Paul Procacci Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F9dc26zYqz4d5M X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QSfsPFNN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::436 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-3.80 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450: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.80)[-0.803]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::436: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(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.24:email,0.0.0.25:email,0.0.0.31:email,0.0.0.21:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::436:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::436:from]; 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: Wed, 31 Mar 2021 20:45:07 -0000 On Wed, Mar 31, 2021 at 3:33 PM Paul Procacci wrote: > > It does not output continuously for me. > > # uname -a > FreeBSD nas.myhome 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 r369444 GENERIC amd64 > > On Wed, Mar 31, 2021 at 4:30 PM Antonio Olivares wrote: >> >> Dear kind FreeBSD users, >> >> I found a script which I will attach inline. It uses dc *to do the >> math*, but the output runs indefinitely on FreeBSD machines. >> >> From >> https://forums.opensuse.org/showthread.php/435983-Easter-program >> >> <----- script follows -----> >> >> #!/bin/sh >> if test $# -lt 1 >> then >> echo usage: $0 year >> exit 1 >> fi >> echo $* '[ddsf[lfp[too early >> ]Pq]s@1583>@ >> ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30% >> d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+ >> [March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx' | dc | tr '\012' ' ' >> echo '' >> >> <----- end of script ------> >> >> I ran the script successfully during prior versions of FreeBSD, but it >> is now running infinitely( infinite loop). See run: >> >> ... >> to run we put >> $ sh easterdc.sh >> and the year >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh >> usage: easterdc.sh year >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh 2021 >> ........ >> 4 April April 4 April April 4 April April 4 April April 4 April >> April 4 April April 4 April April 4 April April 4 April April 4 >> April April 4 April April 4 April April 4 April April 4 April >> April 4 April April 4 April April ^C >> >> .... >> >> How can I fix this to just output 4 April and stop. Thanks in Advance. >> >> Regards, >> >> >> Antonio >> _______________________________________________ >> 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" > > > > -- > __________________ > > :(){ :|:& };: olivares@e154-1$ sh easterdc.sh usage: easterdc.sh year olivares@e154-1$ uname -a FreeBSD e154-1 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 olivares@e154-1$ sh easterdc.sh usage: easterdc.sh year olivares@e154-1$ sh easterdc.sh 2021 4 April 2021 olivares@e154-1$ On 13.0RC4 it goes infiintely :( Best Regards, Antonio From owner-freebsd-questions@freebsd.org Wed Mar 31 20:54: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 C50745B02FC for ; Wed, 31 Mar 2021 20:54:12 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 4F9dpW6K4Vz4dVr for ; Wed, 31 Mar 2021 20:54:11 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id m20-20020a7bcb940000b029010cab7e5a9fso1780941wmi.3 for ; Wed, 31 Mar 2021 13:54:11 -0700 (PDT) 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=2NmyCZTONq+/D9UXgorpNxQox+xvbyiNHncZrMazYig=; b=pA7eLNIK9kosDmb1F7PszDCE1/v1ZbPad6+Cqxf7njUUlz4+UC2KwuECpe81BYqDDk bhagO7T8bkgjyh/xVMqADiw/ca2lXG4Dpqe1vPMrGiYH3AF1pKxhmO0vtALxQucDjw94 W7WBsM5vOMbXmMSjgvIRKmE2T8QiSXf5dQwMxEMvIU2I6alBSsNCoovyzC+UZdEfQY3g tJL7yvD8Pp3zhJM76evoE0jw3SFth6E4dphh4eD3x8stUcoyXSjjapxPTqu6eXiyE/Gf tMFDkvEu3ldcxw529GrGE2TT3IHCu+xOTdpvW83/bpXlDmswLCU3Lz4rBWhqxCcC/osx 1ZyA== 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=2NmyCZTONq+/D9UXgorpNxQox+xvbyiNHncZrMazYig=; b=qt6VmpLfFDamFuXX8k0I5IlWf/pPIcTZ0Z9eexa/ABr3JDXBmuECY8QJGwjckGoDJo SNyAf0MHY0Sql7Z7PbTYUtDAZJe0HXVRL7CZOzYUBExsoRu0nlskOSXT5NVkd3fo1kph xXy3iZ6bZp6lVSYUZFB5u8ZbVXmEzHvkkXMzD3+FVDeZmpIQ5pMkzAjYtsklePvpWHPW r7RG247G9WNHiB9N7jCWR9P5C0McZqPLe0MGo6D9zoztTqfj50yU1BiBG2ltDDnAmFbK 71iEGKUb1V7mrnEtl6geT/fwAlDRIf1ROjC4KFRggLXXlEhN8iH3KRWT1IAUYOWuSNr4 niDg== X-Gm-Message-State: AOAM531KKHdCMaeVQWjAFEbZi6mM20sOIzte7DwBQYSVZuDCnmpP6u16 Qrh7i9U0Tu1NEpKPQ8AAM7LIwHO9Sdau1BqR0u5xeeejB9xY0g== X-Google-Smtp-Source: ABdhPJx/LeYPXux3wfWZpUrWMiEnBW1qHDPbJ1HrAsX6IuY14P+HparVWSwCqy+P/OqKq3JxpAlc55J5KpHJuIbqChw= X-Received: by 2002:a7b:cd8f:: with SMTP id y15mr4857690wmj.185.1617224049650; Wed, 31 Mar 2021 13:54:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Antonio Olivares Date: Wed, 31 Mar 2021 15:53:58 -0500 Message-ID: Subject: Re: an easter calculating script that uses dc, output does not stop To: Paul Procacci Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4F9dpW6K4Vz4dVr X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pA7eLNIK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450: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]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::332: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(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.21:email,0.0.0.24:email]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::332:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; 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: Wed, 31 Mar 2021 20:54:12 -0000 On Wed, Mar 31, 2021 at 3:44 PM Antonio Olivares wrote: > > On Wed, Mar 31, 2021 at 3:33 PM Paul Procacci wrote: > > > > It does not output continuously for me. > > > > # uname -a > > FreeBSD nas.myhome 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 r369444 GENERIC amd64 > > > > On Wed, Mar 31, 2021 at 4:30 PM Antonio Olivares wrote: > >> > >> Dear kind FreeBSD users, > >> > >> I found a script which I will attach inline. It uses dc *to do the > >> math*, but the output runs indefinitely on FreeBSD machines. > >> > >> From > >> https://forums.opensuse.org/showthread.php/435983-Easter-program > >> > >> <----- script follows -----> > >> > >> #!/bin/sh > >> if test $# -lt 1 > >> then > >> echo usage: $0 year > >> exit 1 > >> fi > >> echo $* '[ddsf[lfp[too early > >> ]Pq]s@1583>@ > >> ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30% > >> d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+ > >> [March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx' | dc | tr '\012' ' ' > >> echo '' > >> > >> <----- end of script ------> > >> > >> I ran the script successfully during prior versions of FreeBSD, but it > >> is now running infinitely( infinite loop). See run: > >> > >> ... > >> to run we put > >> $ sh easterdc.sh > >> and the year > >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh > >> usage: easterdc.sh year > >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh 2021 > >> ........ > >> 4 April April 4 April April 4 April April 4 April April 4 April > >> April 4 April April 4 April April 4 April April 4 April April 4 > >> April April 4 April April 4 April April 4 April April 4 April > >> April 4 April April 4 April April ^C > >> > >> .... > >> > >> How can I fix this to just output 4 April and stop. Thanks in Advance. > >> > >> Regards, > >> > >> > >> Antonio > >> _______________________________________________ > >> 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" > > > > > > > > -- > > __________________ > > > > :(){ :|:& };: > > olivares@e154-1$ sh easterdc.sh > usage: easterdc.sh year > olivares@e154-1$ uname -a > FreeBSD e154-1 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 > olivares@e154-1$ sh easterdc.sh > usage: easterdc.sh year > olivares@e154-1$ sh easterdc.sh 2021 > 4 April 2021 > olivares@e154-1$ > > On 13.0RC4 it goes infiintely :( > > Best Regards, > > > Antonio I am looking at the specifics to find out what changed, I have found this: https://cgit.freebsd.org/src/commit/?id=c41fef90a7d Contributed Software Replaced the bc(1) and dc(1) utilities with the version developed by Gavin D. Howard. The new versions do not depend on an external large number library, offer GNU bc extensions, are much faster than and fix POSIX compliance issues of the programs they replace. They support POSIX message catalogs and come with localized messages in Chinese, Dutch, English, French, German, Japanese, Polish, Portugueze, and Russian. The previous implementation is still available in FreeBSD-13 and can be selected instead of the new one by the build option WITHOUT_GH_BC. c41fef90a7d I like to use bc and dc with some scripts to calculate things and used this script. I do not mind the changes, all I would like to see if it is possible to add something to script so it can stop like it used to before. Best Regards, Antonio From owner-freebsd-questions@freebsd.org Wed Mar 31 21:38:52 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 A4F865B1B5E for ; Wed, 31 Mar 2021 21:38:52 +0000 (UTC) (envelope-from karly@kipshouse.net) Received: from mgmt.ironboy.kipshouse.net (ironboy.kipshouse.net [IPv6:2001:470:835a:4242::42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.kipshouse.net", Issuer "Starfield Secure Certificate Authority - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9fp32h4nz4gpr for ; Wed, 31 Mar 2021 21:38:50 +0000 (UTC) (envelope-from karly@kipshouse.net) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=kipshouse.org; i=@kipshouse.org; q=dns/txt; s=kh-ss; t=1617226731; x=1648762731; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; z=Date:=20Wed,=2031=20Mar=202021=2014:38:42=20-0700|From: =20Karl=20Young=20|To:=20Antonio=20O livares=20|Cc:=20Paul=20Procacci =20,=0D=0A=09FreeBSD=20Questions=20< freebsd-questions@freebsd.org>|Subject:=20Re:=20an=20east er=20calculating=20script=20that=20uses=20dc,=20output=20 does=20not=20stop|Message-ID:=20<20210331213840.GF20539@m ailboy.kipshouse.net>|References:=20=0D=0A=20< CAFbbPugJZyUH6k4_RJw5LcVmWu6khyb4T9XbStMfNodF8rw7zQ@mail. gmail.com>=0D=0A=20=0D=0A=20 |MIME-Version:=201.0|In-Reply-To:=20; bh=bpKYrr1Cp4ltQt7b/C2DoKwLMcGaxVCKgydilcl2zh8=; b=QPkPPivZckD8xpM8pMdAGW9bOmAt1QzokBhPZArITrVhloi+WDMargPG 7vEbB2gwN6r5Yf/vr8eKBOYUfkMQ8PyL20hsk8XcP3jbmH8sqZjyO4q9H x33BmjvqbN1KZrUyPBEupj8j4swweihGjj7uyPg7OpDmOZgX7KnUiwPaa 5aP/7oU3Mwk2pQIj2oxAWrOFrIB70cvCkUaaEDWNLPPZGYyh2OhTR4K77 pI0MI6LbawK1wZ35QXEduxJUNpxvYqaenDPbfX9K3Y/9yVX57kvtuKSB2 vINMlSEs4vusDIxCW3Kc9bld2STxqOYoT74aaMJAKs/KIvxrqDO0WrHX4 g==; Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.org) identity=pra; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.org"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of karly@kipshouse.net) identity=mailfrom; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="karly@kipshouse.net"; x-conformance=sidf_compatible Received-SPF: None (d2.ironport.kipshouse.net: no sender authenticity information available from domain of postmaster@mailboy.kipshouse.net) identity=helo; client-ip=2001:470:835a:1010::26; receiver=d2.ironport.kipshouse.net; envelope-from="karly@kipshouse.net"; x-sender="postmaster@mailboy.kipshouse.net"; x-conformance=sidf_compatible IronPort-SDR: Zp+Zrk3RfGbXUDNVXU4J81EYIYe/aZIeYkaAW89YcfdsF83FUjwo9r37q1DO67+Cf2reAASzC1 E1V9C5NA4ftfM//LeV9W4glDS+8tAUQf7K8OkvHj4w7lFC1GwhSdoFs8ThGMN9vjUov7kQmEvW kEaSmcYQhvpsDuuSM7C+EZDjOz1VFnjlB0HKaC4Q0x0E6M12vvSjszL/xO2eUUvcoHkHmUfxSw k2DTnuKev227YxgaeSVZaLhyYXJdSOtbV/Sp9FD5tpT23SwDruiSxnuMEwSkRbOadhNENX3PRA qqM= X-SBRS: None X-MID: 398401 X-RemoteIP: 2001:470:835a:1010::26 X-RemoteHost: 2001:470:835a:1010::26, mailboypriv.kipshouse.net IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AgR5SwqAv7VZo7hPlHejgsceALOonbusQ8z?= =?us-ascii?q?AX/mp6ICY7TuWzkceykPMHkTL1ki8WQnE8mdaGUZPwJE/035hz/IUXIPOeTB?= =?us-ascii?q?Dr0VHYTr1KwIP+z1TbcRHW2fVa0c5bHpRWKNq1NlRiiNa/3Q/QKadF/PCi0I?= =?us-ascii?q?SFwdjT1G1sSwYCUdAC0y5cBhyAGkN7AClqbKBZKLOm6sBKpyWtdB0sB6zROl?= =?us-ascii?q?A/U+fOvNHNnp79CCRnOzcc9AKMgTm0gYSVLzGk2H4lPw9n/a0v6izsnQD/+8?= =?us-ascii?q?yYwoqG4y6Z/3TZ74lMkMDwjvxeAMeBkYwyJXHQiwrtSYxwMofy2wwdkaWD6E?= =?us-ascii?q?whldHNpxs6Vv4Dk0/5TyWImj6F4XiH7B8er0Hl0l3dvUDHyPaJPQ4HNw=3D?= =?us-ascii?q?=3D?= X-IronPort-AV: E=McAfee;i="6200,9189,9940"; a="398401" Received: from mailboypriv.kipshouse.net (HELO mailboy.kipshouse.net) ([IPv6:2001:470:835a:1010::26]) by d2.ironport.kipshouse.net with ESMTP; 31 Mar 2021 14:38:43 -0700 Received: by mailboy.kipshouse.net (Postfix, from userid 500) id 01EDC46907; Wed, 31 Mar 2021 14:38:42 -0700 (PDT) Date: Wed, 31 Mar 2021 14:38:42 -0700 From: Karl Young To: Antonio Olivares Cc: Paul Procacci , FreeBSD Questions Subject: Re: an easter calculating script that uses dc, output does not stop Message-ID: <20210331213840.GF20539@mailboy.kipshouse.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.kipshouse.org/karly X-Work-URL: http://www.cisco.com/ X-Disclaimer: My opinions do not necessarily represent those of my employer. User-Agent: Mutt/1.7.2 (2016-11-26) X-Rspamd-Queue-Id: 4F9fp32h4nz4gpr X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kipshouse.org header.s=kh-ss header.b=QPkPPivZ; dmarc=none; spf=none (mx1.freebsd.org: domain of karly@kipshouse.net has no SPF policy when checking 2001:470:835a:4242::42) smtp.mailfrom=karly@kipshouse.net X-Spamd-Result: default: False [0.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:835a:4242::42:from]; R_DKIM_ALLOW(-0.20)[kipshouse.org:s=kh-ss]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HFILTER_HELO_IP_A(1.00)[mgmt.ironboy.kipshouse.net]; DMARC_NA(0.00)[kipshouse.org]; SPAMHAUS_ZRD(0.00)[2001:470:835a:4242::42:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[kipshouse.org:+]; R_SPF_NA(0.00)[no SPF record]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[karly@kipshouse.org,karly@kipshouse.net]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[karly@kipshouse.org,karly@kipshouse.net]; MAILMAN_DEST(0.00)[freebsd-questions]; FREEMAIL_CC(0.00)[gmail.com,freebsd.org] X-Mailman-Approved-At: Thu, 01 Apr 2021 11:09:00 +0000 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, 31 Mar 2021 21:38:52 -0000 Antonio Olivares(olivares14031@gmail.com)@2021.03.31 15:53:58 -0500: > On Wed, Mar 31, 2021 at 3:44 PM Antonio Olivares > wrote: > > > > On Wed, Mar 31, 2021 at 3:33 PM Paul Procacci wrote: > > > > > > It does not output continuously for me. > > > > > > # uname -a > > > FreeBSD nas.myhome 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 r369444 GENERIC amd64 > > > > > > On Wed, Mar 31, 2021 at 4:30 PM Antonio Olivares wrote: > > >> > > >> Dear kind FreeBSD users, > > >> > > >> I found a script which I will attach inline. It uses dc *to do the > > >> math*, but the output runs indefinitely on FreeBSD machines. > > >> > > >> From > > >> https://forums.opensuse.org/showthread.php/435983-Easter-program > > >> > > >> <----- script follows -----> > > >> > > >> #!/bin/sh > > >> if test $# -lt 1 > > >> then > > >> echo usage: $0 year > > >> exit 1 > > >> fi > > >> echo $* '[ddsf[lfp[too early > > >> ]Pq]s@1583>@ > > >> ddd19%1+sg100/1+d3*4/12-sx8*5+25/5-sz5*4/lx-10-sdlg11*20+lz+lx-30% > > >> d[30+]s@0>@d[[1+]s@lg11<@]s@25=@d[1+]s@24=@se44le-d[30+]s@21>@dld+7%-7+ > > >> [March ]smd[31-[April ]sm]s@31<@psnlmPpsn1z>p]splpx' | dc | tr '\012' ' ' > > >> echo '' > > >> > > >> <----- end of script ------> > > >> > > >> I ran the script successfully during prior versions of FreeBSD, but it > > >> is now running infinitely( infinite loop). See run: > > >> > > >> ... > > >> to run we put > > >> $ sh easterdc.sh > > >> and the year > > >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh > > >> usage: easterdc.sh year > > >> olivares@deepcool:~/Downloads/kerTeX/Documents $ sh easterdc.sh 2021 > > >> ........ > > >> 4 April April 4 April April 4 April April 4 April April 4 April > > >> April 4 April April 4 April April 4 April April 4 April April 4 > > >> April April 4 April April 4 April April 4 April April 4 April > > >> April 4 April April 4 April April ^C > > >> > > >> .... > > >> > > >> How can I fix this to just output 4 April and stop. Thanks in Advance. > > >> > > >> Regards, > > >> > > >> > > >> Antonio > > >> _______________________________________________ > > >> 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" > > > > > > > > > > > > -- > > > __________________ > > > > > > :(){ :|:& };: > > > > olivares@e154-1$ sh easterdc.sh > > usage: easterdc.sh year > > olivares@e154-1$ uname -a > > FreeBSD e154-1 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64 > > olivares@e154-1$ sh easterdc.sh > > usage: easterdc.sh year > > olivares@e154-1$ sh easterdc.sh 2021 > > 4 April 2021 > > olivares@e154-1$ > > > > On 13.0RC4 it goes infiintely :( > > > > Best Regards, > > > > > > Antonio > > I am looking at the specifics to find out what changed, I have found this: > > https://cgit.freebsd.org/src/commit/?id=c41fef90a7d > > Contributed Software > > Replaced the bc(1) and dc(1) utilities with the version developed by > Gavin D. Howard. The new versions do not depend on an external large > number library, offer GNU bc extensions, are much faster than and fix > POSIX compliance issues of the programs they replace. They support > POSIX message catalogs and come with localized messages in Chinese, > Dutch, English, French, German, Japanese, Polish, Portugueze, and > Russian. The previous implementation is still available in FreeBSD-13 > and can be selected instead of the new one by the build option > WITHOUT_GH_BC. c41fef90a7d > > > I like to use bc and dc with some scripts to calculate things and used > this script. I do not mind the changes, all I would like to see if it > is possible to add something to script so it can stop like it used to > before. > > Best Regards, > > > Antonio Antonio That's some opaque code there. You could try reverting to the older dc/bc code, as the commit message says, or you can try breaking the script up to find out what's broken. Gavin Howard does have page about his work: https://gavinhoward.com/2019/12/bc/dc-tips-and-tricks/ He mentions infinite loops, and also mentions some changes in strings and register names, so that would be a good place to start. You might also email him and ask him to take a look, especially if you find it works when you use WITHOUT_GH_BC. Good luck -karl > _______________________________________________ > 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 Fri Apr 2 08:04: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 9B6BE5C772D for ; Fri, 2 Apr 2021 08:04:01 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: from serafino.rm-rf.it (serafino.rm-rf.it [192.165.67.94]) (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 4FBXcw3hKgz4Wjh for ; Fri, 2 Apr 2021 08:04:00 +0000 (UTC) (envelope-from gpiero@rm-rf.it) Received: from valentina.fdc.rm-rf.it (valentina.fdc.rm-rf.it [192.168.192.1]) by serafino.fdc.rm-rf.it (OpenSMTPD) with ESMTP id 6cb8c470 for ; Fri, 2 Apr 2021 10:03:50 +0200 (CEST) Received: from robinhood.fdc.rm-rf.it (robinhood.fdc.rm-rf.it [192.168.192.50]) by valentina.fdc.rm-rf.it (Postfix) with ESMTP id 66802200AB for ; Fri, 2 Apr 2021 10:03:49 +0200 (CEST) Received: by robinhood.fdc.rm-rf.it (Postfix, from userid 1000) id AA7D2601F2B; Fri, 2 Apr 2021 10:03:48 +0200 (CEST) Date: Fri, 2 Apr 2021 10:03:48 +0200 From: Gian Piero Carrubba To: freebsd-questions@freebsd.org Subject: Re: How to override pkgng's proxy configuration settings Message-ID: <20210402080348.zhojt2ywohx7d74v@robinhood.fdc.rm-rf.it> References: <20210317102243.2a2vb5hftkebqj54@robinhood.fdc.rm-rf.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline In-Reply-To: <20210317102243.2a2vb5hftkebqj54@robinhood.fdc.rm-rf.it> X-Rspamd-Queue-Id: 4FBXcw3hKgz4Wjh X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gpiero@rm-rf.it designates 192.165.67.94 as permitted sender) smtp.mailfrom=gpiero@rm-rf.it X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[192.165.67.94: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:192.165.67.94]; 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)[192.165.67.94:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[rm-rf.it]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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:34971, ipnet:192.165.67.0/24, country:IT]; 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: Fri, 02 Apr 2021 08:04:01 -0000 * [Wed, Mar 17, 2021 at 11:22:43AM +0100] Gian Piero Carrubba: >As soon as I modify pkg.conf for including the lines > > pkg_env: { > http_proxy: "http://myproxy:9999" > } > >I cannot override the setting anymore. > ># pkg -o http_proxy=myotherproxy:8008 update ># pkg -o http_proxy= update #this is the case I'm mostly interested on For reference, the solution is: # pkg -o PKG_ENV=envvar1=value1,envvar2=value2,... command So, in my case: # pkg -o PKG_ENV=http_proxy= update While I've tried it before, I failed to have it work because, when used in combination with the '-o' option, PKG_ENV *must* be spelled uppercase. In order to set an environment variable to the null value, you have to put it at the end: # pkg -o PKG_ENV=empty=,valued=1 config pkg_env empty: ,valued=1 valued: 1 It seems there's no way to null more than one variable at once (but I could have misread the source). From owner-freebsd-questions@freebsd.org Fri Apr 2 08:16: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 22CF45C7D32 for ; Fri, 2 Apr 2021 08:16:12 +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 4FBXty6vycz4XQG for ; Fri, 2 Apr 2021 08:16:09 +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 1328G0Pv066515 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 10:16:01 +0200 (CEST) (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: Profiling C application To: Scott Bennett , freebsd-questions@freebsd.org References: <202011281922.0ASJMtiH020409@sdf.org> <16423477-7854-20bf-58ff-c174375e37fe@netfence.it> <202011291202.0ATC2rbO024634@sdf.org> From: Andrea Venturoli Message-ID: <1139046c-7f48-dbdb-0790-bb821e9e9001@netfence.it> Date: Fri, 2 Apr 2021 10:16:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <202011291202.0ATC2rbO024634@sdf.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FBXty6vycz4XQG 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 [-1.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Fri, 02 Apr 2021 08:16:12 -0000 On 11/29/20 1:02 PM, Scott Bennett wrote: > Andrea Venturoli wrote: > >> On 11/28/20 8:22 PM, Scott Bennett via freebsd-questions wrote: >> >>> I see you already have one response at least to your question, but >>> perhaps a simpler one is to use a now ancient BSD UNIX tool called gprof(1), >>> along with the compiler option -pg. (See the gprof(1) man page for the >>> details.) Note, too, that you may want to link your program to the profiling >>> versions of system libraries as explained in the man page. >> >> I didn't mention gprof because it stopped working when FreeBSD switched >> from GCC to clang. Or, maybe, it was my fault, not being able to get it >> working again. >> >> That was a long time ago, however; if nowadays it's a viable solution, >> I'm happy to hear this. >> > Bugzilla only turned up one PR that may have a bearing on that. See > PR 198462 from 2017 and 10.1. There's no sign that anyone, other than the poster > of the PR, even looked into it, an unfortunately common situation. > Thank you for pointing out the problem. Do you still have a test case you > could try? Sorry for answering so late... Today I need once again to profile a program and, since valgrind is currently broken :-(, I decided to give gprof another shot (on 12.2/amd64). As per gprof(1), I added "-pg" to compilation and linking phase, i.e. my program compiles with something like: c++ -c -ggdb -O0 -pg ... -o a.o a.cxx c++ -c -ggdb -O0 -pg ... -o b.o b.cxx ... c++ -o a.exe a.o b.o ... -lthr -pg ... When I run it, I get: % ./a.exe ld-elf.so.1: /lib/libc.so.7: Undefined symbol "__progname" gprof(1) states that "The -pg option also links in versions of the library routines that are compiled for profiling". Alas, this does not seem to be the case: ldd a.exe a.exe: libarchive.so.13 => /usr/local/lib/libarchive.so.13 (0x8004a0000) libboost_filesystem.so.1.72.0 => /usr/local/lib/libboost_filesystem.so.1.72.0 (0x800574000) libboost_program_options.so.1.72.0 => /usr/local/lib/libboost_program_options.so.1.72.0 (0x800591000) libboost_system.so.1.72.0 => /usr/local/lib/libboost_system.so.1.72.0 (0x8005f1000) libcrypto.so.111 => /lib/libcrypto.so.111 (0x8005f5000) libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x8008e7000) liblzo2.so.2 => /usr/local/lib/liblzo2.so.2 (0x800914000) liblzma.so.5 => /usr/lib/liblzma.so.5 (0x800944000) liblz4.so.1 => /usr/local/lib/liblz4.so.1 (0x800970000) libbz2.so.4 => /usr/lib/libbz2.so.4 (0x80099e000) libz.so.6 => /lib/libz.so.6 (0x8009b4000) libc.so.7 => /lib/libc.so.7 (0x8009d0000) libc++.so.1 => /usr/lib/libc++.so.1 (0x800dc6000) libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x800e93000) libm.so.5 => /lib/libm.so.5 (0x800eb5000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800ee7000) libthr.so.3 => /lib/libthr.so.3 (0x800f01000) libmd.so.6 => /lib/libmd.so.6 (0x800f2e000) I think I should change "-lthr" to "-lthr_p", but that does not make any difference. Ditto if I add "-lc_p": apparently these are ignored. What am I doing wrong? BTW, would solving this be enough or would I later hit the fact that I'm using third party libraries (e.g. boost) which are not compiled with "-pg"? bye & Thanks av. From owner-freebsd-questions@freebsd.org Fri Apr 2 08:54: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 B0C335C8E73 for ; Fri, 2 Apr 2021 08:54: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 4FBYl95pHMz4ZTY; Fri, 2 Apr 2021 08:54: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 1328sRsg072787 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 10:54:27 +0200 (CEST) (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 To: yuri@FreeBSD.org Cc: freebsd-questions@freebsd.org From: Andrea Venturoli Subject: devel/google-perftools in a jail Message-ID: Date: Fri, 2 Apr 2021 10:54:27 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FBYl95pHMz4ZTY 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 [-1.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35612, ipnet:78.134.0.0/17, country:IT]; 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: Fri, 02 Apr 2021 08:54:30 -0000 Hello. Is this expected to work? I tried "perftools-pprof ./a.exe prof.out", but I get: objdump: '/usr/jails/basejail/libexec/ld-elf.so.1': No such file objdump: '/usr/jails/basejail/lib/libthr.so.3': No such file objdump: '/usr/jails/basejail/usr/lib/libc++.so.1': No such file objdump: '/usr/jails/basejail/lib/libcxxrt.so.1': No such file objdump: '/usr/jails/basejail/lib/libm.so.5': No such file objdump: '/usr/jails/basejail/lib/libgcc_s.so.1': No such file objdump: '/usr/jails/basejail/lib/libc.so.7': No such file objdump: '/usr/jails/basejail/usr/lib/libexecinfo.so.1': No such file objdump: '/usr/jails/basejail/lib/libcrypto.so.111': No such file objdump: '/usr/jails/basejail/usr/lib/liblzma.so.5': No such file objdump: '/usr/jails/basejail/usr/lib/libbz2.so.4': No such file objdump: '/usr/jails/basejail/lib/libz.so.6': No such file objdump: '/usr/jails/basejail/lib/libelf.so.2': No such file objdump: '/usr/jails/basejail/lib/libmd.so.6': No such file objdump: '/usr/jails/basejail/usr/lib/i18n/libiconv_std.so.4': No such file objdump: '/usr/jails/basejail/usr/lib/i18n/libUTF1632.so.4': No such file objdump: '/usr/jails/basejail/usr/lib/i18n/libmapper_646.so.4': No such file Warning: address cdd3b: e9 d0 db ff ff jmpq cb910 is longer than address length 16 addr2line: /usr/jails/basejail/usr/lib/libc++.so.1: No such file or directory Use of uninitialized value $_ in substitution (s///) at /usr/local/bin/perftools-pprof line 5261. Use of uninitialized value $fini in string ne at /usr/local/bin/perftools-pprof line 5264. Use of uninitialized value $_ in substitution (s///) at /usr/local/bin/perftools-pprof line 5271. ... Is this something I need to fix? Something wrong in the port? Something that just can't be fixed? bye & Thanks av. From owner-freebsd-questions@freebsd.org Fri Apr 2 09:33: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 4C4DC5C99F0 for ; Fri, 2 Apr 2021 09:33:32 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBZcD0c9Sz4cFQ for ; Fri, 2 Apr 2021 09:33:31 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 1329XOjv014576 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 02:33:25 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: devel/google-perftools in a jail To: Andrea Venturoli Cc: freebsd-questions@FreeBSD.org References: From: yuri@FreeBSD.org Message-ID: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> Date: Fri, 2 Apr 2021 02:33:23 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4FBZcD0c9Sz4cFQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 02 Apr 2021 09:33:32 -0000 Hi Andrea, On 4/2/21 1:54 AM, Andrea Venturoli wrote: > Is this expected to work? > > I tried "perftools-pprof ./a.exe prof.out", but I get: > objdump: '/usr/jails/basejail/libexec/ld-elf.so.1': No such file What does 'ldd -a ./a.exe' print? Do shared libraries mentioned in the printout exist? Yuri From owner-freebsd-questions@freebsd.org Fri Apr 2 10:29: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 7EE315CACBF for ; Fri, 2 Apr 2021 10:29:27 +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 4FBbrj6YKdz4hBq; Fri, 2 Apr 2021 10:29:25 +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 132ATMXC018701 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 12:29:22 +0200 (CEST) (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: devel/google-perftools in a jail To: yuri@FreeBSD.org Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> From: Andrea Venturoli Message-ID: <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> Date: Fri, 2 Apr 2021 12:29:22 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FBbrj6YKdz4hBq 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 [-3.80 / 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)[78.134.96.152:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; 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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Fri, 02 Apr 2021 10:29:27 -0000 On 4/2/21 11:33 AM, yuri@FreeBSD.org wrote: > Hi Andrea, > > > > On 4/2/21 1:54 AM, Andrea Venturoli wrote: >> Is this expected to work? >> >> I tried "perftools-pprof ./a.exe prof.out", but I get: >> objdump: '/usr/jails/basejail/libexec/ld-elf.so.1': No such file > > > What does 'ldd -a ./a.exe' print? libthr.so.3 => /lib/libthr.so.3 (0x8002cd000) libc++.so.1 => /usr/lib/libc++.so.1 (0x8002fa000) libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x8003c7000) libarchive.so.13 => /usr/local/lib/libarchive.so.13 (0x8003e9000) libboost_filesystem.so.1.72.0 => /usr/local/lib/libboost_filesystem.so.1.72.0 (0x8004bd000) libboost_program_options.so.1.72.0 => /usr/local/lib/libboost_program_options.so.1.72.0 (0x8004da000) libboost_system.so.1.72.0 => /usr/local/lib/libboost_system.so.1.72.0 (0x80053a000) libm.so.5 => /lib/libm.so.5 (0x80053e000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x800570000) libc.so.7 => /lib/libc.so.7 (0x80058a000) libcrypto.so.111 => /lib/libcrypto.so.111 (0x800980000) libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x800c72000) liblzo2.so.2 => /usr/local/lib/liblzo2.so.2 (0x800c9f000) liblzma.so.5 => /usr/lib/liblzma.so.5 (0x800ccf000) liblz4.so.1 => /usr/local/lib/liblz4.so.1 (0x800cfb000) libbz2.so.4 => /usr/lib/libbz2.so.4 (0x800d29000) libz.so.6 => /lib/libz.so.6 (0x800d3f000) libmd.so.6 => /lib/libmd.so.6 (0x800d5b000) (Here I had removed -lprofiler). > Do shared libraries mentioned in the printout exist? Yes and no: the do exist as shown above, but not as shown in the previous message E.g.: instead of /usr/lib/libc++.so.1, it searches for /usr/jails/basejail/usr/lib/libc++.so.1 This being an ezjail jail, /usr/lib/libc++.so.1 is linked to /basejail/usr/lib/libc++.so.1. Seen from outside the jail, that's /usr/jails/basejail/usr/lib/libc++.so.1, but inside the jail the "/usr/jails" prefix is wrong. Hope I was clear; otherwise I'll try to explain better. bye & Thanks av. From owner-freebsd-questions@freebsd.org Fri Apr 2 10:41: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 772395CB0D1 for ; Fri, 2 Apr 2021 10:41:13 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBc6K1rtmz4hZ7 for ; Fri, 2 Apr 2021 10:41:13 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 132AfBv6030146 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 03:41:11 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: devel/google-perftools in a jail To: Andrea Venturoli Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> From: yuri@FreeBSD.org Message-ID: Date: Fri, 2 Apr 2021 03:41:10 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4FBc6K1rtmz4hZ7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 02 Apr 2021 10:41:13 -0000 On 4/2/21 3:29 AM, Andrea Venturoli wrote: > > E.g.: instead of /usr/lib/libc++.so.1, it searches for > /usr/jails/basejail/usr/lib/libc++.so.1 Is the string '/usr/jails/' present in prof.out? Is the string '/usr/jails/' present in ./a.exe? Yuri From owner-freebsd-questions@freebsd.org Fri Apr 2 11:56: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 BF0815CCC8F for ; Fri, 2 Apr 2021 11:56:57 +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 4FBdnh6DZJz4m99; Fri, 2 Apr 2021 11:56:56 +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 132BurxU029863 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 13:56:53 +0200 (CEST) (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: devel/google-perftools in a jail To: yuri@FreeBSD.org Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> From: Andrea Venturoli Message-ID: Date: Fri, 2 Apr 2021 13:56:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.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: 4FBdnh6DZJz4m99 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 [-3.80 / 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)[78.134.96.152:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Fri, 02 Apr 2021 11:56:57 -0000 On 4/2/21 12:41 PM, yuri@FreeBSD.org wrote: > Is the string '/usr/jails/' present in prof.out? Yes. strings prof.out | grep "usr/jails"|head 800284000-80028d000 r--- 00000000 00:00 0 /usr/jails/basejail/libexec/ld-elf.so.1 NCH -1 80028d000-8002a8000 r-x- 00000000 00:00 0 /usr/jails/basejail/libexec/ld-elf.so.1 NCH -1 8002a8000-8002a9000 r--- 00000000 00:00 0 /usr/jails/basejail/libexec/ld-elf.so.1 CH 1000 8002a9000-8002aa000 rw-- 00000000 00:00 0 /usr/jails/basejail/libexec/ld-elf.so.1 CH 1000 8002cd000-8002da000 r--- 00000000 00:00 0 /usr/jails/basejail/lib/libthr.so.3 NCH -1 8002da000-8002ec000 r-x- 00000000 00:00 0 /usr/jails/basejail/lib/libthr.so.3 NCH -1 8002ec000-8002ed000 r--- 00000000 00:00 0 /usr/jails/basejail/lib/libthr.so.3 CH 1000 8002ed000-8002ef000 rw-- 00000000 00:00 0 /usr/jails/basejail/lib/libthr.so.3 CH 1000 80030c000-800368000 r--- 00000000 00:00 0 /usr/jails/basejail/usr/lib/libc++.so.1 NCH -1 800368000-8003cf000 r-x- 00000000 00:00 0 /usr/jails/basejail/usr/lib/libc++.so.1 NCH -1 > Is the string '/usr/jails/' present in ./a.exe? No. bye & Thanks av. From owner-freebsd-questions@freebsd.org Fri Apr 2 19:13: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 B706857F514 for ; Fri, 2 Apr 2021 19:13:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBqT23vtKz3nFC for ; Fri, 2 Apr 2021 19:13:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 132JD74E052482 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 2 Apr 2021 12:13:07 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: devel/google-perftools in a jail To: Andrea Venturoli Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> From: yuri@FreeBSD.org Message-ID: <85f65024-2c3e-b83e-da5a-21d522a92bc6@rawbw.com> Date: Fri, 2 Apr 2021 12:13:06 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Rspamd-Queue-Id: 4FBqT23vtKz3nFC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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, 02 Apr 2021 19:13:10 -0000 On 4/2/21 4:56 AM, Andrea Venturoli wrote: >> Is the string '/usr/jails/' present in prof.out? > > Yes. Was the profiling session run on the same system/in the same jail? Did these files exist right after the profiling session? Profiling session and display session should run on exactly same system/same jail. Besides, even when run in jail, jail paths aren't visible to regular executables because jail runs in chroot environment. This error should be impossible - something really weird occurred. Yuri From owner-freebsd-questions@freebsd.org Fri Apr 2 19:18: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 DBCB557F625 for ; Fri, 2 Apr 2021 19:18:02 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBqZf19vvz3n92 for ; Fri, 2 Apr 2021 19:18:01 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from [192.168.1.181] (host86-173-112-21.range86-173.btcentralplus.com [86.173.112.21]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 132JI0kX005239 for ; Fri, 2 Apr 2021 20:18:00 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) To: freebsd-questions@freebsd.org From: Frank Leonhardt Subject: pf or ipfw for NAT Message-ID: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> Date: Fri, 2 Apr 2021 20:17:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4FBqZf19vvz3n92 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk X-Spamd-Result: default: False [-3.40 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196]; 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]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[fjl.co.uk]; RCVD_IN_DNSWL_MED(-0.20)[84.45.41.196:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:25577, ipnet:84.45.0.0/17, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[86.173.112.21:received] 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, 02 Apr 2021 19:18:02 -0000 For longer than I care to remember (FreeBSD 2)  I've implemented a physical asymmetric nat gateway using natd and ipfw. I just do what the user guide says and it works. For everything else I tend to use pf because I understand it better than ipfw. And I use pf and nat the virtual network between jails. When I say I understand pf better, that's better than ipfw - it doesn't mean I understand it well! Am I using ipfw/natd for historical reasons? Can I do the same with pf? I'm not entirely sure, but I assume natd is a counterpart to ipfw whereas pf does packet filtering and nat and is a replacement for both. The FreeBSD documentation favours ipfw. I'd really appreciate it if someone could tell me what I need to put in rc.conf and pf.conf to get this working. For example, do I need to enable the gateway in rc.conf if not using ipfw? I'm guessing not, but I'm only guessing. I've seem some complex examples. I'm thinking of going with something like this. I'm ASSUMING any incoming connections (e.g. ssh) would still end up on the host running PF, except port 80. If anyone could sanity check this I'd be very grateful. ---------------------------------------- rc.conf: defaultrouter="1.2.3.1" ifconfig_bge0="inet 1.2.3.4 netmask 255.255.255.192" ifconfig_bge1="inet 192.168.1.1 netmask 255.255.255.0" pf_enable="yes" ---------------------------------------- pf.conf: scrub in all nat pass on bge0 from 192.168.1.0/24  to any -> 1.2.3.4 # Never quite sure with pf - the following may be better # nat on bge0 from bge1:network to any -> bge0 # Redirect port 80 to internal web server rdr pass on bge0 proto tcp from any to 1.2.3.4  -> port 80 - 192.168.1.3 ---------------------------------------- Thanks, Frank. From owner-freebsd-questions@freebsd.org Fri Apr 2 20:04:14 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 3DFA95B0533 for ; Fri, 2 Apr 2021 20:04:14 +0000 (UTC) (envelope-from 4250.82.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@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 4FBrbx11DTz3qYg for ; Fri, 2 Apr 2021 20:04:12 +0000 (UTC) (envelope-from 4250.82.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@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=1617393853; x=1619985853; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=ubo2QtROcnvRmQ808gWDRQvNVGnw3mc1vJx1ZKzchSM=; b=F+VlpTY5/2XhyOg6FScQs6h1rqTv+JYMpE3T9yiHqIzByRdHmwx2pb50IV7n0+sx0PgD3G6rTxVbMV0qwHyGv0+GCsgkJYG32Q850ImkJUkeYGxbJNQ31hpkruK25+ZJzLwR2jcdeKu65aJQUR8oqogCRVt87fS6Upt3FM4vGYU= X-Thread-Info: NDI1MC4xMi4xZDRjZjAwMDExOGZjODEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.h.in.socketlabs.com (r2.h.in.socketlabs.com [142.0.180.12]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 2 Apr 2021 16:03:59 -0400 "MachineName": "HO-PR-REC02", "Ehlo": true, "HeloDomain": "smtp.lan.sohara.org", "Timestamp": "2021-04-02T16:03:58.8239103-04:00", "Auth": "CramMd5", "MessageNumber": 1, "RemoteIp": "185.202.17.215", "RemotePort": 0, "LocalIp": "10.28.180.12", "LocalPort": "2526", "MailFrom": { "Email": "steve@sohara.org", "Name": null, "Local": "steve", "Domain": "sohara.org" }, "TlsLogData": { "Enabled": true, "CertSubject": null, "CryptProtocol": 3072, "CryptCipherAlgId": 26128, "CryptHashAlgId": 32781, "CryptExchangeAlgId": 44550 } } Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Fri, 2 Apr 2021 16:03:58 -0400 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 1lSQ1N-000Mbn-6T for freebsd-questions@freebsd.org; Fri, 02 Apr 2021 21:03:57 +0100 Date: Fri, 2 Apr 2021 21:03:56 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: pf or ipfw for NAT Message-Id: <20210402210356.637a3ed714957fb9c5fdfa3a@sohara.org> In-Reply-To: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> References: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; 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: 4FBrbx11DTz3qYg X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=F+VlpTY5; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@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]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@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.1d4cf000118fc81.b4ab05ac2da87643a5165d6e07fa11dd@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: Fri, 02 Apr 2021 20:04:14 -0000 On Fri, 2 Apr 2021 20:17:58 +0100 Frank Leonhardt wrote: > For longer than I care to remember (FreeBSD 2)  I've implemented a > physical asymmetric nat gateway using natd and ipfw. I just do what the > user guide says and it works. Yes it does and that's fine. > Am I using ipfw/natd for historical reasons? Can I do the same with pf? Yes you can the relevant line in my pf.conf is: nat on $ext_if inet from !($ext_if) -> ($ext_if:0) -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Apr 3 07:53:42 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 966D15C30C5 for ; Sat, 3 Apr 2021 07:53:42 +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 4FC8LY0xZCz3MLs; Sat, 3 Apr 2021 07:53:40 +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 1337rc7p089649 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 3 Apr 2021 09:53:38 +0200 (CEST) (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: devel/google-perftools in a jail To: yuri@FreeBSD.org Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> <85f65024-2c3e-b83e-da5a-21d522a92bc6@rawbw.com> From: Andrea Venturoli Message-ID: <2fde0431-a9b2-ac42-c34b-8b2f312ddb85@netfence.it> Date: Sat, 3 Apr 2021 09:53:38 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <85f65024-2c3e-b83e-da5a-21d522a92bc6@rawbw.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FC8LY0xZCz3MLs 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 [-3.80 / 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)[78.134.96.152:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; 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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Sat, 03 Apr 2021 07:53:42 -0000 On 4/2/21 9:13 PM, yuri@FreeBSD.org wrote: > On 4/2/21 4:56 AM, Andrea Venturoli wrote: >>> Is the string '/usr/jails/' present in prof.out? >> >> Yes. > > > Was the profiling session run on the same system/in the same jail? Yes. All is happening *inside* the jail > Did these files exist right after the profiling session? No (again, not in the jail POV). I think perftools-pprof queries for a given library and, instead of the path in the jail's filesystem space, somehow gets the same file but in the host's filesystem space. I don't know how it tries to get these, though. > Profiling session and display session should run on exactly same > system/same jail. That's what I'm doing. > Besides, even when run in jail, jail paths aren't visible to regular > executables because jail runs in chroot environment. s/aren't visible/shouldn't be visible/ !!! > This error should be impossible - something really weird occurred. Never mind; I've moved to another tool meanwhile. If you want me to open a bug report for the record, just ask. bye & Thanks av. From owner-freebsd-questions@freebsd.org Fri Apr 2 20:36:09 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 77F525B11DA for ; Fri, 2 Apr 2021 20:36:09 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 4FBsJm6Lpnz3sWn for ; Fri, 2 Apr 2021 20:36:08 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from [192.168.1.181] (host86-173-112-21.range86-173.btcentralplus.com [86.173.112.21]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id 132Ka5I5014932 for ; Fri, 2 Apr 2021 21:36:06 +0100 (BST) (envelope-from frank2@fjl.co.uk) Subject: Re: pf or ipfw for NAT To: freebsd-questions@freebsd.org References: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> <20210402210356.637a3ed714957fb9c5fdfa3a@sohara.org> From: Frank Leonhardt Message-ID: <1ff607ca-79cc-3072-831c-54659920e9dc@fjl.co.uk> Date: Fri, 2 Apr 2021 21:36:04 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20210402210356.637a3ed714957fb9c5fdfa3a@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4FBsJm6Lpnz3sWn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of frank2@fjl.co.uk designates 84.45.41.196 as permitted sender) smtp.mailfrom=frank2@fjl.co.uk X-Spamd-Result: default: False [-3.40 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.196:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; 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]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[fjl.co.uk]; RCVD_IN_DNSWL_MED(-0.20)[84.45.41.196:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:25577, ipnet:84.45.0.0/17, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RECEIVED_SPAMHAUS_PBL(0.00)[86.173.112.21:received] X-Mailman-Approved-At: Sat, 03 Apr 2021 07:58:58 +0000 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, 02 Apr 2021 20:36:09 -0000 On 02/04/2021 21:03, Steve O'Hara-Smith wrote: > On Fri, 2 Apr 2021 20:17:58 +0100 > Frank Leonhardt wrote: > >> For longer than I care to remember (FreeBSD 2)  I've implemented a >> physical asymmetric nat gateway using natd and ipfw. I just do what the >> user guide says and it works. > Yes it does and that's fine. > >> Am I using ipfw/natd for historical reasons? Can I do the same with pf? > Yes you can the relevant line in my pf.conf is: > > nat on $ext_if inet from !($ext_if) -> ($ext_if:0) Thanks Steve. Any idea whether I need to enable the gateway when using pf instead? e.g. sysctl net.inet.ip.forwarding=1 Thanks, Frank. From owner-freebsd-questions@freebsd.org Sat Apr 3 08:08:41 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 A1E0C5C40B9 for ; Sat, 3 Apr 2021 08:08:41 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC8gs3HkWz3NJH for ; Sat, 3 Apr 2021 08:08:40 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from yv.noip.me (c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 13388dDe030439 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Sat, 3 Apr 2021 01:08:39 -0700 (PDT) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-73-189-35-76.hsd1.ca.comcast.net [73.189.35.76] claimed to be yv.noip.me Subject: Re: devel/google-perftools in a jail To: Andrea Venturoli Cc: freebsd-questions@FreeBSD.org References: <18dcbb14-d208-071e-8f93-39dd45d7dc14@rawbw.com> <2cfa2de6-3d22-bc88-90d2-49e94d1a8f0d@netfence.it> <85f65024-2c3e-b83e-da5a-21d522a92bc6@rawbw.com> <2fde0431-a9b2-ac42-c34b-8b2f312ddb85@netfence.it> From: yuri@FreeBSD.org Message-ID: <9ba07d35-d3bc-4bcd-e4ae-11cd06b232cb@rawbw.com> Date: Sat, 3 Apr 2021 01:08:37 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <2fde0431-a9b2-ac42-c34b-8b2f312ddb85@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4FC8gs3HkWz3NJH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] 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, 03 Apr 2021 08:08:41 -0000 On 4/3/21 12:53 AM, Andrea Venturoli wrote: > > Never mind; I've moved to another tool meanwhile. > If you want me to open a bug report for the record, just ask. I'll try to reproduce this. I never ran perftools in jail. Thanks, Yuri From owner-freebsd-questions@freebsd.org Sat Apr 3 08:21:08 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 A07085C4712 for ; Sat, 3 Apr 2021 08:21:08 +0000 (UTC) (envelope-from 4250.82.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@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 4FC8yC5bDKz3PRW for ; Sat, 3 Apr 2021 08:21:07 +0000 (UTC) (envelope-from 4250.82.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@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=1617438068; x=1620030068; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=NFaf6DR0kSGl+uj6ovgJSeQCxolUjLD4vseoQ144pH4=; b=ftNeeckst7BFpwOUx3YViDh7MOTuF1sACejFYvb5uk30Z3tf97vuPBWQELGhcSwgZRbIIeC3UqiHstwiF8HHOQpUDftROnPrlZmwzkiJ2jLAmTqi+Dl/S6AoWRg/FBtn84ndY37yJb/cw/KA1ArgL3nd+aEPRxchU524HaDk/ac= X-Thread-Info: NDI1MC4xMi4xZDRjZjAwMDEyNDk1MGUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r2.us-west-2.aws.in.socketlabs.com (r2.us-west-2.aws.in.socketlabs.com [142.0.190.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 3 Apr 2021 04:21:02 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-west-2.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 3 Apr 2021 04:21:00 -0400 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 1lSbWc-0003Df-7r; Sat, 03 Apr 2021 09:20:58 +0100 Date: Sat, 3 Apr 2021 09:20:58 +0100 From: Steve O'Hara-Smith To: Frank Leonhardt Cc: freebsd-questions@freebsd.org Subject: Re: pf or ipfw for NAT Message-Id: <20210403092058.97c46ba70579026e9bd929a1@sohara.org> In-Reply-To: <1ff607ca-79cc-3072-831c-54659920e9dc@fjl.co.uk> References: <50dcf18d-f9c3-71c2-abb0-eed8f1b5e192@fjl.co.uk> <20210402210356.637a3ed714957fb9c5fdfa3a@sohara.org> <1ff607ca-79cc-3072-831c-54659920e9dc@fjl.co.uk> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; 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: 4FC8yC5bDKz3PRW X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=ftNeecks; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@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)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@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.1d4cf000124950e.9f7e91daf1ec60cb78ed5ba9098a4790@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: Sat, 03 Apr 2021 08:21:08 -0000 On Fri, 2 Apr 2021 21:36:04 +0100 Frank Leonhardt wrote: > Thanks Steve. Any idea whether I need to enable the gateway when using > pf instead? > > e.g. sysctl net.inet.ip.forwarding=1 I'm pretty sure you do - TBH I've never tried not setting it on anything that routes. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Apr 3 09:10: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 C38E35C5762 for ; Sat, 3 Apr 2021 09:10:37 +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 4FCB3J5PbJz3hRG for ; Sat, 3 Apr 2021 09:10:36 +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 1339ATGH000514 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 3 Apr 2021 11:10:29 +0200 (CEST) (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 From: Andrea Venturoli Subject: OpenZFS from ports To: freebsd-questions@freebsd.org Message-ID: Date: Sat, 3 Apr 2021 11:10:29 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCB3J5PbJz3hRG 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 [-1.80 / 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)[78.134.96.152:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; ARC_NA(0.00)[]; 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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Sat, 03 Apr 2021 09:10:37 -0000 Hello. In the next few days I'm going to convert a 11.4 system from UFS + UFS/GELI to ZFS. In the past I would have created two sets of partitions, one for a zpool and one for a zpool/GELI. Of course this would be a limitation since the partition sizes are fixed forever. I hear OpenZFS has native encryption, but I'm not prepared to move to 13 yet, so I'm evaulating upgrading to 12.2 and using OpenZFS from ports. Is this possible? Stable? Discouraged? Anything to watch for? Any disadvantage over GELI? My (not definitive) plan would be: _ move everything to ZFS first (this would be to a new set of HDs, so I could keep the old ones as backup), losing encryption; _ upgrade to 12.2; _ switch to OpenZFS; _ create a new encrypted dataset and move there the data that should be encrypted. Any better hint? I know kernel modules should be built locally, but I normally build with poudriere and never had any trouble. Would this work for sysutils/openzfs-kmod? bye & Thanks av. From owner-freebsd-questions@freebsd.org Sat Apr 3 09:54:51 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 BA6D25C7004 for ; Sat, 3 Apr 2021 09:54:51 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) (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 4FCC2L40wnz3lGT for ; Sat, 3 Apr 2021 09:54:49 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from blizzard.ozzmosis.com (159-196-231-254.9fc4e7.mel.nbn.aussiebb.net [159.196.231.254]) (Authenticated sender: ozzmosis@ozzmosis.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id D2581240009; Sat, 3 Apr 2021 09:54:47 +0000 (UTC) Received: by blizzard.ozzmosis.com (Postfix, from userid 1001) id B8859118CC0; Sat, 3 Apr 2021 20:54:42 +1100 (AEDT) Date: Sat, 3 Apr 2021 20:54:42 +1100 From: andrew clarke To: Andrea Venturoli Cc: freebsd-questions@freebsd.org Subject: Re: OpenZFS from ports Message-ID: <20210403095442.jow4pekmbpw7dg5e@ozzmosis.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20210205 X-Rspamd-Queue-Id: 4FCC2L40wnz3lGT X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mail@ozzmosis.com designates 217.70.178.230 as permitted sender) smtp.mailfrom=mail@ozzmosis.com X-Spamd-Result: default: False [-3.40 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[217.70.178.230:from]; R_SPF_ALLOW(-0.20)[+ip4:217.70.178.192/26]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ozzmosis.com]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.70.178.230:from]; SPAMHAUS_ZRD(0.00)[217.70.178.230:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; ARC_NA(0.00)[]; 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:29169, ipnet:217.70.176.0/20, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.178.230:from] 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, 03 Apr 2021 09:54:51 -0000 On 2021-04-03 11:10:29, Andrea Venturoli (ml@netfence.it) wrote: > My (not definitive) plan would be: > _ move everything to ZFS first (this would be to a new set of HDs, so I > could keep the old ones as backup), losing encryption; > _ upgrade to 12.2; > _ switch to OpenZFS; > _ create a new encrypted dataset and move there the data that should be > encrypted. Depending on your needs, running PEFS on top of ZFS may be an option, at least temporarily until you upgrade to FreeBSD 13. From owner-freebsd-questions@freebsd.org Sat Apr 3 13:48: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 6A2AA5B51E9 for ; Sat, 3 Apr 2021 13:48:47 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 4FCJDG3fyCz4V31 for ; Sat, 3 Apr 2021 13:48:46 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 9CFC13B16D; Sat, 3 Apr 2021 14:48:39 +0100 (BST) Subject: Re: OpenZFS from ports To: Andrea Venturoli , freebsd-questions@freebsd.org References: From: Arthur Chance Message-ID: <74e71e6c-67e0-4195-88ef-6053d0bd1750@qeng-ho.org> Date: Sat, 3 Apr 2021 14:48:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCJDG3fyCz4V31 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.155.128.244:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[qeng-ho.org]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[217.155.128.244:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; 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:13037, ipnet:217.155.0.0/16, country:GB]; 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: Sat, 03 Apr 2021 13:48:47 -0000 On 03/04/2021 10:10, Andrea Venturoli wrote: > Hello. > > In the next few days I'm going to convert a 11.4 system from UFS + > UFS/GELI to ZFS. > In the past I would have created two sets of partitions, one for a zpool > and one for a zpool/GELI. > Of course this would be a limitation since the partition sizes are fixed > forever. > > I hear OpenZFS has native encryption, but I'm not prepared to move to 13 > yet, so I'm evaulating upgrading to 12.2 and using OpenZFS from ports. > Is this possible? Stable? Discouraged? > Anything to watch for? > Any disadvantage over GELI? > > > > My (not definitive) plan would be: > _ move everything to ZFS first (this would be to a new set of HDs, so I > could keep the old ones as backup), losing encryption; > _ upgrade to 12.2; > _ switch to OpenZFS; > _ create a new encrypted dataset and move there the data that should be > encrypted. > > Any better hint? How about ZFS on top of GELI encrypted disks? > I know kernel modules should be built locally, but I normally build with > poudriere and never had any trouble. > Would this work for sysutils/openzfs-kmod? -- The number of people predicting the demise of Moore's Law doubles every 18 months. From owner-freebsd-questions@freebsd.org Sat Apr 3 17:13: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 A3C655B9BE7 for ; Sat, 3 Apr 2021 17:13:04 +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 4FCNlz3jTVz4hcG for ; Sat, 3 Apr 2021 17:13:02 +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 133HD0Pf062245 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 3 Apr 2021 19:13:00 +0200 (CEST) (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: OpenZFS from ports To: Arthur Chance , freebsd-questions@freebsd.org References: <74e71e6c-67e0-4195-88ef-6053d0bd1750@qeng-ho.org> From: Andrea Venturoli Message-ID: Date: Sat, 3 Apr 2021 19:13:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <74e71e6c-67e0-4195-88ef-6053d0bd1750@qeng-ho.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCNlz3jTVz4hcG 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 [-3.80 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Sat, 03 Apr 2021 17:13:04 -0000 On 4/3/21 3:48 PM, Arthur Chance wrote: > How about ZFS on top of GELI encrypted disks? That was the first idea, the one I've used in the past and the one I'm trying to avoid now. As I said: > In the past I would have created two sets of partitions, one for a zpool > and one for a zpool/GELI. > Of course this would be a limitation since the partition sizes are fixed > forever. bye & Thanks av. From owner-freebsd-questions@freebsd.org Sat Apr 3 17:15: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 5D5705B9B5E for ; Sat, 3 Apr 2021 17:15:38 +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 4FCNpx3KG6z4hh4 for ; Sat, 3 Apr 2021 17:15:37 +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 133HFZiU062609 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sat, 3 Apr 2021 19:15:35 +0200 (CEST) (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: OpenZFS from ports To: andrew clarke Cc: freebsd-questions@freebsd.org References: <20210403095442.jow4pekmbpw7dg5e@ozzmosis.com> From: Andrea Venturoli Message-ID: Date: Sat, 3 Apr 2021 19:15:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <20210403095442.jow4pekmbpw7dg5e@ozzmosis.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4FCNpx3KG6z4hh4 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 [-3.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.134.96.152:c]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.134.96.152:from]; SPAMHAUS_ZRD(0.00)[78.134.96.152:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:35612, ipnet:78.134.0.0/17, country:IT]; 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: Sat, 03 Apr 2021 17:15:38 -0000 On 4/3/21 11:54 AM, andrew clarke wrote: > On 2021-04-03 11:10:29, Andrea Venturoli (ml@netfence.it) wrote: > >> My (not definitive) plan would be: >> _ move everything to ZFS first (this would be to a new set of HDs, so I >> could keep the old ones as backup), losing encryption; >> _ upgrade to 12.2; >> _ switch to OpenZFS; >> _ create a new encrypted dataset and move there the data that should be >> encrypted. > > Depending on your needs, running PEFS on top of ZFS may be an option, at least > temporarily until you upgrade to FreeBSD 13. That might be a good suggestion, as I did not know PEFS. Is it reliable? More reliable than ZFS? Any gotchas from someone who used it in production? bye & Thanks av. From owner-freebsd-questions@freebsd.org Sat Apr 3 19:25: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 92F7F5BCD2E for ; Sat, 3 Apr 2021 19:25:38 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: from mail.hiwaay.net (mail.hiwaay.net [216.180.158.37]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCRhx5jt4z4qHL for ; Sat, 3 Apr 2021 19:25:37 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: (qmail 36210 invoked from network); 3 Apr 2021 19:25:31 -0000 Received: from 50-83-57-148.client.mchsi.com (HELO naur.kad-hg.org) (kldunn@hiwaay.net@50.83.57.148) by mail.hiwaay.net with (DHE-RSA-AES256-GCM-SHA384 encrypted) SMTP (5a4e9aba-94b2-11eb-a9e5-77c9ee10b89c); Sat, 03 Apr 2021 15:25:31 -0400 Date: Sat, 3 Apr 2021 14:25:30 -0500 (CDT) From: Karl Dunn Reply-To: Karl Dunn To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org cc: kldunn@hiwaay.net Subject: Dell XPS 8940 SATA and NVMe disk controller not recognized Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-MagicMail-OS: FreeBSD 9.x or newer X-MagicMail-UUID: 5a4e9aba-94b2-11eb-a9e5-77c9ee10b89c X-MagicMail-Authenticated: kldunn@hiwaay.net X-MagicMail-SourceIP: 50.83.57.148 X-MagicMail-RegexMatch: 1 X-MagicMail-EnvelopeFrom: X-Rspamd-Queue-Id: 4FCRhx5jt4z4qHL X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kldunn@hiwaay.net has no SPF policy when checking 216.180.158.37) smtp.mailfrom=kldunn@hiwaay.net X-Spamd-Result: default: False [-2.00 / 15.00]; HAS_REPLYTO(0.00)[kldunn@hiwaay.net]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[hiwaay.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[216.180.158.37:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[216.180.158.37:from]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_NA(0.00)[no SPF record]; 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:395532, ipnet:216.180.158.0/23, 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: Sat, 03 Apr 2021 19:25:38 -0000 I have new Dell XPS 8940 that came with Windows 10 Home installed. I have created two partitions for FreeBSD, one on its NMVe 256GB SSD, and one on its WD 1TB HD. For now, I have 12.2-RELEASE-p4 GENERIC on a USB memstick, so I can do some limited testing. FreeBSD 12.2 does not recognize the SATA/RAID controller, which I assume is resposible (in Win10) for accising both drives. The relevant pcoconf line for the controlleris: none7@pci0:0:23:0: class=0x010400 card=0x09c51028 chip=0x06d68086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' class = mass storage subclass = RAID Because no net devices work (for FreeBSD), I put a pcie-x1 net card in the machine to get access, 15 bucks to Ebay, works great. I can't get the NVIDIA graphics card to work right, but that and the net devices are issues for sometime later. Here is a URL for info I collected from the machine, including from the hw-probe utility: http://home.hiwaay.net/~kldunn/XPS_8940_info.html That has a link for the results of hw-probe, the outputs of pciconf -lv and dmesg, and the content of /var/log/messages and rc.conf. The hw-probe report claims that Linux supports the SATA/RAID controller in 'drivers/ata/ahci.c', but that no version of FreeBSD knows about it (yet). I think FreeBSD might need a patch to sys/dev/ahci/ahci_pci.c, and maybe some other files too. Can somebody help me with disk access? -- Karl L. Dunn kldunn@hiwaay.net From owner-freebsd-questions@freebsd.org Sat Apr 3 22:09: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 0DEBB5C0F04 for ; Sat, 3 Apr 2021 22:09:32 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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 "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCWL26svKz3GqF for ; Sat, 3 Apr 2021 22:09:30 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sat, 3 Apr 2021 15:09:22 -0700 Subject: Re: Dell XPS 8940 SATA and NVMe disk controller not recognized To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: Date: Sat, 3 Apr 2021 15:09:22 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FCWL26svKz3GqF X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.10 / 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)[184.105.128.27:from]; 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]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[184.105.128.27:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, 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: Sat, 03 Apr 2021 22:09:32 -0000 On 4/3/21 12:25 PM, Karl Dunn wrote: > I have new Dell XPS 8940 that came with Windows 10 Home installed.  I > have created two partitions for FreeBSD, one on its NMVe 256GB SSD, and > one on its WD 1TB HD. > > For now, I have 12.2-RELEASE-p4 GENERIC on a USB memstick, so I can do > some limited testing. > > FreeBSD 12.2 does not recognize the SATA/RAID controller, which I assume > is resposible (in Win10) for accising both drives. > > The relevant pcoconf line for the controlleris: > > none7@pci0:0:23:0: class=0x010400 card=0x09c51028 chip=0x06d68086 > rev=0x00 hdr=0x00 >    vendor     = 'Intel Corporation' >    class      = mass storage >    subclass   = RAID > > Because no net devices work (for FreeBSD), I put a pcie-x1 net card in > the machine to get access, 15 bucks to Ebay, works great.  I can't get > the NVIDIA graphics card to work right, but that and the net devices are > issues for sometime later. > > Here is a URL for info I collected from the machine, including from the > hw-probe utility: > >  http://home.hiwaay.net/~kldunn/XPS_8940_info.html > > That has a link for the results of hw-probe, the outputs of pciconf -lv > and dmesg, and the content of /var/log/messages and rc.conf. > > The hw-probe report claims that Linux supports the SATA/RAID controller > in 'drivers/ata/ahci.c', but that no version of FreeBSD knows about it > (yet). > > I think FreeBSD might need a patch to sys/dev/ahci/ahci_pci.c, and maybe > some other files too. > > Can somebody help me with disk access? Try adjusting CMOS setup settings: 1. System Configuration -> SATA Operation -- Dell typically sets to 'RAID On'. Try 'AHCI'. 2. Boot -> Secure Boot and related -- Dell typically enables. Try disabling: https://www.dell.com/support/kbdoc/en-us/000133480/uefi-and-secure-boot-faqs David From owner-freebsd-questions@freebsd.org Sat Apr 3 22:09: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 6AAFA5C0F0E for ; Sat, 3 Apr 2021 22:09:45 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: from mail.hiwaay.net (mail.hiwaay.net [216.180.158.37]) by mx1.freebsd.org (Postfix) with ESMTP id 4FCWLJ3Clfz3Gml for ; Sat, 3 Apr 2021 22:09:44 +0000 (UTC) (envelope-from kldunn@hiwaay.net) Received: (qmail 9692 invoked from network); 3 Apr 2021 22:09:43 -0000 Received: from 50-83-57-148.client.mchsi.com (HELO [192.168.71.78]) (kldunn@hiwaay.net@50.83.57.148) by mail.hiwaay.net with (SSL TLSv1.2 AES128-GCM-SHA256 encrypted) SMTPS (4af90912-94c9-11eb-9e3d-b729ca5929e3); Sat, 03 Apr 2021 18:09:43 -0400 Subject: Fwd: Dell XPS 8940 SATA and NVMe disk controller not recognized References: To: freebsd-questions@freebsd.org, freebsd-stable@freebsd.org From: Karl Dunn X-Forwarded-Message-Id: Message-ID: <5f82f6ed-f76e-fd84-b62b-c1866b69d81f@hiwaay.net> Date: Sat, 3 Apr 2021 17:09:44 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-MagicMail-OS: Windows NT kernel X-MagicMail-UUID: 4af90912-94c9-11eb-9e3d-b729ca5929e3 X-MagicMail-Authenticated: kldunn@hiwaay.net X-MagicMail-SourceIP: 50.83.57.148 X-MagicMail-RegexMatch: 1 X-MagicMail-EnvelopeFrom: X-Rspamd-Queue-Id: 4FCWLJ3Clfz3Gml X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kldunn@hiwaay.net has no SPF policy when checking 216.180.158.37) smtp.mailfrom=kldunn@hiwaay.net X-Spamd-Result: default: False [0.00 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[216.180.158.37:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[hiwaay.net]; AUTH_NA(1.00)[]; SPAMHAUS_ZRD(0.00)[216.180.158.37:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; 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:395532, ipnet:216.180.158.0/23, 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: Sat, 03 Apr 2021 22:09:45 -0000 -------- Forwarded Message -------- Subject: Re: Dell XPS 8940 SATA and NVMe disk controller not recognized Date: Sat, 3 Apr 2021 17:05:59 -0500 From: Karl Dunn To: Barney Wolff On 4/3/2021 2:37 PM, Barney Wolff wrote: > On Sat, Apr 03, 2021 at 02:25:30PM -0500, Karl Dunn wrote: >> I have new Dell XPS 8940 that came with Windows 10 Home installed. I have >> created two partitions for FreeBSD, one on its NMVe 256GB SSD, and one on >> its WD 1TB HD. >> >> For now, I have 12.2-RELEASE-p4 GENERIC on a USB memstick, so I can do >> some limited testing. >> >> FreeBSD 12.2 does not recognize the SATA/RAID controller, which I assume >> is resposible (in Win10) for accising both drives. >> >> The relevant pcoconf line for the controlleris: >> >> none7@pci0:0:23:0: class=0x010400 card=0x09c51028 chip=0x06d68086 rev=0x00 hdr=0x00 >> vendor = 'Intel Corporation' >> class = mass storage >> subclass = RAID > > See if the BIOS offers a choice of configuring the controller as SATA instead of RAID. That worked for me on an Inspiron 1180. (It also made W10 unbootable - apparently each OS occupies its own universe.) That worked, precisely as it did for you: gpart list shows partitions and drives much to my expectations, and Win10 no longer boots. I can boot windows by setting the BIOS config back to RAID. That's not much of a pain. Now to try installing 12.2-RELEASE on the SSD! Thank you very much indeed! Karl L. Dunn kldunn@hiwaay.net