From nobody Mon Nov 15 10:00:26 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4A699189676D for ; Mon, 15 Nov 2021 10:01:13 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ht4TN45dSz3s07 for ; Mon, 15 Nov 2021 10:01:12 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-qk1-x733.google.com with SMTP id t83so13668146qke.8 for ; Mon, 15 Nov 2021 02:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Jb2uf3UrkpSXVptZWLRQDTLQOSL1C+EdtDBOlMtBCmY=; b=Z/IFrT+NkFEKdkrnmdq6tkTiK9EhAE9uvd4mW+UCa9P3zBVskFmGuOfO+QtTuB1w2G 1q2C65Zn8BTQmSG99ya7kitjUN8NWYeMfUvuLgXpx1jSkm2Z+ilLlZGL0jIAtB1K42cH Pb2hJ1M4mAh/7TkoNErnMtzll2IhHAWXHhq6sU4EVWwTth3jc7v4kzu4GESZO1kaIgR/ 3OtXmFMWF4uIcD3mnaD82ZUVMk9t27moI34OOJ+mfL1YrDXpKG/RQhz/sDB3SoSjP4qJ 1eskZBmfJ1xl024gKvILVYGsH4F7e8M6Vs0ifIUdB/ZGs7srWZtMUWk3IC/mgekKdrYW pAFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Jb2uf3UrkpSXVptZWLRQDTLQOSL1C+EdtDBOlMtBCmY=; b=aTLHlhXJ5AoWh/ynVhErtwPArVB/tS8KhoGYWmrHMCZs2+sMXkdUVKS+Zw/ceWRHOZ 9InbgW1avbioCCBmvNVb5QhqPteFUm1wiV+7Pr/v/qd91xqrflw3TxgNlWhHHsbcXEaO fjen3I6L9Sf9RVX+c8yfZkqIqMj1nLJRnyxw5RJX/dkbqdvpa+mgs31axKTE1d1ik1X+ CZTRenPbRqMPbuipgzCyUk8U1qzhYKKRqE7w0V6h7NGpCgorxlfhPZMNZ4g+mNrwsU9k huVm6CDarK5LnCA2trEEFQLEVMrpG4KIkiEBbMIUPsFvd2S6L8wcaJpx8oP59vLz0+/J eNow== X-Gm-Message-State: AOAM532xk2PNcCSKPkSCZ0mR+Pwg+Bqzbmg21fxy58koatJgTRyGT1+3 gc1gncjySkvAl2pcQ1ql6M3pU4Y78wIfNXs6Th3UoImc X-Google-Smtp-Source: ABdhPJzXKu6nco4YVbhaDrC9OU8BeivsqLCAT4blSmqG+ZWKTnbG0BsR7vT1wdOIiYFAGTMIM9Ag/eSdYRhRM/Ux7Bg= X-Received: by 2002:a05:620a:1999:: with SMTP id bm25mr29193487qkb.132.1636970465805; Mon, 15 Nov 2021 02:01:05 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Odhiambo Washington Date: Mon, 15 Nov 2021 13:00:26 +0300 Message-ID: Subject: Looking for a 3rd eye - perl errors To: questions Content-Type: multipart/alternative; boundary="0000000000001f46ed05d0d0e324" X-Rspamd-Queue-Id: 4Ht4TN45dSz3s07 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="Z/IFrT+N"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::733 as permitted sender) smtp.mailfrom=odhiambo@gmail.com X-Spamd-Result: default: False [-0.27 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::733:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_LONG(0.73)[0.726]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --0000000000001f46ed05d0d0e324 Content-Type: text/plain; charset="UTF-8" Hi everyone, Looking for a 3rd eye here: In the code below, I am getting these errors: 1. sub mp3_filter($$$$) { my ($contref, $weighted_str, $fields, $headings) = @_; mp3::get_title($$contref, $weighted_str, $fields); mp3::get_author($$contref, $fields); mp3::get_album($$contref, $fields); $$contref =~ s/^\w+:{1,1}?//gm; <= Error: Useless use of greediness modifier '?' in regex; marked by <-- HERE in m/^\w+:{1,1}? <-- HERE 2. sub get_uri ($$) { my ($cfile, $fields) = @_; my ($uri); my (%param); if ($cfile =~ /^(.*)\/d(\d\d\d\d*)([0-1]\d)([0-3])(\d)\.hnf$/) { $param{'year'} = $2; $param{'month'} = $3; $param{'day'} = $4 . $5; $param{'hiday'} = $4; if ($param{'day'} < 11) { $param{'abc'} = "a"; } elsif ($param{'day'} < 21) { $param{'abc'} = "b"; } else { $param{'abc'} = "c"; } if ($hnf::link_templ) { $uri = $hnf::link_templ; } elsif ($hnf::hns_version >= 2) { $uri = '?%year%month%abc#%year%month%day0'; # for hns-2.00 or later } else { $uri = '?%year%month%hiday#%year%month%day0'; # for hns-1.x } $uri =~ s/%%/\34/g; $uri =~ s/%{?([a-z]+)}?/$param{$1}/g; <======Error: Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- HERE ?([a-z]+)}?/ $uri =~ s/\34/%/g; $uri = $hnf::diary_uri . $uri; $uri =~ s/%7E/~/i; } $fields->{'uri'} = $uri; $fields->{'author'} = $hnf::author; } -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-) --0000000000001f46ed05d0d0e324-- From nobody Mon Nov 15 23:44:36 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 66B34188AEBA for ; Mon, 15 Nov 2021 23:44:59 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-86.antispamcloud.com (out2-86.antispamcloud.com [185.201.17.86]) (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 4HtQlv1VLdz3k4M for ; Mon, 15 Nov 2021 23:44:59 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=out.niagahoster.com; s=spamexpert; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: reply-to:sender:bcc; bh=MAGkDm9tlxVdEOB5hl77SQn2M0qw8G/YqvSegAZPZr4=; b=F/EhV Iyz/SE8pJI8Xgv+E+ANYTcUQEdTEIAYcwvTt22u7A7NHILaZYYtPDDDEyrJ8EY0wKeksAbNyBLdaZ EQJwncvVLzXc4aBxupA0ZV7OGRkZpHZRGodltXuOTbC4Wgr0HGpW2LYS0Ptv/PYr9WuijqXMbWGJ+ UTOc60GUOEKq61G8qbA2vIedVLwLd1PpbfI9rFxbfoQE9tDwYMmGLcdu2ln6GKfNepdbeNBBv24hI HC4b9V61TpJ+NT9J+wDe88Lca2lq67oBIPSVLFdwoXG88lQExFzMzSfOSn2JzifaoWEN6fd5FAixn s+zem3HkMnXZHg1izWzlHcBEYJ6ug==; Received: from srv31.niagahoster.com ([153.92.8.106]) by mx62.antispamcloud.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1mmlec-0000c6-HD; Tue, 16 Nov 2021 00:44:52 +0100 Received: from subs08-103-10-67-168.three.co.id ([103.10.67.168]:50977 helo=Ryzen1.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mmleP-0007xY-KL; Tue, 16 Nov 2021 06:44:41 +0700 Date: Tue, 16 Nov 2021 07:44:36 +0800 From: Erich Dollansky To: Odhiambo Washington Cc: questions Subject: Re: Looking for a 3rd eye - perl errors Message-ID: <20211115234436.451ee5a4.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-Spampanel-Domain: out.niagahoster.com X-Spampanel-Username: niaga X-Spampanel-Outgoing-Class: ham X-Spampanel-Outgoing-Evidence: Combined (0.07) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9u/J/b2Wo5StppEEm3FgzNPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5y9ETpuP1sz40hlOgsszV660oWRmY7iN+NHb+alJ/q7uqvj wL78vNGpXMQtd/U0tSyzFTRqUk3xj4GX+CqJAgxToQQHiFeSaW+syz9K5mWBV2Xx2azEPCntGfKY yhVHoImfImldfmW/tJQSNtT80uJKMCzr0VBuihcGaoO2kWV3XcTUTqkijca8GaVW4cp3a2VUO5tT aSa1pwLo22IK6dztq4SVLmCYxl2D5GWGcDlworN18+A+Yl8a4/GQmco+f5EhEWyJzIkwSFAW0Pw8 uiKeJC6qhj3YksWYqtRynjzfiYdpU1PrTsz2Rk0RohBJRyFfAzdAvTLhqJfPeK5nxC8nf9hCjPbo IO40etUTsFTdhheVmadwI3aEZBK0q1jHyUAk61l/kva6+iLajaOSOgRhUHn+gnmsNLchHhymY5JU 63hy/sIYQHSrltYx0aSLXrYfouEbBjgDbGgO65Dn/Kq0XSSDn3TEHS9pAbntj2AHd4/QRUYnRtop VCx4Q8MaMgebtFWEMLqsZqM85AyyKVDKBkiY9v1Rlez6jmoRl5GlOLcFP/Fxqx7uULDQRB3NLRAT IfXS1TYsixiMS4ScgCFgSCoC7XWrv4HyiAw0UI0Ulhs28iTUw/3CFJ8PO1s8RWB9unLkiGyNoLJW 0Tk84xIuQSSf7E8TYrwtpS2axV7S63UwgAn+Bkpv32K05+SQmL2e+PcCMjPV5V1RtaWq4BJBVLmn 9E+h0mHeaLQFksyUudGEPEtCvtj/W4eTF3+V0eTuFzpCqDuvGeOyrZdVjpvbb72liMUMOG8An2hA GwoR5imB6TQSSqg34K4FLJnYFeGEy7zy/zb0MKlnP5LdI0Qckm/z3VL6zJzbWXNb9na6v5zRPA8g EmeeAc/z3AcElOsHPl1wpAKCb1HoOSsBxICVFqYuuuSAFWQsbrYYEBlsTpnckpWaLvahyBjmQxBK Ozue53QSV233OdHvpYrvCQQO9JTyL+d7GjrYEhpwz9pz850Fo+dPpwTl8j0GWpzr2Wg= X-Report-Abuse-To: spam@quarantine10.antispamcloud.com X-Rspamd-Queue-Id: 4HtQlv1VLdz3k4M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, if you cannot get an answer here, you might have a try with more PERL orientated lists like: https://lists.freebsd.org/subscription/freebsd-perl Erich On Mon, 15 Nov 2021 13:00:26 +0300 Odhiambo Washington wrote: > Hi everyone, > > Looking for a 3rd eye here: > > In the code below, I am getting these errors: > > > 1. > sub mp3_filter($$$$) { > my ($contref, $weighted_str, $fields, $headings) = @_; > > mp3::get_title($$contref, $weighted_str, $fields); > mp3::get_author($$contref, $fields); > mp3::get_album($$contref, $fields); > $$contref =~ s/^\w+:{1,1}?//gm; <= Error: Useless use of > greediness modifier '?' in regex; marked by <-- HERE in m/^\w+:{1,1}? > <-- HERE > > > 2. > sub get_uri ($$) { > my ($cfile, $fields) = @_; > > my ($uri); > my (%param); > if ($cfile =~ /^(.*)\/d(\d\d\d\d*)([0-1]\d)([0-3])(\d)\.hnf$/) { > $param{'year'} = $2; > $param{'month'} = $3; > $param{'day'} = $4 . $5; > $param{'hiday'} = $4; > if ($param{'day'} < 11) { > $param{'abc'} = "a"; > } > elsif ($param{'day'} < 21) { > $param{'abc'} = "b"; > } > else { > $param{'abc'} = "c"; > } > if ($hnf::link_templ) { > $uri = $hnf::link_templ; > } > elsif ($hnf::hns_version >= 2) { > $uri = '?%year%month%abc#%year%month%day0'; # for hns-2.00 or > later } > else { > $uri = '?%year%month%hiday#%year%month%day0'; # for hns-1.x > } > $uri =~ s/%%/\34/g; > $uri =~ s/%{?([a-z]+)}?/$param{$1}/g; <======Error: Unescaped > left brace in regex is passed through in regex; marked by <-- HERE in > m/%{ <-- HERE ?([a-z]+)}?/ > $uri =~ s/\34/%/g; > $uri = $hnf::diary_uri . $uri; > $uri =~ s/%7E/~/i; > } > $fields->{'uri'} = $uri; > $fields->{'author'} = $hnf::author; > } > > > From nobody Tue Nov 16 02:56:34 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EBDC717DFE17 for ; Tue, 16 Nov 2021 02:56:51 +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 (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HtW1H0mKjz3L8x for ; Tue, 16 Nov 2021 02:56:51 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1637031395; bh=mfNp1EN8JxKJBiABOLkkkz9hAIxwss2ZNZpaM8Hqsn4=; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding; b=Te5hw2HQYtlzBmiOj8FOavVke8sLYnXRHc/vG3u3rMTYSX4ytQGIRP1RHJqrXJlEW gf59Ive+wR/4A2+lu5/25XlyH+pQCkvSMJ7qE21OiLXV2/Ru2YHxPqvg58nMlE8gl3 qBE8f0zVB3mfoDooFw+Mcz30VwMWA05+0wG0QvVq1oiEwL2xvvPGQX0hKQzOgreX2k ZP+n42W2x1BEvst70cXbQsRFfqHbsucaYAUpdnyZBqCGTP6tu+Uf/vMjea9CwpiOfM POqyBxA7w0Z9rvEPXIIomC1MtSPwFGPB2kck+jG/aU5HLFEEhtZDuQxUsfNdEOXgqt PGlBtxthS76xvzcV6akF+R+9FQZvp2GU4K91mJET4RFDDYhhwhibNwpIaXpppx/hcK eTtSJVxb0DTjaUkzaJE/puayYoPC5KxOnpYJDYvks4uGqN7iX3Y7gAZJcTqddIiL94 HqfthJHFR4o9g7gIuK+LD4lWwHyDLgLcUFfVeaqcv+x4RReGHAj6btMk0LPr5yC4oL z3ch6jssYG+NY1brLQKp6wMuoliII2EZOt/aGAvj4b2ZQZBkrGJClyd0fhMg4mbUJa RY6NgXRFKi96ihakA8rP9OLBu/oBW3W+9K4Ke/frxfvm7U2jftkRbec3+dlO76pSDl 0fIaGf40eVr2ogWIbZcTdpkg= 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 ; Mon, 15 Nov 2021 18:56:34 -0800 Subject: Re: Looking for a 3rd eye - perl errors To: questions@freebsd.org References: From: David Christensen Message-ID: <0f43dd3b-1d6f-84a4-cbab-0b97fb0ac676@holgerdanske.com> Date: Mon, 15 Nov 2021 18:56:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org 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: 4HtW1H0mKjz3L8x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=Te5hw2HQ; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.69)[0.690]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 11/15/21 2:00 AM, Odhiambo Washington wrote: > Hi everyone, Hello. :-) > Looking for a 3rd eye here: > > In the code below, I am getting these errors: > $$contref =~ s/^\w+:{1,1}?//gm; <= Error: Useless use of greediness > modifier '?' in regex; marked by <-- HERE in m/^\w+:{1,1}? <-- HERE See 'perldoc perlretut' and "Matching repetitions". You are using two quantifiers next to each other -- {1,1} and ? -- and Perl does not like that. > $uri =~ s/%{?([a-z]+)}?/$param{$1}/g; <======Error: Unescaped left > brace in regex is passed through in regex; marked by <-- HERE in m/%{ <-- > HERE ?([a-z]+)}?/ Again, see 'perldoc perlretut' and "Matching repetitions". Braces are regular expression metacharacters. If you want to match literal braces in your target string, you must escape them: \{ ... \} When writing and/or posting Perl code with regular expressions, it is helpful to include example target strings and expected captures in the comments. If you are serious about regular expressions, "Mastering Regular Expressions" by Jeffrey Friedl is very helpful: http://regex.info/book.html David From nobody Thu Nov 18 03:57:35 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 385701897576 for ; Thu, 18 Nov 2021 03:57:48 +0000 (UTC) (envelope-from adam12345678901234567@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvmGg45D7z3t5d for ; Thu, 18 Nov 2021 03:57:47 +0000 (UTC) (envelope-from adam12345678901234567@gmail.com) Received: by mail-ed1-x534.google.com with SMTP id g14so20825379edz.2 for ; Wed, 17 Nov 2021 19:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=YrREC+2o/vMCYcclGModIBCpEiB6Lf16OhFHuXn4JvM=; b=b2cbYVCx1Wzz2n2wxTA+M518+cReW1LiuanDOT4zQS+AMLpl7QZo1jHuiNKOwX11rc Rm5Nz/W6pSuAR+Ja7yFsOfdeT907CTORSodJZ1dZiVQg/ZsJTLYBpeWQsts5SSvE1iyl JrsYZjKNdxdAqKLKNWofBm3tnxgJsjBuGxZE47Sary8jYHrJCbswKK2Abd6BjmPldO6+ 1EyN2cn9xegkjsLfsFPWraGns4p6vHOyPiMs3+J7M7flc/auKq0PRvMfSn0GiS8g2vEq bSxURBcuzV0Zc2xR2hylTcfqZpuLnVhqOAq0ZU/FlE9qoMx3lqnxltIhmLWLZsW7rtdj k1Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YrREC+2o/vMCYcclGModIBCpEiB6Lf16OhFHuXn4JvM=; b=3sA+FGFdnFHCo5uJFosasEJT1t0Tnz55SqIcYBa3s7VBA4vY7XBdX2jp59Ea2uPV/R VXlkhCDV4tL4gX5Z/5oexKT2wfWaBGLgx/I6a4VtKB+xuh870mn7YwNoAC1BLxEgBMGE TEOP+Hh0x+So7c0Gsrnklgxq49wKunF2GnBSsaWB4RftPoevUsBNSpXQfqtqUyJ9Xugy q0KzLBzEcjRA11LVC1H7j8sD5OxiaTt15wcL5leCLa6dk8IZ+gqbaU2XGcjw2lDSs8es +4PvQxuaGq1LqMKl2EM2Klvdlpb/u0SMkkFuUEdjqi7Sw10m8BdxnNdGsvrGDSbTRmHO UpRQ== X-Gm-Message-State: AOAM533mW0mW4ZNMPSKeuFgwDLTHBbk1gTErIKAIaxF1EJpbejEsy/J2 9QiGsCSu339ex222KHkeTafAMvTbk7izTKCYQQ7c+8IsbbI= X-Google-Smtp-Source: ABdhPJzba/RW3AzqAhLpew1UNYRhmdYqPf4RnrtaPojhNxe7mxeqkDO5qZRxtzyO2xwQm1ROYkznyNxaFOtcw8pujSc= X-Received: by 2002:a50:da4e:: with SMTP id a14mr6441575edk.154.1637207866500; Wed, 17 Nov 2021 19:57:46 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Adam Adam Date: Thu, 18 Nov 2021 14:57:35 +1100 Message-ID: Subject: /sbin/zfs holds on 13.0-RELEASE To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HvmGg45D7z3t5d X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=b2cbYVCx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adam12345678901234567@gmail.com designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=adam12345678901234567@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::534:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N It seems that with FreeBSD 13's transition to OpenZFS, some of the functionality of the zfs holds subcommand has been lost. The following options work on 12.2-RELEASE zfs holds [-Hp] [-r|-d depth] ... However on 13.0-RELEASE only the following are available zfs holds [-rH] ... Is there any alternative way to recursively list all of the holds for a dataset on FreeBSD 13? Also the -p option was useful for calling the command from scripts. P.S. When the man page for the zfs command was split up, the page for zfs-holds has been left out. Therefore the only way to see the syntax is zfs -? From nobody Thu Nov 18 05:48:35 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1CDB41836F35 for ; Thu, 18 Nov 2021 05:49:21 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from 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 4HvplL2xkcz3FCx for ; Thu, 18 Nov 2021 05:49:18 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 1AI5mw6E046519 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 18 Nov 2021 16:48:59 +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=1637214539; x=1637819340; bh=+j3iImcwx0+QkWn5+jGcH75YPjf1GDsyhlXwyQRXwzk=; h=Message-ID:Date:From:Subject:To; b=MuvUNBDdjZT0piSvMJh3oiNch86U0d5LT09jOw8oIlc2kioiiV9aPL3102NtbHW1z ca9m7KleB/6i9iom/OsfHo3tVTsr4vkvns2ItkayO06uomMjNABXKeMBTQ35TarflD ftlcMlnaAlBtkg2PABv5iuoSFMdkcrJHIH4iyfcDniMo6aBy0RYig X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: Date: Thu, 18 Nov 2021 16:48:35 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Content-Language: en-GB From: Dewayne Geraghty Subject: IETF proposal to unicast 127.1/16 - should we be concerned? To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HvplL2xkcz3FCx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=MuvUNBDd; 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 [-4.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_XAW(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; NEURAL_HAM_SHORT(-0.77)[-0.771]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[heuristicsystems.com.au]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N As this is an individual proposal within the IETF framework, the concern should be tempered, however the draft proposal for 127.1/16 to be routable is being discussed. Refer:  https://www.ietf.org/id/draft-schoen-intarea-unicast-127-00.html For me this is inappropriate and likely to be blocked by very many firewall configurations.  I also use 127/8 for my various jails which need to be factored in. There is also a (2 hr) youtube presentation dated 10-Nov-2021 which includes discussion of this proposal, as well as proposals to  release 240/4 &  0/8 except 0.0.0.0 for unicast.  Relevant to this  discussion: from 8min-22min https://www.youtube.com/watch?v=cqPVdBvgiXI&t=449s or https://www.youtube.com/watch?v=cqPVdBvgiXI&t=1039s If you wish to express your view then I'd suggest referencing: https://datatracker.ietf.org/wg/intarea/email/ but for the moment I'm curious as to the considered opinion of others. Regards, Dewayne From nobody Thu Nov 18 09:51:52 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7E8101892273 for ; Thu, 18 Nov 2021 09:52:09 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hvw7Y32Wzz3mCH for ; Thu, 18 Nov 2021 09:52:09 +0000 (UTC) (envelope-from jonathan@scatterlings.org) Received: by mail-qt1-x82b.google.com with SMTP id o17so5485943qtk.1 for ; Thu, 18 Nov 2021 01:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scatterlings-org.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rONBE9LJWM69iu5wBMjX2yLZBfoJFXhcHXpuo5FPYI4=; b=DeIJ7RW0ngVGisgFZ7cmSoHLj2gR+ERxUM3+wCK8P8XtcboEj4qIg2bQ+95iYYQlDb ApL5RLPGVKtx4hX5VvLqLKob11tJDGSXQbqjIpq7aVgFEiFDoTfDwGV/rrzSLF6+F7xo Uk1/RebG71mmsLqKj5cR0z67KowY98p+6Oww7PMHhBgp5Im4dJNsvKfpDCn0CTGtk6NB 7liGhvnOMayvOdcJmNJNYTYDq/NjW0pDqQp+wHGEpEW+u2NJaZAfPb57BcKsprgsNApt AbQjvk3I7C/063bSpiUxq34aV1KL6jUJlFEFham2dJG+p1jYxmJT2fgHxLeBRM2ua/aA bdqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rONBE9LJWM69iu5wBMjX2yLZBfoJFXhcHXpuo5FPYI4=; b=ASIt8IgPFvK8kuDaB2rKc0p3a5WeKUsZSD39Qr9VlqYqH8VLKeYLUrGenbmhyReqCM 4PV0Qs2mld/lZuiuXQHab4rKYsRvxn4HbOXw7+/8iXV/wlI+tLmQGZaQBmf7h692EfWt SCsRDVytvYdLAX2jAuKymY4nq68fx84+WFd5oISmlaL1OEOBeJHohrINjMK1VdZKM2k1 1Nz8UCCaAYF9tVZkJ6YI/bE5f7Y/AdhqBSdtoe0BXZ/z9Q77qBq8/8s00/mUvzg8u+QF dNT1T+6afxUlNvcTMBNcWxY9tZ/GwkaKD8G1xYPvX9disg85VN7fnHf/i7o4EZrWf4AA nYxw== X-Gm-Message-State: AOAM530mnrkPswLH65RL7PhoZO/Ys9YQpEPI2pD3Yakhmfw8zVamkP55 cKknTCa2FAZV5EFzewoB5rWWkwoq/JJ450GhLvYsOYujkg== X-Google-Smtp-Source: ABdhPJxtrKfDpXg+1W+2JSEkcxvp7ZOv00RsUUnoCUW+85ePjGZ6uU4r51xWucFjKsc+qZX0JeibEcTtfZoNAlJAxpw= X-Received: by 2002:ac8:5a01:: with SMTP id n1mr25097343qta.13.1637229123598; Thu, 18 Nov 2021 01:52:03 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Jonathan McKeown Date: Thu, 18 Nov 2021 11:51:52 +0200 Message-ID: Subject: Re: IETF proposal to unicast 127.1/16 - should we be concerned? To: Dewayne Geraghty Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000540ca005d10d1c70" X-Rspamd-Queue-Id: 4Hvw7Y32Wzz3mCH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000540ca005d10d1c70 Content-Type: text/plain; charset="UTF-8" On Thu, 18 Nov 2021, 07:50 Dewayne Geraghty, < dewayne@heuristicsystems.com.au> wrote: > As this is an individual proposal within the IETF framework, the concern > should be tempered, however the draft proposal for 127.1/16 to be > routable is being discussed. > As I read it, the proposal is more wide-ranging than that, allowing all of 127/8 to be routable with the exception of 127.0/16 which is still reserved for loopback. > --000000000000540ca005d10d1c70-- From nobody Thu Nov 18 11:55:07 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 38C8B1888169 for ; Thu, 18 Nov 2021 11:55:24 +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 4Hvysm0hhJz4th4 for ; Thu, 18 Nov 2021 11:55:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 2984C22DC1; Thu, 18 Nov 2021 11:55:09 +0000 (GMT) Message-ID: Date: Thu, 18 Nov 2021 11:55:07 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: IETF proposal to unicast 127.1/16 - should we be concerned? Content-Language: en-GB To: Jonathan McKeown , Dewayne Geraghty Cc: freebsd-questions@freebsd.org References: From: Arthur Chance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Hvysm0hhJz4th4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 18/11/2021 09:51, Jonathan McKeown wrote: > On Thu, 18 Nov 2021, 07:50 Dewayne Geraghty, < > dewayne@heuristicsystems.com.au> wrote: > >> As this is an individual proposal within the IETF framework, the concern >> should be tempered, however the draft proposal for 127.1/16 to be >> routable is being discussed. >> > > As I read it, the proposal is more wide-ranging than that, allowing all of > 127/8 to be routable with the exception of 127.0/16 which is still reserved > for loopback. I think the killer for this proposal will be this line from section 3 "All host and router software SHOULD treat 127.1.0.0 to 127.255.255.255 as a global unicast address range." Given that affects every operating system out there, and every existing piece of kit, many (most?) of which don't get updates, getting the world into compliance will probably take at least as long as IPv6 adoption did(*). It also increases the address space by a mere 0.4%, which is a drop in the ocean. In an ideal world IETF would declare global EoL for IPv4 in say 2040, and push the backbone infrastructure onto IPv6, while accepting private IPv4 enclaves will exist indefinitely. (*) Yes, my tongue is firmly in my cheek. -- Nothing teaches one not to try to stamp out burning thermite quite like real-life experience. — James Davis Nicoll From nobody Thu Nov 18 18:01:25 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BCC821890661 for ; Thu, 18 Nov 2021 18:01:32 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hw70C6zZPz4tJp for ; Thu, 18 Nov 2021 18:01:31 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x32c.google.com with SMTP id 67-20020a1c1946000000b0030d4c90fa87so5496872wmz.2 for ; Thu, 18 Nov 2021 10:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=7Usq8oI7LS5suN2LqmmK05/MaZzZR6cXkQogQBfTmMY=; b=oEvgPKaXMsREudx6k17e25Dyr9xhGGMT9A4CK8VslkCHLsxd1XUF07vLVu0Ecj84/z aiyABPRPKXUl/24iL9imrO7kl4XPXYoZI1JtiYQP0n7dcfsDHqRIbN6xQlo7yYWWkg5U qqHAB+ERZ4NnHEuXRD2GTW8xOAD4ObwqYDPCo/vQdq7XLpSOOE6/hrxYo1U11hOnlASB bAKkB7eJl8ufsZtR1J2h7n2bG7lBJZs4pZrsq231FxoJYfH8We/jgzk67fM2sW6l53ao sIT0OvjBU0Q2DAPiRVzHSYJQ1EuT92jFblKQVx9NhZVd/BtrEiP0+80w+2SrjfYy6/x1 qKdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=7Usq8oI7LS5suN2LqmmK05/MaZzZR6cXkQogQBfTmMY=; b=C7JDGw0z752+Dhpa6Z2lc4wz50HaA4sOlPCmhD/ETXveRVyqBKGwED7o396gpKmfMG S2WAfB4CRRWcN6OQ1S5i+W4ChJpzCgOh58kPbQhqHBEvlL/fcmbqVwM3AJgIQyGlPqvu wcJMv+Ih9hYNsIUqbxEFAdeic7o8sJ/HyuQbkJtZAiawqkmAo1dzVSio17whiXRYlHB5 Ewb2MhBsK8TphiRnQSQl4DdIYMrBkJU85vGrultS9siMisi8rEYEFlxl4bv55g0d1NHk 65QLZLqDszk6l3LWQgzp8tzw/9U5PoczHZS3oHWX5jvhxp0LSBYkMtZ5r1j4YJIawlN8 /WMw== X-Gm-Message-State: AOAM533f0P6iO9k3M7TzwUTDqxDV3gPQX+6nZfQvTgfAvTkpdOkgoatF DbVlq7QZER/fVwO+Y33XLs+axWm8C9oqHQ== X-Google-Smtp-Source: ABdhPJx7TPNPD34dEf/Za2CMnrVc5BKjUdtPv/8zetABX3eiy9sb41j5Enew/P2NauJWlcHHStqweg== X-Received: by 2002:a05:600c:1ca4:: with SMTP id k36mr12047521wms.169.1637258485217; Thu, 18 Nov 2021 10:01:25 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id f18sm534583wre.7.2021.11.18.10.01.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Nov 2021 10:01:24 -0800 (PST) Message-ID: <770fdd72-18d1-3178-a323-98aab05f93ff@gmail.com> Date: Thu, 18 Nov 2021 18:01:25 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: zfs-hold(8) (was: /sbin/zfs holds on 13.0-RELEASE) Content-Language: en-GB To: questions@freebsd.org References: From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Hw70C6zZPz4tJp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=oEvgPKaX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-1.97 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-0.97)[-0.973]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32c:from]; NEURAL_SPAM_SHORT(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 18/11/2021 03:57, Adam Adam wrote: > P.S. When the man page for the zfs command was split up, the page for > zfs-holds has been left out. … zfs-hold(8) From nobody Sat Nov 20 18:41:35 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DBED018A751D for ; Sat, 20 Nov 2021 18:41: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 4HxMnY5z10z4kq2 for ; Sat, 20 Nov 2021 18:41:37 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.16.1) with ESMTPSA id 1AKIfZCH009629 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sat, 20 Nov 2021 19:41:36 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be [10.1.2.18] Message-ID: Date: Sat, 20 Nov 2021 19:41:35 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Content-Language: en-US From: Andrea Venturoli Subject: ZVOL reservation To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HxMnY5z10z4kq2 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 [2.13 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; 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)[]; NEURAL_SPAM_MEDIUM(1.00)[0.997]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_SHORT(0.93)[0.935]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; NEURAL_SPAM_LONG(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]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello. Seems after years I still have doubts on how to account for space on ZFS :) (This is on 12.2, so no OpenZFS yet) From "man zfs": _ refreservation = The minimum amount of space guaranteed to a dataset, not including its descendents. When the amount of space used is below this value, the dataset is treated as if it were taking up the amount of space specified by refreservation. _ usedbyrefreservation = The amount of space used by a refreservation set on this dataset, which would be freed if the refreservation was removed. Now: > # zfs get all zroot/vm/sql/disk0 | grep G > zroot/vm/sql/disk0 used 495G - > zroot/vm/sql/disk0 available 216G - > zroot/vm/sql/disk0 referenced 58.3G - > zroot/vm/sql/disk0 volsize 192G local > zroot/vm/sql/disk0 refreservation 198G local > zroot/vm/sql/disk0 usedbysnapshots 239G - > zroot/vm/sql/disk0 usedbydataset 58.3G - > zroot/vm/sql/disk0 usedbyrefreservation 198G - > zroot/vm/sql/disk0 logicalused 341G - > zroot/vm/sql/disk0 logicalreferenced 68.9G - I would expect: used=max(usedbydataset,usedbyrefreservation)+usedbysnapshots= =198+239=437G Instead: used=usedbydataset+usedbyrefreservation+usedbysnapshots= =58.3+198+239=495G IIUC, then, those 58.3G are counted twice, once as real data and once more as reservation. Is it so??? Given > # zpool get all > NAME PROPERTY VALUE SOURCE > zroot size 896G - > zroot capacity 72% - > zroot altroot - default > zroot health ONLINE - > zroot guid 13582901126454535548 default > zroot version - default > zroot bootfs zroot/ROOT/default local > zroot delegation on default > zroot autoreplace off default > zroot cachefile - default > zroot failmode wait default > zroot listsnapshots off default > zroot autoexpand off default > zroot dedupditto 0 default > zroot dedupratio 1.00x - > zroot free 246G - > zroot allocated 650G - > zroot readonly off - > zroot comment - default > zroot expandsize - - > zroot freeing 0 default > zroot fragmentation 53% - > zroot leaked 0 default > zroot bootsize - default > zroot checkpoint - - > zroot multihost off default > zroot load_guid 11887969528966574378 default > zroot feature@async_destroy enabled local > zroot feature@empty_bpobj active local > zroot feature@lz4_compress active local > zroot feature@multi_vdev_crash_dump enabled local > zroot feature@spacemap_histogram active local > zroot feature@enabled_txg active local > zroot feature@hole_birth active local > zroot feature@extensible_dataset enabled local > zroot feature@embedded_data active local > zroot feature@bookmarks enabled local > zroot feature@filesystem_limits enabled local > zroot feature@large_blocks enabled local > zroot feature@large_dnode disabled local > zroot feature@sha512 enabled local > zroot feature@skein enabled local > zroot feature@device_removal disabled local > zroot feature@obsolete_counts disabled local > zroot feature@zpool_checkpoint disabled local > zroot feature@spacemap_v2 disabled local > zroot feature@allocation_classes disabled local would a zpool upgrade help here? Also, while we are at it: > # zfs get all zroot | grep G > zroot used 850G - > zroot available 18.3G - > zroot usedbychildren 850G - > zroot logicalused 856G - > # zpool get all zroot | grep G > zroot size 896G - > zroot free 246G - > zroot allocated 650G - Isn't it strange that zfs and zpool count free/available space in such a different way? I guess zpool does not take refreservation (in my case 200G in total) into account. Still 18.3+200=218, not 246G. What does account for the difference? bye & Thanks av. From nobody Sun Nov 21 04:43:43 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FB421897C33 for ; Sun, 21 Nov 2021 04:43:38 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4Hxd8B2v5gz52TX for ; Sun, 21 Nov 2021 04:43:38 +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)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id B834316A1C9 for ; Sat, 20 Nov 2021 23:43:32 -0500 (EST) Date: Sat, 20 Nov 2021 23:43:43 -0500 (EST) From: Doug Denault To: freebsd-questions@FreeBSD.ORG Subject: pkg prime-origins is not a separate command Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4Hxd8B2v5gz52TX X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; local_wl_ip(0.00)[147.160.157.114] X-ThisMailContainsUnwantedMimeParts: N pkg prime-origins and a "command" I did not know about prime-list are not spearate commands. They are defined in /usr/local/etc/pkg.conf as: prime-list: "query -e '%a = 0' '%n'", prime-origins: "query -e '%a = 0' '%o'", With that I'm not sure what the argument is about not listing them with 'pkg help', much less leaving them as secret commands. These are very useful commands with the number of packages required for a workstation. I have 609 packages and have not gotten around to learning gimp. 40 packages comprise the base (ie, prime) packages. There is no use in submitting an PR on this as my PR has been rejected by people who, i am sure, know what I just posted. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From nobody Mon Nov 22 02:08:12 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D476F18931E7 for ; Mon, 22 Nov 2021 02:08:20 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hy9fX00FYz52t9 for ; Mon, 22 Nov 2021 02:08:19 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x32e.google.com with SMTP id b184-20020a1c1bc1000000b0033140bf8dd5so12283370wmb.5 for ; Sun, 21 Nov 2021 18:08:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=tC9eXhv9DsqEDX9TX3pv/epCvSNyhDnby23ukN0QWGk=; b=Q5aadaOqk4tWtUHaqKhUGDfYIJmjUPRQp1BPCmtwWgEFqYaxhFVBWPW+LYQrpiHAkZ UFxf4Ptv+u6jB/y+/YzEczmSJHgKBH/FxZ/lgaqGdrOatjQOByZYWbdrZYGK9SkAXe4/ chMu9qdEoK6r/0uI5z4E/7IGs0gRECKFp5jQ7ybXrJDX3yKKPtqX+TS+mrk5cRWIxYyP VSA4YYKbmBinE8thQlmpKVzSWibTh+rDtNr1OLMXlngFsx8s32YauMZAN9ynh/CeESAf u9kmWBcvmCgG9a/cIQyOlCnTR++69VJq3WRgU2Gd/VNjcTUaRAS4VXaEQb61K/H+AITD CzGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=tC9eXhv9DsqEDX9TX3pv/epCvSNyhDnby23ukN0QWGk=; b=udRiHt/A4qabLtKYd0ZU7/pCt8oTDo0gAVQGUYkqMkgb3psMI7UCzA3tD06dRw4SPA Kb4YdbAslBa9Ze7O5ZPsJi2BJcsiUGYPoMZoGmpcSt+yi45KN763Cf8xqQCfGBionJZD k97i5IQtrJNkmzRMTaW0yZP4QagpYezYrxET8P26xhCUko8/nBsodShUEXhjB5BQodlc 0OfZYTTFI1E3h3+Hbz5Tfu0PHBRlBsHxN2CsQ6uBRym+vdiM4lnZpS+BJwTUtPt80M+0 AfAFj38CTMgeIbxDJUs3ixmT6vUOW3KFEqmulgymXbdcI7WHAuZTp+4Q6GMs20Nf4Fve Wgxw== X-Gm-Message-State: AOAM531tw10PAGrWsoKfUoHdDJTnrsdfRHB3+AP5e4cW4PtaJ+ykvaTh pjXYSaEMHq3G64P2+6qqhByEZHFvVTmw2Q== X-Google-Smtp-Source: ABdhPJy+ecb1Vc2NuxrjlO0DHSGIfFOAgGCpuUVCFLpbTlFW2Lslf6QwbO46mOeb1OBfXhAe4oeIDQ== X-Received: by 2002:a05:600c:22d0:: with SMTP id 16mr25386389wmg.37.1637546893140; Sun, 21 Nov 2021 18:08:13 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id i17sm8804190wmq.48.2021.11.21.18.08.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Nov 2021 18:08:12 -0800 (PST) Message-ID: <0e44c758-56e4-d5eb-1c30-1a869ddbae21@gmail.com> Date: Mon, 22 Nov 2021 02:08:12 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: pkg-alias(8) (was: pkg prime-origins is not a separate command) Content-Language: en-GB To: questions@freebsd.org References: From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hy9fX00FYz52t9 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Q5aadaOq; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::32e as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-0.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-0.44)[-0.437]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32e:from]; NEURAL_HAM_SHORT(-0.08)[-0.085]; NEURAL_SPAM_LONG(0.93)[0.929]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 21/11/2021 04:43, Doug Denault wrote: > secret I discovered aliases through FreeBSD Forums, but aliases are not secret. SEE ALSO pkg-alias(8) From nobody Mon Nov 22 17:35:58 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9139718AB96A for ; Mon, 22 Nov 2021 17:36:21 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HyZFJ4RNhz4g7r for ; Mon, 22 Nov 2021 17:36:20 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-oi1-x234.google.com with SMTP id u74so39157253oie.8 for ; Mon, 22 Nov 2021 09:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=hHHrpoFE6YItWA9NUBcVNj/GMfSfYfT4kkf40aOKYzI=; b=dsFXLcemr1hhS14P9B2W8UotcMViwJSbzHc+jOsfQ5hGnJGjfhRi7Sy9s6NyL+VNzK xBdL6/7xelR1f8PTe5oDtksKTJ3nODiNJuQpJeSoQMZdwO80ShkDarR5pAZlxQmQPfhX a/HDne6YUKueZXyMH8loureMbDD+rx8HwTf//xbHCdAVYUwmKQBa6s4kG4InSNiyX19R +/v8Vi8DVnOBQ69tavSS99jyxOMeoTm9o9AomReCuCpoOIDhOdG3+ROtyM4MJOSkRMV6 CGVY6BMfBmNZ17a+jPqs5T/e9v71jxMvXEw3uzXEujHIJCsHNcyrSHpCYAhkJ8AwvGoA v0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hHHrpoFE6YItWA9NUBcVNj/GMfSfYfT4kkf40aOKYzI=; b=7vBkGZcVDxePs2c7I1RjKK2ZsfoF7FjkeOR34oY4HiclrxX9rtchAkT2aQySVALYJ8 GDkcamKv9AWNDbB2WJu/NMpWSbE1RldA6b4CdLkywg1hlTDyxfAG3eJOQTh0l673IfyI Opmf0LLNDJIqcJ16Wf7YS79mtvufzJVVEoZVjQD21TBqNhAT+WZ5vTzI0w7fRVFouLbU PSH6cb8tLHkZe470XV8qixytOfPBfBkWW5hDCa+Cc3PqW38Fz1RhuGqkASCuS1ZkUGC7 wuK6xuc1dkqjqAGmzl4eXY2R4cZSlAfPrugjDwjLXK/eLQVJBFExZ3GZ2n7d0kAmrEVj txbQ== X-Gm-Message-State: AOAM530Vs4MbBWSZPUaoKSclgQKt+IP61zybWtnBQ7oHhReSVBpJs1It UlXj5R61Qk2M+SyO3ZV6hkAzg6i+/jV3qLgR4+Ij+zsxq1g= X-Google-Smtp-Source: ABdhPJwIhhb3LkjZXRSFv1oDGeNS5zYuVIY7XMLKvfQlWthWp9mEffT18eqCs/TF/IvDmTA9JSGRfQanyLyiFbXchTQ= X-Received: by 2002:a05:6808:198f:: with SMTP id bj15mr22541400oib.69.1637602574409; Mon, 22 Nov 2021 09:36:14 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: William Dudley Date: Mon, 22 Nov 2021 12:35:58 -0500 Message-ID: Subject: Problem updating from 11.4 to 12.whatever To: freebsd-questions Content-Type: multipart/alternative; boundary="000000000000bb24e805d1640f20" X-Rspamd-Queue-Id: 4HyZFJ4RNhz4g7r X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=dsFXLcem; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of wfdudley@gmail.com designates 2607:f8b0:4864:20::234 as permitted sender) smtp.mailfrom=wfdudley@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::234:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --000000000000bb24e805d1640f20 Content-Type: text/plain; charset="UTF-8" I've successfully updated FreeBSD systems for many revisions, but this one isn't working. I'm following the instructions here: https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ After a reboot, I run freebsd-update install as requested. All I'm seeing is: bus error (core dumped) ld-elf.so.1: /lib/libmd.so.6: invalid file format And of course nothing works because all the libs and binaries are mismatched. I can't even kill the stupid process because I only have one xterm with root permissions and of course su and sudo are broken. Now what? Thanks, Bill Dudley --000000000000bb24e805d1640f20-- From nobody Mon Nov 22 23:28:57 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 389B2189690A for ; Mon, 22 Nov 2021 23:29:25 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-84.antispamcloud.com (out2-84.antispamcloud.com [185.201.17.84]) (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 4Hyk4h6SjKz3N6r for ; Mon, 22 Nov 2021 23:29:24 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=out.niagahoster.com; s=spamexpert; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: reply-to:sender:bcc; bh=ksrPK5rkLizy63QgWbJqJXoZ59+gbdC1EBr5WR3h7C8=; b=nkpOX uLPT4PSIBkGbHQvEjtx/+NyDmOYbikUx1i4S090KRbhrtUOr3qGB2JyXgcL+1ifgY3Me8H08D3Tc0 48G6z5USH+WJsX18KAiOWJ/RPGIVNqy7rXXdXBkH8BwiUD8bFRKEF6zlxPQ4l9VENa/2znz2Sy6JU a/CJ5ORBrI/IQwcFaEgL9lbXLURl/LbDcoO73c+DRZPBoXTeRu0U/DvujGC0RYZWacBZw06kyHqxX wOSzYQzzKZHucM9ab3E4NIG8cgVGaSYD04a/k0aKsZlEh3Af9DGaQPa5JOMN0otO7t7EFB4JdaUvR K3P1UqU5jkTeN4bDeobd7c20TFA4A==; Received: from [153.92.8.101] (helo=srv28.niagahoster.com) by mx180.antispamcloud.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1mpIkL-0000RZ-1z; Tue, 23 Nov 2021 00:29:17 +0100 Received: from subs12-223-255-228-85.three.co.id ([223.255.228.85]:64845 helo=Ryzen1.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpIk8-0001eC-3l; Tue, 23 Nov 2021 06:29:02 +0700 Date: Tue, 23 Nov 2021 07:28:57 +0800 From: Erich Dollansky To: William Dudley Cc: freebsd-questions Subject: Re: Problem updating from 11.4 to 12.whatever Message-ID: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> In-Reply-To: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.101 X-Spampanel-Domain: out.niagahoster.com X-Spampanel-Username: niaga X-Spampanel-Outgoing-Class: unsure X-Spampanel-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5x0aaVMlCBdB6sD/Xm+JGFZK/Q8e2gQephNeLdjS73G7Wg+ RTXHZL2NY3ST5dKCDDnorZyXsjnC0NV1vPwx87+nldFmNhkjWC73+3EAAAI1+kxzSYhxrsV1WO3E /8N1YV116RgnrpWQC5Q9lQL6QHBHPCi/yDAe+EjhyRx+TXomi+eY3gvx7MMqWor83813ZOFfjTUO nT6+qVrFoGDEqIBN/xR4XAyzBsthH8iaDtNH84PAgTtUp75uqlx0KezvZHWrocOIwhajPqzD96Ma d4gC0W9TfDGOctkPYtl//ebkpY1cDLqe6uojWeWAV3lR+/HAUh8Z/Jpn9lpDmE4ytFNC9leYmH7V rWbF6P/eErO6RKO1G7ls8LzOXkY85X1GAzFhYDivIFvoWs4fOKAXjLRhqaZ9mGkYOQau9q3a4AgN SptwIRuNuppYmJAhwWaToKKnOLgkNYSIm5/jKyA2Mtlg/5NTd7Su/aLm1f/nDo77J1YFvf25LVON YbYifH5OzZAPV7vqzOxa8GxpL4pWK6wGDhN9Lay79vLKZK6pPLGn9kTEPJGKKhCa8ZOt7fuZaHRy EYUeNDqrX3Sju+Zod+Vz9YpSwFI+TkVo/lO0g12Z7ys0ro/tCM7GAwufF9+cyoLzzs3rNm8It+AU Gcp2RXep81cmmhv3NPhRIP6PmObt/CPNOLiRQUgGOloFElbZLF4RFZ4oobg8BBg3Jq+ntzj0QnYj QX3PVRWyDVBD8zgc23792+q4CkQXeJv68BUOq2T9VPKF7bmd1tabROKLTxlfd//K7QRISrzrk0b8 Y5Gn0ijQZx6QnJZ0ScLQLsiYl4Sl7mJaw/iwwebBuk5LV2jM/lGhX18CDPJ9QJMOII1O02A8MWHO KnLcvBzb8uH33wVcdtWIt60ZoYBSNAboWuvjmdySlZou9qHIGOZDEEo7OxXhzfc7VH8oZoor1GNo qgN4g5WMAN0lb/WuhMjbMNC7V9shs4rTQxHfrjGTMZbMXA== X-Report-Abuse-To: spam@quarantine10.antispamcloud.com X-Rspamd-Queue-Id: 4Hyk4h6SjKz3N6r X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, On Mon, 22 Nov 2021 12:35:58 -0500 William Dudley wrote: > I've successfully updated FreeBSD systems for many revisions, but > this one isn't working. I'm following the instructions here: > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ > > After a reboot, I run freebsd-update install as requested. > All I'm seeing is: > > bus error (core dumped) > ld-elf.so.1: /lib/libmd.so.6: invalid file format > > And of course nothing works because all the libs and binaries are > mismatched. > I can't even kill the stupid process because I only have one xterm > with root permissions and of course su and sudo are broken. > > Now what? > > Thanks, > Bill Dudley get an external media, boot from there and install FreeBSD from there. Erich From nobody Tue Nov 23 00:11:47 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DA83C18AB0DB for ; Tue, 23 Nov 2021 00:12:09 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hyl215g3wz3q65 for ; Tue, 23 Nov 2021 00:12:09 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-ot1-x32e.google.com with SMTP id x43-20020a056830246b00b00570d09d34ebso31261458otr.2 for ; Mon, 22 Nov 2021 16:12:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=idQXvqvKLfAQCvwkbLe1pmlmuL46jQiPo0O+uu7d/zk=; b=p2pGj++vMHgjg0I5hgwqA5TmqsNHRV7RbiJmDxiNghtj1HmRm6GWVnLV6OwAQTvLnZ 9vzkWpZSdA2gUKrsgT4YXDmSC+VpLpSWO5GqVesfsy8kfvxup5TCc1q7++Zi2zNdJ4o1 xvv3enfsfar7nEd4NZqEzn40cTQha2nhHsKghIom5pOjX+Ez4pLfLiYTMS32jbVLmcwJ 0XvKDv8C3sW4qZxdDQOkkbar9kb2lLtkyaRZUrd+sjzonwb+7MtXANuY9C6oSVe8anea YcSYFkBjgKjBBoi2090gDDIDhrXKNnkDZSO9M4lEF1CzK8ExzBTDAE7d2iqC7iITuQ/R FUpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=idQXvqvKLfAQCvwkbLe1pmlmuL46jQiPo0O+uu7d/zk=; b=b5yL6a0AZYSG6g/0UZxf6n1o0Uq8rEnPp3L+QnaxjwWvOhhClcCu2fiHJLXKDKri5s 2uLE0mwwD6rmoJTwdQ/1Md9Ci+rQnKoe/RRvwveHzV+JiWfJTzNl5xnRPN/syfqBU4We 5eCWwZ6C2lqnySJiwjeHki0s5QXlJ0RjjyY/muIDhUcixi9yMoVCSHNO2OLR4lJ6ZVFb 6LYzYHDytpq1W95I+oSVbo/UpJJpcbbHlVFSqpIvMc2sJSCPK17Bj5FQkCmqKyrNL9+b oos1OXqn7uWY/rk9ml7+J2GHnhf8K4XDe7loAZNg7IzUgc4PBJPVqETagVTL7gysRbyy X/5A== X-Gm-Message-State: AOAM532jC4npX2trNauwrDV2S5ldd+GSHmMs1ZFdBl9HCC/vqDQR3FSF 6rePp3/0xwZKhf30DZCwo7O1ZCdZDkfLvS6TxRmWlXY0 X-Google-Smtp-Source: ABdhPJyKCC4dQ6gvPAYoSmVEHWRCXKZlkWiQEZwsdwiL5SA750bGIl6IM5J5/9jFTV0w2U6boBZMojrguK8wf9qn9qQ= X-Received: by 2002:a05:6830:1203:: with SMTP id r3mr360759otp.7.1637626323596; Mon, 22 Nov 2021 16:12:03 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> In-Reply-To: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> From: William Dudley Date: Mon, 22 Nov 2021 19:11:47 -0500 Message-ID: Subject: Re: Problem updating from 11.4 to 12.whatever To: Erich Dollansky Cc: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000004af83405d16997ee" X-Rspamd-Queue-Id: 4Hyl215g3wz3q65 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000004af83405d16997ee Content-Type: text/plain; charset="UTF-8" Yes, I was afraid a re-install was the answer. Thanks, Bill Dudley On Mon, Nov 22, 2021 at 6:29 PM Erich Dollansky < freebsd.ed.lists@sumeritec.com> wrote: > Hi, > > On Mon, 22 Nov 2021 12:35:58 -0500 > William Dudley wrote: > > > I've successfully updated FreeBSD systems for many revisions, but > > this one isn't working. I'm following the instructions here: > > > > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ > > > > After a reboot, I run freebsd-update install as requested. > > All I'm seeing is: > > > > bus error (core dumped) > > ld-elf.so.1: /lib/libmd.so.6: invalid file format > > > > And of course nothing works because all the libs and binaries are > > mismatched. > > I can't even kill the stupid process because I only have one xterm > > with root permissions and of course su and sudo are broken. > > > > Now what? > > > > Thanks, > > Bill Dudley > > get an external media, boot from there and install FreeBSD from there. > > Erich > --0000000000004af83405d16997ee-- From nobody Tue Nov 23 09:03:12 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B99E8188CFA7 for ; Tue, 23 Nov 2021 09:03:48 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HyyqS4dGsz4rqZ for ; Tue, 23 Nov 2021 09:03:48 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-ua1-x929.google.com with SMTP id j14so32471046uan.10 for ; Tue, 23 Nov 2021 01:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v/edeoiidd+WX5/fhmR4I5kEQGC5pSdhrXdQ4cHRMMk=; b=oE8Fi7RbXkR03bmJOFEhFSReZdJVBAVYpST3QYcb9tYJU+gioBiya3jfLCcsro0eHC w9giheW0mHwesNmTR/cWScIQ1UWXV6hMR2gsavhGAAumUSBUVuH+uypGwMxt6Eiezrjb 8TUONAV+Ytc6wJK7iY0vLssUPYz4Ps2xPUa2xivnfbqsXcZvlImFRRCGiivAjTDsyQRq jbqU+32MyaanmaSLlytqN1x73/RxHuxfEaDQDqlWXNmS+PIipuoJnhJxNhN61PFF3nGH 3Njp/sBh5RxsEhg1xUmb7VGM42FmsczMVNYz7ZXOpqpbiJJcwiFvFHJhcJ4VEp1CHwMJ EXZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v/edeoiidd+WX5/fhmR4I5kEQGC5pSdhrXdQ4cHRMMk=; b=p7xjzPh2yWXGtw9lpLEh8TclPiwOeShjOAIWuG5SCiGX76yqVR0C79f++5Cucxtpil 2Ysq60mAk9Ew+n24B7SrbVdYf/mWavJCx1ymstRVKe7RjEDh3FkPR/bwhYoDn4jRATRQ RQ2FaYgM/HGsykD5f3XYTASRNU1IuJAEvCaq1raLABaxrBbGqVO/QgvabR1ajOiCAouA kYdIQc2hlbY73Fb4BbsUbxwvLpcIc82ICB9kNN/FM188gmId7liYbpUYc+XEsCXfdkBm FC0WbvqagbjUmZ6PWgOdodglkv3XTI47rMS3tzz4QcE60x2pLEFOcMdAeh3IBEU03ruC XxcQ== X-Gm-Message-State: AOAM530clWaPTzs2Q/r79tmUvfSHKjWvbHyL/b/zZofLtdMF3fABFiJL hvNZuTxMJS1BlP23tz6BT6jPeW+T9VZyNg3NbHb9d1J+jL0= X-Google-Smtp-Source: ABdhPJxVJ0JeulvbYpjzD9ZOWgG/DDnoPuPsSPABQP14IxK4aq0dL1CrSmTmdhzxo2ByuHvFB+q+Ou3wGE2EBL9Ws5M= X-Received: by 2002:a67:b643:: with SMTP id e3mr5829921vsm.33.1637658228113; Tue, 23 Nov 2021 01:03:48 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> In-Reply-To: From: Mehmet Erol Sanliturk Date: Tue, 23 Nov 2021 12:03:12 +0300 Message-ID: Subject: Re: Problem updating from 11.4 to 12.whatever To: William Dudley Cc: Erich Dollansky , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000f3454605d1710404" X-Rspamd-Queue-Id: 4HyyqS4dGsz4rqZ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000f3454605d1710404 Content-Type: text/plain; charset="UTF-8" I want to explain one of my experiences . I was using Fedora Linux version around 20 . A new release has been published : Fedora 28 . One action would be to install Fedora 28 from scratch OR use upgrade ( or update ) from ( let's say ) from 20 to 28 . To attempt such an action in FreeBSD , perhaps , would be a disaster . Can I do this in Fedora ? My loss would not be big because there is not any other choice by installing 28 from scratch . Would you please read the following Nasreddin Hodja case : https://ingilizcehakkindakihersey.tr.gg/What-If-It-Becomes---k1-Ya-Tutarsa-k2-.htm Since in install , all the hard disk contents will be erased , make it by updating . I have started the upgrade . It took many hours . At the end : A perfect BOOT and WONDERFUL continuation work without any problem . When you install FreeBSD and expect a boot , perhaps it is a dream to see it due to its install complexity . With my best wishes for all of you . Mehmet Erol Sanliturk On Tue, Nov 23, 2021 at 3:13 AM William Dudley wrote: > Yes, I was afraid a re-install was the answer. > > Thanks, > Bill Dudley > > > > On Mon, Nov 22, 2021 at 6:29 PM Erich Dollansky < > freebsd.ed.lists@sumeritec.com> wrote: > > > Hi, > > > > On Mon, 22 Nov 2021 12:35:58 -0500 > > William Dudley wrote: > > > > > I've successfully updated FreeBSD systems for many revisions, but > > > this one isn't working. I'm following the instructions here: > > > > > > > > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ > > > > > > After a reboot, I run freebsd-update install as requested. > > > All I'm seeing is: > > > > > > bus error (core dumped) > > > ld-elf.so.1: /lib/libmd.so.6: invalid file format > > > > > > And of course nothing works because all the libs and binaries are > > > mismatched. > > > I can't even kill the stupid process because I only have one xterm > > > with root permissions and of course su and sudo are broken. > > > > > > Now what? > > > > > > Thanks, > > > Bill Dudley > > > > get an external media, boot from there and install FreeBSD from there. > > > > Erich > > > --000000000000f3454605d1710404-- From nobody Tue Nov 23 09:47:29 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6A57818A473A for ; Tue, 23 Nov 2021 09:47:41 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hyzp52JG8z3NGT for ; Tue, 23 Nov 2021 09:47:41 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x236.google.com with SMTP id be32so43540588oib.11 for ; Tue, 23 Nov 2021 01:47:41 -0800 (PST) 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=1uXfRuS7hjGdOKErxZrWmkpY16nfw/t7bNwlY+bereI=; b=LRbcP4pOs2v0IujiJcR2LS4rJsarRkozcRSJnUT2jMFTtLZKKr2IUOFEvfrvkbiQk6 mAyIchbeOzt7Yql0pfk4kxAyxlCXWRIogUV12IPSAQh8qeaRiWWl7v9fNbRza7sHwumw XTV05WIvpt+g+RacTGASuF8MLCnyV3vPCNwHRlyYS0ujeT0LEhCRvF5esZUcr/98RzIT QQjRKHLWo7QSz22asKK836sPkQqAji7xWvQajWf82z6SHXhwC9SnU7TTGckWb0XMv4l7 PSYO634//cbC7UOFEc/CtftjwgyBbZPUyR8/f1BH6zCrpwXYxnruMO1Zr+hJfFG6UJVg ry6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1uXfRuS7hjGdOKErxZrWmkpY16nfw/t7bNwlY+bereI=; b=6HadEb0Gc5n4IyTBPKYlBbOvpysN+J+UyD0zT5/X072VCR2j679pvYo/nMD3sV0o2R anv9EA08iSHkM7Cbe4zd5sEf8ZWYdaIUUs8K9FIgzE8d1eMR965ZSWnaI5tj//War9F3 rs5wqr1SE4Y2/rXqJP+J1sUpcXYuqSlV4be6FECmWRDHPziL3mUDZuSspdJG8Zfk1m+8 G3a9VzPedyyLlUKmZG3qXGrDrfjx90niUr/y3S+aC3z8oB3Z/5GHW53D0DOMj+1L/Rej 8noMLoTj9sHO2RgGkZhWRaoMbLfNEPxPXkeLimww08NcVDP5zB153k/JcrPofrNvXEyd rKrQ== X-Gm-Message-State: AOAM531v7DgjEleD7PYzU7A2CpQvTHakflBmKGVKu6NOIqyuBxEK1P/g WRVdB/w2sveYl+5qFHSbCFLNbKyussSXBAIQrjqOhA== X-Google-Smtp-Source: ABdhPJxEScQJ2XITdJo5JXWh96PaBp9tLpnn+y27J24Fdu/NRlNll1VEQZaTOhxJTnBZTu+86NQvv8KaTx/w9rN/jkU= X-Received: by 2002:a05:6808:209b:: with SMTP id s27mr973806oiw.43.1637660860605; Tue, 23 Nov 2021 01:47:40 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> In-Reply-To: From: Tomasz CEDRO Date: Tue, 23 Nov 2021 10:47:29 +0100 Message-ID: Subject: Re: Problem updating from 11.4 to 12.whatever To: Mehmet Erol Sanliturk Cc: William Dudley , Erich Dollansky , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000dbfadd05d171a1c4" X-Rspamd-Queue-Id: 4Hyzp52JG8z3NGT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000dbfadd05d171a1c4 Content-Type: text/plain; charset="UTF-8" On Tue, Nov 23, 2021, 10:04 Mehmet Erol Sanliturk wrote: > (..) > I was using Fedora Linux version around 20 . A new release has been > published : Fedora 28 . > One action would be to install Fedora 28 from scratch OR use upgrade ( or > update ) from ( let's say ) from 20 to 28 . > To attempt such an action in FreeBSD , perhaps , would be a disaster . I have been upgrading FreeBSD on my machines from 10.0 upwards with no problem. Recently I have upgraded ZFS based FreeBSD from 12.0 to 13.0 with no problem. Even switching from upgraded 13.0-RELEASE to 13-SABLE was not a problem (some local kernel patches that are not yet in a release). I noticed that only CURRENT is not suitable for production. Also switching from UFS to ZFS required drive/array reformat but that is kind of obvious. I avoid any other OS at all cost where only possible. :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info --000000000000dbfadd05d171a1c4-- From nobody Tue Nov 23 11:46:28 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 481ED18936CA for ; Tue, 23 Nov 2021 11:47:05 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hz2Rs1MSyz4mBk for ; Tue, 23 Nov 2021 11:47:05 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-ua1-x92d.google.com with SMTP id i6so43068642uae.6 for ; Tue, 23 Nov 2021 03:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ad5MyHeOZiNUofac6rl4LrEGXi/pUM+wKeBK1+dB5hw=; b=BNlJTWfnC71Ha492nGfae5zP11qrR8Nq3Y0O3loXHkrvpp4fK6pRDSLJvkaUQaOjLm FKudLM10pc3rSihv5Yr5GRKvm+vRLuQ+SCwZP5iuWxkYSaCER74JsWagjHRx0cHPwdmE ZUg39FV3WN/nHhoOLiuTfQgV0Y5ZpFWX7E+jFZj2GaAlEM2HDb3rICYiIzwg/DhwKg+K BRB7Ti6+jsGIDyBhhbNcRUlmy7FXwLIjb2ffPoNCdgLlgSdlXon9Pb3woTjmzsWZQy7G dxl3YaZ0spbB5PjFdmkX3eDTHEgyepXzTLeKqFsnLNHh7s+W3CJrb58NB8DjDx0BHjts SvMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ad5MyHeOZiNUofac6rl4LrEGXi/pUM+wKeBK1+dB5hw=; b=iAVHjC/uWqbuUJsd5ijNm7uZaL/LoXmWOai/BGkEohZBH8zl3ovVRGGYSZ6/MuHtCj LDrTQSA6YV77Qhfg8co4VNNyWL0u21poI97BCnYe+UcPGKKSLt7v8IL4Vh/OHbws+Tb+ Bw/ATkIeD31yKAIoDZsVVCGHwdyIRHBXx9ni1oayyRZziGI3nVsGkeTV0eMLKe7GpGS+ k5BLAWtSvWxSBtgyAloZ+e+f5t0ECTJxdYIW+cJrcLvA6owAHr+jLPrOEtlVLxDxxB/X r7sZ80ZKjgY8gHuv5bYpMHodhBOa7nN+GykU9wZ//aEOscS8O8JvffjZ4pn3eVlPtk6p Ti9g== X-Gm-Message-State: AOAM5305uXSV34xvSFENkSP4pNntSQtV+6Ux8/14v5bl+hiSij4920sn V6EPaQdCtAuZzrVtcO0PVE68ArISz0K44vrW8WA= X-Google-Smtp-Source: ABdhPJxThAx/Ht7v7fgCEXmQCdkP3GIwWlHgZsHTzycAkvh4AoRGJYjJgAqjZ0LENGamdt4FHzKNUHwSiceE0ChDVdM= X-Received: by 2002:a67:b643:: with SMTP id e3mr7560332vsm.33.1637668024607; Tue, 23 Nov 2021 03:47:04 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20211122232857.344017ac.freebsd.ed.lists@sumeritec.com> In-Reply-To: From: Mehmet Erol Sanliturk Date: Tue, 23 Nov 2021 14:46:28 +0300 Message-ID: Subject: Re: Problem updating from 11.4 to 12.whatever To: Tomasz CEDRO Cc: William Dudley , Erich Dollansky , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000dea8ac05d1734c09" X-Rspamd-Queue-Id: 4Hz2Rs1MSyz4mBk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000dea8ac05d1734c09 Content-Type: text/plain; charset="UTF-8" On Tue, Nov 23, 2021 at 12:47 PM Tomasz CEDRO wrote: > On Tue, Nov 23, 2021, 10:04 Mehmet Erol Sanliturk wrote: > >> (..) >> I was using Fedora Linux version around 20 . A new release has been >> published : Fedora 28 . >> One action would be to install Fedora 28 from scratch OR use upgrade ( or >> update ) from ( let's say ) from 20 to 28 . >> To attempt such an action in FreeBSD , perhaps , would be a disaster . > > > I have been upgrading FreeBSD on my machines from 10.0 upwards with no > problem. > > Recently I have upgraded ZFS based FreeBSD from 12.0 to 13.0 with no > problem. > > Even switching from upgraded 13.0-RELEASE to 13-SABLE was not a problem > (some local kernel patches that are not yet in a release). > > I noticed that only CURRENT is not suitable for production. > > Also switching from UFS to ZFS required drive/array reformat but that is > kind of obvious. > > I avoid any other OS at all cost where only possible. > > :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > My implied difference is not like 12 to 13 , but ,for example , 5 to 13 ( a gap larger than 1 or two ) . And my wish is also suggesting to use a policy to perform such upgrades . An example about this may be as follows : Each release contains a list of files . Previous release checks which files are new with respect to installed files , which ones will not be replaced or converted to the new version ( this requires upward compatibility adhered to as much as possible ) . It installs new files into NEW directories . At the end , it checks the integrity of the new installation . When the new installation is complete ( if there is failure , restarts to repair the failures without wasting existing works ) , it starts to rename old directories into backup names from least required toward the boot related directories . After completion of renaming , it attempts to boot the new system . If the new system boot is successful , it replaces the old system as a "use if new system fails" structure . If it is necessary to use a new hard disk , it requests to attach a new hard disk . It formats the new hard disk by using the format facility of the new system . This requires a very careful upward compatibility policy . Or , it displays a message that "upgrade in place is not possible , then use a new fresh install" without destroying all of the existing files . In the past , I was installing the Novell . https://en.wikipedia.org/wiki/Novell Novell It was necessary to install the operating system into a hard disk with the DATA areas into ANOTHER disk , i.e. , it was not possible to use a single disk for both . At the beginning , this may have seemed a meaningless requirement . Now I am always using a different disk for data requirements ( disks are not expensive . a smallest disk is sufficient to install an operating system ) . This application is allowing me to replace any version of an operating system with a new version of it . If the versions are near each other there is not any problem about data disks . Or use NFS to copy files from the older system into the new system . It is possible to say that chosen policies may make some tasks very easy or disastrous . Choice belongs to us . Mehmet Erol Sanliturk --000000000000dea8ac05d1734c09-- From nobody Wed Nov 24 22:54:13 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id EEEB518894F4 for ; Wed, 24 Nov 2021 22:54:12 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HzxC82Q5Jz3GFJ for ; Wed, 24 Nov 2021 22:54:12 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id s13so7283623wrb.3 for ; Wed, 24 Nov 2021 14:54:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=CkSxrCNWo+/GhCP7CgTGVm9GC4yEJ0oT4eW8GaUq/go=; b=LKJ+2ZhcqM6Bm47dhitLGd6YoZBHX7O35GvgR1FX/OjlaADZ35vH9+bXHOi1SUZJiP Ov0mJBxmd+gxpplkZHKc8CKECERVIW9YYSG3g1sEhb4cGzWJXJDFFt6bUj4OTtyf4Z6Z 23TKoYqH06NhRBga9iOTAsN51lr51+u+GDXCFC2vYKz64txiRjYK+A0i/QXCmieVp/1Q 5dtHKduKPAnQGmqHXtzjXjOyzxWtNhWKb7nDTU62IbIt22zUDIVjN7Ks/CdcZVM5Dqjn lWk+rUQeD+/OaTRpn6I4l0S47KgfwUzUaZz2PMS5i1s5hwoZuVvglV3yDoXTSGEJhpMh PvQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=CkSxrCNWo+/GhCP7CgTGVm9GC4yEJ0oT4eW8GaUq/go=; b=EmSKAK7usi8h1nVE6sQdriulhbjBsaaBk+nim1JsLWKAjTpnDexbSesN85o5cGPWqo KhqMa4RBxBU3YEMoUa3GNclZZp45HD7pI3ONMxa/p+bocDUOnyM/SmDk9DLeU98XYrUy H6q5DO0KWZyrWG7/Jc6nTOQC6uB4S/CvF9Ce+4i3Ol+UTP0GhmQ2pEZRAdj1yZnCwkST 9JFzbSb6BmXxqdZ8QsEX1bwMii9P7/7Cd22rMzQNESdN5IRtuMFIW5gfUO6nHHYQQN6M ummiJv9EC/s9/3o/kTqraCsUWPniPbJtD0Lee9b9tDcfXjPildUGiDS9hYMDBlLcN8SN XLnA== X-Gm-Message-State: AOAM531ZZQouIKy+VG/uiGUYpZD4YVYZ/CykaZVGdKpFEjIHBYjSIDWf AGpZWmqmXei7PecwIb7iuhkddDDq4G5PWQ== X-Google-Smtp-Source: ABdhPJwo3z9wR8Dj/7P5BSFh88ixQiQzAC/ISNI75khJlv+Uipt+/n7+hAi7dRVE3c5w+8ohizQCHg== X-Received: by 2002:a5d:59aa:: with SMTP id p10mr936045wrr.210.1637794451004; Wed, 24 Nov 2021 14:54:11 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id o12sm1678878wrc.85.2021.11.24.14.54.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Nov 2021 14:54:10 -0800 (PST) Message-ID: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> Date: Wed, 24 Nov 2021 22:54:13 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: 11.4 to 12.0-RELEASE (was: Problem updating from 11.4 to 12.whatever) Content-Language: en-GB To: questions@freebsd.org References: From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HzxC82Q5Jz3GFJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=LKJ+2Zhc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 22/11/2021 17:35, William Dudley wrote: > … following the instructions here: > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ This instruction would probably be enough to break the system: > freebsd-update -r 12.0-RELEASE upgrade – because 12.0-RELEASE is significantly outdated; older than 11.4. From nobody Thu Nov 25 13:49:52 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 950CE18A6D92 for ; Thu, 25 Nov 2021 13:50:10 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0: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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0K4y3PZ2z4tPf for ; Thu, 25 Nov 2021 13:50:10 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: by mail-ot1-x332.google.com with SMTP id b5-20020a9d60c5000000b0055c6349ff22so9465378otk.13 for ; Thu, 25 Nov 2021 05:50:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zh/PGTAAgBNcTwSJiUAkZJGCwfmxjxhXjSzIaeF2gmw=; b=D/245r6WC4KXLIZO4xWel7GnQGB6sr/uepL67fT4Cgi/mYigdHPedKhc4FJDtgNBB7 8bP/IABB6gZxJLefJtXoN8hIeYKxeqfjFWZHjg5/+3jiIsbnjAxCIfzxklPeedBJBuK8 LgONO0cubEgyYjL/bek6bemYGCEyfQhHq98pj5KkS3XGHKfVkoHmXw1Y73F7K6BoHQHX nDPH4HVa0w2IeO06pFfZoJfWGp6nblSNIgWS72FB0TklNn7HTk9rnA+LL8TkiXP7o0DT HytiAuN2ZVYUjN6xsYbAnhl3RwlU+L+YioakXP3wNZzdgGm3ah2O7BQAwJiAajrissC2 1y0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zh/PGTAAgBNcTwSJiUAkZJGCwfmxjxhXjSzIaeF2gmw=; b=ou0gYTLfdhU8ZyH2G8s7woOTHHovnnQLPuuYyfaZYUvlx8HZ/W4IZt8UIxkwDvTNC1 7kU/aqg7c0JqIUDYqS3PBPRcZ6mUG7uZ6EjKvUZ/5dDneeleLPgJH04GU/EnGV24TXc3 1KG+i0N3aZJabyAxtP6goEeT8wbjEwUGZm+13XAHVCCvDlAwmRg/2w6RAzU6F2WPXbZ3 mlhL+38WzoobdBImpUaIegmH5Zs2caLJ7jYu6XKA5BBR6mLK7qvFewkpOsYaNtRu2cjT OjzLkynpfvOQLCSQI1L0cfA/qyCn1UetepEZNzhO1UHYqP/cY85SNvmTNQvBxtJTj8rn BnKA== X-Gm-Message-State: AOAM530LJ8HkJNuv5BEIDX99omWlS6gnj5xEJwKi76qRF246bTWs0JAx xOr2T9F2x9iwh6m8Q3/oBcoDU481sZxbJCOvZqU= X-Google-Smtp-Source: ABdhPJxZ+UOXBdtP5YgLNj15rEQxyER5cyAwOBk7ejwlAEPI8I+BrT+BWjJ5iWgQgaPP8Ckv31KqaZqxK8pWrSF5Cr4= X-Received: by 2002:a05:6830:33f0:: with SMTP id i16mr7481947otu.7.1637848209317; Thu, 25 Nov 2021 05:50:09 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> In-Reply-To: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> From: William Dudley Date: Thu, 25 Nov 2021 08:49:52 -0500 Message-ID: Subject: Re: 11.4 to 12.0-RELEASE (was: Problem updating from 11.4 to 12.whatever) To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b6616a05d19d40b1" X-Rspamd-Queue-Id: 4J0K4y3PZ2z4tPf X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000b6616a05d19d40b1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I did manage to get the system "running", but it was still unable to be further upgraded because freebsd-update was still confused. I ended up installing 12.2 from DVD, and then upgraded that to 13.0, so I won't have to go through this again for a while. Fortunately only the OS lives on the "root" disk; all the data is on a zfs pool on different disks. Bill Dudley On Wed, Nov 24, 2021 at 5:55 PM Graham Perrin wrote: > On 22/11/2021 17:35, William Dudley wrote: > > =E2=80=A6 following the instructions here: > > > > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-= upgrade-freebsd/ > > This instruction would probably be enough to break the system: > > > freebsd-update -r 12.0-RELEASE upgrade > > =E2=80=93 because 12.0-RELEASE is significantly outdated; older than 11.4= . > > > --000000000000b6616a05d19d40b1-- From nobody Thu Nov 25 17:32:26 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F2A2918B05F1 for ; Thu, 25 Nov 2021 17:32:38 +0000 (UTC) (envelope-from nathaniel.nigro@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0Q1f1T4Fz3hq7 for ; Thu, 25 Nov 2021 17:32:38 +0000 (UTC) (envelope-from nathaniel.nigro@gmail.com) Received: by mail-lj1-x22e.google.com with SMTP id l7so13863125lja.2 for ; Thu, 25 Nov 2021 09:32:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cJLWaNOj3O7FqfkmFJgMJ6vq7UXbbGohSJTheT2pI6Y=; b=CcBn6ecf8OKpNgwK2knql5p8B81vVYyWhNh4QEsPUH38fOGQ/P+X/FKjT5R6u/63AF P7hf5fKzmeEpKJfMPhTsD/+FqHNoNSjWLPf+J+TUKHnozPbwEE6bE4FG1FMe97q5Gq8j yG3jNJn6aOMfYko5SB8SjITECo7C3fFu2qG0mtp3xE1LoXWzzWl8jm5gm67ClSwuoEn9 izI4GMFuqwVZhwbj5zDRmJObcYltWkTmGOjvYyN8xalIEg6LwvvH8IgLMbaOx6t3w29M Xis4VDa4R12AYxscivBMorGdKbICv5F2PZ2yraAv6Us5Kz7Ury05u+/BM0OQbALBFbmj kUGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cJLWaNOj3O7FqfkmFJgMJ6vq7UXbbGohSJTheT2pI6Y=; b=BD75tQpv/nunHkRlWdWbCqe8UC+3IH532lxsI3e4r1/fOIlfOEWlFMQk98hM9NIQPK c/0Qn1XxTk93AYzuy8EMxygQtCek8+OMG1s+Z4b7rSSm911tV1avMWWlYdytiLE8M4Fn g0cOUHwu+Ye3qTysZNWMhUQ+nPzgPx5P0xo29gz5jYG3F8bjnjIVlvbVVSe2EVszmFwB YaNTSse4+c6s8yVQmv804nzI2n3yC92jgrSi9MI9YlcY20Iq4Ek3VQV0h5et0amY+scb o4luc+/LPAyL2IPhOxps3wyPmIPhAlrVqIhsFxyVmv/jBg98tSo2v2oTYnBymvWPRzP2 zc5w== X-Gm-Message-State: AOAM533TeqT07j47AlcDupXHFW2wtUXWVkiwAXAc4v8eC+y487Suo0WV 68uyj8iNBzltGqz2PWj0yuLJ/+bjYgwbZ84Njw6UYYfq X-Google-Smtp-Source: ABdhPJwSyxKjMumbclKO5GvZ/K3m8/jNXySxEIMXs9I3qPfsk79SeKkhKhLvfk0r0ytkiNleaNBmSCMabHHd0KjqC6M= X-Received: by 2002:a2e:9641:: with SMTP id z1mr28088419ljh.66.1637861556773; Thu, 25 Nov 2021 09:32:36 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> In-Reply-To: From: Nathaniel Nigro Date: Thu, 25 Nov 2021 11:32:26 -0600 Message-ID: Subject: Unsubscribe To: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000048678e05d1a05c14" X-Rspamd-Queue-Id: 4J0Q1f1T4Fz3hq7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=CcBn6ecf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nathanielnigro@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=nathanielnigro@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,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]; MID_RHS_MATCH_FROMTLD(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --00000000000048678e05d1a05c14 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Unubscribe On Thu, Nov 25, 2021, 7:52 AM William Dudley wrote: > Thanks. > > I did manage to get the system "running", but it was still unable to be > further upgraded > because freebsd-update was still confused. I ended up installing 12.2 fr= om > DVD, > and then upgraded that to 13.0, so I won't have to go through this again > for a while. > > Fortunately only the OS lives on the "root" disk; all the data is on a zf= s > pool on different > disks. > > Bill Dudley > > > > On Wed, Nov 24, 2021 at 5:55 PM Graham Perrin > wrote: > > > On 22/11/2021 17:35, William Dudley wrote: > > > =E2=80=A6 following the instructions here: > > > > > > > > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-= upgrade-freebsd/ > > > > This instruction would probably be enough to break the system: > > > > > freebsd-update -r 12.0-RELEASE upgrade > > > > =E2=80=93 because 12.0-RELEASE is significantly outdated; older than 11= .4. > > > > > > > --00000000000048678e05d1a05c14-- From nobody Thu Nov 25 17:50:13 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5BAAD18B74BE for ; Thu, 25 Nov 2021 17:50:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0QQ929PRz3nFm for ; Thu, 25 Nov 2021 17:50:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.59.204] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqIsy-0003RV-JM; Thu, 25 Nov 2021 18:50:16 +0100 Date: Thu, 25 Nov 2021 18:50:13 +0100 From: Matthias Apitz To: Nathaniel Nigro Cc: freebsd-questions@freebsd.org Subject: Re: Unsubscribe Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: Nathaniel Nigro , freebsd-questions@freebsd.org References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Qy0sKI8YnKvNXgKY" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.59.204 X-Rspamd-Queue-Id: 4J0QQ929PRz3nFm X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --Qy0sKI8YnKvNXgKY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa jueves, noviembre 25, 2021 a las 11:32:26 -0600, Nathaniel Nigr= o escribi=C3=B3: > Unubscribe >=20 Why should I unsubscribe? matthias --Qy0sKI8YnKvNXgKY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEM265aJL+n+f2rQHWUpt0I/NggUEFAmGfzMwACgkQUpt0I/Ng gUFvOAf+M6tZNUVzOyls8EyOdBNnR1pfva4UOxS4ZrNzeYtDvF/SefHKlVKIFyce RMSi7nvuQyf5ZwpIGFAxZiJPu+lAQ67XJJ4wEUXSMYXTqWK9i78k+ZYI/xXxoh8i rRWCyrTIs1Wyckz2b4swqWMmEJl0nsXmyijw4ayZdpYyc9xN/XxfrV4KZmwxhJBo ts9jcVeYuPLsiHXvIj7c9sqD4/nIL5No8mLhMC10tLEEvTscViIR2SfSPMayEUGF A3Uy58yjxEwH+jzBeR4VFqYWNSooMVlb/kKa0rRpzMCuoDso34ag89/dmQFfYuuo EMTeUumqNLlqKWukyQbmHIBwvKYFiw== =gUdZ -----END PGP SIGNATURE----- --Qy0sKI8YnKvNXgKY-- From nobody Thu Nov 25 18:47:03 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A0A4E18A60B9 for ; Thu, 25 Nov 2021 18:47:18 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0Rgp3T7Mz4ddB for ; Thu, 25 Nov 2021 18:47:16 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: by mail-ed1-x52b.google.com with SMTP id t5so29472965edd.0 for ; Thu, 25 Nov 2021 10:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yabarana-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sF6Mf3oBvxqBhy3v8+5ss+wGKhZ+1FzTy20XAPGatqM=; b=MJaxOirWPkKW6cjWAj56CBm99kbx/l5gTGs7T6rzaixVte3LeCLFWXrwc22pEGrztF JiHXzolFtSTvLjO3Pe2DBZMqJK4wYJtuFTJq9LWdl6HO/3Md5kwso+Bw74FTJP2ShuEi Yq9bARSdoBwy4W6kcXT9Ol1vcI8/lj7vus6afYAU1gJYANuZYxs4K8TnULbi+mBhDTwW Ix/iT36ZWs2q1YYbN86NMo3ThZx5dxCZnsuChO3WaU62G+rSURK7zDC5ITYm4cg7CK6Y vbvgNKKJVtMfbEfoWnOgjiWw8GS7WEUlMp2AIy5tsoRC/KNGdFdaBFUT1/z4kL3Sei91 SwQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sF6Mf3oBvxqBhy3v8+5ss+wGKhZ+1FzTy20XAPGatqM=; b=6mxUEQZ4070BSPVUqDpjOW13boPexK0EcoKos5fo0FwbpFS7smChNPm3K8xpnr8dH4 UU/ZvPqk8OWFfWVOO2V+Je22VgtkbKF1GbBrGjJQX4qGInFEyV68qVgVyusNwXSrPC/7 4mN7iZDtNRoe3qKTrYnXyqrfdA/tNl014wlQJTAS2hswVIkIZVlUr9WAUyI29KU7OB9h acmHfExz6YjTNn61eCHsdGuLmnXYFoJmGd4G4wPA6FOHb8ChR1HzxfFoP7Gt2kA088I6 4Qej+5+c8Hyh8VPCg0UcBxHocaUH0uvW7gyx0gpBQWjzjlmZq10gQwNRVHXEqpw0tSly NQbQ== X-Gm-Message-State: AOAM533sp3MSnGK9V/y+m7rp8wXdLS4ePX5BbRrCntZZ2TYsAuZ2ZDjb lDfloV/WPD6JNiLQErGPFx8+XBM2hV05D1RiFtn0IKuvI7SDwg== X-Google-Smtp-Source: ABdhPJzG+iuFWFhnAm82ByQxnGojWXowras5L1JSoc+T8VYuQkDdmQKwSD0rIYa8O0qRZa39OLhuup4vCcmdSsKoTWM= X-Received: by 2002:a05:6402:40c7:: with SMTP id z7mr43140848edb.255.1637866035113; Thu, 25 Nov 2021 10:47:15 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> In-Reply-To: From: Alejandro Imass Date: Thu, 25 Nov 2021 13:47:03 -0500 Message-ID: Subject: Re: Unsubscribe To: Nathaniel Nigro Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000003681a805d1a16771" X-Rspamd-Queue-Id: 4J0Rgp3T7Mz4ddB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000003681a805d1a16771 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable RTFM: https://lists.freebsd.org/subscription/freebsd-questions On Thu, Nov 25, 2021 at 12:33 PM Nathaniel Nigro wrote: > Unubscribe > > On Thu, Nov 25, 2021, 7:52 AM William Dudley wrote: > > > Thanks. > > > > I did manage to get the system "running", but it was still unable to be > > further upgraded > > because freebsd-update was still confused. I ended up installing 12.2 > from > > DVD, > > and then upgraded that to 13.0, so I won't have to go through this agai= n > > for a while. > > > > Fortunately only the OS lives on the "root" disk; all the data is on a > zfs > > pool on different > > disks. > > > > Bill Dudley > > > > > > > > On Wed, Nov 24, 2021 at 5:55 PM Graham Perrin > > wrote: > > > > > On 22/11/2021 17:35, William Dudley wrote: > > > > =E2=80=A6 following the instructions here: > > > > > > > > > > > > > > https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-= upgrade-freebsd/ > > > > > > This instruction would probably be enough to break the system: > > > > > > > freebsd-update -r 12.0-RELEASE upgrade > > > > > > =E2=80=93 because 12.0-RELEASE is significantly outdated; older than = 11.4. > > > > > > > > > > > > --0000000000003681a805d1a16771-- From nobody Thu Nov 25 18:55:14 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5B32918A87BB for ; Thu, 25 Nov 2021 18:55:23 +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 (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0Rs62Vknz4fms for ; Thu, 25 Nov 2021 18:55:22 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4J0Rrz1Qb7zF4Zx for ; Thu, 25 Nov 2021 10:55:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637866515; bh=UgoQoaTaqg4XAKZUMFf85bMsc7/bKnmwF6LlJB5PFhw=; h=Date:From:To:Subject:In-Reply-To:References:From; b=JNPzt2XtjDaS6RJmiVeURj25FxcXSdBPEwlHu9Va6ikLq/3wR1ndvS2/uLWw5v6sF QjP0T6BKznxgLlHJYGvcAoQdBSrHZt1hrfv1pcznwkOOIKhrBKXC9YaIs8imixz3+f SnJbjARvEVa/iVckATbBvLWNirzF6kTzFThFIv9Q= X-Riseup-User-ID: 45B587932EFE7E93A6593844109780A28C16C4891AA8DD14CEB97CD79CD155F7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4J0Rry3ckvz20ZM for ; Thu, 25 Nov 2021 10:55:14 -0800 (PST) Date: Thu, 25 Nov 2021 19:55:14 +0100 From: Ralf Mardorf To: questions@freebsd.org Subject: Re: Unsubscribe Message-ID: <20211125195514.0f426eed@archlinux> In-Reply-To: References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J0Rs62Vknz4fms X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=JNPzt2Xt; 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)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; 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)[-0.999]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] X-ThisMailContainsUnwantedMimeParts: N This never happened on the mailman mailing lists ;D. Everything was better before ;D. From nobody Thu Nov 25 19:07:34 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A5D9318ADE6C for ; Thu, 25 Nov 2021 19:07:36 +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 (2048 bits) client-digest SHA256) (Client CN "mx1.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0S7C5dXQz4l9k for ; Thu, 25 Nov 2021 19:07:35 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4J0S7B68tlzF4Zx for ; Thu, 25 Nov 2021 11:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637867254; bh=bA6AXEWxlejx3LCrlypgQmq4+XYrlU4mL61P1nHigfA=; h=Date:From:To:Subject:In-Reply-To:References:From; b=doVXfH0XOIPm/rCZDZboJRODYsd7ty3OOm/rHmfL0mTstdcgqxPH5UTwHkMvmRwY+ 4t7h5jqDMfmoH/KU3+/5gzbFBesB/ZJuqQPAweDZieW8uo1FRhb8/9jJQE8x6p8pF4 e2HJzmAD3dTZ7Bd7yw2IFwYkQtKlOzigseXZIXfM= X-Riseup-User-ID: 0931A71101925AABB0C2441BCB5E57F34089BB092983AF9B63A09C957148D3C1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4J0S7B1V1yz5vkm for ; Thu, 25 Nov 2021 11:07:34 -0800 (PST) Date: Thu, 25 Nov 2021 20:07:34 +0100 From: Ralf Mardorf To: questions@freebsd.org Subject: Re: Unsubscribe Message-ID: <20211125200734.61d00208@archlinux> In-Reply-To: References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J0S7C5dXQz4l9k X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=doVXfH0X; 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)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; 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)[-0.996]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from] X-ThisMailContainsUnwantedMimeParts: N It's weird, there are two unsubscribe options. 1. Unsubscribe 2. Unsubscribe without receiving mails Is 1. for unsubscribing, but receiving emails forever, when being unsubscribed? :D From nobody Thu Nov 25 19:13:59 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6F2CB18B1F9F for ; Thu, 25 Nov 2021 19:14:07 +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 4J0SGk1ztzz4pFq for ; Thu, 25 Nov 2021 19:14:06 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPV6:2607:fb90:a225:d6e3:3844:fabd:3f8:cf27] (unknown [172.58.137.55]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 54E1C4E46C for ; Thu, 25 Nov 2021 13:14:00 -0600 (CST) Message-ID: <1694d3dc-8117-284e-49df-2d0ea13b5cf2@kicp.uchicago.edu> Date: Thu, 25 Nov 2021 13:13:59 -0600 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Unsubscribe Content-Language: en-US To: questions@freebsd.org References: <4a20d135-4246-7e5c-2bba-5436b2f9428b@gmail.com> From: Valeri Galtsev In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J0SGk1ztzz4pFq 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 [-1.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.137.55:received]; 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)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.37)[0.368]; 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:160, ipnet:128.135.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N On 11/25/21 12:47 PM, Alejandro Imass wrote: > RTFM: https://lists.freebsd.org/subscription/freebsd-questions > I guess I missed exchange right after migration of lists from mailman. I didn't know (by heart) this link. Bookmarked. I will need to change my email subscribed to lists some day. Thanks! Valeri > On Thu, Nov 25, 2021 at 12:33 PM Nathaniel Nigro > wrote: > >> Unubscribe >> >> On Thu, Nov 25, 2021, 7:52 AM William Dudley wrote: >> >>> Thanks. >>> >>> I did manage to get the system "running", but it was still unable to be >>> further upgraded >>> because freebsd-update was still confused. I ended up installing 12.2 >> from >>> DVD, >>> and then upgraded that to 13.0, so I won't have to go through this again >>> for a while. >>> >>> Fortunately only the OS lives on the "root" disk; all the data is on a >> zfs >>> pool on different >>> disks. >>> >>> Bill Dudley >>> >>> >>> >>> On Wed, Nov 24, 2021 at 5:55 PM Graham Perrin >>> wrote: >>> >>>> On 22/11/2021 17:35, William Dudley wrote: >>>>> … following the instructions here: >>>>> >>>>> >>>> >>> >> https://www.cyberciti.biz/open-source/freebsd-12-released-here-is-how-to-upgrade-freebsd/ >>>> >>>> This instruction would probably be enough to break the system: >>>> >>>> > freebsd-update -r 12.0-RELEASE upgrade >>>> >>>> – because 12.0-RELEASE is significantly outdated; older than 11.4. >>>> >>>> >>>> >>> >> > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From nobody Fri Nov 26 18:45:24 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A574A18ABC65 for ; Fri, 26 Nov 2021 18:45:59 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J13bp1lP4z3v66 for ; Fri, 26 Nov 2021 18:45:58 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: by mail-il1-x133.google.com with SMTP id k1so9948719ilo.7 for ; Fri, 26 Nov 2021 10:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:reply-to:from:date:message-id:subject:to; bh=eNJhghxgQzRKCaK4hp7xoqHh0c/IgdkbLFYJziL3vTE=; b=fROZUKaUd+MSoXUMB5zffQbiCv9tw8/k02PS87MG/V8zc0ZZt3arYgzjmzOkUzU677 6dGxfdLEL5NfCliefzup3UP1sG58iqvk/E6X3fbuvTtPgPw3UbP07J0OTtSQvPOfC821 jt4rUvsABe1fPTU1hiRU2HdtIqhUVLdPtU1qaHDXLtcd57vxjvB53BvJRkNi7/8w4Br1 cI0x8POrK+kbuhbVsE/awcSiykDRM/Iau2x3E5Nc9nfqcOsOWLwjeRKkwKG7QiO194H4 85IJlPln15lZyHD0TigUtzJlDG5syMjQoaP/DBLJ2+QwvgyJRdo6o+TlJztBoYvqtZB8 GYDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=eNJhghxgQzRKCaK4hp7xoqHh0c/IgdkbLFYJziL3vTE=; b=XaomSoJU/4bfN+lym5Af3Q3ccN2N1Y1uPGkL9gbTEIFjWk3oSoeWNACmBNEl0ssGma E9K2SmGgZWUNhyVHlklqohIwCZ6kC0nK5kKKXaDnVkzojJO6BbesPaFVnPH0OyVhiWyc gbQqS4omPSYEfg4+VbeQXod5/1JwJmmhCvqQWAxoVfn1Tn0i3tTiqABAIpug/eIlfCkQ Y20ZeOrE71zYDuEetbyOm8nylL4UHx3ZFEKSqxEIlTmxMkq/SwlY3tTpyGRQPy930Dw5 awP522frj1rTL1umQNdyekb6eIr4Y4+TEE2vEtLNPoU4tsYfeh7HjUzEfIFUzNporV7i zUww== X-Gm-Message-State: AOAM5335+qsp/WIs2Gz79+b6qR3ECoj3orgJ+Ab3No6/LPlo1YQI3KFh bnmkiAbzPJfQ9p4p5PUP8D9L3/8xuPTz5odieaZM9B8cl5w= X-Google-Smtp-Source: ABdhPJyR0m06QYMqD18GNyw6DmCSjC2FQadCWmymWWFe5RNaZT54hNysr/yCo7lcNmSlejD0tvOQGTf9FAvOVb4b4YY= X-Received: by 2002:a05:6e02:1445:: with SMTP id p5mr13064930ilo.164.1637952350500; Fri, 26 Nov 2021 10:45:50 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Reply-To: scott@gasch.org From: Scott Gasch Date: Fri, 26 Nov 2021 10:45:24 -0800 Message-ID: Subject: Custom static route not applied at reboot To: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000002bd2705d1b58076" X-Rspamd-Queue-Id: 4J13bp1lP4z3v66 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=fROZUKaU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of scottgasch@gmail.com designates 2607:f8b0:4864:20::133 as permitted sender) smtp.mailfrom=scottgasch@gmail.com X-Spamd-Result: default: False [-1.06 / 15.00]; HAS_REPLYTO(0.00)[scott@gasch.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.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)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(0.94)[0.940]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::133:from]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N --00000000000002bd2705d1b58076 Content-Type: text/plain; charset="UTF-8" Hi, I have a FreeBSD 13.0-RELEASE-p4 system that runs openvpn in a vnet jail to create a site-to-site VPN. This works great except for one detail: I want the host system to add a static route to send traffic for the other side of the VPN to the IP address of the vnet jail to use it as a gateway. I tried this in rc.conf: static_routes="vpn" route_vpn="-net 192.168.0.0/24 10.0.0.225" This is trying to add route -net 192.168.0.0/24 10.0.0.25. On reboot, this route is not present in the routing table and must be manually added. When it's manually added the vpn works great. I'm using the igb driver; searching around I saw an ~recent errata about it (https://www.freebsd.org/security/advisories/FreeBSD-EN-20:09.igb.asc) that didn't look super relevant(?) I don't think that the jail need be alive and running for the host to add a routing table entry so I don't think this could be a startup race condition. Is that right? Can anyone tell me what I'm doing wrong here or give me an idea of what to investigate? Thx, Scott --00000000000002bd2705d1b58076-- From nobody Fri Nov 26 22:01:22 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D166418C7885 for ; Fri, 26 Nov 2021 22:01:35 +0000 (UTC) (envelope-from bT.vt05i3uu20=ezz0dn736e6y=rjisr9qj63@em481160.radel.com) Received: from a1i475.smtp2go.com (a1i475.smtp2go.com [43.228.185.219]) (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 4J17xW4lSWz4hlj for ; Fri, 26 Nov 2021 22:01:35 +0000 (UTC) (envelope-from bT.vt05i3uu20=ezz0dn736e6y=rjisr9qj63@em481160.radel.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:From:To:Subject:Date: Message-ID:Reply-To:Sender:List-Unsubscribe; bh=TwfuZ1mg+wtxqBaDOtty0utyaAawlqj3xpEuaVp2mHY=; b=e7Cqfmo35jtDZppnZsxmytfS1J ZEksDPOXr3N8sqxE8l4TCrGZRS09EbRrFlkcwjSgYhQFASxEezIQuLdE0ur+uLaxgKLpLrxvlz6Tp 03vrpVYQ3/A2TZs7MW997sroFaO6XDPk6KUH6kxwC99w16zvZxyoTGtLtxpBwDkvvkX/HE/Og1C8v SdOuER0BHWJdYEbkxmZxB3zMQGvPKv3RnGFffz15a6DxGc3XI9AqnJF8tcfeoGGtvZpZN/1ZctI3f XUuF83Hj5yyAQQyi7ABs8DG2c1WYhOl9IiMzoc/HgS6PFsW6Rkd9mLiTNMX62nUTwkxAFIYbD7VdS Cx/WixCw==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; i=@radel.com; q=dns/txt; s=s481160; t=1637964095; h=from : subject : to : message-id : date; bh=TwfuZ1mg+wtxqBaDOtty0utyaAawlqj3xpEuaVp2mHY=; b=IDuyqLpqot7QAurwSJsqlHWhJ6GU0XKbV4gBNYl+/DcVOLP81ewawynWdvfzSnoWDSx0h uqBRXhxM3Wrn1TUknguC6ZuaOI7cKCrvOg8VcozoLrGbq/Y+9cVm+YK9nD+ymjmpf6aTShG u/VNlANBXWH4AToheslWfzzwcRv8iWlppZbEYDIMjaQGTMYej1JbYAQS+Jr0fTuFHBN2Xus BKYlDNbTfUYTm6sifIhu6LPuxTl0Yi/r/snV0bkppV/JjAlrwKY7UvlKXKpcJKyjDuLaLtE 8T2MgzAEhTrcgppSoCOv+gQ3T88pFwW9qjhbgdwaLSMIChNCJ3Oq37mU8ZBQ== Received: from [10.173.255.233] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1mqjHa-bD9lBu-SX; Fri, 26 Nov 2021 22:01:27 +0000 Received: from [10.54.198.107] (helo=smtp.aws.radel.com) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2-S2G) (envelope-from ) id 1mqjHa-IbZttY-8b; Fri, 26 Nov 2021 22:01:26 +0000 Received: from radel.com (fly.radel.com [70.184.242.170]) by smtp.aws.radel.com (Postfix) with ESMTPS id 686BF7D1E8; Fri, 26 Nov 2021 22:01:25 +0000 (UTC) X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.19.2 (ClamAV engine v0.99.2) X-ExtFilter: Niversoft's DomainKeys Helper DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; d=radel.com; s=20170108.radel; h=Message-ID:Date:MIME-Version:User-Agent:Subject:Content-Language: To:References:From:In-Reply-To:Content-Type; b=Z2quBOmRNkytwUDdx6CdIlRSQ9fJjrDfVsDa4PETPkaJ2t0gQMrxKJ2HWVjobAlVIP MhWO/hc51bdpk0cCF0IYkvJYlHJsWCRkkT95uS6H5JaWTGG21dVaqAbUnEHVIg1Yeorh sE4cpS3FeK6+t9eouP/xOwPxPlIW+/alxWOTkp5ltekBSkO1dNe5kGz1eEkG9iqAAP0p g5/YSs0VYqwF0bRvoUnsjxLjwEbpZXiZjUQZRESSWB3Fc1RcHNqLvm93umb660ZwOgjb EkZUCEG7DwqMEJV2qu+uiXLtic47P9bj/VU+Ogm/2VBihon+CxkHFsqxP/CQ2RcBVECX v0Zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radel.com; s=20170108.radel; t=1637964085; x=1638568885; q=dns/txt; h=Message-ID:Date:MIME-Version:User-Agent:Subject: Content-Language:To:References:From:In-Reply-To:Content-Type; bh=TwfuZ1mg+wtxqBaDOtty0utyaAawlqj3xpEuaVp2mHY=; b=eBCokc3grQEWY BdYWvr0+Keg5UG3Lco1mJJJLv7e7cRueDpjSQ5kOXQwWu8Y5TOGd1RyFG1bPNPIQ B4Rbqa4lAeEX4l8oFnOjsW5jikNdzOZiN9vIdjiqoTAk9uq+aHBU/T0eNqDNzL73 dcqavcytoh5Pw6izWsvjbO30xl7yPWQpLRbAwut7b1jDQo3MrIz79aoz2lVzMvZr BifEdbWtyfNqYKoErXAq0h92lFHWFpqOnxGzl13RHplCE/C/eW43WTAyz/7/9EL/ mUoRCNlhiflswXEedpUy27bNoBwWWGsontQFYxskaWSoa69Mb/WLSlKrfEnyWzQL m/oLkAvIg== Received: from [2001:470:880a:4389:146e:f2f0:c6e9:dd38] (account jon@radel.com HELO [IPV6:2001:470:880a:4389:146e:f2f0:c6e9:dd38]) by radel.com (CommuniGate Pro SMTP 6.1.14 _community_) with ESMTPSA id 2623487; Fri, 26 Nov 2021 22:01:25 +0000 Message-ID: Date: Fri, 26 Nov 2021 17:01:22 -0500 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Custom static route not applied at reboot Content-Language: en-US To: scott@gasch.org, freebsd-questions References: From: Jon Radel In-Reply-To: Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms080507090807000304000707" X-Smtpcorp-Track: 1XqMHamPZttY8P.oZk3pg6AcMtpv Feedback-ID: 481160m:481160a0-_gX2:481160sSNbjxuZ-E X-Report-Abuse: Please forward a copy of this message, including all headers, to X-Rspamd-Queue-Id: 4J17xW4lSWz4hlj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a cryptographically signed message in MIME format. --------------ms080507090807000304000707 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/26/21 13:45, Scott Gasch wrote: > Hi, > > I have a FreeBSD 13.0-RELEASE-p4 system that runs openvpn in a vnet jail to > create a site-to-site VPN. This works great except for one detail: I want > the host system to add a static route to send traffic for the other side of > the VPN to the IP address of the vnet jail to use it as a gateway. I tried > this in rc.conf: > > static_routes="vpn" > route_vpn="-net 192.168.0.0/24 10.0.0.225" > The man page for rc.conf on my 13.0-whatever system seems to say that static_routes="vpn" route_vpn="-net 192.168.0.0/24 -gateway 10.0.0.225" might work better.  While the details blur after this many versions of FreeBSD (and OpenBSD) I vaguely recall learning long ago that even when the man page says something like "whose contents will later be passed to a 'route add' operation," sometimes it doesn't actually mean that the literal string will be passed as is to the mentioned command, but rather that the appropriate values will be picked out of the string in rc.conf and something useful done with them. -- --Jon Radel jon@radel.com --------------ms080507090807000304000707 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cx8wggUHMIID76ADAgECAhB5XQyLMmNrxQZbFPpI0J5EMA0GCSqGSIb3DQEBCwUAMIGWMQsw CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm b3JkMRgwFgYDVQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENs aWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMB4XDTIxMDMwMTAwMDAw MFoXDTI0MDIyOTIzNTk1OVowHjEcMBoGCSqGSIb3DQEJARYNam9uQHJhZGVsLmNvbTCCASIw DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANfZ5xF1DnwwfsRmizR7hi6H8jSNJVzYB5Dv MoOyDTsk2itmWaDNsrwsgvfIu9kiM6bluirq15ENIeovazDM90XvsDHvyb2Dc5dwirCskq+F DVOeoOJmeEkPG9ZQjkjbOvLDlTb0ttNVlHZkHfVRfpvHrnK7ChaDFlzhZJkm50Bfceh+j6FV nW41Bkt8l35GWnQmB0h8IaDa0BdEt74xahd5dyGXhPZ+VIZE1eFnPgJQ/Q0p0p/dVoIru3Km cQaaGsnC86CgPMhkCGMK4CRcyUxCbkTiQWXjALl6salNEHUmgcDUPxlCrxNsPQDesyeopBmI LIJ1YZresQBMf1n/OXUCAwEAAaOCAcYwggHCMB8GA1UdIwQYMBaAFAnA8vwL2pTbX/4r36iZ Qs/J4K0AMB0GA1UdDgQWBBS0K1Ke3seqYfUib4TO/HMXt+sW8TAOBgNVHQ8BAf8EBAMCBaAw DAYDVR0TAQH/BAIwADAdBgNVHSUEFjAUBggrBgEFBQcDBAYIKwYBBQUHAwIwQAYDVR0gBDkw NzA1BgwrBgEEAbIxAQIBAQEwJTAjBggrBgEFBQcCARYXaHR0cHM6Ly9zZWN0aWdvLmNvbS9D UFMwWgYDVR0fBFMwUTBPoE2gS4ZJaHR0cDovL2NybC5zZWN0aWdvLmNvbS9TZWN0aWdvUlNB Q2xpZW50QXV0aGVudGljYXRpb25hbmRTZWN1cmVFbWFpbENBLmNybDCBigYIKwYBBQUHAQEE fjB8MFUGCCsGAQUFBzAChklodHRwOi8vY3J0LnNlY3RpZ28uY29tL1NlY3RpZ29SU0FDbGll bnRBdXRoZW50aWNhdGlvbmFuZFNlY3VyZUVtYWlsQ0EuY3J0MCMGCCsGAQUFBzABhhdodHRw Oi8vb2NzcC5zZWN0aWdvLmNvbTAYBgNVHREEETAPgQ1qb25AcmFkZWwuY29tMA0GCSqGSIb3 DQEBCwUAA4IBAQAv6HwEExfiqgIM0g2RrZhHXOqxDnnfjxf4Dv6+GruTySmeaZyq9mDQ65a9 jTPNvGlS0gssCsPp7A0K+UFa7QhqVnk42PguHRsJ3BKjoW2dh2dcGNl/S1Lc6+32xpPB9d++ YZ4u30MQshoj6c5w6wt9OBVs6qdUG3+Vv9NEq1ZON07WNs61NGrcCThFloktL12eAhqmZuoy HJ47B1e9UWGlcWV5lG3sIUh6CwRlFxqx6FD5XukUDkt48iLoRSKqXcqi7o9RnQa61dUdLQGj FdhiWnJgqb9jELrKq5jg8Bgj800FpxRGX2Hj0E/DMy7AmimK/61V2oDalpPe6R5hZwaJMIIG EDCCA/igAwIBAgIQTZQsENQ74JQJxYEtOisGTzANBgkqhkiG9w0BAQwFADCBiDELMAkGA1UE BhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4wHAYD VQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0EgQ2Vy dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTgxMTAyMDAwMDAwWhcNMzAxMjMxMjM1OTU5WjCB ljELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMH U2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMT4wPAYDVQQDEzVTZWN0aWdvIFJT QSBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTCCASIwDQYJKoZI hvcNAQEBBQADggEPADCCAQoCggEBAMo87ZQKQf/e+Ua56NY75tqSvysQTqoavIK9viYcKSoq 0s2cUIE/bZQu85eoZ9X140qOTKl1HyLTJbazGl6nBEibivHbSuejQkq6uIgymiqvTcTlxZql 19szfBxxo0Nm9l79L9S+TZNTEDygNfcXlkHKRhBhVFHdJDfqB6Mfi/Wlda43zYgo92yZOpCW jj2mz4tudN55/yE1+XvFnz5xsOFbme/SoY9WAa39uJORHtbC0x7C7aYivToxuIkEQXaumf05 Vcf4RgHs+Yd+mwSTManRy6XcCFJE6k/LHt3ndD3sA3If/JBz6OX2ZebtQdHnKav7Azf+bAhu dg7PkFOTuRMCAwEAAaOCAWQwggFgMB8GA1UdIwQYMBaAFFN5v1qqK0rPVIDh2JvAnfKyA2bL MB0GA1UdDgQWBBQJwPL8C9qU21/+K9+omULPyeCtADAOBgNVHQ8BAf8EBAMCAYYwEgYDVR0T AQH/BAgwBgEB/wIBADAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwEQYDVR0gBAow CDAGBgRVHSAAMFAGA1UdHwRJMEcwRaBDoEGGP2h0dHA6Ly9jcmwudXNlcnRydXN0LmNvbS9V U0VSVHJ1c3RSU0FDZXJ0aWZpY2F0aW9uQXV0aG9yaXR5LmNybDB2BggrBgEFBQcBAQRqMGgw PwYIKwYBBQUHMAKGM2h0dHA6Ly9jcnQudXNlcnRydXN0LmNvbS9VU0VSVHJ1c3RSU0FBZGRU cnVzdENBLmNydDAlBggrBgEFBQcwAYYZaHR0cDovL29jc3AudXNlcnRydXN0LmNvbTANBgkq hkiG9w0BAQwFAAOCAgEAQUR1AKs5whX13o6VbTJxaIwA3RfXehwQOJDI47G9FzGR87bjgrSh fsbMIYdhqpFuSUKzPM1ZVPgNlT+9istp5UQNRsJiD4KLu+E2f102qxxvM3TEoGg65FWM89YN 5yFTvSB5PelcLGnCLwRfCX6iLPvGlh9j30lKzcT+mLO1NLGWMeK1w+vnKhav2VuQVHwpTf64 ZNnXUF8p+5JJpGtkUG/XfdJ5jR3YCq8H0OPZkNoVkDQ5CSSF8Co2AOlVEf32VBXglIrHQ3v9 AAS0yPo4Xl1FdXqGFe5TcDQSqXh3TbjugGnG+d9yZX3lB8bwc/Tn2FlIl7tPbDAL4jNdUNA7 jGee+tAnTtlZ6bFz+CsWmCIb6j6lDFqkXVsp+3KyLTZGXq6F2nnBtN4t5jO3ZIj2gpIKHAYN BAWLG2Q2fG7Bt2tPC8BLC9WIM90gbMhAmtMGquITn/2fORdsNmaV3z/sPKuIn8DvdEhmWVfh 0fyYeqxGlTw0RfwhBlakdYYrkDmdWC+XszE19GUi8K8plBNKcIvyg2omAdebrMIHiAHAOicz xX/aS5ABRVrNUDcjfvp4hYbDOO6qHcfzy/uY0fO5ssebmHQREJJA3PpSgdVnLernF6pthJrG kNDPeUI05svqw1o5A2HcNzLOpklhNwZ+4uWYLcAi14ACHuVvJsmzNicxggQyMIIELgIBATCB qzCBljELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UE BxMHU2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBMaW1pdGVkMT4wPAYDVQQDEzVTZWN0aWdv IFJTQSBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQeV0MizJj a8UGWxT6SNCeRDANBglghkgBZQMEAgEFAKCCAlcwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH ATAcBgkqhkiG9w0BCQUxDxcNMjExMTI2MjIwMTI0WjAvBgkqhkiG9w0BCQQxIgQgdDJbBR2Y PxEnnr9Qeu+fzC665Aj9Z/iWjq2iH7SUzAAwbAYJKoZIhvcNAQkPMV8wXTALBglghkgBZQME ASowCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBvAYJKwYBBAGCNxAEMYGuMIGrMIGWMQsw CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm b3JkMRgwFgYDVQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENs aWVudCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhB5XQyLMmNrxQZbFPpI 0J5EMIG+BgsqhkiG9w0BCRACCzGBrqCBqzCBljELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEYMBYGA1UEChMPU2VjdGlnbyBM aW1pdGVkMT4wPAYDVQQDEzVTZWN0aWdvIFJTQSBDbGllbnQgQXV0aGVudGljYXRpb24gYW5k IFNlY3VyZSBFbWFpbCBDQQIQeV0MizJja8UGWxT6SNCeRDANBgkqhkiG9w0BAQEFAASCAQDF 86ic+P4grjWTRL3I50vG8PNwLWtBjBbp3hoymEQDMCDidAnLzcj6qO7rKXJsQUdag5w3PATz 8VaD6EWL2q361Ql5LSDNuykh9NGfpg8MCsRoWPmoqxoP4fspJAd5SCeXl8Oo5dY3y4QNvNz8 4SKxFUg1Qb2gpTuM4ac5pjll5IRMefT5lQQ+rXgx3e9cDfP3aYwlbYSmNUeSg2l0YFAx8qeH ++gWDD8kO9BFxaZG1taIaEfS7zmBIBKqdhWb9P/a5ehHziZ/idK+GhK0b72QWj/c5o105hC/ WLpFzmD7SQfinp2ikV0QaR/wpuSvWiivMIdeMg9CvC5AzyAmARQ1AAAAAAAA --------------ms080507090807000304000707-- From nobody Fri Nov 26 23:13:43 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D104118A3137 for ; Fri, 26 Nov 2021 23:14:10 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J19YG55pDz3LYC for ; Fri, 26 Nov 2021 23:14:10 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: by mail-io1-xd30.google.com with SMTP id v23so13236324iom.12 for ; Fri, 26 Nov 2021 15:14:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=BXQPDIy9wH1bJeklog0omO9pCbpKQuoRKGNfozY0SPk=; b=g2O110JeDIHRA4lNG9vopkBfcqCVh6ADKsvNHfllUvsv3v/5YWCOREqA6CSLT2Rkm9 CRjRyGujN80jTr4VD46bVtSlQwRYPaZppHCwRbLA7+3NBDmCxqTfrKS8FtqGJnT0Hv75 VH285EmwIGkGxKY3/J5oNohs0VcTuM7CgxNHTusMawH9w7AVHpmzegzD+lnLOSSdb1gJ SDmF59iDT9Pvm1Dd3GAZw62tnA+3cfWjrHO8gNLOndhKqgojn4+HjO8rqYMEbJjIF4lc 2wLbtXe6Le+YxAa1sIcYhvo3DvhBchoQGelCwO2s6rL7HX778/7qA3cPic5jxHE9tDGo KNEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=BXQPDIy9wH1bJeklog0omO9pCbpKQuoRKGNfozY0SPk=; b=2vPmRHVUZeIM7yb46a/1KiIXyaH7OXnIefqr4rrfSuP89VKoa1710vPrIh9yVCKR1l IY4FvqdwdG4AAw6g5l/bVBfs+4AgCRzzAWa/3JUlFNR3kfmhIipgMa0oWbhqO4ldOeYJ GWQpzfvo+tebf0rsZ7jRFTMtsDdcnuTt8WYYW3pwWHRpSjFcOPn26Dxb1OZkAnx2hxc0 Y/tRqPVXfKZQ3ERcGc7exjlkU2NnjPjNk2qsb70dd2AgsXgkI1ep3FSIs0a8d//Lsi+w MglZ/A0Jq5ZvFqwDPKd595ZERoSG7v6VF1JCqwFiDE0QJ9mQboy6QhpY4LcoTnxkI4yv s7zw== X-Gm-Message-State: AOAM530miLN+/dJuPN3Skxh8DVoYpPWlekXodOSmYgOixSytV9skQ9PV rPxxXT6nXJZUBgkB36PIxJOUKTGfDmHe6j9mMVFIoaLBoUI= X-Google-Smtp-Source: ABdhPJx2rYMiGr9m2JsVy3pvTGtEVTUNdIpFJCX2x6tDVOVYg7jb/N1/ldA7ni9KFUVqiiRUElnsIygkkVGRXuLunp8= X-Received: by 2002:a05:6638:3049:: with SMTP id u9mr47936904jak.132.1637968449727; Fri, 26 Nov 2021 15:14:09 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: Reply-To: scott@gasch.org From: Scott Gasch Date: Fri, 26 Nov 2021 15:13:43 -0800 Message-ID: Subject: Re: Custom static route not applied at reboot To: Jon Radel Cc: freebsd-questions Content-Type: multipart/alternative; boundary="00000000000099717705d1b93f63" X-Rspamd-Queue-Id: 4J19YG55pDz3LYC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000099717705d1b93f63 Content-Type: text/plain; charset="UTF-8" Well, I was going to say "thanks a million, that worked great" (and, in fact, did but from the wrong email address so it bounced). But then a weird thing happened. When I followed Jon's advice and added the -gateway to rc.conf it seemed to work. I rebooted, the route was there. Great. I starting pinging the other side. A few pings in it stopped. In another console I looked and the route had disappeared again. I have heard that when an interface goes down/up it loses its routes. I do see the interface (igb0) flapping around in /var/log/messages: Nov 26 14:53:04 hero kernel: igb0: port 0xd000-0xd01f mem 0xfc600000-0xfc61ffff,0xfc620000-0xfc623fff at device 0.0 on pci4 Nov 26 14:53:04 hero kernel: igb0: Using 1024 TX descriptors and 1024 RX descriptors Nov 26 14:53:04 hero kernel: igb0: Using 2 RX queues 2 TX queues Nov 26 14:53:04 hero kernel: igb0: Using MSI-X interrupts with 3 vectors Nov 26 14:53:04 hero kernel: igb0: Ethernet address: 04:42:1a:06:b8:84 Nov 26 14:53:04 hero kernel: igb0: netmap queues/slots: TX 2/1024, RX 2/1024 ... Nov 26 14:53:04 hero kernel: bridge0: Ethernet address: 58:9c:fc:00:40:4a Nov 26 14:53:04 hero kernel: lo0: link state changed to UP Nov 26 14:53:04 hero kernel: igb0: promiscuous mode enabled Nov 26 14:53:04 hero kernel: bridge0: link state changed to UP Nov 26 14:53:04 hero kernel: pflog0: promiscuous mode enabled *Nov 26 14:53:04 hero kernel: igb0: link state changed to UP* ... ntpd ... Nov 26 14:53:24 hero kernel: epair0a: Ethernet address: 02:a5:63:ce:6f:0a Nov 26 14:53:24 hero kernel: epair0b: Ethernet address: 02:a5:63:ce:6f:0b Nov 26 14:53:24 hero kernel: epair0a: link state changed to UP Nov 26 14:53:24 hero kernel: epair0b: link state changed to UP Nov 26 14:53:24 hero kernel: epair0a: changing name to 'vnet0.1' *Nov 26 14:53:25 hero kernel: igb0: link state changed to DOWN* Nov 26 14:53:25 hero kernel: vnet0.1: promiscuous mode enabled Nov 26 14:53:25 hero kernel: lo0: link state changed to UP Nov 26 14:53:29 hero kernel: lo1: link state changed to UP *Nov 26 14:53:29 hero kernel: igb0: link state changed to UP* Nov 26 14:53:29 hero kernel: epair1a: Ethernet address: 02:1b:17:53:71:0a Nov 26 14:53:29 hero kernel: epair1b: Ethernet address: 02:1b:17:53:71:0b Nov 26 14:53:29 hero kernel: epair1a: link state changed to UP Nov 26 14:53:29 hero kernel: epair1b: link state changed to UP Nov 26 14:53:29 hero kernel: epair1a: changing name to 'vnet0.4' Nov 26 14:53:29 hero kernel: epair1b: changing name to 'epair0b' Nov 26 14:53:29 hero kernel: vnet0.4: promiscuous mode enabled Nov 26 14:53:29 hero kernel: lo0: link state changed to UP Nov 26 14:53:31 hero kernel: pflog0: promiscuous mode enabled Nov 26 14:53:31 hero kernel: tun0: link state changed to UP Nov 26 14:53:35 hero dhclient[3919]: New IP Address (igb0): 10.0.0.208 Nov 26 14:53:35 hero dhclient[3923]: New Subnet Mask (igb0): 255.255.255.0 Nov 26 14:53:35 hero dhclient[3927]: New Broadcast Address (igb0): 10.0.0.255 Nov 26 14:53:35 hero dhclient[3931]: New Routers (igb0): 10.0.0.1 *// note: lines below here coming in via remote syslog from the vnet jail as openvpn starts up* Nov 26 14:54:04 10.0.0.225 openvpn[89305]: PUSH: Received control message: 'PUSH_REPLY,route 10.0.0.0 255.255.255.0,compress lz4-v2,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,route 10.0. 0.0 255.255.255.0,ifconfig 10.8.0.8 255.255.255.0,peer-id 0,cipher AES-256-GCM' Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: timers and/or timeouts modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: compression parms modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: --ifconfig/up options modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: route options modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: route-related options modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: peer-id set Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: adjusting link_mtu to 1625 Nov 26 14:54:04 10.0.0.225 openvpn[89305]: OPTIONS IMPORT: data channel crypto options modified Nov 26 14:54:04 10.0.0.225 openvpn[89305]: Data Channel: using negotiated cipher 'AES-256-GCM' Nov 26 14:54:04 10.0.0.225 openvpn[89305]: Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key Nov 26 14:54:04 10.0.0.225 openvpn[89305]: Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key Nov 26 14:54:04 10.0.0.225 openvpn[89305]: Preserving previous TUN/TAP instance: tun0 Nov 26 14:54:04 10.0.0.225 openvpn[89305]: Initialization Sequence Completed Is it possible that the route is applied and then vanishes when that interface goes up/down? I have not played with bridging before -- this is my first jail with vnet. Does all of this stuff about epair[0-1][a-b] and vnet* look reasonable given this config (rc.conf): cloned_interfaces="${cloned_interfaces} lo1 bridge0" ifconfig_bridge0="addm igb0 up" Have I perhaps messed something up when setting up the vnet? It "works" fine once this route is applied and it stays put. Thx, Scott On Fri, Nov 26, 2021 at 2:01 PM Jon Radel wrote: > On 11/26/21 13:45, Scott Gasch wrote: > > Hi, > > > > I have a FreeBSD 13.0-RELEASE-p4 system that runs openvpn in a vnet jail > to > > create a site-to-site VPN. This works great except for one detail: I > want > > the host system to add a static route to send traffic for the other side > of > > the VPN to the IP address of the vnet jail to use it as a gateway. I > tried > > this in rc.conf: > > > > static_routes="vpn" > > route_vpn="-net 192.168.0.0/24 10.0.0.225" > > > The man page for rc.conf on my 13.0-whatever system seems to say that > > static_routes="vpn" > route_vpn="-net 192.168.0.0/24 -gateway 10.0.0.225" > > might work better. While the details blur after this many versions of > FreeBSD (and OpenBSD) I vaguely recall learning long ago that even when > the man page says something like "whose contents will later be passed to > a 'route add' operation," sometimes it doesn't actually mean that the > literal string will be passed as is to the mentioned command, but rather > that the appropriate values will be picked out of the string in rc.conf > and something useful done with them. > > > -- > --Jon Radel > jon@radel.com > > --00000000000099717705d1b93f63-- From nobody Fri Nov 26 23:26:46 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 314BC18A9870 for ; Fri, 26 Nov 2021 23:27:23 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J19rW0flPz3Qcw for ; Fri, 26 Nov 2021 23:27:23 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x12c.google.com with SMTP id c32so27705056lfv.4 for ; Fri, 26 Nov 2021 15:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4qpmrSg4WmNhFyaDdwv7Jl7qEUgSU7LEAfD7Qcxv3Qs=; b=q31xZGdRbAJUjTnjrUU9Z8BGsGklGb5k1vkplDzSbMRcaofftIzY24WYVNdC/v955b 4j1TNzGJ739xuLOk4g55Rxav/Tw5Q6cuH5SDjxVhEt1dNsTCGcNsZeE9H8hvJC3TLz0e fO7FrOUf5IAvt6e0nKJRJEOTkuy5MOgplJ0ZDa8+Lk459zQFhUTAs5bVDJmtSxS0lLdn OiyxJTP0oZcoZKXlqiDQk+ZpIz8JOJxL+c1eY66iSQjVQ+GhC++h9wAEwjmqi67NYb+N BQWBevj8RbVaFPPNXcjo/LLahvT2u3orLpO9GUJak6p1G4+S59IFHrOI3oJw+HFGgJLF qFiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4qpmrSg4WmNhFyaDdwv7Jl7qEUgSU7LEAfD7Qcxv3Qs=; b=HvMxLgt6RBGzSBTdHQrjV0QMDgt7ZLFbV8OCW5SbYl2Sm1FFtvh01GNAYS8EdOlcQt gQ0BKeZh21fSqC/L8pr15zJnBnNEnx+sCuj1bAWyWtFA6CiagcnPlWF8a50vzwztIdB8 Nm9WIw8Y7xgF4c0ZdhiHiXX3EwWhX3736Z2Fyx/wE060KyHnPkBu1Ph5KRqWzedHwQMu bthPRTailMxk6V7gBTzFqPfTUgkzaohZOps49PJfDdgP84DojJEu8ensDco4yysiBD9y BVETYq3Lr7TAz3be2TdqufaUqf4Tp3wAgRrBL0tde34xC22+Ei9c+etCy9PfLPJTuLwt rPGA== X-Gm-Message-State: AOAM5304HSkf204+1he5lb+jktfpMUQYyz/NYaezLXvUPjBtbMOk74RK 1aT+y95BlPs11FZmkyOZs+iOAoLBLVSE1YjyNJ+PyA== X-Google-Smtp-Source: ABdhPJwmVrU6Z4Is+fWU7XtP+rsqDBBOR1Q88olDYIqI2j+VHb9KCXvXn4JmceWE5hVHTHH3DCfBP6gf5Q8mlOdLQxY= X-Received: by 2002:a05:6512:b15:: with SMTP id w21mr32151227lfu.11.1637969241620; Fri, 26 Nov 2021 15:27:21 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Michael Sierchio Date: Fri, 26 Nov 2021 15:26:46 -0800 Message-ID: Subject: Re: Custom static route not applied at reboot To: scott@gasch.org Cc: Jon Radel , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000ccd52005d1b96ea3" X-Rspamd-Queue-Id: 4J19rW0flPz3Qcw X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000ccd52005d1b96ea3 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 26, 2021 at 3:14 PM Scott Gasch wrote: Is it possible that the route is applied and then vanishes when that > interface goes up/down? More than possible. --000000000000ccd52005d1b96ea3-- From nobody Sat Nov 27 04:24:25 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D318318A565B for ; Sat, 27 Nov 2021 04:24:59 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J1JRv3kdPz4fC3 for ; Sat, 27 Nov 2021 04:24:59 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: by mail-il1-x12e.google.com with SMTP id i6so11064118ila.0 for ; Fri, 26 Nov 2021 20:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=X3+AhAfAzPJXlUlk2Mc8r+rJoMqw1ERlCN5uq8wU7/Y=; b=Befvhgo3UXqX+9O2+V0xhz24u0EnDIV98dA0nSQ+cxYU0/iBbtSceOWx2m9eBpqc1B jnKaMUY/qlHh7clNnIP/G4pW1Lmty8WBbFZeNhJzgec5Eun5EtfkfsoT2PMw+c83jCva CEtIuh/YZjrqEZLCCUfmEjgBIdln93Blln6ZDV7kmr/PYtuCOg9uc374wmw1BQ8F6oRK mkXigpP+TOcQ4NO6fzokup9HMlYklSICQ6mUwGHQ5XMOWSW9glaKdEU9bPF37n2iTmqM zOdh/BPsoU2I6T5jgkTKMHFNN2s3PXS54En87Tewljv8SBX88NfCPjNvfSnuaIRkVa0W oJXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=X3+AhAfAzPJXlUlk2Mc8r+rJoMqw1ERlCN5uq8wU7/Y=; b=1kQctfUH3JhRyy2N1gwV/Bn63p71gYSDBkL1/uz/1HESiSAHWNTjZEBfi4C4+bMc2G 1/63Z08Gw9hh9z1HClQqhbUqm+PK9a6QPXQBMD7XM/ASx6k55hQ0j0PlP6BuPqq+kRMC GXchiZEM1at1S53tIffq2dcPDhUNtSjIrQowh13p3ZdRV+BWLqpLvuxQ5IpdMoeweE26 w+UHDmYclsKPAMlpNH3mMygq1GYM6GmqpNB9y6FplHd3+dZZbznW2j+DDzk1DX221JPL 1trpBwFaOUdi5vaKVfxXOuNYZtPD+D0YvmKTK7JITr+7wgCaheGRKB4t68JJqzV5Lolf cbFQ== X-Gm-Message-State: AOAM5319zmIvSWQweps8P/3DeeDPKb+KEuiNFg3h7pZEfE6dveI0tgW9 pegeCRTX3MQoT55rdZAz0+B/93rKOL1/mgMlroUjqY5B X-Google-Smtp-Source: ABdhPJyZj8CsuaAVcBoVs8Luh1SWdV8Y5BWm/VX2yD4dUmQeu/Q+FXn+s2etv89cghjJHE9df3tKZqxNXfMDhqioXNU= X-Received: by 2002:a05:6e02:1445:: with SMTP id p5mr16913657ilo.164.1637987092642; Fri, 26 Nov 2021 20:24:52 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: Reply-To: scott@gasch.org From: Scott Gasch Date: Fri, 26 Nov 2021 20:24:25 -0800 Message-ID: Subject: Re: Custom static route not applied at reboot To: Michael Sierchio Cc: Jon Radel , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000cdc13205d1bd9675" X-Rspamd-Queue-Id: 4J1JRv3kdPz4fC3 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_FROM(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000cdc13205d1bd9675 Content-Type: text/plain; charset="UTF-8" Any suggested remedy other than a sleep 20; route add -net 192.168.0.0/24 -gateway 10.0.0.225 in my rc.local? There must be a less ugly way than that, no? On Fri, Nov 26, 2021 at 3:27 PM Michael Sierchio wrote: > > > On Fri, Nov 26, 2021 at 3:14 PM Scott Gasch wrote: > > Is it possible that the route is applied and then vanishes when that >> interface goes up/down? > > > More than possible. > --000000000000cdc13205d1bd9675-- From nobody Sun Nov 28 16:38:00 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BBB1818B6A91 for ; Sun, 28 Nov 2021 16:37:56 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4J2Dg83S4Zz3m74 for ; Sun, 28 Nov 2021 16:37:56 +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)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id DEFEC17FD7F for ; Sun, 28 Nov 2021 11:37:49 -0500 (EST) Date: Sun, 28 Nov 2021 11:38:00 -0500 (EST) From: Doug Denault To: questions@freebsd.org Subject: Re: pkg-alias(8) (was: pkg prime-origins is not a separate command) Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4J2Dg83S4Zz3m74 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; local_wl_ip(0.00)[147.160.157.114] X-ThisMailContainsUnwantedMimeParts: N On Mon, 22 Nov 2021, Graham Perrin wrote: > On 21/11/2021 04:43, Doug Denault wrote: > > > secret > > I discovered aliases through FreeBSD Forums, but aliases are not secret. > > SEE ALSO pkg-alias(8) > Thanks for your reply. I had never, and probably would have never run 'help alias'. IMO there are three options there that give different views if your question is what did someone (maybe me) install to get this set of packages. Some of the other seem useful to you are building a package or other more esoteric uses for pkg. It's journalism 101 if you want to publish something that [almost] no one will read you: put it in paragraph 3 or later, or you put it in a different section. Not that that's the intent here, but it is the effective result. First and foremost for me, these options are not aliases. Alias has a meaning in Unix and this isn't it, depending on what is means. I'm happy to have found the prime-list option and happier yet that you pointed me to other potentially useful options. I just think how to list the base packages should obvious. _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From nobody Sun Nov 28 19:45:38 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B7ED418AE463 for ; Sun, 28 Nov 2021 19:46:54 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 4J2Js93rWsz3v6q for ; Sun, 28 Nov 2021 19:46:53 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 0A2BA45361 for ; Sun, 28 Nov 2021 20:46:46 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.919 X-Spam-Level: X-Spam-Status: No, score=-100.919 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.004, TW_ZF=0.077, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id qvBNuBVBiIEe for ; Sun, 28 Nov 2021 20:46:30 +0100 (CET) Received: from localhost (p5b2f14c7.dip0.t-ipconnect.de [91.47.20.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 8A29645354 for ; Sun, 28 Nov 2021 20:46:30 +0100 (CET) Date: Sun, 28 Nov 2021 20:45:38 +0100 From: Marco Steinbach To: questions@freebsd.org Subject: Reinstall on a geli encrypted device Message-ID: <20211128204538.00001020@executive-computing.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-w64-mingw32) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J2Js93rWsz3v6q X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of coco@executive-computing.de designates 195.96.35.7 as permitted sender) smtp.mailfrom=coco@executive-computing.de X-Spamd-Result: default: False [0.58 / 15.00]; RCVD_VIA_SMTP_AUTH(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)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[executive-computing.de]; NEURAL_SPAM_SHORT(0.78)[0.777]; NEURAL_SPAM_LONG(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:8354, ipnet:195.96.32.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[91.47.20.199:received] X-ThisMailContainsUnwantedMimeParts: N Hi there. I am trying to clean install 13 on a drive, which contains a functional geli-encrpyted zfsroot 12. I want the intaller (booted from a 13 memstick) to ignore what's on the drive. What happens is, that booting from the memstick asks me for the geli password for the drive. If I give the correct password, the installer will hang at 'can't find /boot/entropy'. If I repeatly give the wrong password, the installer also will hang at 'can't find /boot/entropy'. Pulling the drive, and dd'ing some starting sectors seems to be the only 'cure'. Is there a way to tell the installation media (in my case memstick) to not taste for whatever is there, but to ignore, and just leave me to whatever footshooting I may be up to ? MfG CoCo From nobody Sun Nov 28 21:29:27 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6502118B9925 for ; Sun, 28 Nov 2021 21:29:39 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) (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 4J2M7k2j5Fz3J5h for ; Sun, 28 Nov 2021 21:29:38 +0000 (UTC) (envelope-from sysadmin.lists@mailfence.com) Received: from ichabod.co-bxl (ichabod.co-bxl [10.2.0.36]) by wilbur.contactoffice.com (Postfix) with ESMTP id 82D26A64 for ; Sun, 28 Nov 2021 22:29:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1638134970; s=20210208-e7xh; d=mailfence.com; i=sysadmin.lists@mailfence.com; h=Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:From:Date; l=1453; bh=EJIE2iJ/2E4VPKtPJuo8dooEWtI0L9h/laqp+PTnsLI=; b=lRUVa108OcRZvStZ31MhNuxV2tuVijxLUXk62VlWLnIfi3FiPkCdrIRxxoMDkdnC NjeiWSot/nU3nDmui7S+YPzc5YW3PGT74dFZmKnl4EPt+PhL0b96fSYFn2LdNt3WDwj SK4Jh4EVneeTEmlX0d10j3cXXLpX7GHlPdjB6X0dqT3uU93LF8axsvnFt53yPqMxqOe zRCQBn/rdR5tR5kiD5PUv0jdgNJFOQ5xJTEDWG7MKVnMLuyaDK9zBDOrGB3zWvHrBl/ bTItZuiQePIyFtIzPy+ZJvA6rME76tm3psmLp3mTeEQgyhUEduGqw7UqA2fhwaBF83E KbwiC7PtLA== Message-ID: <897410370.587536.1638134966961@ichabod.co-bxl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: VirtualBox Over SSH From: Sysadmin Lists X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:312482426 Date: Sun, 28 Nov 2021 22:29:27 +0100 (CET) To: Freebsd Questions X-Rspamd-Queue-Id: 4J2M7k2j5Fz3J5h X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail ("body hash did not verify") header.d=mailfence.com header.s=20210208-e7xh header.b=lRUVa108; dmarc=pass (policy=quarantine) header.from=mailfence.com; spf=pass (mx1.freebsd.org: domain of sysadmin.lists@mailfence.com designates 212.3.242.68 as permitted sender) smtp.mailfrom=sysadmin.lists@mailfence.com X-Spamd-Result: default: False [-3.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.3.242.64/26]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.3.242.68:from]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[mailfence.com:-]; DMARC_POLICY_ALLOW(0.00)[mailfence.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_REJECT(0.00)[mailfence.com:s=20210208-e7xh]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:10753, ipnet:212.3.242.64/26, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_LOW(-0.10)[212.3.242.68:from] X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N Hi. Here's my set-up: ~:$ freebsd-version -ru 12.2-RELEASE-p7 12.2-RELEASE-p11 ~:$ pkg info | awk '/virtualbox/ {print $1}' virtualbox-ose-6.1.26_3 virtualbox-ose-additions-6.1.26_1 virtualbox-ose-kmod-6.1.26 Here's the problem: When running VirtualBox over SSH with X11-forwarding, I'm unable to start windowed virtual machines from the GUI. A window comes up saying "Creating process for virtual machine 'burp' (GUI/Qt) ... (1/2)" and nothing happens. - VMs start fine using the "Headless Start" menu option. - VMs fail to start using "Normal" or "Detachable" menu options. - VMs start fine using any of the three options locally (on the VM's host). Here's the kicker: If I'm logged in on the VM's host, both "Normal" and "Detachable" work over SSH. What is causing that, and how can I fix it so I don't have to be logged in locally on the host to start windowed instances remotely? More details: I've enable the following ExtraData items on the VM, but nothing comes up while waiting for the failed windowed session to start: setextradata burp GUI/Dbg/Enabled true setextradata burp GUI/Dbg/AutoShow true I've also tried running the windowed VM instance directly without result: ~:$ ssh burp.host "virtualboxvm --startvm burp --debug-command-line" Furthermore, log-outs hang on the VM's host if a windowed instance of the VM is running over SSH. -- Sent with https://mailfence.com Secure and private email From nobody Mon Nov 29 07:29:33 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2C47E18BAB39 for ; Mon, 29 Nov 2021 07:29:45 +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 4J2cS86Hfzz3ChP for ; Mon, 29 Nov 2021 07:29:44 +0000 (UTC) (envelope-from ml@netfence.it) Received: from [10.1.2.18] (mailserver.netfence.it [78.134.96.152]) (authenticated bits=0) by soth.netfence.it (8.17.1/8.16.1) with ESMTPSA id 1AT7TXt9019069 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 29 Nov 2021 08:29:34 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host mailserver.netfence.it [78.134.96.152] claimed to be [10.1.2.18] Message-ID: <2772c126-45d1-e4c5-3907-ad53ec4c44a9@netfence.it> Date: Mon, 29 Nov 2021 08:29:33 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: VirtualBox Over SSH Content-Language: en-US To: Sysadmin Lists , Freebsd Questions References: <897410370.587536.1638134966961@ichabod.co-bxl> From: Andrea Venturoli In-Reply-To: <897410370.587536.1638134966961@ichabod.co-bxl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4J2cS86Hfzz3ChP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 11/28/21 22:29, Sysadmin Lists wrote: > When running VirtualBox over SSH with X11-forwarding, I'm unable to start windowed virtual machines from the GUI. I've stopped using VBox (and ThunderBird, but that's another story) remotely years ago, since it simply didn't work. While I had the chance to move it to local hardware, it would be nice if it worked again. I think you should open a bug report, which will probably get more attention. bye av. From nobody Mon Nov 29 13:14:55 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C4FF618B2405 for ; Mon, 29 Nov 2021 13:21:09 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J2mFc2W2wz4pnc for ; Mon, 29 Nov 2021 13:21:08 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-il1-x131.google.com with SMTP id h16so16502157ila.4 for ; Mon, 29 Nov 2021 05:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:from:date:message-id:subject:to; bh=RMokOFhn9RzstYy0IVX5bJf6p7C8dOuCEpuCAPzLw18=; b=ZW1ecfw2FOz4fZPOqVkAsA0i1uPyEoUh/BEvExyxj3uEB75xNKpmZyC6gPHxFw73y/ aqS+Hp0lVdkRV3B+veWm3ELjj32EEQXxXXuFuQhKv8RmoL19rZ+42v00ldxiW6W3x/PN r7gJv/u87DKPip87xAvFZ4PUTvURe4cn4xaUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=RMokOFhn9RzstYy0IVX5bJf6p7C8dOuCEpuCAPzLw18=; b=AooVxzkVUAA4G/vFDiWyhuRBR1gmtR2ejyk6+938+W54aeBRpZLu4fwnkNJRMrk013 ZFwhn4wsAXhRing6x3hf1Z/wtXcKiauCJ3/InXzXaVjdJLHulMlR68vso//FjW8pBTBm b/1vcetq/ve9WTfVJW4lCSmCVUXOdsooTT7ihVrRJSLzjgqrnwvasJqQjDKgJMLDr130 VPbTMgRKylmqR7ZKhjo1zLbN2TnU0rUqhDwiaiWVtFS7193Hwye9WdCpwdyEGAop60j2 Q3QU+KU2nXUhcKp5RoDkEfNur0c8XX4YgUrJyW2dpySwhzD0F2CGOlMx2vLGbR+u3ikX y7SQ== X-Gm-Message-State: AOAM532MaWRdbMiGVYe+8MdntWOhLAU3ensa4s09OwVni86qcSSquP9K 5/Mec2nnKdmOpKaT2MR6Uwi9uoVCK68jb8wCZQiip2PRDBaqZw== X-Google-Smtp-Source: ABdhPJwpK1O8m+YINzFjTWOBDtsVmNlSL7PfH39mImJKOFEtBu2jnIo4uCGhMS73PLsxzozFHoME2st6x2lCrPCS/uA= X-Received: by 2002:a05:6e02:ca9:: with SMTP id 9mr57425127ilg.60.1638191706751; Mon, 29 Nov 2021 05:15:06 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Mario Lobo Date: Mon, 29 Nov 2021 10:14:55 -0300 Message-ID: Subject: Problems with wine To: freebsd-questions Content-Type: multipart/alternative; boundary="000000000000c1563605d1ed3a76" X-Rspamd-Queue-Id: 4J2mFc2W2wz4pnc X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=ZW1ecfw2; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-1.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.992]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.94)[-0.943]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::131:from]; NEURAL_SPAM_SHORT(1.00)[0.998]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000c1563605d1ed3a76 Content-Type: text/plain; charset="UTF-8" Hi; Running FreeBSD 14.0-CURRENT #7 main-4a847a6ccd: Thu Apr 15 19:52:34 -03 2021 Just built/installed the wine-devel port with no errors, but every time I try to run an exe (or any wine* program), i get this: ===================================== >wine winbox.exe /root/.i386-wine-pkg//usr/local/bin/wine doesn't exist! Try installing 32-bit Wine with /usr/local/share/wine/pkg32.sh install wine mesa-dri >winecfg /root/.i386-wine-pkg//usr/local/bin/wine doesn't exist! Try installing 32-bit Wine with /usr/local/share/wine/pkg32.sh install wine mesa-dri ===================================== Running the script as non-root issues this: >/usr/local/share/wine/pkg32.sh install wine mesa-dri pkg -o ABI=FreeBSD:14:i386 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/mario/.i386-wine-pkg install wine mesa-dri Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'wine' have been found in the repositories Last wine entry on /usr/ports/MOVED: emulators/i386-wine-devel||2021-11-16|Removed: obsolete, emulators/wine-devel provides i386 support The same thing happens win normal wine port (which doesn't compile) Trying to install the pkg, issues this: >pkg install wine Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'wine' have been found in the repositories pkg install wine-devel Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'wine-devel' have been found in the repositories But the ports are there. Any advice to get this working again? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] --000000000000c1563605d1ed3a76-- From nobody Mon Nov 29 18:08:13 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 6C78818BD66F for ; Mon, 29 Nov 2021 18:08:24 +0000 (UTC) (envelope-from cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com) Received: from o50.p38.mailjet.com (o50.p38.mailjet.com [185.250.237.50]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4J2td32kpBz4hr3 for ; Mon, 29 Nov 2021 18:08:23 +0000 (UTC) (envelope-from cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; q=dns/txt; d=jodocus.org; i=joost@jodocus.org; s=mailjet; h=message-id:mime-version:from:to:subject:date:list-unsubscribe-post:list-unsubscribe: cc:feedback-id:in-reply-to:references:x-csa-complaints:x-mj-mid:x-mj-smtpguid: x-report-abuse-to:x-sender:content-type:content-transfer-encoding; bh=3/cPr3GPpKcIQxFLdDKgmCh2dokjRG2eJJ83F+8ZU+M=; b=Zjd8tTRa7H069UdWv2FlLX5NndzLsqN1fpEzZaPPnauxnus4Q5NxOc+gs JHm7846x0u2OlYq2MGe/havRRDlgTPmTfJ21dp9sCvPjmpiywE+gisqeW2E1 e+8T2++8A7w6x8Yy+qNln8VQuEt78JkNkkxhpONSSj653FpTvoXsZQ= Message-Id: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Joost Bekkers To: scott@gasch.org Subject: Re: Custom static route not applied at reboot Date: Mon, 29 Nov 2021 19:08:13 +0100 List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: , Cc: Michael Sierchio , Jon Radel , freebsd-questions Feedback-Id: 42.1451466.1431476:MJ In-Reply-To: References: X-CSA-Complaints: csa-complaints@eco.de X-MJ-Mid: AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcOv1abeXaWS3uHZbqLZe4PFwAV17Q X-MJ-SMTPGUID: 63ebaf37-7b39-4d09-8af6-c3d56d3e54ae X-REPORT-ABUSE-TO: Message sent by Mailjet please report to abuse@mailjet.com with a copy of the message X-Sender: joost@jodocus.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J2td32kpBz4hr3 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=jodocus.org header.s=mailjet header.b=Zjd8tTRa; dmarc=none; spf=pass (mx1.freebsd.org: domain of cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com designates 185.250.237.50 as permitted sender) smtp.mailfrom=cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com X-Spamd-Result: default: False [-0.83 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[jodocus.org:s=mailjet]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:185.250.236.0/22]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[jodocus.org]; NEURAL_HAM_LONG(-0.34)[-0.338]; HAS_LIST_UNSUB(-0.01)[]; NEURAL_SPAM_MEDIUM(0.53)[0.526]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[jodocus.org:+]; NEURAL_HAM_SHORT(-0.81)[-0.810]; RCVD_IN_DNSWL_NONE(0.00)[185.250.237.50:from]; FORGED_SENDER(0.30)[joost@jodocus.org,cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.250.237.50:from]; ASN(0.00)[asn:200069, ipnet:185.250.236.0/22, country:FR]; FROM_NEQ_ENVFROM(0.00)[joost@jodocus.org,cf58fe40.AMcAAGsvUBoAAAAAAAAAAHAkGMAAAAAA0PMAAAAAABYlygBhpRcO@bnc3.mailjet.com] X-ThisMailContainsUnwantedMimeParts: N On 2021-11-27 05:24, Scott Gasch wrote: > Any suggested remedy other than a sleep 20; route add -net > 192.168.0.0/24 > -gateway 10.0.0.225 in my rc.local? There must be a less ugly way than > that, no? > Assuming using a static ip address is not an option, you could tell dhclient to add the route. The option classless-routes (#121, RFC3442) is not in the dhcp-options(5) man page, but is is implemented in the client. Your dhclient.conf would look something like this: interface "igb0" { append classless-routes 24,192,168,0,10,0,0,225; } Please note: Because all relevant bytes of the network fit in the first 3 bytes (24/8 <= 3), you don't specify the fourth. I haven't tested if it works when specified in the .conf, but I've seen it work when the server sends it. Joost. From nobody Mon Nov 29 18:14:11 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A16C418C0953 for ; Mon, 29 Nov 2021 18:15:03 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 4J2tmk1SPjz4lJ1 for ; Mon, 29 Nov 2021 18:15:01 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 1324E4536E for ; Mon, 29 Nov 2021 19:15:01 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.914 X-Spam-Level: X-Spam-Status: No, score=-100.914 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.009, TW_ZF=0.077, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id HXRQrrONgCcz for ; Mon, 29 Nov 2021 19:15:00 +0100 (CET) Received: from localhost (p5b2f14c7.dip0.t-ipconnect.de [91.47.20.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id A84EA45366 for ; Mon, 29 Nov 2021 19:15:00 +0100 (CET) Date: Mon, 29 Nov 2021 19:14:11 +0100 From: Marco Steinbach To: questions@freebsd.org Subject: Re: Reinstall on a geli encrypted device Message-ID: <20211129191411.000007ba@executive-computing.de> In-Reply-To: <20211128204538.00001020@executive-computing.de> References: <20211128204538.00001020@executive-computing.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-w64-mingw32) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J2tmk1SPjz4lJ1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of coco@executive-computing.de designates 195.96.35.7 as permitted sender) smtp.mailfrom=coco@executive-computing.de X-Spamd-Result: default: False [-3.02 / 15.00]; RCVD_VIA_SMTP_AUTH(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)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.82)[-0.818]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[executive-computing.de]; 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:8354, ipnet:195.96.32.0/19, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[91.47.20.199:received] X-ThisMailContainsUnwantedMimeParts: N Am Sun, 28 Nov 2021 20:45:38 +0100 schrieb Marco Steinbach : > Hi there. > > I am trying to clean install 13 on a drive, which contains a > functional geli-encrpyted zfsroot 12. I want the intaller (booted > from a 13 memstick) to ignore what's on the drive. > > What happens is, that booting from the memstick asks me for the geli > password for the drive. > > If I give the correct password, the installer will hang at 'can't find > /boot/entropy'. > > If I repeatly give the wrong password, the installer also will hang at > 'can't find /boot/entropy'. > > Pulling the drive, and dd'ing some starting sectors seems to be the > only 'cure'. > > Is there a way to tell the installation media (in my case memstick) to > not taste for whatever is there, but to ignore, and just leave me to > whatever footshooting I may be up to ? > > MfG CoCo > Solved. Looks like I did the footshooting even before the installer had a chance to intervene. The 13-3a15ccad memstick image I built from source does not boot into the installer almost anywhere I try, either hanging or crashing with varying messages, while it'll work on some machines. Using the official FreeBSD-13.0-RELEASE-amd64-memstick.img works flawlessly, albeit it's still tasting available geoms automatically, which I rather it wouldn't. MfG CoCo From nobody Mon Nov 29 21:33:11 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E580718B8420 for ; Mon, 29 Nov 2021 21:33:19 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4J2z9V55mNz4p7W for ; Mon, 29 Nov 2021 21:33:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 736214E6A5; Mon, 29 Nov 2021 13:33:11 -0800 (PST) From: "Ronald F. Guilmette" To: freebsd-questions Subject: mount: Operation not permitted List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17811.1638221591.1@segfault.tristatelogic.com> Date: Mon, 29 Nov 2021 13:33:11 -0800 Message-ID: <17812.1638221591@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4J2z9V55mNz4p7W X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [0.70 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[tristatelogic.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(1.00)[0.999]; 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:14051, ipnet:69.62.128.0/17, country:US] X-ThisMailContainsUnwantedMimeParts: N I have a shell script that uses rsync to make backups of all of the several partitions on my main drive to a second removable drive. The script goes one-by-one through the partitions, mounting each corresponding backup partition in turn, running rsync, and then umount'ing that backup partition. Mostly this script works well, but every so often, seemingly at random, the mount command for one or more of the backup partitions fails for no apparently good reason, and I get the message "mount: Operation not permitted". If I retry the same thing a little later it invariably works. What am I doing wrong and how can I fix it? From nobody Mon Nov 29 22:18:39 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B234618CFF89 for ; Mon, 29 Nov 2021 22:18:48 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J309z4QTcz3Q9c for ; Mon, 29 Nov 2021 22:18:47 +0000 (UTC) (envelope-from infoomatic@gmx.at) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1638224320; bh=j4f7ovm4GZ3rRb4WIZ+AZx58o5tZgdY7j9ybvAVzmjs=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=CEc8FBQMraIvhIiRwM2ejqBGpJyjnGKka5WaNWYWI3EEnQVw8uR7XhWmGSvDezurq osbM0T63XigwWMovBR/pB/vrSn4i4O2D9OQSn3QuGst5fU5G/CowPv5rug3BG0ifZz hwoPhMzOp1tuDP5iSrEJd7Om0D7JkcI3wp6aez4Y= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [10.0.1.209] ([178.114.237.81]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Ml6mE-1mB6lH3Ol2-00lWtb for ; Mon, 29 Nov 2021 23:18:39 +0100 Message-ID: Date: Mon, 29 Nov 2021 23:18:39 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: mount: Operation not permitted Content-Language: en-US To: questions@freebsd.org References: <17812.1638221591@segfault.tristatelogic.com> From: infoomatic In-Reply-To: <17812.1638221591@segfault.tristatelogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:LAdiRZOS7yhqe5VR/06ziFq7mj3UkIwhqaRHmcIaMQLO0m88no8 rgPDdPOvgBYBn751hxmys/tCM9hQulKrx1c3/gBKnTqc8GVHsm4/ZXts8o4mTiwpJ7SQHny dOhVemTcMorQID6xVL8OSufhudPlWiuC/8e4Y+jsaIEwAKzVA25VJW2ds2ppBEJp5oEI1nA r0I6X6PlgtlzSN5ACiJ2A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:DIPN/g74Ax8=:Gu7W7JlHAK0oAy67lUIsUo yeMM1APaMfMDT1Sr6QZe/WQgDAMQs41rwoZ1LX3FidPRkPhFk1yEbnuv8TF72NjiRGdEfB8vK zFM0Jz7X9aq7ZSBwAeCtR5loA3IIci2Ryy5OY9pcXrUIg7yozUzc8uzmnGncf4pctqLO/DKkP ziJ7Sjhrax8LrxVGN8dVSmuwbppr/BBlz09Wbg3tuvMzcxXFEzvBfS9fbTVfRTvwMPi5K0C3a Fgl0wy9cikUfjgN40LQG/1mu/NV01m5G4YjMOEQ7HCB06e3E1t94oepLL1WC/3BMgjXvXHRGs NvD7cJ3lHx0Sav6dE+E4mEV4FziY+ag2FwK/ExqPGt9fZ9w6VNTHL2kU+wKLudrNAOmwObrR/ Ps3UGFZnm8hVwSKL8FhrZvH5Dnwx2UzpVmMf1a8ZiGp/EbW0CoHnprCUtHfuItrSCXy2XXlGL Td1kVmxs9otYT0Pas+zpqLgFFJFBbAsGyTM6p+puZRUJpsgDlFo6NcpbmIa7+eLe4bRxXlv1n UcMPO3mvsk0awMu5fsSLZoREA8zVM2q/4BabWD71j6r1ASe2bRcuLUAlcBo9ogNS3mgyd7TZ4 oEtYtOWoiDYrvAF4jaSuROsTQMLeWn6ioSTKnptPsQmePaWjJzmk/1gPzZRfbev5RK01ADbjG R90qXpHwaqztXDsBLzvWesXiZ6Q+cQdrMqg2hw1HzovFhiITEqf45tKfmla8KO45e0BB9hfI4 +3uSrcoM0vp2SWHYtSg50S61xRH5lGBnOF327gjLRz4zdISY0MDMTFQWx2davQSGViTpsdf5N kczEBGeMByc2NRZcWyrlRi1FtkZoQLguWVy4rZhbFWolhf8p8VnlaN50v06fcHAfvTOiOZ+v9 ycZWruvMGFUKnzrSNElX3MFejxSNvP09HLSruKFU7g9GmVLekANu+orHRmGn5VHvV/dRuRbij gP/agXy1QD3NQzIE4sINRA96F0uhmUaCIZX8npqqpctbcY40LYIbU0NMP1gKzITytuJQYQ9gV FwIPzseY2TqZGtZChv7xLiI29E8YbZlQerROtQHM7+c2zpgvgKtuGoS4LDi0DEF9+6rrzr/Ov KrpqIe+QB9w9ks= X-Rspamd-Queue-Id: 4J309z4QTcz3Q9c X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=CEc8FBQM; dmarc=pass (policy=none) header.from=gmx.at; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.15.18 as permitted sender) smtp.mailfrom=infoomatic@gmx.at X-Spamd-Result: default: False [-4.33 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; NEURAL_HAM_SHORT(-0.23)[-0.230]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmx.at]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; 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)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[gmx.net:dkim]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N could it be that the script is already running when it tries to run a second time? are you running the script with root privileges? On 29.11.21 22:33, Ronald F. Guilmette wrote: > I have a shell script that uses rsync to make backups of all of the > several partitions on my main drive to a second removable drive. > The script goes one-by-one through the partitions, mounting each > corresponding backup partition in turn, running rsync, and then > umount'ing that backup partition. > > Mostly this script works well, but every so often, seemingly at random, = the > mount command for one or more of the backup partitions fails for no appa= rently > good reason, and I get the message "mount: Operation not permitted". If= I > retry the same thing a little later it invariably works. > > What am I doing wrong and how can I fix it? > From nobody Mon Nov 29 23:25:53 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 284D918A8DB5 for ; Mon, 29 Nov 2021 23:26:07 +0000 (UTC) (envelope-from Debianation@protonmail.com) Received: from mail-4027.protonmail.ch (mail-4027.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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J31gf2Ldqz4VqX for ; Mon, 29 Nov 2021 23:26:06 +0000 (UTC) (envelope-from Debianation@protonmail.com) Date: Mon, 29 Nov 2021 23:25:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1638228359; bh=DOoC/enC93m7zryH9Xg9hUWVxeEvF2xiamRKTNKUU+s=; h=Date:To:From:Reply-To:Subject:From; b=E4pbEbEJEHP5pkXWsmC6NPD0vl+BQnGw2rHd9OULO2tPP3tXucM/D0E7+zafDmjoo idUF29hZhsQ7IlRopvgcSpOAfwKw5Dt45ULGe4+cFt0HLztqDFU/4bY45s36Pi/maF qvVfu4MCYFtrsiT22RLYdXr0cxaq9WQ89ZYtVc7s= To: rfg@tristatelogic.com, freebsd-questions@freebsd.org Reply-To: Debianation Subject: Please unsubscribe me Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_Gaq9iS5on0IBnGPHJVYvaes0AkcvA5S09GQOEMJ7E" 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: 4J31gf2Ldqz4VqX X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail header.b=E4pbEbEJ; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (mx1.freebsd.org: domain of Debianation@protonmail.com designates 185.70.40.27 as permitted sender) smtp.mailfrom=Debianation@protonmail.com X-Spamd-Result: default: False [1.10 / 15.00]; HAS_REPLYTO(0.00)[Debianation@protonmail.com]; RWL_MAILSPIKE_GOOD(0.00)[185.70.40.27:from]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24:c]; FREEMAIL_FROM(0.00)[protonmail.com]; TO_DN_NONE(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; HAS_PHPMAILER_SIG(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999] Reply-To: Debianation@protonmail.com From: Debianation via freebsd-questions X-Original-From: Debianation X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --b1_Gaq9iS5on0IBnGPHJVYvaes0AkcvA5S09GQOEMJ7E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 UGxlYXNlIHVuc3Vic2NyaWJlIG1lIGZyb20gdGhpcyBtYWlsaW5nIGxpc3QKClNlbnQgZnJvbSBQ cm90b25NYWlsIG1vYmlsZQoKLS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLQpPbiBO b3YgMjksIDIwMjEsIDE2OjMzLCBSb25hbGQgRi4gR3VpbG1ldHRlIHdyb3RlOgoKPiBJIGhhdmUg YSBzaGVsbCBzY3JpcHQgdGhhdCB1c2VzIHJzeW5jIHRvIG1ha2UgYmFja3VwcyBvZiBhbGwgb2Yg dGhlCj4gc2V2ZXJhbCBwYXJ0aXRpb25zIG9uIG15IG1haW4gZHJpdmUgdG8gYSBzZWNvbmQgcmVt b3ZhYmxlIGRyaXZlLgo+IFRoZSBzY3JpcHQgZ29lcyBvbmUtYnktb25lIHRocm91Z2ggdGhlIHBh cnRpdGlvbnMsIG1vdW50aW5nIGVhY2gKPiBjb3JyZXNwb25kaW5nIGJhY2t1cCBwYXJ0aXRpb24g aW4gdHVybiwgcnVubmluZyByc3luYywgYW5kIHRoZW4KPiB1bW91bnQnaW5nIHRoYXQgYmFja3Vw IHBhcnRpdGlvbi4KPgo+IE1vc3RseSB0aGlzIHNjcmlwdCB3b3JrcyB3ZWxsLCBidXQgZXZlcnkg c28gb2Z0ZW4sIHNlZW1pbmdseSBhdCByYW5kb20sIHRoZQo+IG1vdW50IGNvbW1hbmQgZm9yIG9u ZSBvciBtb3JlIG9mIHRoZSBiYWNrdXAgcGFydGl0aW9ucyBmYWlscyBmb3Igbm8gYXBwYXJlbnRs eQo+IGdvb2QgcmVhc29uLCBhbmQgSSBnZXQgdGhlIG1lc3NhZ2UgIm1vdW50OiBPcGVyYXRpb24g bm90IHBlcm1pdHRlZCIuIElmIEkKPiByZXRyeSB0aGUgc2FtZSB0aGluZyBhIGxpdHRsZSBsYXRl ciBpdCBpbnZhcmlhYmx5IHdvcmtzLgo+Cj4gV2hhdCBhbSBJIGRvaW5nIHdyb25nIGFuZCBob3cg Y2FuIEkgZml4IGl0Pw== --b1_Gaq9iS5on0IBnGPHJVYvaes0AkcvA5S09GQOEMJ7E-- From nobody Mon Nov 29 23:26:29 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CA46C18A94F0 for ; Mon, 29 Nov 2021 23:26:45 +0000 (UTC) (envelope-from Debianation@protonmail.com) Received: from mail-40135.protonmail.ch (mail-40135.protonmail.ch [185.70.40.135]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J31hP1Cpdz4W42 for ; Mon, 29 Nov 2021 23:26:45 +0000 (UTC) (envelope-from Debianation@protonmail.com) Date: Mon, 29 Nov 2021 23:26:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1638228397; bh=Qe879ONvTnikqxB6vyvGauWQQH8IYHEKznebe9Y3Rig=; h=Date:To:From:Reply-To:Subject:From; b=Xbjh1H3VhKF0Ut98cQW1vVFcFr3zV8pbWnsk1fu+/H6owzvxZdd9aYQf2YpxCmuLY CG96QZ4e/VRcXVG0iEIKsCOhcbNTa7v4Gl7HI/99RXH7en6UsBUweIvbjX0l3U2vgy 1JW3+/VppoQriYLPVQ1TTRGAcctfsySo8B25Byhc= To: coco@executive-computing.de, questions@freebsd.org Reply-To: Debianation Subject: Please unsubscribe me Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_mRTCwUO9LhEkLp2i66qGVylQB3CDQ6Wj52ZQfQLMXVs" 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: 4J31hP1Cpdz4W42 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail header.b=Xbjh1H3V; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (mx1.freebsd.org: domain of Debianation@protonmail.com designates 185.70.40.135 as permitted sender) smtp.mailfrom=Debianation@protonmail.com X-Spamd-Result: default: False [1.10 / 15.00]; HAS_REPLYTO(0.00)[Debianation@protonmail.com]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24:c]; FREEMAIL_FROM(0.00)[protonmail.com]; TO_DN_NONE(0.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; MIME_BASE64_TEXT(0.10)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; HAS_PHPMAILER_SIG(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.135:from] Reply-To: Debianation@protonmail.com From: Debianation via questions X-Original-From: Debianation X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --b1_mRTCwUO9LhEkLp2i66qGVylQB3CDQ6Wj52ZQfQLMXVs Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 UGxlYXNlIHVuc3Vic2NyaWJlIG1lIGZyb20gdGhpcyBtYWlsaW5nIGxpc3QKClNlbnQgZnJvbSBQ cm90b25NYWlsIG1vYmlsZQoKLS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLQpPbiBO b3YgMjksIDIwMjEsIDEzOjE0LCBNYXJjbyBTdGVpbmJhY2ggd3JvdGU6Cgo+IEFtIFN1biwgMjgg Tm92IDIwMjEgMjA6NDU6MzggKzAxMDAKPiBzY2hyaWViIE1hcmNvIFN0ZWluYmFjaCA8Y29jb0Bl eGVjdXRpdmUtY29tcHV0aW5nLmRlPjoKPgo+PiBIaSB0aGVyZS4KPj4KPj4gSSBhbSB0cnlpbmcg dG8gY2xlYW4gaW5zdGFsbCAxMyBvbiBhIGRyaXZlLCB3aGljaCBjb250YWlucyBhCj4+IGZ1bmN0 aW9uYWwgZ2VsaS1lbmNycHl0ZWQgemZzcm9vdCAxMi4gSSB3YW50IHRoZSBpbnRhbGxlciAoYm9v dGVkCj4+IGZyb20gYSAxMyBtZW1zdGljaykgdG8gaWdub3JlIHdoYXQncyBvbiB0aGUgZHJpdmUu Cj4+Cj4+IFdoYXQgaGFwcGVucyBpcywgdGhhdCBib290aW5nIGZyb20gdGhlIG1lbXN0aWNrIGFz a3MgbWUgZm9yIHRoZSBnZWxpCj4+IHBhc3N3b3JkIGZvciB0aGUgZHJpdmUuCj4+Cj4+IElmIEkg Z2l2ZSB0aGUgY29ycmVjdCBwYXNzd29yZCwgdGhlIGluc3RhbGxlciB3aWxsIGhhbmcgYXQgJ2Nh bid0IGZpbmQKPj4gL2Jvb3QvZW50cm9weScuCj4+Cj4+IElmIEkgcmVwZWF0bHkgZ2l2ZSB0aGUg d3JvbmcgcGFzc3dvcmQsIHRoZSBpbnN0YWxsZXIgYWxzbyB3aWxsIGhhbmcgYXQKPj4gJ2Nhbid0 IGZpbmQgL2Jvb3QvZW50cm9weScuCj4+Cj4+IFB1bGxpbmcgdGhlIGRyaXZlLCBhbmQgZGQnaW5n IHNvbWUgc3RhcnRpbmcgc2VjdG9ycyBzZWVtcyB0byBiZSB0aGUKPj4gb25seSAnY3VyZScuCj4+ Cj4+IElzIHRoZXJlIGEgd2F5IHRvIHRlbGwgdGhlIGluc3RhbGxhdGlvbiBtZWRpYSAoaW4gbXkg Y2FzZSBtZW1zdGljaykgdG8KPj4gbm90IHRhc3RlIGZvciB3aGF0ZXZlciBpcyB0aGVyZSwgYnV0 IHRvIGlnbm9yZSwgYW5kIGp1c3QgbGVhdmUgbWUgdG8KPj4gd2hhdGV2ZXIgZm9vdHNob290aW5n IEkgbWF5IGJlIHVwIHRvID8KPj4KPj4gTWZHIENvQ28KPj4KPgo+IFNvbHZlZC4gTG9va3MgbGlr ZSBJIGRpZCB0aGUgZm9vdHNob290aW5nIGV2ZW4gYmVmb3JlIHRoZSBpbnN0YWxsZXIKPiBoYWQg YSBjaGFuY2UgdG8gaW50ZXJ2ZW5lLgo+Cj4gVGhlIDEzLTNhMTVjY2FkIG1lbXN0aWNrIGltYWdl IEkgYnVpbHQgZnJvbSBzb3VyY2UgZG9lcyBub3QgYm9vdCBpbnRvCj4gdGhlIGluc3RhbGxlciBh bG1vc3QgYW55d2hlcmUgSSB0cnksIGVpdGhlciBoYW5naW5nIG9yIGNyYXNoaW5nIHdpdGgKPiB2 YXJ5aW5nIG1lc3NhZ2VzLCB3aGlsZSBpdCdsbCB3b3JrIG9uIHNvbWUgbWFjaGluZXMuCj4KPiBV c2luZyB0aGUgb2ZmaWNpYWwgRnJlZUJTRC0xMy4wLVJFTEVBU0UtYW1kNjQtbWVtc3RpY2suaW1n IHdvcmtzCj4gZmxhd2xlc3NseSwgYWxiZWl0IGl0J3Mgc3RpbGwgdGFzdGluZyBhdmFpbGFibGUg Z2VvbXMgYXV0b21hdGljYWxseSwKPiB3aGljaCBJIHJhdGhlciBpdCB3b3VsZG4ndC4KPgo+IE1m RyBDb0Nv --b1_mRTCwUO9LhEkLp2i66qGVylQB3CDQ6Wj52ZQfQLMXVs-- From nobody Tue Nov 30 01:01:41 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3B2F518A9080 for ; Tue, 30 Nov 2021 01:02:12 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J33pW1ZZ1z3JYb for ; Tue, 30 Nov 2021 01:02:11 +0000 (UTC) (envelope-from scott.gasch@gmail.com) Received: by mail-il1-x12b.google.com with SMTP id h16so18586980ila.4 for ; Mon, 29 Nov 2021 17:02:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=nYy6V61M7iJZPCgeCXhP659K/YOVzqGcD1lzo8KEIyk=; b=TdIqDqcUeONlH3+rY6rntRLvDlHfQLpOMNC8Kche18WWs3TbZYe6L6IRnIDD9yioRz 5DhQKgp9sgH8l1i3jT+FNcrDhrJHgsYGR1Z3vR23sC2mZCouuel2LdaCLLgPA/U88PSk /+C29fFdRhZZVNdGv0Uo5cUTtTnCwj4jgFeZHPRo0pNl25aWffA4cDBKj4fANu22sjKU 8W1S8vIe9IbR5WKgxFLhItl0acNUX6llMWIy5rauNl8HDGfMQaIpuRDFYbpuD7YV6Dy9 ufBwaGd9UveFIZTVWcTmxBo6BRupL/O/JYt0Xx1qPOHXfOsjuYZpKiHuwNxgR3Qne8Je X/5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=nYy6V61M7iJZPCgeCXhP659K/YOVzqGcD1lzo8KEIyk=; b=flX5LAmeK7jLoxM3xhAq6XW7KS2fHnR6L5cstMgb0DVnvH3dv+m39ZIt6/U3xPLNLV BMVxR2I8G00ApweqRZg2BHZ4Vj0E1hI3wqPqoTa19SbQ9g9IKEK8WwriHOWWuf2tVTB+ DW7GMwUnKahEMBYu/0JiGy67kaHbyone0ia2/2tnKX7Y46JliNDzv34ToQpo5g3v5asg Ti6YP11F6gSyupFTwH6nKNk6WzynkOqyqjl4uZkzxmLi5bRxE5BeIR2eLi2/A7b3SDCU eNMh6cMTn64+0p88eQR/8XLNzk1lJZ6BaV6GZ+pGA4gwxGpZRETzHDBFLE3cH97bdVOm sxMQ== X-Gm-Message-State: AOAM531ysB9yQu712kDd7mxzYa6Hlz7E/SYbJcwhL0qMIRC3OpAwuhdw ZcazT6S+rubVG+G2bSBtB+vOdCi7Z/czE5vNqDmBFWGJ X-Google-Smtp-Source: ABdhPJxrV8/xLEJlp3ILPxmVh3JPWjpOctyDQi9gvpI+SaQw58ZI8C4SNGuHWXlJ2dOXhf9lpFsQIu49z1N5++Yru8o= X-Received: by 2002:a05:6e02:1e0c:: with SMTP id g12mr53282212ila.249.1638234130124; Mon, 29 Nov 2021 17:02:10 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <6980ad7b.AV0AABPzuN8AAAAAAAAAAI81lQEAAAAA0PMAAAAAABYlygBhpRcP@mailjet.com> In-Reply-To: <6980ad7b.AV0AABPzuN8AAAAAAAAAAI81lQEAAAAA0PMAAAAAABYlygBhpRcP@mailjet.com> Reply-To: scott@gasch.org From: Scott Gasch Date: Mon, 29 Nov 2021 17:01:41 -0800 Message-ID: Subject: Re: Custom static route not applied at reboot To: Joost Bekkers Cc: Michael Sierchio , Jon Radel , freebsd-questions Content-Type: multipart/alternative; boundary="00000000000062939b05d1f71b25" X-Rspamd-Queue-Id: 4J33pW1ZZ1z3JYb X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=TdIqDqcU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of scottgasch@gmail.com designates 2607:f8b0:4864:20::12b as permitted sender) smtp.mailfrom=scottgasch@gmail.com X-Spamd-Result: default: False [-0.49 / 15.00]; HAS_REPLYTO(0.00)[scott@gasch.org]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; URI_COUNT_ODD(1.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.996]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.51)[0.507]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::12b:from]; HTTP_TO_IP(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000062939b05d1f71b25 Content-Type: text/plain; charset="UTF-8" This worked really well, Joost. Thank you. I now have the static route defined in rc.conf and dhclient.conf. The last time I rebooted I was sitting at the console and saw a message that didn't make it into dmesg saying something like "destination unreachable" when it tried to add the static route the first time -- I assume from rc.conf. When I got a login prompt and checked, though, the route was there (I assume from the dhcp after actions). Thx, Scott On Mon, Nov 29, 2021 at 10:08 AM Joost Bekkers wrote: > On 2021-11-27 05:24, Scott Gasch wrote: > > Any suggested remedy other than a sleep 20; route add -net > > 192.168.0.0/24 > > -gateway 10.0.0.225 in my rc.local? There must be a less ugly way than > > that, no? > > > > Assuming using a static ip address is not an option, you could tell > dhclient to add the route. > > The option classless-routes (#121, RFC3442) is not in the > dhcp-options(5) man page, but is is implemented in the client. > > Your dhclient.conf would look something like this: > > interface "igb0" { > append classless-routes 24,192,168,0,10,0,0,225; > } > > Please note: Because all relevant bytes of the network fit in the first > 3 bytes (24/8 <= 3), you don't specify the fourth. > > I haven't tested if it works when specified in the .conf, but I've seen > it work when the server sends it. > > > > Joost. > > --00000000000062939b05d1f71b25-- From nobody Tue Nov 30 02:16:27 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E1D7218B1E25 for ; Tue, 30 Nov 2021 02:16:45 +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 (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J35SW4cz0z4VZV for ; Tue, 30 Nov 2021 02:16:43 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1638238596; bh=vTYZcIq8H284SlsxLkR/OAb5LvUznejeF6EPrGKqolw=; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding; b=CUpqTLf2VDeagRuljNcc94xZFYyM7l7UGfSTFmYw7d4rePeyBRgXvUm1CJuBbatDQ lde05tLSYWjDJ0elQ+zh6886aiD6iofG2saWwVAR/34e6PW8n6RRnuYaSiaw0mZ1xY doZ8rWhn5nZ8nHwME+iH3L/Zsg01afteuscbR8koPSPkfLFUlWBQt4CQJVFf6qQuXj rSsa3oVfJcP7MW75Arn8iIVrL4ERH0YDRhWvYs2QMdLOqKwI0YsTFa0L8mKX0oDKJm 2nWkDMlJrCZd8u/CtCehBI3W0QAM+guBlF9N3EaMhlxvKSXGbrPa59K3cq0LcoJ60D pL6UZclSP4u9D2DrIYWC585PaPrJCCaUZFgPPg9XBpwGSnM3w4w+ciwlMMecBxsodt pVF2LfWrsxvUdDIC9n/T1twc9FB23M5DyDoBIiFPIaqkGm44rnBgALWJY17DwI/9B+ OPJZePFiMMG9LkIUhb25ZDvKzPJ/YF6tknt+0j0yKCZ7RxvI+t9Nt7A7kYLEspWHJK MyplC1NzUgwEkKcfQeUA2KKXiTI6dQPcacnAYFNGFcpAB7w8xLd7FZaCcoEB7NsIqA etNpYPX1+0AuixmwkTOqqFxtkXv8KPMHJxWxfbivXcch8gXz5e/5XTg1bRFaXQgGNx FivRsETCZIMGNN1VfyU4nI24= 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 ; Mon, 29 Nov 2021 18:16:36 -0800 Subject: Re: mount: Operation not permitted To: questions@freebsd.org References: <17812.1638221591@segfault.tristatelogic.com> From: David Christensen Message-ID: <1f564e86-1441-10b3-06f8-96086d74f4c9@holgerdanske.com> Date: Mon, 29 Nov 2021 18:16:27 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: <17812.1638221591@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J35SW4cz0z4VZV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=CUpqTLf2; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; 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)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(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]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 11/29/21 1:33 PM, Ronald F. Guilmette wrote: > I have a shell script that uses rsync to make backups of all of the > several partitions on my main drive to a second removable drive. > The script goes one-by-one through the partitions, mounting each > corresponding backup partition in turn, running rsync, and then > umount'ing that backup partition. > > Mostly this script works well, but every so often, seemingly at random, the > mount command for one or more of the backup partitions fails for no apparently > good reason, and I get the message "mount: Operation not permitted". If I > retry the same thing a little later it invariably works. > > What am I doing wrong and how can I fix it? rsync(1) and mount(8) are designed to work with filesystems, not partitions. Assuming your script goes one-by-one through the filesystems, perhaps a newly mounted filesystem is not quite ready when rsync(1) is invoked. I would try adding a time delay (e.g. 'sleep 10') before invoking rsync(1). David From nobody Tue Nov 30 02:52:22 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 405B018C4853 for ; Tue, 30 Nov 2021 02:52:31 +0000 (UTC) (envelope-from megan_loves_jesus@hotmail.com) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2081b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::81b]) (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 4J36Fp2wtRz4mBy for ; Tue, 30 Nov 2021 02:52:30 +0000 (UTC) (envelope-from megan_loves_jesus@hotmail.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L/i/9azD8xX7pt+29nsevj8yGoNdoySNGUGKBKs4/pMe7DYEghbmkntWCwWcTma6M02dpxjDmJHlITnviKMm2uSEUlXIWNeTlfh+croWUMJATcEGobQG3VHkTtZyGJxUDmQC92Tc2FfygS4RucU4Ex4/C8jr4iscKkCodxHbbsJTX/3l9fi4+bFggs0vKQD5ymIXDplUOPmgmuEHR5QvvXeEgxv0BMrTcTmW53aTrJivxA8F1uGaG1UkALQDgxWmowlX0jYXd6zxIhuTw9vWt4Gcp3PXFAQ4S4s9aNwr1K5niT51GIwU3NTD3361NFZ8lWiznXGc93HexU3SOPEkuw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EEST27AwvlWeFNz2jb4GPolhxIZetCqMMvLNgLdd5Ds=; b=h4LmZKepzdQJQB9LX3Gv4fnAUb5CNM/Lszo1gnuOSoKOjoF/RRon+FdwePjeQWz8hFPrVN6OIs9jujrqGumthO/e5Z4GYZ3aIvSmd/fDEAZx05XlMZmaESjVU4UFedCYrWk6fW3N3a04kuRdSGuWjSmsGM4yv8yYWQsNcyWkF5gwIsxpmp/gdl30JzR4be23zSHueWxtn/cVdU9/gZfwWO97bkAuFWzgZzS2OgYNR9AEWyRuOhomPofHiN5qVyZgeXxTz6HJNWpBIxy2246NrgyQUGybWvkIwULq7QJDbfqda2Xxj3q+OhyKvL+eXekZY/LDNMkjbEQJiXPYbzumYw== 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=EEST27AwvlWeFNz2jb4GPolhxIZetCqMMvLNgLdd5Ds=; b=UtMQAjmL5DHGt9a5sBTZOZUQOrwG05VIfqJy0DnCgrZeGQz4n2lPUGMtZDqwkZn5cpUsIUQlQltnkSqROs5ir5tAMURIYcV84Njm/9vN5WRdZHnZXJ2W+eDyyqJxc7fbuhXs6jjD9OcasqXbjPnpGyu6NwbfDtPPkVLYsQrGE0d7EzX5TxD2UjMuKv9vCR01GLZGNMbMG+xYKXI3SHAc37teC/K6c7CepKtmT/sOoEBNIs7lFbvQStzH7FeQYIfRmGtvTez2HHJivdkILNElkzstBDuHkvXz7xmNIBiuYDuTg8FsR69EvUAaQxBkxkvBmLFeLKi7ngDS0T8viJs+bg== Received: from MW5PR14MB5434.namprd14.prod.outlook.com (2603:10b6:303:199::10) by MW4PR14MB5440.namprd14.prod.outlook.com (2603:10b6:303:18c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.20; Tue, 30 Nov 2021 02:52:22 +0000 Received: from MW5PR14MB5434.namprd14.prod.outlook.com ([fe80::ec80:f93c:c964:30c7]) by MW5PR14MB5434.namprd14.prod.outlook.com ([fe80::ec80:f93c:c964:30c7%9]) with mapi id 15.20.4734.023; Tue, 30 Nov 2021 02:52:22 +0000 From: Megan Taylor To: "freebsd-questions@freebsd.org" Subject: How to remove Free BSD? Thread-Topic: How to remove Free BSD? Thread-Index: AQHX5ZP/qINwUjev2kqIfFlCHmyboA== Date: Tue, 30 Nov 2021 02:52:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: suggested_attachment_session_id: d7a62226-0fb6-fad0-53bc-554d010603c0 x-tmn: [cCloWb6Op/Oo47hKj2neqHQ7DcR3KmUGSAZHhc4wsHEgke3nUaALpR3v6VfkLD+l] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e38b6aeb-d98f-4ce9-9a38-08d9b3ac6ecd x-ms-traffictypediagnostic: MW4PR14MB5440: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oIgDBpB6zPIAKsWeWidqZYhVDw4g70U+3sB/PfX1cF5SIf1NMSTYhSWKbC8ZetplPwNVqZ+6WbiL6Fnr0Qkt7DPuZkOEt+54LWEz3z+tDwZL26N/mkgWinP4o6dnp6KXoSFdbj13DI9SZvAGy5nM6+c6CsJZLwR3+Jxfb9nbpOannRza66ttNTgE3TB+np3qxTcQNrr5s157e4bMaQHr2nyZ7QjjB5JYNFirjz76HlUwRHUGjgTm5Otz3sBDJw9kQiustfSl2U9WPha7BYxQ+7GWF3a5dqQaDnc1R0r+t/Dp8HSVAkz2hQPpPqvtPY2iWUawPTd79zZgMXJrplM6clb7rnvn+t88a+ErSgTKd+2l8FBm9EW+RJk6ywaqzYU1W44UUs4qAwvQfIxOqJLB684UTh/PU7kiQL457MWoQlblKKM7CgA6h7+hl4Q4FRIaeu1m2nXVFmCzi1W+at8sqRqa9jySclgiOWsRQSXTTQwLP+C6XZHVuxkv9AstZcOgKyzzRnUxFCiko8gwzjm9qybU3h6bKmC9iHUgkcs9NNX2R5Dx29Bi2tkvbTNnBd76yAk4Cfu5aLDrojuO0wy07Q== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?cvvfLIF/6nLvMO/9Rbn2M2lgbbbA+FrclUBnPZjsoKUtZ9I71zFT3gktWv?= =?iso-8859-1?Q?7XVEKpWD4XOO6VR1/GMBxatO5S6ZAJwFkICqfXJtZe9l5I7B7dY9NWHt5h?= =?iso-8859-1?Q?42DT4lrQUpV9vxM8qgi8eb89Vfw2RJJxaRGlTuAUNuMLmuozijBbBLz65o?= =?iso-8859-1?Q?BBA+kQfQFkdx/FkzkXTt3WNaq/0myPZgII5VU9pi1M7YHH2vfRs471NZGR?= =?iso-8859-1?Q?g1I200Ie9Z4T3ippioczMFDm2hOWQsB2kPP5KqhQFLachBPQ/vQ732QqWe?= =?iso-8859-1?Q?8ITv9jDJnDOeH8qY5YNa5MttDMcg9iOQqARTntM6cMyN3qo25BX2qctlg/?= =?iso-8859-1?Q?90tlooECXE8ZquaeLTCCMs06sab1qSYrSXcVgv6Rl+H04G8ldQ6ySz3rw+?= =?iso-8859-1?Q?BGmV2KMA+xwYFPebg9RBoZ7KcRJrCjMOindNlt77W7bu/4VE1dXj6NKoAN?= =?iso-8859-1?Q?0u6Ks4UpkOXG12d7TDGxCgm5cAmjA98CPBRS8RYVFT8aUcq2eEwWK6EJgq?= =?iso-8859-1?Q?xpT54nEUVvSZLtd/gaQ9PgpMuYRJYyMD5Rl5mgUeRWTTD2kYFccVqrUc7+?= =?iso-8859-1?Q?bbzPhvqsIvBsilyPBQcoGxNWYoftQF41PkPonNWiG0zViHDvd9ZKeD9hp4?= =?iso-8859-1?Q?lDAaglK24Vy8ame3nnN3A3Owv2oDkNQk54n9COhtMjw4hNWDzFe2HKFmUc?= =?iso-8859-1?Q?i6zcp55TS5nx9D+ErK7DOsKIDnRF3x+/C268DZv4SQWOm61JJLqMTtEloU?= =?iso-8859-1?Q?xMHBzaTimnNTjjS4cDJ58A7nWb4bFUhqTqqjshILNmgcBuy/mAc2CE0z4X?= =?iso-8859-1?Q?iJXUCJFpS/MC+OyXUG0JsZtvJjijkaJ0D+XP8rHMC7WtrQnEjNnWB1oAuc?= =?iso-8859-1?Q?ViDB73It8+Y3ppOCX4sY6kd4oU2qHSpYcBpLsOTiKqYBU8OFZCCqacFizx?= =?iso-8859-1?Q?xl/mhObW1PF9PxpNMJKDVfuVGy0O0zMyRyk1k4mz8b8Y7MXBlwT3PMgBjg?= =?iso-8859-1?Q?2uqMj9Y31lqzwIR/8CSb4nfl7Tdly+Xr4AeYx7?= Content-Type: multipart/alternative; boundary="_000_MW5PR14MB5434A1C77EC7E438EE50D861B6679MW5PR14MB5434namp_" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR14MB5434.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: e38b6aeb-d98f-4ce9-9a38-08d9b3ac6ecd X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Nov 2021 02:52:22.3763 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted 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: MW4PR14MB5440 X-Rspamd-Queue-Id: 4J36Fp2wtRz4mBy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=UtMQAjmL; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=hotmail.com; spf=pass (mx1.freebsd.org: domain of megan_loves_jesus@hotmail.com designates 2a01:111:f400:7eab::81b as permitted sender) smtp.mailfrom=megan_loves_jesus@hotmail.com X-Spamd-Result: default: False [-3.96 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; 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]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[hotmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a01:111:f400:7eab::81b:from]; NEURAL_HAM_SHORT(-1.00)[-0.999]; TO_DN_EQ_ADDR_ALL(0.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N --_000_MW5PR14MB5434A1C77EC7E438EE50D861B6679MW5PR14MB5434namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable today, my hp beats laptop is showing this thing called free bsd instead of = windows? i tried using the power button, removed the battery, and it didn't get wind= ows back i called comcast and best buy and they had no clue what free bsd is and cou= ldn't help me i was running windows 8, i remember having trouble learning it after my com= pact windows xp broke, and now i have to learn free bsd? give me a break i don't even know how to install fire fox or chrome how am i expected to le= arn free bsd? i still use internet explorer i don't use a password because i cant remember them HOW DO I REMOVE FREE BSD AND GET BACK WINDOWS? --_000_MW5PR14MB5434A1C77EC7E438EE50D861B6679MW5PR14MB5434namp_-- From nobody Tue Nov 30 02:53:37 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 28B7C18C4DCC for ; Tue, 30 Nov 2021 02:53:43 +0000 (UTC) (envelope-from grahamperrin@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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J36HB3Cp4z4n3D for ; Tue, 30 Nov 2021 02:53:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id c4so41024547wrd.9 for ; Mon, 29 Nov 2021 18:53:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=4IwTdbjTL5clHgkjXk5blT+AjI/KGeRyYeuVg8S4rFw=; b=IrVY60FLNBRSfxCVTyXmig7fWW0ih1ZbWMkkA4vdY5jICEKu7sh5Xxu8bZUZ56gew1 aO/gFUd1X3QcO1jX1k1WVKwNFS+bZwm+GOgBAm1Z8Q7xHDKedrvBsARsFEhIsh5xsYT9 ke4RbAuaEyuDTLNj9cJd37SlcjBpjcMs5mkqnUvz8RBP6wPkQn1XES9MInHKipv7x5II WVFg4qct9/wK/S8031GG1urIHlMFNQ1HTUuS7h8r5TbDN6UwNdZ9g1nd4k9GjVxyTyHt 5pMTLIu7I11BxpUZXsZiJL2kuJ+ipuFiHRprUYf6goC1dbmLxBTah3cGg0paUWj7KIrz 9JXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=4IwTdbjTL5clHgkjXk5blT+AjI/KGeRyYeuVg8S4rFw=; b=JD3tbxmXXfJKq+jOhN4e1YUaBEi2VDjoit8W6xRHwTyrIvOORHyCLvabhef42gi4Wo vjpoV8864C1s42wiJiZtbdgAKPX3Fo69TI0bhWaxAj6MMHOu8xPgobAef6eag8chByP4 c1Gm4zbqGFrBh/nIPjb7/b0UqQLajV9B/324ZeMxmfUhA6SFAaFx7FAYODMgu/x6YnWW OzZZ5B8VFMHhu3dHSq7W3JrvxyCn6If57SNtperSFvoQ0pSSgUIZQ64LIcFkWL9w821P Zdv80xvdiD1EZ4vRUNG3H6wZu7aypJ8fIPh3zMenmdwTuUz8tsDOlhHPqaM6cGp9MYrK IKTg== X-Gm-Message-State: AOAM533yxGMuy21UQxMiv1YxGsz+ieLY5HpYoGb2b7EhYqB3YnxFHmH2 vhXCwyHjA9iwwbC0l4n97jCCHBD5Mg31IA== X-Google-Smtp-Source: ABdhPJyF3kZef6nK6c5ZzdccJePzzSpgCdgdYRw1/S8dEcHNI5n01A57uO7GIooxTO2iRYsxR1Aw7w== X-Received: by 2002:adf:d852:: with SMTP id k18mr38436016wrl.391.1638240820354; Mon, 29 Nov 2021 18:53:40 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id r83sm959545wma.22.2021.11.29.18.53.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Nov 2021 18:53:39 -0800 (PST) Message-ID: <4402c8f4-532f-26f9-c064-ab4fba1fdddc@gmail.com> Date: Tue, 30 Nov 2021 02:53:37 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: emulators/wine and emulators/wine-devel for FreeBSD 14.0-CURRENT Content-Language: en-GB To: questions@freebsd.org References: From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J36HB3Cp4z4n3D X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=IrVY60FL; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::432 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.75 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-0.75)[-0.750]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::432:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 29/11/2021 13:14, Mario Lobo wrote: > … 14.0-CURRENT > > 𠉧… ports are there. > > Any advice to get this working again? … Build and install from ports, or await packages. appears to be wrong for main. I'll investigate. From nobody Tue Nov 30 02:59:33 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B2C1A18A8E40 for ; Tue, 30 Nov 2021 02:59:34 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4J36Py40kwz4qGT for ; Tue, 30 Nov 2021 02:59:34 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 5FBAF4E6B4; Mon, 29 Nov 2021 18:59:33 -0800 (PST) From: "Ronald F. Guilmette" To: infoomatic cc: questions@freebsd.org Subject: Re: mount: Operation not permitted In-Reply-To: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20612.1638241173.1@segfault.tristatelogic.com> Date: Mon, 29 Nov 2021 18:59:33 -0800 Message-ID: <20613.1638241173@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4J36Py40kwz4qGT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N In message , you wrote: >could it be that the script is already running when it tries to run a >second time? are you running the script with root privileges? It's just me here, and no I never run ths script if it is already running. And yes, I am always running it as root. I could not make my backups if I wasn't. From nobody Tue Nov 30 03:15:32 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B900718B169C for ; Tue, 30 Nov 2021 03:15:34 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J36mQ4TZgz3CxF for ; Tue, 30 Nov 2021 03:15:34 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id 77-20020a1c0450000000b0033123de3425so18435857wme.0 for ; Mon, 29 Nov 2021 19:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:cc:from:in-reply-to:content-transfer-encoding; bh=yXNVHUKjsvv6uT+zvdrmXZVqySEMCkUc3cS7HMb/eeA=; b=YS2UnYULnYwwM/UdlXr9f/+rd53rAYuehpZUOplc/PYRfQ7mSN4nRyY+U2BCuqiGmO AnPbUNFyml1+7zQPLX4uFWz3s+1t8jFxjpJZmPnQkUMgFPgO+JfMBt9vjUZ8frkcGndp 0pDbMSsUzAtkpq/Hz0Ik1cfdLPnCo/oxgQZN7ZkTGOgKlVelWXd1ty1/mvczJGK14Q4L SoSXdlopuafkt0a0s9qA/rWXCqb46JLCG1LYcvw4lF83zlOu0EDgnh3ZQeAwp7QsUWP8 GbaNwx/Y8s0hfc23ukVo31kyEgZjVF6ndvicvu7MmOtHhW/x5Ib4yTBsad4eKhCGsHmE tq6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=yXNVHUKjsvv6uT+zvdrmXZVqySEMCkUc3cS7HMb/eeA=; b=Vz6sXbfHCc+YGwNpb8Vdq4xCwQ73gIBxK3CODN4Pjl575Gv9RQmFzcvZ5DfxqhtXn/ uLO4Uwxbdig2nB+IfIgdasoigQF7MM5XQHkwTGTWn0NN1zTJ/xuVYTdgrK5ArUyDNlrf bx73yM+kKMoZ5bneKifiFQmPIvUbBz9F0xm5gIpfHbtO2gfkDT8pR+S09UYPF/5bmMFr 498/EbDav2KukjJC0kVWNWg+U8URbNs6H1t2BxeW4ta5M74OOFGFL7os0a1QGokqtSX2 KnJs56xPvLpCP7xUEi1TT1/WBpWqPere8I/AJ8GExsjFjRKr7cIh5FLZim5X1sZJTWKC 7ETQ== X-Gm-Message-State: AOAM531SdKy8QI/QcFT4efAThtU2cRRmjuMubmgZWY06qzfyyAne1ySs xF2yaI4PEU6Z5gidE/AUQus= X-Google-Smtp-Source: ABdhPJx8E9g12xUD5DDv9KqIIALPg4vIxzxc8RcVdQYoC+prE/58qTX1rMaVZoRAoLCT8f0ZjjrwlA== X-Received: by 2002:a05:600c:2117:: with SMTP id u23mr2084817wml.19.1638242133489; Mon, 29 Nov 2021 19:15:33 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id b6sm1038429wmq.45.2021.11.29.19.15.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Nov 2021 19:15:33 -0800 (PST) Message-ID: <60e5d834-2cf5-7836-a966-411d1ddde268@gmail.com> Date: Tue, 30 Nov 2021 03:15:32 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: How to remove Free BSD? Content-Language: en-GB To: Megan Taylor References: Cc: "freebsd-questions@freebsd.org" From: Graham Perrin X-Priority: 4 (Low) In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J36mQ4TZgz3CxF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 30/11/2021 02:52, Megan Taylor wrote: > HOW DO I REMOVE FREE BSD AND If you must shout, do so at the person who provided the computer to you. (If you did not install FreeBSD, someone else did; not us.) > GET BACK WINDOWS? 1. visit 2. browse 'Installation & updates' or 'Troubleshoot & repair' FreeBSD is different from, entirely separate from Microsoft Windows. If you install Windows, doing so can overwrite an installation of FreeBSD. For Windows, you should seek support from Microsoft, or a Microsoft support community. From nobody Tue Nov 30 03:28:39 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 861C918B8A4A for ; Tue, 30 Nov 2021 03:28:40 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4J373X1lcfz3Hy0 for ; Tue, 30 Nov 2021 03:28:40 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id CD2814E6A5; Mon, 29 Nov 2021 19:28:39 -0800 (PST) From: "Ronald F. Guilmette" To: David Christensen cc: questions@freebsd.org Subject: Re: mount: Operation not permitted In-Reply-To: <1f564e86-1441-10b3-06f8-96086d74f4c9@holgerdanske.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20774.1638242919.1@segfault.tristatelogic.com> Content-Transfer-Encoding: quoted-printable Date: Mon, 29 Nov 2021 19:28:39 -0800 Message-ID: <20775.1638242919@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4J373X1lcfz3Hy0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N In message <1f564e86-1441-10b3-06f8-96086d74f4c9@holgerdanske.com>, you wr= ote: >On 11/29/21 1:33 PM, Ronald F. Guilmette wrote: >> I have a shell script that uses rsync to make backups of all of the >> several partitions on my main drive to a second removable drive. >> The script goes one-by-one through the partitions, mounting each >> corresponding backup partition in turn, running rsync, and then >> umount'ing that backup partition. >> = >> Mostly this script works well, but every so often, seemingly at random,= the >> mount command for one or more of the backup partitions fails for no app= arently >> good reason, and I get the message "mount: Operation not permitted". I= f I >> retry the same thing a little later it invariably works. >> = >> What am I doing wrong and how can I fix it? > > >rsync(1) and mount(8) are designed to work with filesystems, not partitio= ns. Yes, I know that. Excuse me if I have used the terms "partition" intercha= ngeably with "filesystem" in this instance, because in this case there is a one-to= -one mapping... each filesystem that I need to mount and/or back up is on one p= artition. >Assuming your script goes one-by-one through the filesystems, perhaps a = >newly mounted filesystem is not quite ready when rsync(1) is invoked. I = >would try adding a time delay (e.g. 'sleep 10') before invoking rsync(1). The problem is *not* arising in rsync. As I said, the problem is that som= etimes, after one or more partitions/filesystems have already been backed up succe= ssfully by my script, the next following mount operation will fail with the rather= entirely cryptic message "Operation not permitted". Sigh. I guess that I may have to hack the source code for the mount comma= nd myself and get it to add some more context whenever it is about to issue an "Oper= ation not permitted" error message. I'm pretty damn sure that this isn't a permissions problem. Otherwise the= error(s) would not simply (and magically) go away when I retry the mount/rsync/umou= nt just a short time later. So "Operation not permitted" is just not a helpful mess= age at all. Regards, rfg P.S. Apparently the text "Operation not permitted" corresponds to EPERM w= hich a syscall to mount(2) can in fact produce, however on the man page for mount= (2) in the ERRORS section it just says: [EPERM] The caller is neither the super-user nor the owner of di= r. But I am always doing this as root, AND the specific directory paths onto = which the script mounts the backup filesystems are all pre-existing/pre-created = AND they are all owned by root. (I just now triple checked that.) So none of= this really makes such sense. From nobody Tue Nov 30 04:19:35 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D1D1F18B61DE for ; Tue, 30 Nov 2021 04:27:37 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (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 4J38MX56zwz3rgZ for ; Tue, 30 Nov 2021 04:27:36 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay3-d.mail.gandi.net (unknown [217.70.183.195]) by mslow1.mail.gandi.net (Postfix) with ESMTP id C4ABDC550C for ; Tue, 30 Nov 2021 04:20:04 +0000 (UTC) Received: (Authenticated sender: mayuresh@kathe.in) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A29536000B for ; Tue, 30 Nov 2021 04:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kathe.in; s=gm1; t=1638245975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K0skC4POVGs091+bRWCYvxAhLac9Qh7MARVCxanDkvQ=; b=UFV3BHWdcIAT9MkLxXwmndIVAiKxS1XgkPNybrG9zNL+kWKyC3MgcUfY+Y8t3LOx06FBiB yYqP/Mgg4z9B9SnbyM6+Trd5rrINXWdsd4cGipmMrsxgK/AvPMIqXcr6ytzVc2+aaLsC20 QwbrRYD2cZM6tVSkjZAfTjlLrUhi3uN/0CvEZJxenhPvSilGU2rTz4RHGFxA1c02e6Gvr4 BoXtst7OZFi84jgK1EzFCzOep7SlUYBqODkKcNokD4RcjF+TvHAHsE3OSeLCHmo+7P+gs0 gS2+qQfVTxzwh/Idh+HXw9tgjAwSM2z6IMMsSN6OnEo8NszqOiQvl9pUJ4pK6Q== From: =?utf-8?q?mayuresh=40kathe.in?= To: "FreeBSD Questions" User-Agent: SOGoMail 5.2.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Tue, 30 Nov 2021 05:19:35 +0100 Subject: [newbie alert] How does FreeBSD support =?utf-8?q?hardware=3F?= Message-ID: <5e22-61a5a680-501-7ea77800@46311397> X-Forward: 127.0.0.1 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4J38MX56zwz3rgZ X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=kathe.in header.s=gm1 header.b=UFV3BHWd; dmarc=none; spf=pass (mx1.freebsd.org: domain of mayuresh@kathe.in designates 217.70.178.240 as permitted sender) smtp.mailfrom=mayuresh@kathe.in X-Spamd-Result: default: False [2.71 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:217.70.178.192/26:c]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[kathe.in:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SUBJ_EXCESS_QP(1.20)[]; FROM_EXCESS_QP(1.20)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29169, ipnet:217.70.176.0/20, country:FR]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[217.70.183.195:received]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[kathe.in:s=gm1]; FROM_DN_EQ_ADDR(1.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)[kathe.in]; NEURAL_SPAM_MEDIUM(0.40)[0.405]; RCPT_COUNT_ONE(0.00)[1]; RWL_MAILSPIKE_POSSIBLE(0.00)[217.70.178.240:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body] X-ThisMailContainsUnwantedMimeParts: N I am confused about how FreeBSD supports every new generation of proces= sors, e.g. from Intel. I guess, FreeBSD uses GNU "gas" to which Intel actively contributes cod= e to keep that assembler updated for every iteration (model) of Intel's= processors. So when the kernel and userland are built, Clang/LLVM uses "gas" to gen= erate binaries to support newer instructions as provided by the process= or. But, what is the magic within FreeBSD that makes the whole system be aw= are of changed instructions such that all the code (which need not nece= ssarily be updated throughout with every new processor iteration) gets = optimized well? How would FreeBSD applications know of changes like AVX2 and SIMD and u= tilize them without the core developers specifically modifying some sec= tions of the kernel and "libc" to tap into the enhanced instructions? And do the core developers undertake such a task with introduction of n= ew models of processors (I guess once every 18 months)? Thank you. ~Mayuresh From nobody Tue Nov 30 05:38:42 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4A33718AEFAF for ; Tue, 30 Nov 2021 05:39:01 +0000 (UTC) (envelope-from 4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@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 4J39xw3CRDz4htF for ; Tue, 30 Nov 2021 05:39:00 +0000 (UTC) (envelope-from 4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@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=1638250740; x=1640842740; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=+P19uodmtZf7wWCIN3wLjbv3irFwcEV2/eGSjSjkEA0=; b=kBWW1dgmi0cKvghJgFV/mG2zZDPHNig+1FUkIKJIG4q9Ho85NNLxtfCaz6Xk8WGk4BWG5+7M6dgy+IR0LpIrKuLX2s1uhHVEUVCPEximiCJKfvPCpoaM5+UznydxbNgY7JjzZF6x9wuojkV3STDfztBGzL7LJoywx1v11udj8eI= X-Thread-Info: NDI1MC4xMi4xZDRkNTAwMDU4MWU5NTEucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 30 Nov 2021 00:38:44 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 30 Nov 2021 00:38:43 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1mrvqk-000PMg-BH for questions@freebsd.org; Tue, 30 Nov 2021 05:38:42 +0000 Date: Tue, 30 Nov 2021 05:38:42 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: [newbie alert] How does FreeBSD support hardware? Message-Id: <20211130053842.761663d9429eff4a086f4c74@sohara.org> In-Reply-To: <5e22-61a5a680-501-7ea77800@46311397> References: <5e22-61a5a680-501-7ea77800@46311397> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J39xw3CRDz4htF X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=kBWW1dgm; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@email-od.com X-Spamd-Result: default: False [-1.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)[]; 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]; NEURAL_HAM_LONG(-1.00)[-1.000]; 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)[-0.997]; RCVD_IN_DNSWL_NONE(0.00)[142.0.191.3:received]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@email-od.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4d5000581e951.f7a3a344d7ac5f34bf6f3abfd758d8f1@email-od.com]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On Tue, 30 Nov 2021 05:19:35 +0100 "mayuresh@kathe.in" wrote: > I am confused about how FreeBSD supports every new generation of > processors, e.g. from Intel. I guess, FreeBSD uses GNU "gas" to which > Intel actively contributes code to keep that assembler updated for every > iteration (model) of Intel's processors. So when the kernel and userland > are built, Clang/LLVM uses "gas" to generate binaries to support newer > instructions as provided by the processor. But, what is the magic within > FreeBSD that makes the whole system be aware of changed instructions such The magic (to the extent that it is used) is in the compiler which can generate code optimised with newer instructions. However the FreeBSD binaries you download will be built to a lowest common denominator and for the most part only use those instructions that are on all supported processors. There are exceptions to this some programs are written to query the processor and select different versions of subroutines depending on what's available - mplayer/mencoder does this. Similar things are done with encryption libraries and DRI for which the kernel exposes an API which may use software or be accelerated depending on what the kernel finds when it probes the CPU. For this someone had to write the code for each version and the code to select which version to use. The decisions are made at startup and used to set pointers to one version or another in a table of entry points. > that all the code (which need not necessarily be updated throughout with > every new processor iteration) gets optimized well? How would FreeBSD > applications know of changes like AVX2 and SIMD and utilize them without If you build from source you can set compile options to specify building for a specific version of the CPU (--march and --mcpu IIRC) and then get as much as the compiler knows about used. Ultimately there's no magic, some programmer has to do the work of deciding how to use the instructions. The result of that work is usually embedded in the compiler or used to provide multiple versions of routines to be selected dynamically or at compile time. Heavily optimising the OS code is usually a waste of time because the system should be spending most of the time running application code and much of the time the system performance is dominated by I/O not CPU so even optimising application code to the CPU is often not worthwhile. Only when the code is CPU bound (video transcoding, crypto-currency mining ...) does it make a lot of difference. -- Steve O'Hara-Smith From nobody Tue Nov 30 06:10:09 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4AD5518C041A for ; Tue, 30 Nov 2021 06:10:11 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (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 4J3Bdv0VG0z4v7H for ; Tue, 30 Nov 2021 06:10:10 +0000 (UTC) (envelope-from mayuresh@kathe.in) Received: (Authenticated sender: mayuresh@kathe.in) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 79C6960002; Tue, 30 Nov 2021 06:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kathe.in; s=gm1; t=1638252609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=wMcBHdiaDFGWJNR6ZllCorIgHdvVoAnX4LbCMTNuByg=; b=VYqgiRRUnwEzlVpSpJrovLFtbI6UhGPvfxNOlQCI2kfIVxOqsoE/CyuMqllBCcSGPB1ZPR FUJ8VlyeqWpmHKVquhxvNgwALVANZ3oPHNrJ67ULgBDrUBm10xWHto4TQ4jt4l6c6PXsm2 mJmjqXo+8/kNLMkhjlfE7r29JOKRDXgJlpD6ZF4nf8gX8HbDUQU/71bA4QWn1hpSuOFOci YGw29SsGXrRQg75BZmnP0vQeTejfNdZaKuQncg8QvS6/yJPvomzTxxGBB0jf8WJqnTLfbu /zGzyQThgcGUlsYPPLpY14j3iJ3SbRysEy2QW+pi/R1D5pNZYWAuPKb4H8AGWQ== From: =?utf-8?q?mayuresh=40kathe.in?= In-Reply-To: <20211130053842.761663d9429eff4a086f4c74@sohara.org> Content-Type: text/plain; charset="utf-8" X-Forward: 127.0.0.1 Date: Tue, 30 Nov 2021 07:10:09 +0100 Cc: questions@freebsd.org To: "Steve OHara-Smith" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <6057-61a5c080-c5-33c01300@194162305> Subject: =?utf-8?q?Re=3A?= [newbie alert] How does FreeBSD support =?utf-8?q?hardware=3F?= User-Agent: SOGoMail 5.2.0 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4J3Bdv0VG0z4v7H X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tuesday, November 30, 2021 11:08 AM IST, Steve O'Hara-Smith wrote: > On Tue, 30 Nov 2021 05:19:35 +0100 > "mayuresh@kathe.in" wrote: > > > I am confused about how FreeBSD supports every new generation of > > processors, e.g. from Intel. I guess, FreeBSD uses GNU "gas" to whi= ch > > Intel actively contributes code to keep that assembler updated for = every > > iteration (model) of Intel's processors. So when the kernel and use= rland > > are built, Clang/LLVM uses "gas" to generate binaries to support ne= wer > > instructions as provided by the processor. But, what is the magic w= ithin > > FreeBSD that makes the whole system be aware of changed instruction= s such > > The magic (to the extent that it is used) is in the compiler which > can generate code optimised with newer instructions. However the Free= BSD > binaries you download will be built to a lowest common denominator an= d for > the most part only use those instructions that are on all supported > processors. So the developers of Clang/LLVM too have to keep in step with enhanceme= nts introduced by processor vendors, right? That would be in addition t= o GNU "gas" being updated. Does any part of FreeBSD use "ifunc" (https://jasoncc.github.io/gnu=5Fg= cc=5Fglibc/gnu-ifunc.html) to provide multiple highly optimized process= or model specific functionality? If I'm not wrong, it might be handy for the crypto functions which keep= getting enhanced with almost every iteration of processors brought out= by Intel. > Heavily optimising the OS code is usually a waste of time because > the system should be spending most of the time running application co= de and > much of the time the system performance is dominated by I/O not CPU s= o even > optimising application code to the CPU is often not worthwhile. Only = when > the code is CPU bound (video transcoding, crypto-currency mining ...)= does > it make a lot of difference. Would a library like "libcmb" (https://github.com/FrauBSD/pkgcenter/tre= e/master/depend/libcmb) written by Ms. Devin Teske of FreeBSD, be an id= eal candidate for optimizations tailored per processor iteration? Thanks, ~Mayuresh From nobody Tue Nov 30 06:48:26 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BD42518B40E7 for ; Tue, 30 Nov 2021 06:48:34 +0000 (UTC) (envelope-from 4250.82.1d4d50005824e94.2549f5ff791b1267ab393349ce355af0@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 4J3CVB4bFhz572P for ; Tue, 30 Nov 2021 06:48:34 +0000 (UTC) (envelope-from 4250.82.1d4d50005824e94.2549f5ff791b1267ab393349ce355af0@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=1638254915; x=1640846915; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=V7emIYxCd7dKRewE48t/rCaJerJZF+ujkoHBYT6xo5k=; b=vWcq1E3+pVMG072zsUjuwT4wqFkUOEwzprLMeR6MvQ9V07OA842eMxO4dhIalmU/8ZFaPOuzQHdSbngkVlH7p43QBJwdXxxxXh5fvzOmuqmuyJi5v2eI8L+iEYIusHy6F+UNWS6tDF5SIvmc+jzzKVTNWbq2namWYRxs7Vznij0= X-Thread-Info: NDI1MC4xMi4xZDRkNTAwMDU4MjRlOTQucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r2.us-east-1.aws.in.socketlabs.com (r2.us-east-1.aws.in.socketlabs.com [142.0.191.2]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 30 Nov 2021 01:48:29 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r2.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 30 Nov 2021 01:48:28 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1mrwwE-000PaY-Lq; Tue, 30 Nov 2021 06:48:26 +0000 Date: Tue, 30 Nov 2021 06:48:26 +0000 From: Steve O'Hara-Smith To: "mayuresh@kathe.in" Cc: questions@freebsd.org Subject: Re: [newbie alert] How does FreeBSD support hardware? Message-Id: <20211130064826.be9363126be529e5b1d03d22@sohara.org> In-Reply-To: <6057-61a5c080-c5-33c01300@194162305> References: <20211130053842.761663d9429eff4a086f4c74@sohara.org> <6057-61a5c080-c5-33c01300@194162305> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J3CVB4bFhz572P X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 30 Nov 2021 07:10:09 +0100 "mayuresh@kathe.in" wrote: > So the developers of Clang/LLVM too have to keep in step with > enhancements introduced by processor vendors, right? That would be in > addition to GNU "gas" being updated. Yep and the application writers if they want run time detection of CPU features. > Does any part of FreeBSD use > "ifunc" (https://jasoncc.github.io/gnu_gcc_glibc/gnu-ifunc.html) to > provide multiple highly optimized processor model specific functionality? No idea - grep sources :) > If I'm not wrong, it might be handy for the crypto functions which keep > getting enhanced with almost every iteration of processors brought out by > Intel. Chances are that if it's the best way to do it then it's the way it's done. OTOH it could be an improvement waiting to happen. -- Steve O'Hara-Smith Odds and Ends at http://www.sohara.org/ From nobody Tue Nov 30 08:42:18 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1920218C3ED4 for ; Tue, 30 Nov 2021 08:44:48 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from 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 4J3G4F5wstz4TfV for ; Tue, 30 Nov 2021 08:44:45 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 1AU8gnCD011185 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 30 Nov 2021 19:42:50 +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=1638261770; x=1638866571; bh=2xOCstqbf01Jd9NJH1umQOr+P3Cc+jL47CX/utK1a1E=; h=Message-ID:Date:To:From:Subject; b=GtZGwy+hbIYDVC/xB/Zk4/RDTrn8P3kyg8gKye5G13UeFGP61ft0LL4mgqKbRQzWO MEAbkjfcNPNO1UXBP3g8veT4EIjrQhX6jXWRPooV14ZeKMF+ajZjmdUh31QeyTHqdh eEIhbYWDEYgWwhL1tpVSgPwx22KlLa83yaoQQMvvt/Gn1JhT+24sX X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: Date: Tue, 30 Nov 2021 19:42:18 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Content-Language: en-GB To: "freebsd-questions@freebsd.org" From: Dewayne Geraghty Subject: sendmail without root privs cannot bind. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3G4F5wstz4TfV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=GtZGwy+h; 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 [-4.68 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.52)[0.518]; DMARC_NA(0.00)[heuristicsystems.com.au]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; TO_DN_EQ_ADDR_ALL(0.00)[]; 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]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Today I decided that it was time to move sendmail from root to an unprivileged user. Unfortunately I was blocked by Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 451 4.0.0 opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied (hold) Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied Nov 30 16:48:19 b3 sm-mta[91296]: daemon ExtSSL4: problem creating SMTP socket Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 421 4.0.0 opendaemonsocket: daemon ExtSSL4: server SMTP socket wedged: exiting (hold) Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): opendaemonsocket: daemon ExtSSL4: server SMTP socket wedged: exiting which was disappointing.  It almost appears as though the security.mac.portacl.rules isn't being processed, but it is because we also have named and apache running with unpriv'ed accounts. Does anyone have sendmail running without root?  My magical rubber-chicken doesn't seem to be working... How did I get here... 1. Added define(`confTRUSTED_USER', `smmsp')dnl tos endmail.mc 2. changed permissions on /etc/mail /var/spool/mqueue ... to the same user 3. added uid:25:tcp:25,uid:25:tcp:465,uid:25:tcp:587 to  security.mac.portacl.rules 4. rebooted the box 5. The failed daemon port happens to be DAEMON_OPTIONS(`Name=ExtSSL4,Addr=10.0.7.91, Port=465, children=14, M=Eaps, DeliveryMode=q') is one of 4 ports that we use for email, and fails on other ports when its commented out.  Interestingly when port 25 was first in the DAEMON_OPTIONS list, it doesn't fail, but I can't be sure it was successful either. I chose smmsp as the user simply because it had the uid 25. Sendmail has been running within a jailed environment as root for a few years.  The host is FreeBSD 12.2Stable from June 2021. I'd welcome any suggestions. Regards, Dewayne. From nobody Tue Nov 30 08:53:12 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3B54518C7992 for ; Tue, 30 Nov 2021 08:53:20 +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 4J3GG80pp6z4X6M for ; Tue, 30 Nov 2021 08:53:20 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from [IPV6:2a02:8010:64c9:1::2] (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id 1052826C43; Tue, 30 Nov 2021 08:53:12 +0000 (GMT) Message-ID: <2de7a896-60ac-3b96-4b1d-a9c276d19b74@qeng-ho.org> Date: Tue, 30 Nov 2021 08:53:12 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: sendmail without root privs cannot bind. Content-Language: en-GB To: Dewayne Geraghty , "freebsd-questions@freebsd.org" References: From: Arthur Chance In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3GG80pp6z4X6M X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 30/11/2021 08:42, Dewayne Geraghty wrote: > Today I decided that it was time to move sendmail from root to an > unprivileged user. > > Unfortunately I was blocked by > Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 451 4.0.0 > opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied (hold) > Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): > opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied > Nov 30 16:48:19 b3 sm-mta[91296]: daemon ExtSSL4: problem creating SMTP > socket > Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 421 4.0.0 > opendaemonsocket: daemon ExtSSL4: > server SMTP socket wedged: exiting (hold) > Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): > opendaemonsocket: daemon ExtSSL4: server SMTP socket wedged: exiting > > which was disappointing.  It almost appears as though the > security.mac.portacl.rules isn't being processed, but it is because we > also have named and apache running with unpriv'ed accounts. > > Does anyone have sendmail running without root?  My magical > rubber-chicken doesn't seem to be working... > > How did I get here... > 1. Added define(`confTRUSTED_USER', `smmsp')dnl tos endmail.mc > 2. changed permissions on /etc/mail /var/spool/mqueue ... to the same user > 3. added uid:25:tcp:25,uid:25:tcp:465,uid:25:tcp:587 to  > security.mac.portacl.rules > 4. rebooted the box It's probably me misunderstanding, but how did you ensure security.mac.portacl.rules had those settings after the reboot? > 5. The failed daemon port happens to be > DAEMON_OPTIONS(`Name=ExtSSL4,Addr=10.0.7.91, Port=465, children=14, > M=Eaps, DeliveryMode=q') is one of 4 ports that we use for email, and > fails on other ports when its commented out.  Interestingly when port 25 > was first in the DAEMON_OPTIONS list, it doesn't fail, but I can't be > sure it was successful either. > > I chose smmsp as the user simply because it had the uid 25. > > Sendmail has been running within a jailed environment as root for a few > years.  The host is FreeBSD 12.2Stable from June 2021. > > I'd welcome any suggestions. > Regards, Dewayne. > -- Nothing teaches one not to try to stamp out burning thermite quite like real-life experience. — James Davis Nicoll From nobody Tue Nov 30 12:22:26 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0EFF018C22B0 for ; Tue, 30 Nov 2021 12:22:44 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3Lvl6bGcz4pQB for ; Tue, 30 Nov 2021 12:22:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd29.google.com with SMTP id k21so25759776ioh.4 for ; Tue, 30 Nov 2021 04:22:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sq6Hogfyrgg9MFGJARYGb5wXrS9lH8zf6k4ev5xBWt8=; b=T3/1v0umVsXxeSgUPuCRseypn8EWJdoBRm0dBc60TPqSMdLzfSSgZ25j3+FzczVmub NPru11UX0XiTrD/zhF+KQztnA6S/hquMfU5alcoyk4hzDi1ceUg2/zKnRPM8vDAScqa8 b510cL5VwspYP58sLMSiZ8JTt6qa0XGM/2qnY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sq6Hogfyrgg9MFGJARYGb5wXrS9lH8zf6k4ev5xBWt8=; b=6v0+xHJOHdg8n2wfFpgzY8YLTaLl7PiNP2ozJM8aNvnOMMesNgPTaIXLaYD667D8tV 9AFACuzczhqh8+nCLG0gulTuOo8gDrLW4YilVwofJsjFl71lp6eDE36C+MRfSWZAFswd KE6cuIM4/UONxzqgSqgGU9TgDoCybxkXMD1H1oJaUjCFqajl4HNoOqLaVWO9M41ltqvL +9Wj1ELYiY9z0hmVLyBgbIFytuhXHH8NxICF0arN0hWL3jAVIxQy31JZo6/wH407ngvE JqOWkAHHMpH0IVe1CTldIusA/02awEeTNYrkkdm3c8gYgc0Iy9gZwFlOGjQEV/vx4jYm fyOA== X-Gm-Message-State: AOAM531EadX0BB4POONsljo2tzeQLNjq2unv8nuiiOEBT7AN8+dkSpgw 9/7eyzOXmfHob7dkdivtql7I8VaG/pIlN+XBg2liXg== X-Google-Smtp-Source: ABdhPJzEUiAlEYzXHTp/QK2g5i2eKKSXqd+h7Dd9c/NEdHEcw9vMjastzeu/PMMNbC6Z6VrBqJB8qvVeGujAXcyNEWg= X-Received: by 2002:a02:c78e:: with SMTP id n14mr72303808jao.40.1638274957434; Tue, 30 Nov 2021 04:22:37 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4402c8f4-532f-26f9-c064-ab4fba1fdddc@gmail.com> In-Reply-To: <4402c8f4-532f-26f9-c064-ab4fba1fdddc@gmail.com> From: Mario Lobo Date: Tue, 30 Nov 2021 09:22:26 -0300 Message-ID: Subject: Re: emulators/wine and emulators/wine-devel for FreeBSD 14.0-CURRENT To: Graham Perrin Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e1f1d905d2009ce3" X-Rspamd-Queue-Id: 4J3Lvl6bGcz4pQB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000e1f1d905d2009ce3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Nov 29, 2021 at 11:53 PM Graham Perrin wrote: > On 29/11/2021 13:14, Mario Lobo wrote: > > > =E2=80=A6 14.0-CURRENT > > > > =F0=A0=89=A7=E2=80=A6 ports are there. > > > > Any advice to get this working again? =E2=80=A6 > > > Build and install from ports, or await packages. > > > > > appears to be wron= g > for main. I'll investigate. > > I did build from ports! The problem is not building. The problem is running. I exposed everything in the OP. --=20 Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] --000000000000e1f1d905d2009ce3-- From nobody Tue Nov 30 12:39:09 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1B38018AE93C for ; Tue, 30 Nov 2021 12:40:50 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from 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 4J3MJb4dSDz3G7H for ; Tue, 30 Nov 2021 12:40:47 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 1AUCdeSn021779 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 30 Nov 2021 23:39:41 +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=1638275981; x=1638880782; bh=LgiAuC3/tdIhDx1HRnfNjFL/QGwYNaSdkCMlSXO4WfE=; h=Message-ID:Date:Subject:To:From; b=BBbyomvG2xm+odmDMv4lETz7Nw0nrl4UyvUcCFChp0wQ0eYICpl1KJDcXSLDNte1N gvIycRM5HX4V4tzyU6j8slXfFbGbaL1R9PKeugYDaNrHizaLoXx9YYhFVmpVacwdLj WVFZr4wMRfpkCnY2RQdSciuWEE+Qbgl8Uk0J6zjCJ4K2Bj0fMru0s X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: Date: Tue, 30 Nov 2021 23:39:09 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: sendmail without root privs cannot bind. Content-Language: en-GB To: questions@freebsd.org References: <2de7a896-60ac-3b96-4b1d-a9c276d19b74@qeng-ho.org> From: Dewayne Geraghty In-Reply-To: <2de7a896-60ac-3b96-4b1d-a9c276d19b74@qeng-ho.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3MJb4dSDz3G7H X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=BBbyomvG; 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 [-4.31 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; HAS_XAW(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.72)[0.719]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; DMARC_NA(0.00)[heuristicsystems.com.au]; NEURAL_HAM_SHORT(-0.83)[-0.830]; 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]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 30/11/2021 7:53 pm, Arthur Chance wrote: > On 30/11/2021 08:42, Dewayne Geraghty wrote: >> Today I decided that it was time to move sendmail from root to an >> unprivileged user. >> >> Unfortunately I was blocked by >> Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 451 4.0.0 >> opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied (hold) >> Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): >> opendaemonsocket: daemon ExtSSL4: cannot bind: Permission denied >> Nov 30 16:48:19 b3 sm-mta[91296]: daemon ExtSSL4: problem creating SMTP >> socket >> Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: --- 421 4.0.0 >> opendaemonsocket: daemon ExtSSL4: >> server SMTP socket wedged: exiting (hold) >> Nov 30 16:48:19 b3 sm-mta[91296]: NOQUEUE: SYSERR(smmsp): >> opendaemonsocket: daemon ExtSSL4: server SMTP socket wedged: exiting >> >> which was disappointing.  It almost appears as though the >> security.mac.portacl.rules isn't being processed, but it is because we >> also have named and apache running with unpriv'ed accounts. >> >> Does anyone have sendmail running without root?  My magical >> rubber-chicken doesn't seem to be working... >> >> How did I get here... >> 1. Added define(`confTRUSTED_USER', `smmsp')dnl tos endmail.mc >> 2. changed permissions on /etc/mail /var/spool/mqueue ... to the same user >> 3. added uid:25:tcp:25,uid:25:tcp:465,uid:25:tcp:587 to  >> security.mac.portacl.rules >> 4. rebooted the box > It's probably me misunderstanding, but how did you ensure > security.mac.portacl.rules had those settings after the reboot? > Thanks Arthur.  I'm unsure, but I manually stopped sendmail and set security.mac.portacl.rules, then restarted.  Though I did verify security.mac.portacl.port_high which needed to be increased to catch 587.  The problem remains elusive and I'm out of ideas.  :(  From nobody Tue Nov 30 12:51:48 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4124D18B2BF1 for ; Tue, 30 Nov 2021 12:51:56 +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 4J3MYR2FThz3JtZ for ; Tue, 30 Nov 2021 12:51:55 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.231] (unknown [172.58.140.1]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 9A9C54E474 for ; Tue, 30 Nov 2021 06:51:49 -0600 (CST) Message-ID: <2fdc8698-1c0c-329c-41b4-98cc31e08101@kicp.uchicago.edu> Date: Tue, 30 Nov 2021 06:51:48 -0600 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: [newbie alert] How does FreeBSD support hardware? Content-Language: en-US To: questions@freebsd.org References: <5e22-61a5a680-501-7ea77800@46311397> <20211130053842.761663d9429eff4a086f4c74@sohara.org> From: Valeri Galtsev In-Reply-To: <20211130053842.761663d9429eff4a086f4c74@sohara.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J3MYR2FThz3JtZ 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 [-0.21 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.987]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.68)[0.680]; RCPT_COUNT_ONE(0.00)[1]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.140.1:received]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-ThisMailContainsUnwantedMimeParts: N On 11/29/21 11:38 PM, Steve O'Hara-Smith wrote: > On Tue, 30 Nov 2021 05:19:35 +0100 > "mayuresh@kathe.in" wrote: > >> I am confused about how FreeBSD supports every new generation of >> processors, e.g. from Intel. I guess, FreeBSD uses GNU "gas" to which >> Intel actively contributes code to keep that assembler updated for every >> iteration (model) of Intel's processors. So when the kernel and userland >> are built, Clang/LLVM uses "gas" to generate binaries to support newer >> instructions as provided by the processor. But, what is the magic within >> FreeBSD that makes the whole system be aware of changed instructions such > Steve, thanks a lot from all of us, newbies, for all the instructive stuff you write below! Valeri > The magic (to the extent that it is used) is in the compiler which > can generate code optimised with newer instructions. However the FreeBSD > binaries you download will be built to a lowest common denominator and for > the most part only use those instructions that are on all supported > processors. > > There are exceptions to this some programs are written to query > the processor and select different versions of subroutines depending on > what's available - mplayer/mencoder does this. Similar things are done > with encryption libraries and DRI for which the kernel exposes an API > which may use software or be accelerated depending on what the kernel finds > when it probes the CPU. For this someone had to write the code for each > version and the code to select which version to use. The decisions are made > at startup and used to set pointers to one version or another in a table of > entry points. > >> that all the code (which need not necessarily be updated throughout with >> every new processor iteration) gets optimized well? How would FreeBSD >> applications know of changes like AVX2 and SIMD and utilize them without > > If you build from source you can set compile options to specify > building for a specific version of the CPU (--march and --mcpu IIRC) and > then get as much as the compiler knows about used. > > Ultimately there's no magic, some programmer has to do the work of > deciding how to use the instructions. The result of that work is usually > embedded in the compiler or used to provide multiple versions of routines > to be selected dynamically or at compile time. > > Heavily optimising the OS code is usually a waste of time because > the system should be spending most of the time running application code and > much of the time the system performance is dominated by I/O not CPU so even > optimising application code to the CPU is often not worthwhile. Only when > the code is CPU bound (video transcoding, crypto-currency mining ...) does > it make a lot of difference. > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From nobody Tue Nov 30 13:57:14 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C4FE118B75E3 for ; Tue, 30 Nov 2021 13:57:29 +0000 (UTC) (envelope-from 4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@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 4J3P145XSKz4VX9 for ; Tue, 30 Nov 2021 13:57:28 +0000 (UTC) (envelope-from 4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@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=1638280649; x=1640872649; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=laaCEreWOXOEDY7tpQ+lQkN0T//qAotYnPcmmSMaGeA=; b=cWIxhIeKltvK7mSk2P67KamADd/qG+oM7sln4Q0oSmfP/sRZPi07Ko6pyg1WQQun6X78mdq7gro0h35Uby8m2f7Tqf+/osukFI9tgbn8K5GzrviGrXIMzceOnMF9lz9nIkBhhsXNJBiCl8HCEfUQQluih7Z8mJItqK1YmvDG8LM= X-Thread-Info: NDI1MC4xMi4xZDRkNTAwMDU4YzI5MDEucXVlc3Rpb25zPWZyZWVic2Qub3Jn 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); Tue, 30 Nov 2021 08:57:18 -0500 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); Tue, 30 Nov 2021 08:57:17 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1ms3dC-0002Ry-Uo for questions@freebsd.org; Tue, 30 Nov 2021 13:57:15 +0000 Date: Tue, 30 Nov 2021 13:57:14 +0000 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: [newbie alert] How does FreeBSD support hardware? Message-Id: <20211130135714.83c47f8e4a4f2a2853a28404@sohara.org> In-Reply-To: <2fdc8698-1c0c-329c-41b4-98cc31e08101@kicp.uchicago.edu> References: <5e22-61a5a680-501-7ea77800@46311397> <20211130053842.761663d9429eff4a086f4c74@sohara.org> <2fdc8698-1c0c-329c-41b4-98cc31e08101@kicp.uchicago.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J3P145XSKz4VX9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=cWIxhIeK; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@email-od.com X-Spamd-Result: default: False [-1.70 / 15.00]; RCVD_TLS_LAST(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)[]; 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]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[142.0.190.2:received]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@email-od.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4d500058c2901.ac8a63ea900798480c50359f26a1e12c@email-od.com]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On Tue, 30 Nov 2021 06:51:48 -0600 Valeri Galtsev wrote: > Steve, thanks a lot from all of us, newbies, for all the instructive > stuff you write below! Valeri, you and everyone else are welcome to what I have gleaned over nearly thirty years of using and occasionally contributing to FreeBSD. I am deeply grateful that FreeBSD exists and continues to be the FreeBSD it always has been in spirit and direction. May I take your thanks, add my own and pass them to everyone who has helped make FreeBSD what it is today and has always been. -- Steve O'Hara-Smith From nobody Tue Nov 30 14:54:50 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 478AC18AD0FB for ; Tue, 30 Nov 2021 14:55:19 +0000 (UTC) (envelope-from dan@langille.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4J3QHp3fPpz4vDt for ; Tue, 30 Nov 2021 14:55:18 +0000 (UTC) (envelope-from dan@langille.org) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 08E715C0244 for ; Tue, 30 Nov 2021 09:55:12 -0500 (EST) Received: from imap42 ([10.202.2.92]) by compute3.internal (MEProxy); Tue, 30 Nov 2021 09:55:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=sklAWN0HCNBY3LpU4oNbxvtYoRZt3gy O+lRQGZor/O8=; b=Mr6hjw1YhriMuFVqB3DxS+LgEJHbkUbNrf+NknfiLCYugsD M+kZCpvsmig5M1RaevpLfA0jRHmnEZ+tpNZ78CqbbgpF4Oz4luX6D0lnDHBJ81rZ weE8NK+Lp3hQCaZEhQXEDmZoFg3BdtIDY3e6HWRmRGGjr85zqQBzmK5UbFTkl3il FLUpsU4/ALWHA4wS92wX23BsjajUt8A29tQvVdgJWs2oVDrMiTIRtrzeV1t6iooG Lrdq+kPVf3kk/bKuu6B6GZF4sus7ySeD5OnR7wqk3N8rMS6AXwNFTZFskKI2bpop t9uZ1MtEUkN+HxNCBJ02BAvJFS2KnwSW2ImVXGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=sklAWN 0HCNBY3LpU4oNbxvtYoRZt3gyO+lRQGZor/O8=; b=lYnSCM3vp3N+ZOUKnhacbq 25Uxcttv9j4Ym32Y6PKbypE+4eKlbxfYjyE9uv1snwOLPQpGWKP6IELBbpHlkZ+P UvdenIig2trGMd8kJODfgfTy3sxyE4iwSdmJF5rQiEjBULHoZ6Ah0b28lFaXW9a7 FOT8INzzSdjPYd6RmQYHai3sAAEShF069FdYe94qRjiunCnPfqnqPSLHcJPH6Qq7 hcvfXif//FVtmAN2Ez7E2FNrWzZ8a6K8xlJMLj/oqEbMmBGn/AI7mdJfvHkr/b+i ClZnEvPLCJ/ntNcELChbi7hphhfjWiCebpQ/u6y7UQX8oDNC9kOABGPAsHzSr6Ow == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddriedugdejudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdffrghnucfnrghnghhilhhlvgdfuceouggrnheslhgrnhhg ihhllhgvrdhorhhgqeenucggtffrrghtthgvrhhnpeeljefggeeuheeuieevledvjeevgf duteeukefggfffieevhedugfffveehjeevffenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6841F218007A; Tue, 30 Nov 2021 09:55:11 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4410-g5528bb82a8-fm-20211130.003-g5528bb82 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Message-Id: <9904936f-c466-4a8c-a5e9-2d26ef9bc12c@www.fastmail.com> In-Reply-To: <60e5d834-2cf5-7836-a966-411d1ddde268@gmail.com> References: <60e5d834-2cf5-7836-a966-411d1ddde268@gmail.com> Date: Tue, 30 Nov 2021 09:54:50 -0500 From: "Dan Langille" To: questions@freebsd.org Subject: Re: How to remove Free BSD? Content-Type: text/plain X-Rspamd-Queue-Id: 4J3QHp3fPpz4vDt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=Mr6hjw1Y; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=lYnSCM3v; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=dan@langille.org X-Spamd-Result: default: False [-3.07 / 15.00]; XM_UA_NO_VERSION(0.01)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; NEURAL_HAM_SHORT(-0.98)[-0.985]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[dan]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.995]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.111.4.29:from]; MID_RHS_WWW(0.50)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, Nov 29, 2021, at 10:15 PM, Graham Perrin wrote: > On 30/11/2021 02:52, Megan Taylor wrote: >> HOW DO I REMOVE FREE BSD AND > > If you must shout, do so at the person who provided the computer to you. > (If you did not install FreeBSD, someone else did; not us.) It is best to not feed the trolls. From nobody Tue Nov 30 16:27:16 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 35BC918BA434 for ; Tue, 30 Nov 2021 16:27:19 +0000 (UTC) (envelope-from stefan+freebsd@stha.de) Received: from deponia.stha.de (deponia.stha.de [IPv6:2001:8d8:1801:133::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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.stha.de", Issuer "mx1.stha.de" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3SKy4VmBz3wLM for ; Tue, 30 Nov 2021 16:27:18 +0000 (UTC) (envelope-from stefan+freebsd@stha.de) Received: from mail.stha.de (mail.stha.de [IPv6:2a03:4000:24:7d0:100::15]) by deponia.stha.de (Postfix) with ESMTPS id A15C4D32 for ; Tue, 30 Nov 2021 16:27:17 +0000 (UTC) Received: from mail.stha.de ( [fec0::2]) by mail.stha.de (OpenSMTPD) with ESMTP id bb9dc37a for ; Tue, 30 Nov 2021 16:27:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=stha.de; h=date :from:to:subject:message-id:mime-version:content-type; s= 20200509; bh=U2oDIUXErwIvXPAUlMFFJRtXNwc=; b=BSQkag32XiRQexY4ug5 yRffeNNJP3orD/cdF21CdDi5D4If5wMUiCngRCW4wDxtb4vq0JzSC6by4xTyHgDo CUriBXMFtGsK5ttnlTD7o/PuQ7gN3zsQFJ/HlCXMT+/eZEmC7OfV+wx71QmmJV+L owHgk+lKNNCh+WuU5DKj3/sI9q2nqly60tEc4lIX+0XM3p6Oe1hCPqcUcnTKP34A Z4Iaf21Srwill9I65buqi8u7MSr/KUbN3MQDCcMN99ftaFwwS5PQic+oqrJEdehJ 5MhnoXMbcxsW17uUWEI2yOmnVqrEN2nDBHTuN10glk8HkHANEFadkRP5ZOnaRITO Fug== Received: by mail.stha.de (OpenSMTPD) with ESMTPSA id ea16ed2d (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Tue, 30 Nov 2021 16:27:17 +0000 (UTC) Date: Tue, 30 Nov 2021 17:27:16 +0100 From: Stefan Haller To: freebsd-questions@freebsd.org Subject: ifconfig - access pltime/vltime for IPv6 address Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 4J3SKy4VmBz3wLM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=stha.de header.s=20200509 header.b=BSQkag32; dmarc=pass (policy=none) header.from=stha.de; spf=pass (mx1.freebsd.org: domain of stefan@stha.de designates 2001:8d8:1801:133::1 as permitted sender) smtp.mailfrom=stefan@stha.de X-Spamd-Result: default: False [-3.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[stha.de:s=20200509]; FREEFALL_USER(0.00)[stefan]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx: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(-0.60)[-0.599]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DKIM_TRACE(0.00)[stha.de:+]; DMARC_POLICY_ALLOW(-0.50)[stha.de,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:8560, ipnet:2001:8d8::/32, country:DE]; TAGGED_FROM(0.00)[freebsd]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi everyone! Is it possible to read out the values for pltime (preferred lifetime) or vltime (valid lifetime) for an IPv6 address configured on an interface with normal system tools (ifconfig)? According to ifconfig(8) one can set both lifetimes. There doesn't seem to be a way to obtain the current values though. The man page is actually somewhat vague about the whole topic (Is it a relative or absolute value? Is it a value in seconds?). My precise problem is as follows: The router provided by my ISP is announcing its /64 prefix with relatively long lifetimes. However, the router is restarting automatically if it detects connectivity problems or firmware/configuration updates. Usually the IPv6 prefix changes after the router reboots. My FreeBSD box is therefore accumulating multiple IPv6 addresses, most of them being invalid while still waiting for lifetime expiry. Sometimes this results in connectivity problems (Wireguard is using wrong source address). I wrote a script that drops all IPv6 addresses if this case is detected. After a few seconds the latest prefix is reconfigured due to a NDP router advertisement. However, I would prefer a more robust solution that drops all prefixes except the one with the highest vltime value. Maybe someone has an idea how I could achieve this. Thanks in advance! Best regards, Stefan Haller From nobody Tue Nov 30 17:06:41 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6E71518CD6C3 for ; Tue, 30 Nov 2021 17:06:53 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) (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 4J3TCc5NFwz4fTF for ; Tue, 30 Nov 2021 17:06:52 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [91.20.73.212] (helo=fabiankeil.de) by smtprelay04.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ms6Zw-0006Kz-VJ for questions@freebsd.org; Tue, 30 Nov 2021 18:06:05 +0100 Date: Tue, 30 Nov 2021 18:06:41 +0100 From: Fabian Keil To: questions@freebsd.org Subject: Re: Reinstall on a geli encrypted device Message-ID: <20211130180641.0752b1e8@fabiankeil.de> In-Reply-To: <20211129191411.000007ba@executive-computing.de> References: <20211128204538.00001020@executive-computing.de> <20211129191411.000007ba@executive-computing.de> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/woaTom5yAONehbaYMnsKQie"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Df-Sender: Nzc1MDY3 X-Rspamd-Queue-Id: 4J3TCc5NFwz4fTF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-listen@fabiankeil.de has no SPF policy when checking 80.67.18.16) smtp.mailfrom=freebsd-listen@fabiankeil.de X-Spamd-Result: default: False [-2.09 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[80.67.18.16:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[fabiankeil.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.88)[-0.879]; NEURAL_SPAM_LONG(0.99)[0.994]; RCVD_IN_DNSWL_NONE(0.00)[80.67.18.16:from]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:8972, ipnet:80.67.16.0/20, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[91.20.73.212:received] X-ThisMailContainsUnwantedMimeParts: N --Sig_/woaTom5yAONehbaYMnsKQie Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Marco Steinbach wrote on 2021-11-29: > Am Sun, 28 Nov 2021 20:45:38 +0100 > schrieb Marco Steinbach : > > I am trying to clean install 13 on a drive, which contains a > > functional geli-encrpyted zfsroot 12. I want the intaller (booted > > from a 13 memstick) to ignore what's on the drive. > >=20 > > What happens is, that booting from the memstick asks me for the geli > > password for the drive. > >=20 > > If I give the correct password, the installer will hang at 'can't find > > /boot/entropy'. > >=20 > > If I repeatly give the wrong password, the installer also will hang at > > 'can't find /boot/entropy'. > >=20 > > Pulling the drive, and dd'ing some starting sectors seems to be the > > only 'cure'. > >=20 > > Is there a way to tell the installation media (in my case memstick) to > > not taste for whatever is there, but to ignore, and just leave me to > > whatever footshooting I may be up to ? > Solved. Looks like I did the footshooting even before the installer > had a chance to intervene. >=20 > The 13-3a15ccad memstick image I built from source does not boot into > the installer almost anywhere I try, either hanging or crashing with > varying messages, while it'll work on some machines. >=20 > Using the official FreeBSD-13.0-RELEASE-amd64-memstick.img works > flawlessly, albeit it's still tasting available geoms automatically, > which I rather it wouldn't. You can prevent geli from trying to attach providers at boot time by setting kern.geom.eli.tries=3D0 in /boot/loader.conf on the memstick. Fabian --Sig_/woaTom5yAONehbaYMnsKQie Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQTKUNd6H/m3+ByGULIFiohV/3dUnQUCYaZaIgAKCRAFiohV/3dU nTcuAKCDrYIoz0hQh4u4HlColw4ks3Vm2gCgmm9gWIOoc47xbmbqmbxzUCxmH2U= =J3Cw -----END PGP SIGNATURE----- --Sig_/woaTom5yAONehbaYMnsKQie-- From nobody Tue Nov 30 23:42:40 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5D0C518AB55A for ; Tue, 30 Nov 2021 23:42:43 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3f0L4Ddyz3D3P for ; Tue, 30 Nov 2021 23:42:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x430.google.com with SMTP id j3so48052939wrp.1 for ; Tue, 30 Nov 2021 15:42:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:cc:in-reply-to:content-transfer-encoding; bh=nlxiS1mKHuA6rTZx+S+S/3UOXWrNRVA2yLJJKCZCcqk=; b=f8giOWDI3l27zLUv+qsHLiCsFFyQsy44cJhILj4W6N3hQ+6tv+McIlq82ANI/7vQgB GjhMC5jExOce4AaDEkQhBc/uQYkc53q4Oq4M4JHoRz8vW/kTlUiTZznxUyl2OiEBIKxD /eZeVdXbxoOiMqX3i9LglwPamV2GtteSmyTytkDHFSsIO+bHzNbNY2dW+MEKTojN+i/W fnBI7VaB/rqPYOXsCjVf9yBM8xhkKLX7LFXwZamRYIryyOsr7lPFrEPXLllnEetr5TL1 bF5pbV6cjdiRqhcxjXrRadqoCwo6NaqH/zSxyLfnCVoBo44jfIOra4WBtclFXub5EAcT Xq8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:cc:in-reply-to :content-transfer-encoding; bh=nlxiS1mKHuA6rTZx+S+S/3UOXWrNRVA2yLJJKCZCcqk=; b=qnDCVk+IMtYC7yj9oXQbv5zKGassQLs11Ml0uFll3F7Pf0LzCkL/8cxphJjyx4TNBw yr4VxqrSM3VFsolXofgryzKb0stJMrDyp1w+ORNxXDdT42JuQckcWaBn0sBUcmC9aTDO GQ7k4M31/MNY2ZhHZGuErQ57pSaJRqlqmqfmNp2uc86YfFmj26VvVipo2dKza8XLThII J2tScxfAVh7ufNbYjgFOrbXwrRcfO+GUEXjcsvgKL9Em/ahNgaXKMqaeB1+rzYGn1d5c LIKNPy9jkFkXplPcyEuqCLUjjuWiPXc2vyUKpAQqzHjRcMLbGumeSGL8WdEiFl5I7THx roUw== X-Gm-Message-State: AOAM530+8Q7eTQCf5EkpBLeYSF8f7x+brgjL3HshkekZXyXAEDeQItjp pU8bD03Wa0k31aqBaGn7b86AzTtuBwZgXA== X-Google-Smtp-Source: ABdhPJx15X5Z0sauXz1W5XT1K0OSoDStlQjbkMa+XM74lRvrF8kunsQ4jo/EFV4IYTFzjn275JU2tA== X-Received: by 2002:adf:ed52:: with SMTP id u18mr2363720wro.609.1638315760368; Tue, 30 Nov 2021 15:42:40 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id p12sm17781368wro.33.2021.11.30.15.42.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Nov 2021 15:42:39 -0800 (PST) Message-ID: Date: Tue, 30 Nov 2021 23:42:40 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Outdated FreeBSD 14.0-CURRENT (was: Problems with wine) Content-Language: en-GB To: Mario Lobo References: From: Graham Perrin Cc: questions@freebsd.org In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3f0L4Ddyz3D3P X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=f8giOWDI; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::430 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_HAM_LONG(-0.90)[-0.904]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::430:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 29/11/2021 13:14, Mario Lobo wrote: > Hi; > > Running FreeBSD 14.0-CURRENT #7 main-4a847a6ccd: Thu Apr 15 19:52:34 -03 > 2021 > > … I try to run an exe (or any wine* program), … Using your git hash: is from March 2021. uname -KU will show a version that's significantly inferior to 1400043. For compatibility, not only with wine, please begin by updating the system. Here: % uname -aKU FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #116 main-n251146-d109559ddbf: Mon Nov 29 14:34:59 GMT 2021 root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 1400043 1400043 % – winecfg runs without difficulty; and so on. From nobody Wed Dec 1 00:00:20 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E756418B55C1 for ; Wed, 1 Dec 2021 00:00:21 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J3fNh4tRmz3L1Q for ; Wed, 1 Dec 2021 00:00:20 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x434.google.com with SMTP id l16so48076080wrp.11 for ; Tue, 30 Nov 2021 16:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language :from:to:references:in-reply-to:content-transfer-encoding; bh=uzT0E9ytd/60K1i/boYkOZMJoPhSDPvL99OLK2FefWg=; b=ZvjgMdo9WN1HEa9SsEKYeNQl2kqrEcaIQTR8jIZQZBoeT7j69EpDGjbV8xp59l9ANv bNKLUUNm6tvBHVJWdN5QC00jxm773lJZ4KGELRI6p8McnSN0Fr/TbE+EAOjDauPw7ZfW 8booKorGLa8QDohw9y0cACHVw2/mZFHutZO/xUtO5iaq9V4wgxQvfsOi1TS7isCOCSVB N0opg6c3nymCI+nAbgs8lJksPEg59+74iYMr2ddGu0+EKEwVv8R9AyMpKFyK3Hw45fjM 7gerazhprVRONfBCAmq7dTbXN7MwsqSi44i9lIoEimZggxWjmYlmgbnDVC3oqGtKwMxz muyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:from:to:references:in-reply-to :content-transfer-encoding; bh=uzT0E9ytd/60K1i/boYkOZMJoPhSDPvL99OLK2FefWg=; b=6sekeZ2z06e4xrcw7NPR96jkpvR/pIa+IVkCjrNeL0u7ZWorcRQ8VovVrzIs+vAaaU NoFxuFOuPhbMUBoxGdcPj96aB+XRlhJW/bwX74qt6nyAmPdI7UFGPTsNDWxp+tabDFL4 UwOMkfFTaDb4H9cLMRLLpyzU/ZkSMgdRrCtyUoz6iFWNO39h8VY1DxfI/iTuuOcrgW5Q MvEX86A9Lc37C4RIPqFsRc86Q5HOBY+k6EWW1r6nON6o1iihDf2ByHtMxQGKoY0WcN5I Ea5sGpdT3DGjP/NY25y0/MFQu36Px0lBVb9THmD3gyppF/ToO2EhxCbiwW6dCFXtHJpl adbA== X-Gm-Message-State: AOAM533VLkVzAfHa0ogeCp+Vx2TaoO1QrsVR+DHjQdEyAnZxYWTc7kfe U+hN2TJ7clb6InjaBHNeb9jIh2r5MZJ6rg== X-Google-Smtp-Source: ABdhPJw99zPr9XUXyFTfszI1ZHd+NqkwgnGIppiOmuZdThuMYLuTVrN0tbBiVAIqVpZegQvoFS/8hA== X-Received: by 2002:adf:fc90:: with SMTP id g16mr2506330wrr.53.1638316819416; Tue, 30 Nov 2021 16:00:19 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id p62sm3699705wmp.10.2021.11.30.16.00.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Nov 2021 16:00:19 -0800 (PST) Message-ID: <5c12aef2-13bb-eb97-ae77-f2f439050644@gmail.com> Date: Wed, 1 Dec 2021 00:00:20 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: (260152) pkg-status.freebsd.org listings Content-Language: en-GB From: Graham Perrin To: questions@freebsd.org References: <4402c8f4-532f-26f9-c064-ab4fba1fdddc@gmail.com> In-Reply-To: <4402c8f4-532f-26f9-c064-ab4fba1fdddc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3fNh4tRmz3L1Q X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZvjgMdo9; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::434 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.03)[-0.031]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::434:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 30/11/2021 02:53, Graham Perrin wrote: > appears to be wrong … From nobody Wed Dec 1 03:38:57 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1192818A1DEC for ; Wed, 1 Dec 2021 03:41:08 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from 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 4J3lHP0lDtz3M6L for ; Wed, 1 Dec 2021 03:41:04 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 1B13dSxe020980 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 1 Dec 2021 14:39:29 +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=1638329969; x=1638934770; bh=YgBvPGmKEG2NPVyfMrdVWWXqbfeFmPQ29JQdJIEOnWc=; h=Message-ID:Date:Subject:To:From; b=Xak3gKNxyu3CDb3XErKRStwWktM1H82LjKuz7Ebw3AQDAM8/OnV8NYXVYScZG/qCY ZT87vEJMHmt9T9x7muwznfqe1HLBm/HD7hf7Juh6Z1xAaT3qmHUGK09Ei/4Z5IBTiT lMM5FMCiUE7+hj8omytN0/qTNKb0cZRC1tOec5t0WadDr16750RML X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: Date: Wed, 1 Dec 2021 14:38:57 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: sendmail without root privs cannot bind. Content-Language: en-GB To: "questions@FreeBSD.org" References: <2de7a896-60ac-3b96-4b1d-a9c276d19b74@qeng-ho.org> From: Dewayne Geraghty In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J3lHP0lDtz3M6L X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Xak3gKNx; 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.08 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; HAS_XAW(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.88)[-0.883]; DMARC_NA(0.00)[heuristicsystems.com.au]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; 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]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 1/12/2021 1:17 pm, Olivier Nicole wrote: > Dewayne, > >>> Thanks Arthur. I'm unsure, but I manually stopped sendmail and set >>> security.mac.portacl.rules, then restarted. Though I did verify >>> security.mac.portacl.port_high which needed to be increased to catch >>> 587. The problem remains elusive and I'm out of ideas. :( >> >> Maybe it would help if you could provide the running configuration for >> all the security.mac.portal. >> >> Also, you should not need a reboot, restarting sendmail should be enough. > Sorry, I should have posted to FreeBSD list, not to you. > > And also, I think that Apache and named start as root and only change > user after they bound to their respective ports. > > And I think that security.mac.portacl.port_high should be 1023, so I > don't see a need to "increase it to 587". > > Best regards, > > Olivier Hi Oliver.  Its been too long since I started to setup machines without privs that I don't recall which applications drop privs.   My setups has been stable for a few years, apart from updates :) To your questions - I'd previously set security.mac.portacl.port_high to 446, so in my case I did need to increase.   ;) # sysctl security.mac.portacl security.mac.portacl.rules: uid:25:tcp:25,uid:25:tcp:465,uid:25:tcp:587,uid:53:udp:53,uid:53:tcp:53,uid:53:tcp:153,uid:80:tcp:80,uid:80:tcp:443 security.mac.portacl.port_high: 588 security.mac.portacl.autoport_exempt: 1 security.mac.portacl.suser_exempt: 1 security.mac.portacl.enabled: 1 Sendmail's RELEASE_NOTES suggest that running as non-root is possible, though perhaps only as a relay, over port 25? Kind regards, Dewayne From nobody Thu Dec 2 00:28:22 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A342318B8D47 for ; Thu, 2 Dec 2021 00:28:31 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4J4Gyk5WBcz3MCt for ; Thu, 2 Dec 2021 00:28:30 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id F18FD4E6B4; Wed, 1 Dec 2021 16:28:22 -0800 (PST) From: "Ronald F. Guilmette" To: questions@freebsd.org Subject: Re: mount: Operation not permitted In-Reply-To: <20211130215453.64dc1b3b49a05bfa9f4b1a83@bobdbob.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <62888.1638404902.1@segfault.tristatelogic.com> Date: Wed, 01 Dec 2021 16:28:22 -0800 Message-ID: <62889.1638404902@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4J4Gyk5WBcz3MCt X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [0.68 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.98)[0.982]; 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:14051, ipnet:69.62.128.0/17, country:US] X-ThisMailContainsUnwantedMimeParts: N In message <20211130215453.64dc1b3b49a05bfa9f4b1a83@bobdbob.com>, Protius wrote: >I have had mount return "Operation not permitted" when the filesystem I'm >attempting to mount needs to be fscked. Was it umounted correctly? Either >way, try fscking it. I really don't think that was or is the issue. I tried adding different sleep delays into my script, which would get executed just after the umount on each partition/filesystem that was just backed up. I tried different small values for the sleep... 1, 2, 3, and finally 4. The 4 second sleep seems to be adequate so far for preventing the problem from reocurring. It's a shame that I had to solve the problem this way, of course. I would like to assert that the problem is being caused by either a bug within the mount command or else possibly in the kernel, but I've learned the hard way never to do that without absolute proof of any such claim. I don't have time to develop that just now, so I'll live with 4 second delays until those prove unworkable. Regards, rfg From nobody Thu Dec 2 02:05:14 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3A8E418C76EE for ; Thu, 2 Dec 2021 02:05:16 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4K6L2kSRz4dwx for ; Thu, 2 Dec 2021 02:05:14 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id a9so56345448wrr.8 for ; Wed, 01 Dec 2021 18:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=aENGsSrMyDqTXocxamOiBI2TbidXOIKGsIRboof70+M=; b=Z38VYIA7USmhSAg+X3s1pqOLUe9n8jTiCEVei9ooHn0VRbH7MS6qN+UMQ+bDzBRqbx LtDEcSgL7iUA95n2Zn942PLnCGy7ZvIdwM4UNh9dzFzgEdznlXpnvWji9W2hP38WHD8/ 5+KkPAb5F9WVs9bpZ+6WZODVkQ2V2BySXxEG8DF/DEyOVqtXX3mLAtQnhaV1rK7HYQIP fg69XhOEgUPuVXHiBHiFvIAJFgYfejBE2hRBxCFajj3RUUakLyhwtsOAqTrgKgb16Lq+ 0FAFsb6XF7M6OXZx9EquN8jI6tZ1A3GBZFEp51E9XNARANKfJNjlv/PSQWrKs0ZtbzjZ 4uBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=aENGsSrMyDqTXocxamOiBI2TbidXOIKGsIRboof70+M=; b=W92asswSODuUQYmSMo2uxn5b0BDte8I9HwPADER/zgtfG8R455xkibV2MpRL8dczl2 Nuvq54ZH32RQn287DDrlst/lgHPghHiknrd6N3C4JIy8ofkpeDVAeGgOEgi0oIA/z7oZ eOpYFKA6WSoXkP7HUT5b5JRkC1Ap4chSpYfR0Su6DZwdx4Yv3kRslDF8A39OR9BgaGq2 ycVc9E7hTyLVj5ixrxjJBqxwVGUXE4uyCmwEP3L0BmYM/4DQep5AS1WHQEowar23EoTM LP2eJIm7WqCtYzJB2Qp186KLxna+PNAni5UM3WD41/sa4A+1ZePq3Z3O8iciZAhEaKkF tgMA== X-Gm-Message-State: AOAM532Tgk4//ZXeEn+w+G2vRIJczLxVpzPXy1ImFgf0wkESRHX9rHpE LBIAAao9/qfzlgCPPPRZPum8+g0kN4ZyaA== X-Google-Smtp-Source: ABdhPJypgAxw9hTJEx2cHyKtyitfrKwG+D8rq3Vg2scU5+8I3bkOyEaUOZDIeMbhlSDnTvILyVztbw== X-Received: by 2002:a5d:42cf:: with SMTP id t15mr11087721wrr.444.1638410712726; Wed, 01 Dec 2021 18:05:12 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id f3sm1193034wrm.96.2021.12.01.18.05.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Dec 2021 18:05:12 -0800 (PST) Message-ID: Date: Thu, 2 Dec 2021 02:05:14 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: mount: Operation not permitted Content-Language: en-GB To: questions@freebsd.org References: <17812.1638221591@segfault.tristatelogic.com> From: Graham Perrin In-Reply-To: <17812.1638221591@segfault.tristatelogic.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J4K6L2kSRz4dwx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z38VYIA7; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-1.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.92)[0.915]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.91)[-0.908]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 29/11/2021 21:33, Ronald F. Guilmette wrote: > I have a shell script … Can you attach it? If not the entirety, the essence. Thanks From nobody Thu Dec 2 02:07:26 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3E42E18C8DF6 for ; Thu, 2 Dec 2021 02:07:29 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4K8v2w2Nz4gbL for ; Thu, 2 Dec 2021 02:07:27 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id c4so56309081wrd.9 for ; Wed, 01 Dec 2021 18:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=Q2wI/0F/CDo9rtYFnFSw8kQ5VE8ScQPDdrfWVpSeIQQ=; b=eBUw8kGlRkDWdLCbXmdKVgBCBWdwEKMtqKk8e4yhCpQQ1B7Nz6Ln4JdSH9aKMG5Omi yCQunjKLmT3LQ6MHe3paNVGk0M+k0Z/oQK1EOJumBPkgrKUSdomBoyCVD3VXDxsC+GQN jaxgiF7HtmZrkNxnUWz5q14c/sy4GyOeyJkQwr0HOi9342AmXvhGn/hxO97cMs3u8gXa 6SG53Z3n9lXBxheZ6z8OhQQMFmX53vY1hUimSPJX5cDd6sdIb4T8EDCA2Nbhw0CUUTqA Ol8y0EVQBraFQSldBroSBR8oxgbqMRbsz7UN+rxRoDSxP49KVBtTFRgrpv/WjdrbEBI1 S4Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=Q2wI/0F/CDo9rtYFnFSw8kQ5VE8ScQPDdrfWVpSeIQQ=; b=wmW/BwkLSINOAZ2/qgJjkOUkHcmoPYJ2Y0RUjzljjS+gxAPJhO+/YpDmRdc0FjBCzf rNlO/mxXKaZUkyTFYKWaz1PW/Xe88TA09qMH3BerIjjDrUeEt6v08pFU17cc/AwpdYxq QGF/eoC9Jig1NvDjmTNz4tQ5Ncp6362QzOT8Sa2Yyk0Ge7Kc4swCT4tUBciyVGZY7EFX +rjLm7Xc6QcE99k1RkCEWX3Gon82vSjQV1WjQ2Y5a9vy/tDNxNepRDbzp4mbmuq+OHOI C9//6pixAv+zWiwGjbHvhyD22H7JvFppnT1Q8GO4hdQHTybcVaT3EpJFtYN54H5Lm0KF HMoQ== X-Gm-Message-State: AOAM532W0j/xFifsabAKvNm0kf/oXnCm7ClgdMkzWuPod549rHPwBbRf 0BCLcZzm5fUtpeTAWwAEAswQCBbdtMqoHw== X-Google-Smtp-Source: ABdhPJwBlbH6LJWP3ONOn3r7CtvTqCCH5kRnOfdWmdPcjJqnX2qSClqx/NcEHzS+QAqzMccrcnr3VA== X-Received: by 2002:adf:f990:: with SMTP id f16mr10730605wrr.128.1638410845531; Wed, 01 Dec 2021 18:07:25 -0800 (PST) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id e24sm1255643wra.78.2021.12.01.18.07.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 01 Dec 2021 18:07:25 -0800 (PST) Message-ID: <9fb8ebce-d9c2-257f-1328-878eee2eacf2@gmail.com> Date: Thu, 2 Dec 2021 02:07:26 +0000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: mount.exfat-fuse(8) (was: SOLVED: Re: Mounting exFat device) Content-Language: en-GB To: freebsd-questions@freebsd.org References: <9b71b708-20de-67f6-50db-a828ef380ee3@holgerdanske.com> <851fbc46-a752-a6fb-83f2-f6363c6381fa@twc.com> <20aacf4c-2ca0-b40b-62fb-9aaf164df415@holgerdanske.com> <0d91f3b4-909a-78f2-421b-98dba374d363@twc.com> <5a37dddc-a2c9-c0d0-d50a-4941ce2098c7@TWC.com> From: Graham Perrin In-Reply-To: <5a37dddc-a2c9-c0d0-d50a-4941ce2098c7@TWC.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4J4K8v2w2Nz4gbL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=eBUw8kGl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-2.04 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; 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)[]; NEURAL_SPAM_MEDIUM(0.88)[0.885]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.93)[-0.926]; RCVD_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 10/03/2021 04:29, Steven Friedrich wrote: > mount.exfat, which doesn't have a man page!! % apropos exfat | grep mount mount.exfat-fuse(8) - mount an exFAT file system % From nobody Thu Dec 2 11:54:59 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 67FC318A8C3C for ; Thu, 2 Dec 2021 11:55:01 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4J4ZBs1cccz3ksJ for ; Thu, 2 Dec 2021 11:55:01 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id 0DE6D4E636; Thu, 2 Dec 2021 03:54:59 -0800 (PST) From: "Ronald F. Guilmette" To: Graham Perrin cc: questions@freebsd.org Subject: Re: mount: Operation not permitted In-Reply-To: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3580.1638446098.1@segfault.tristatelogic.com> Content-Transfer-Encoding: quoted-printable Date: Thu, 02 Dec 2021 03:54:59 -0800 Message-ID: <3581.1638446099@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4J4ZBs1cccz3ksJ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N In message , = Graham Perrin wrote: >On 29/11/2021 21:33, Ronald F. Guilmette wrote: >> I have a shell script =E2=80=A6 > >Can you attach it? I can append it. See below. I am not sure how much sense this will make without a lot of context however. Suffice it to say that I have a number of partitions/filesystems on my primary drive, and that there is an exactly corresponding number of partitions/filesystems on each of the (2) drives that I use to make rotating backups on this primary drive and that all of these (backup drive) partitions/filesystems have been nicely pre-labeled by me with nice GPT labels so that they will all show u= p underneath /dev/gpt/ when I have either of the two backup drives actually installed into my hot-swap rack, ready to be used to perform a backup. The "sleep 4" command and the two "sync"s around it are recent additions t= o this script. I always and only ever run this script as root and only from ~root. The script is designed and intended to fail gracefully if I have failed for any reason to insert one of my actual primary-drive backup drives into my hot-swap rack. (I don't want to go overwriting the Wrong output partition/filesystem after all!) P.S. Yes, I even back up /tmp. Please do not laugh or give me a hard time about that. I do occasionally have stuff in there that I may need to keep around, at least for awhile. ----------------------------------------------------------------------- #!/usr/local/bin/bash pname=3D'mkbackup' rsync=3D'rsync' opts=3D'-v -t -axHAXS --delete --delete-excluded --delete-before --filefla= gs --force-change --exclude-from=3D' try_to_backup_partition () { output_partition=3D"/dev/gpt/backup-$1" if [ \! -e $output_partition ] ; then return 0 fi input_directory=3D"$2" output_directory=3D"/backup-mnt/$1" excludes=3D"/root/excludes/$1.txt" if [ \! -e "$excludes" ] ; then echo $pname: $excludes: Missing excludes file 1>&2 return 1 fi now=3D`date +%Y%m%d%H%M%S` log=3D"/root/backup-logs/$1/$now" echo $pname: mount $output_partition $output_directory 1>&2 if mount $output_partition $output_directory ; then echo $pname: $rsync $opts$excludes $input_directory/ $output_directory= \> $log 1>&2 if $rsync $opts$excludes $input_directory/ $output_directory 2>&1 >$lo= g; then sync echo $pname: gzip $log 1>&2 gzip $log sync else echo $pname: rsync failure: $output_partition $output_directory 1>&2 echo $pname: umount $output_directory 1>&2 umount $output_directory return 2 fi df -k $input_directory $output_directory sync echo $pname: umount $output_directory 1>&2 = if umount $output_directory ; then true else echo $pname: Umount failure: $output_partition $output_directory 1>&= 2 return 2 fi else echo $pname: Mount failure: $output_partition $output_directory 1>&2 return 2 fi sync sleep 4 sync echo $pname: Success backing up "$input_directory" to "$output_directory= " 1>&2 return 0 } date try_to_backup_partition root / try_to_backup_partition var /var try_to_backup_partition varftp /var/ftp try_to_backup_partition tmp /tmp try_to_backup_partition usr /usr try_to_backup_partition home /home try_to_backup_partition v /v date From nobody Fri Dec 3 01:57:47 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DF1D218B50B4 for ; Fri, 3 Dec 2021 01:57:55 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.neutralgood.org (gunsight1.neutralgood.org [IPv6:2607:f758:2280:1:d6be:d9ff:feac:a1e9]) (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 "gunsight1.neutralgood.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J4wvQ6YtSz3tKc for ; Fri, 3 Dec 2021 01:57:54 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.NeutralGood.ORG (localhost [127.0.0.1]) by gunsight1.neutralgood.org (8.16.1/8.15.2) with ESMTPS id 1B31vmlm031515 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 2 Dec 2021 20:57:48 -0500 (EST) (envelope-from kpn@gunsight1.NeutralGood.ORG) Received: (from kpn@localhost) by gunsight1.NeutralGood.ORG (8.16.1/8.15.2/Submit) id 1B31vlhX031471; Thu, 2 Dec 2021 20:57:47 -0500 (EST) (envelope-from kpn) Date: Thu, 2 Dec 2021 20:57:47 -0500 From: "Kevin P. Neal" To: "mayuresh@kathe.in" Cc: "Steve O'Hara-Smith" , questions@freebsd.org Subject: Re: [newbie alert] How does FreeBSD support hardware? Message-ID: References: <20211130053842.761663d9429eff4a086f4c74@sohara.org> <6057-61a5c080-c5-33c01300@194162305> <20211130064826.be9363126be529e5b1d03d22@sohara.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211130064826.be9363126be529e5b1d03d22@sohara.org> X-No-archive: Yes X-Rspamd-Queue-Id: 4J4wvQ6YtSz3tKc X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kpn@neutralgood.org designates 2607:f758:2280:1:d6be:d9ff:feac:a1e9 as permitted sender) smtp.mailfrom=kpn@neutralgood.org X-Spamd-Result: default: False [-1.95 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[neutralgood.org]; NEURAL_HAM_LONG(-0.73)[-0.732]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.92)[-0.922]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13649, ipnet:2607:f758::/32, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Tue, Nov 30, 2021 at 06:48:26AM +0000, Steve O'Hara-Smith wrote: > On Tue, 30 Nov 2021 07:10:09 +0100 > "mayuresh@kathe.in" wrote: > > > So the developers of Clang/LLVM too have to keep in step with > > enhancements introduced by processor vendors, right? That would be in > > addition to GNU "gas" being updated. > > Yep and the application writers if they want run time detection of > CPU features. I'm a little late, but I can confirm that Intel has employees who work on Clang/LLVM. I've been working with one for, oh, three or four years improving the math support. IBM has a bunch who support PowerPC and SystemZ, AMD has employees supporting their CPU and GPUs, NEC has employees working on their Vector Engine support in LLVM, and so on. Lots of companies have employees who work on Clang/LLVM. And LLVM doesn't normally use the platform assembler ("as" or "gas"). It can if you ask it to, but normally there's no need. The built-in support works just fine. This might not be the case with more exotic platforms, and newer backends might not have LLVM-based assemblers yet, but for common platforms like Intel's there's no need for gas. -- Kevin P. Neal http://www.pobox.com/~kpn/ On the community of supercomputer fans: "But what we lack in size we make up for in eccentricity." from Steve Gombosi, comp.sys.super, 31 Jul 2000 11:22:43 -0600 From nobody Fri Dec 3 04:42:58 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B100718ABC6D for ; Fri, 3 Dec 2021 04:43:07 +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 (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J50Z26GHcz3MS0 for ; Fri, 3 Dec 2021 04:43:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1638506578; bh=lUm3QMk+uC0KXhqaSVd209Jw6WJSc1tJgiSTLS0DXUU=; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding; b=k2on4uaWEdd6kZJQgidAXVnTrcZmPIcQGfnHnmCeGZG18K6tbOiy1RuTdb4trCMMz 8OUujJccr21HfmzbY0KUAiOGjGNxz6Ps28ZyjRotMM6QMeABuieyBSdcCkUqIwiobf 3vICckFsFVu8rbcPsxMXSluh/K6DMKTG16bgC6KZaiMS4dzNx1EeiZPy+DW/h4NUgN JJJJrhWHBXSY9ObiEHBYFDnia8abBWvDmFcGKd3jqywIUqmvq9ewzYZA/mcXpgGZmn YpZnYN9a/Hl0/pK7dCldfQbqIIQWc0XppdpcRytlP2sEuIP7pllmaicZP1MbSkmTzJ Ne1eLv+HkVL76EtRX0iWaXs0zJ2Ze/x8vg92lSinnQxYX60LXMhGR/bRvybekWe38u cYxovMpA2AfdLIsAAO3UBLPuybnwo77RP8rPAAUVDZGDbLK8ray+zkF49w1dGfALBc 6hvTS5rKjbsaoJfrj5RksVepuQ3OxAzpaaO17atFKrPfAr8FQDxICduSaCvSklME3x Rz+S/BJT9NS2qEDaRAPK7wtrPT5Fs3tT7ny3VKH4X66OzgRCgCY++JRycVicb8ZIoW 8VeOCh0uniWgsS9Uj8G7JYkmQ6JUwlIAFAhBdYRhy3xHJGywnbPNWovvGNH/t38fOx kasn7m7qdyF9eNKFaY9Mn3fM= 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 ; Thu, 2 Dec 2021 20:42:58 -0800 Subject: Re: mount: Operation not permitted To: questions@freebsd.org References: <3581.1638446099@segfault.tristatelogic.com> From: David Christensen Message-ID: <24ac9ef5-dbd6-8628-bd09-fa55409df439@holgerdanske.com> Date: Thu, 2 Dec 2021 20:42:58 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: <3581.1638446099@segfault.tristatelogic.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4J50Z26GHcz3MS0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=k2on4uaW; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-3.71 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; NEURAL_HAM_SHORT(-0.72)[-0.718]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 12/2/21 3:54 AM, Ronald F. Guilmette wrote: > In message , > Graham Perrin wrote: > >> On 29/11/2021 21:33, Ronald F. Guilmette wrote: >>> I have a shell script … >> >> Can you attach it? > > I can append it. See below. I am not sure how much sense this will > make without a lot of context however. Suffice it to say that I have a > number of partitions/filesystems on my primary drive, and that there is > an exactly corresponding number of partitions/filesystems on each of > the (2) drives that I use to make rotating backups on this primary drive > and that all of these (backup drive) partitions/filesystems have been > nicely pre-labeled by me with nice GPT labels so that they will all show up > underneath /dev/gpt/ when I have either of the two backup drives actually > installed into my hot-swap rack, ready to be used to perform a backup. > > The "sleep 4" command and the two "sync"s around it are recent additions to > this script. > > I always and only ever run this script as root and only from ~root. > > The script is designed and intended to fail gracefully if I have failed > for any reason to insert one of my actual primary-drive backup drives > into my hot-swap rack. (I don't want to go overwriting the Wrong output > partition/filesystem after all!) > > P.S. Yes, I even back up /tmp. Please do not laugh or give me a hard > time about that. I do occasionally have stuff in there that I may need > to keep around, at least for awhile. > > > ----------------------------------------------------------------------- > #!/usr/local/bin/bash I prefer to use the standard shell (/bin/sh). I set errexit and nounset at the top of my scripts. > pname='mkbackup' I set a variable with basename and $0 at the top of my scripts: basename=$(basename $0) > rsync='rsync' I would eliminate this variable, or use an absolute path. > opts='-v -t -axHAXS --delete --delete-excluded --delete-before --fileflags --force-change --exclude-from=' -t is unnecessary: -a includes it. --delete is unnecessary: --delete-before includes it. > try_to_backup_partition () I decompose my overall solution into multiple scripts, each as simple as possible, and organize them all into an invocation dependency hierarchy. This makes it easier to test. (My shell scripting has not progressed to the point of libraries of functions; with matching test suites.) > { > output_partition="/dev/gpt/backup-$1" > > if [ \! -e $output_partition ] ; then > return 0 > fi Is it necessary to escape the exclamation mark? I would put double quotes around $output_partition in the test condition. I echo a warning message if the destination directory is missing. > input_directory="$2" > > output_directory="/backup-mnt/$1" > > excludes="/root/excludes/$1.txt" > > if [ \! -e "$excludes" ] ; then > echo $pname: $excludes: Missing excludes file 1>&2 > return 1 > fi > > now=`date +%Y%m%d%H%M%S` I put a dash between the day and hour. > log="/root/backup-logs/$1/$now" > > echo $pname: mount $output_partition $output_directory 1>&2 I prefer to set xtrace, let the shell do the echoing, and then unset xtrace. I have yet to find a way to not echo the unset xtrace command. > if mount $output_partition $output_directory ; then I would put a sleep(1) invocation after the above line and before the next line. > echo $pname: $rsync $opts$excludes $input_directory/ $output_directory \> $log 1>&2 > if $rsync $opts$excludes $input_directory/ $output_directory 2>&1 >$log; then I would put the '--exclude-file=$excludes' into $opt. I typically include $@ in the primary invocation so that I can add options during testing (such as -n, --stats, --progress, etc.). Missing and/or mismatched trailing directory separators (slashes) on rsync(1) sources and destinations make me confused. Your $input_directory has a trailing slash, but your $output_directory does not. I assume you are doing this to create the destination directory if it does not exist? I tend to create the directory explicitly, and use the trailing slash on both the source and destination. Is it necessary to escape the greater than symbol? I do not understand the redirection '\> $log 1>&2'. Please clarify. > sync Have you found that sync(8) is required here and below? > echo $pname: gzip $log 1>&2 > gzip $log I would pipe the rsync(1) output through gzip(1) and create $log.gz, unless the redirection prevents it. > sync > else > echo $pname: rsync failure: $output_partition $output_directory 1>&2 > echo $pname: umount $output_directory 1>&2 > umount $output_directory > return 2 > fi I run commands directly and let errexit stop the script if an error occurs. > df -k $input_directory $output_directory I would limit the script to rsync(1), and write another script for df(1). > sync I would put another sleep(1) invocation after the above line and before the next line. > echo $pname: umount $output_directory 1>&2 > if umount $output_directory ; then > true > else > echo $pname: Umount failure: $output_partition $output_directory 1>&2 > return 2 > fi > else > echo $pname: Mount failure: $output_partition $output_directory 1>&2 > return 2 > fi > sync > sleep 4 I would put the 4 into a variable at the top of the script. If you add the other sleep(1) commands, re-tune the time(s). > sync > echo $pname: Success backing up "$input_directory" to "$output_directory" 1>&2 I would add a --verbose option and a conditional around that message, the date(1) invocations (below), etc. > return 0 > } > > date > try_to_backup_partition root / > try_to_backup_partition var /var > try_to_backup_partition varftp /var/ftp > try_to_backup_partition tmp /tmp > try_to_backup_partition usr /usr > try_to_backup_partition home /home > try_to_backup_partition v /v I would put this information into a configuration file and make the script data-driven. This would facilitate testing and/or multiple scripts. > date David