From owner-freebsd-questions@freebsd.org Sun Oct 20 19:21:55 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E0B8E1681FB for ; Sun, 20 Oct 2019 19:21:55 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46x8lk73CQz4HHF for ; Sun, 20 Oct 2019 19:21:54 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qk1-x72b.google.com with SMTP id p4so10326081qkf.5 for ; Sun, 20 Oct 2019 12:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version; bh=vGiRsmJOtHgfmDpmT4ajvem2/15ImQXPsBAdzMldlt8=; b=KV6CBI5tSrUz/AHxDtPrXOdlRQNlIH2cWuESCHi1HvEPTfp3hwgqOh5imZrRJcxfmv zntGHqi1iNGOv5fA9J/Zrt6XUnu3h88nR9BZH8woC6aFi+q3kiE/JqTWEC7jBMH7p5wi jq/qqs5Az5mCYK7026Bo1kk0W55AkDLRQvTBc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version; bh=vGiRsmJOtHgfmDpmT4ajvem2/15ImQXPsBAdzMldlt8=; b=AgB5N5H/evNe21BFf96eBFS2uJ6DIIcO4LpEJ2VuzgvQxBXaTTkTKJ1tVU5SJFO1wR Cm33Ba5i6oZI15tkGhFLwtp1BkXAEcEzcz5vYzwcW7B0a01QSR882eicAX8KeJZUxYau JP3Bk7ZY3Zxe2M4Bz4qEOsVcZDFfd2+PExWpR872Kh0iIHTjzHljr0mu1h3ELdmLpZHz P4w8EmDS1HNYSi2m8pUaJUVBMLK/XDHAyWFdOr60srzoofm1O5EJW5s0Uyk+hfmN6jGi ndq019amSQ1C0BdNox+h9KKCqcU2OInEM+BIezJI98q7kqXkA1O4L+YGg9FGH7E4YrkJ 974g== X-Gm-Message-State: APjAAAVP0bl3xTdbVFAEKhZohUzxYsvKWB9zMDhm6pFwTThK2mtTohAJ rbV5e3j13vXk2imgNoNmzJfy6ZqiuLw= X-Google-Smtp-Source: APXvYqyT+Eu6HwnhKoSXt2ebEZmv27D7LRLeylXQOgJie80K0MzciA0ACOH+UNebzqPM/ofqRU4dUg== X-Received: by 2002:a37:9bc2:: with SMTP id d185mr18569237qke.299.1571599313259; Sun, 20 Oct 2019 12:21:53 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id x8sm6343500qkx.77.2019.10.20.12.21.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Oct 2019 12:21:52 -0700 (PDT) Received: from localhost (HP-ENVY [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 46x8lg4QyNz2kDX for ; Sun, 20 Oct 2019 15:21:51 -0400 (EDT) Date: Sun, 20 Oct 2019 15:21:42 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Restarting Network Message-ID: <20191020152142.0000074e@seibercom.net> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Eg.oY_B3AETbDcczCm9JyHh"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 46x8lk73CQz4HHF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=KV6CBI5t; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::72b as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-2.41 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.81)[ip: (-9.45), ipnet: 2607:f8b0::/32(-2.45), asn: 15169(-2.08), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[b.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2019 19:21:55 -0000 --Sig_/Eg.oY_B3AETbDcczCm9JyHh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable FreeBSD 12.0-RELEASE-p10 For the past few months, my network has been going down on my FreeBSD machine. To get it back up, I have run the following commands: # service netif restart && service routing restart I am not sure why it is doing this. What I would like to do, assuming I cannot get it to stop crashing, is to put some rule in 'monit' to handle it. Does anyone have any good suggestions? The monit man page lists several, but I am not sure which would be the safest to us. --=20 Jerry --Sig_/Eg.oY_B3AETbDcczCm9JyHh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl2ss8YACgkQOHMGOIfe xWTVIwgAyhmPzVsL1EnnXwFSIA0psXGJxbTWds2Q/2pZ8c8euJ/lzD8QaKZXRGwq 7WrV3/USUJRo2EwZJqAbo0+JBgct5O0dnij3ZTOgRUSajWDVICp31eeFYhmubc52 45vYHYAbU5kW/3GEMU8MTyimyPcJJlAcjzM2g6/KnHJubPo/LUc9X4LvfRJuq55I sKuOija/xNVzKEt2nfdjRf/TSXCoAzOHmJhk0K11zsXEJwoTydCJvHFJ7INMq4la GsOgRYQy7qssMqFWW+JZMjkqXOLHiUsohcSQr4mfAM75v8RrhH/ccbZUBrX6y41F KXLLB35fjQBPeaF9rvqUkmrABFVvFA== =y1S8 -----END PGP SIGNATURE----- --Sig_/Eg.oY_B3AETbDcczCm9JyHh-- From owner-freebsd-questions@freebsd.org Mon Oct 21 06:23:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A0FCA1750B0 for ; Mon, 21 Oct 2019 06:23:15 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail8.networktest.com (mail8.networktest.com [192.73.244.137]) (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 46xRQp3b3tz3KNt for ; Mon, 21 Oct 2019 06:23:13 +0000 (UTC) (envelope-from dnewman@networktest.com) Received: from mail8.networktest.com (localhost [127.0.0.1]) by mail8.networktest.com (Postfix) with ESMTP id 8DB76550295 for ; Sun, 20 Oct 2019 23:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=networktest.com; h=content-transfer-encoding:content-language:content-type :content-type:mime-version:user-agent:date:date:message-id :organization:subject:subject:from:from:to; s=dkim; t= 1571638973; x=1572243774; bh=JOY2TdwhlErs+2OCDjHvaX/b2IEd7xXrmF9 RsIRANvs=; b=lFz4Q0NAqJjHPUsJgP98iEuD2NF3RtrV+O0LEJnmqX6TMjlsbXZ mkFPIoNZANQSg1/6+23C2WhPD+QTGTm9UGmWnUmlJs0KS9eJL5CWNYqg/AZJPAZv mWr1DfpWxgsXczgEyreC6KDZxii50iI7Frej8KTXg8XpqXgXb4+5W2rM= X-Virus-Scanned: amavisd-new at mail8.networktest.com Received: from mail8.networktest.com ([127.0.0.1]) by mail8.networktest.com (mail8.networktest.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id S1k32yojj9Kq for ; Sun, 20 Oct 2019 23:22:53 -0700 (PDT) Received: from tejay.local (cpe-75-82-86-131.socal.res.rr.com [75.82.86.131]) by mail8.networktest.com (Postfix) with ESMTPSA id 4AA1A550294 for ; Sun, 20 Oct 2019 23:22:53 -0700 (PDT) To: freebsd-questions@freebsd.org From: David Newman Subject: changing the PostgreSQL default user Autocrypt: addr=dnewman@networktest.com; prefer-encrypt=mutual; keydata= mQINBFnmfMEBEACt5x64cZy4FPct3SaH44BMAYkghlJDxI11XpHUJNFAuJ8MD8WgF5F6Nc9C PCl7WzIHAwgWkM2ntAgcOeKvBiFTtzMfiIczfgIAkhiyANYAm3MIH4Li9X0NltYtROQ7FUn+ H4IWZ0SF/BZH1jfoLRNVvuLHdXVYrol/9sGlSI1KTpzpt3GIgeTxdOgTy0nO0HO7c0EBTnRv L3fyYs2E9XgmqsHlFqHBvF1OV0HjVJsqohQxb9iReZEL2UseTZYIYOhKizI3oJOnwPmf7zYg E4jzL422tHbbj4Qwh8l4kZDvy3J+S+KmqFD+IvOUbFBmHZKKB8oFZvLrjd7PLRs0ORSaseqA di0TEUAC3RpmybB1iuukvYhayeLV9afwXWFGNTqrAGCrGPR9umP7OeKGIm6SHrmGnqMlAAz6 qfVITcbhdne2JiqLaZ23B1ezTmJwPPbDGi7G6Yk3Z5pzuZBgq/L1ZyenUBmIcx95C1kVmUtl POJJ3RUNXqJLkjfZhGcmQczR2U0WoOuHVWCmztxa3yhkQETjKhmlIkBV6pj2Bc/mtynVBZg8 XclC6f4Q9bADDOiwO6uDbqI8Bpa1X8YY7iL8QJy2JHACT/j/+mji6Er8c+xU9qkxNmjc3E2a KpCg7gIqnWFj/Ag76AHkPkIo2SO2QINyRMgnFMQeS6j7ij7BOwARAQABtEtEYXZpZCBOZXdt YW4gKERhdmlkIE5ld21hbiBOZXR3b3JrIFRlc3Qgd29yayBrZXkpIDxkbmV3bWFuQG5ldHdv cmt0ZXN0LmNvbT6JAj8EEwEIACkFAlnmfMECGwMFCQeGH4AHCwkIBwMCAQYVCAIJCgsEFgID AQIeAQIXgAAKCRB8vD6mldfDUqfvD/4zARgEeKZqNrJWOK9YMkIah6C6dMohRH0Pz9AkMz9+ 9i9VhdZf2Pv0hq+IEGw+6ISQZL/xiNmq4l6rBioU+AAq98CZq8sh0VLSSeEqYDbo9anvSu2W j1MzhC0BKhlaFPgy08EYZlN2z4pbSvG/ARc0xfTiGlU2jA+iEiMNDbHveGEH1iwAXV3JGA9T bIpe/D5pVO2aemTsePf6+OiATE7M3crqKYZX7WMejqMbOuXzWbeCh/HoDnBBSFDIHR3lQfqR 6jwvb/NogoBioMx6I9vtXvwkqVgp4/jxgkK+I1X4BCdXvC1s3qnJQ9lQT3kFPCJBhQ3qcORv Lvx5svBtp9undPvvp+7SEOBIZDyAfAtSRvBHSv86Y8XnTSrseqk/XtcQbsHs7eVAYcg7F0dR gXFNFUMg67VgacXfyi2GrmkIvA3Zh8h39pZBiTiKfizMhn10gFPhHI6zndR5mYVO5sGUVMVt Mw4f0MDiKHmgFZcs/zcO89OSx3vRwAn5YfBdCagrX1VPYAgGxsfPhnUT8BjmqAFLbHHpb23n HUtfepMIeNaN76/PcxQJUInx/9MfceKL/XGJ8uThM3Ujdv8x6IS7mzEqSbMQTqVVi7loIfP3 qqP87k4Z6G7IMNXKk/Mg84kLTq7YD48pm9S1ME+ghd7wraX2tcbMycuZsrE4XfI8ibkCDQRZ 5nzBARAA9fYZMETrO0l7alXxUVxYxLYVWulKh3GBz9yAeSXSEIJ+q8f0WsDK5zPd6ndBzY2k pT2DJ/ND1NfZJlEo5o27eETQJkpIMV38ZINZz/gVThMIIpCHZeSMW3JveZYEB1xYLFLxeILI ECBAO/h0ASdRz0KYLJldWmuWBUd3tsxhOpK/lZ/s5wbFpstAzsAiw0sm2de4UpNpmGHc1x1j eJH4WBKIAUkZLDXUWEkN1aSVMGWH/2yH87x/J/Mjrj49T+6RwwUohSgOQV3q1XjGjqDq/tpN BPODp32z9GchIvmCU4cRF0uQKpUXtu0fpwnmc1W5M/1aVPQ33vgEFcS/brpWMf7xLIL9EGDp 4/4BukImG4wOx1L3GuKIw5XXNLA9uCriWXr7NSvI00AhXR7m/NbE9ZLIHKfTWssFf9hYnh3p x2n1E+Hy/okqDppfGynHUJjcl5UwP2v6lKO4VO8Gz6wdhl2sYU9pNT6/8Hfp9lnY0BTbFv5Y zZfD77NdCJoDwEd2FUgRzb4vqjwoswci8U73pcOCylbQbAEC5scy/Bd5BOoSIy0kGaQYqumA 3rGXzDn4B02xiYiraNIH28jZPmWzYGM/jncajRFYARZFh/K1OW8Wl3JILAlwZP4VO6ECDj3r qv9EwUv6gxsikXtCT0xjnHL/N5+UQBIQOrx7/TKb80MAEQEAAYkCJQQYAQgADwUCWeZ8wQIb DAUJB4YfgAAKCRB8vD6mldfDUvPlD/4rpb17nhmvSnAy+ShanY2p40M4kgo46Mwmvm3Dmug8 5P+ECRtmhTZ+kEU8Ici/u7FFvE1WHydeNCdE/tOaJ3qXMLBOd4SiB+sa21E0veqR28qUmymI Ti/gFhMpL2Cfa5oPQj5sq/fdEPJzpAoaHfxUMPIUZ7ebM96syazndEFJAFS9MO00/SJ/HcUx 8VMypzqoG+EyBs4c+PThNRyuUH5x8gh4uABILTYIwqUE4HESpRef9ETdJpBkWhsQqxo3Nvoa TLjZH0LNnMyZXOb/aUeQBm0TSGda+on+0BdI70QgI42mu6ovKup32eUhHh7C9scKv8NJYo1Z 4PqRQVIEPznCizZ90aBP1Ia0rJfcADzFNrOQru1WXmm+zXu/TYdESyoL5MRAlitEIs34oeJF X8wMgkHZBFVhvEm60ynH2HZQRLWGIVBnW7oJ2apTx10L2AZWZvLQ6P8pn4eZMPX3+f854d4Q D4yEhE9Ec7CTiqmo6A5+bHGi/yf8VzxMNorlyHCIFZZdfm5vctcg78iUfqsKyvAULpmjLKyA YkX0qv2EnCMUb9urwITWbQTySOVazfjOjRPUO1z5RbfGwCMwNdW8ahf94jtLaVbvVp+7F8dD Y81Qhcbc2MAOWzP1ghr+wsyAyvzVJuDS0kDh6XjpuZddSBEYAh+aI8Kcwqsr75INMg== Organization: Network Test Inc. Message-ID: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> Date: Sun, 20 Oct 2019 23:22:52 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46xRQp3b3tz3KNt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=networktest.com header.s=dkim header.b=lFz4Q0NA; dmarc=none; spf=pass (mx1.freebsd.org: domain of dnewman@networktest.com designates 192.73.244.137 as permitted sender) smtp.mailfrom=dnewman@networktest.com X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[networktest.com:s=dkim]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[networktest.com:+]; DMARC_NA(0.00)[networktest.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; IP_SCORE(-0.78)[asn: 36236(-3.85), country: US(-0.05)]; RECEIVED_SPAMHAUS_PBL(0.00)[131.86.82.75.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:36236, ipnet:192.73.244.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 06:23:15 -0000 Greetings. FreeBSD recently changed its default version of PostgreSQL from 9.5 to 11. However, attempts to run 'pg_upgrade' on the databases failed for me because my 9.5 install had a default user of 'pgsql' and version 11 goes with 'postgres' instead [1]. My hack was to edit /usr/local/etc/rc.d/postgresql, set postgresql_user to pgsql, (re)run initdb, and then do the pg_upgrade conversion. It works, but future upgrades might clobber the edit in the rc.d file. This article suggests one ALTER command will change the default PostgreSQL user: https://netnow.jira.com/wiki/spaces/PUBP/pages/119996467/Changing+the+default+user+and+password+for+postgreSQL Is that, plus chown'ing the data directory, sufficient to effect a name change? Thanks! dn [1] The pg_upgrade program has a -U switch to specify user, but it still fails because the pgsql user can't read stuff owned by the postgres user and vice-versa. Just running chown on either binary or data directory and its contents doesn't work. From owner-freebsd-questions@freebsd.org Mon Oct 21 08:31:55 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14277150343 for ; Mon, 21 Oct 2019 08:31:55 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xVHF2ggrz3xCl for ; Mon, 21 Oct 2019 08:31:53 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=0Hbda3bjDQ1Evt+7EXTySvKHzdtF1ZhZAlD9eM1ZxjE=; b=fhnayFFsXzkDurxII35CXbcuLo hgYBvwy8E/Jk9R8fhyZjQXsETSbrBj5Fao3fP/awga/n0YtUqbGLJ7dVdYrW9okUhtnfQTmdg1SeY RRo9BK1IrGeQ6q3GbpwRy2Xr/rqi9qtLlNJ4kmiyJzkP5SoPVM7BtpLqaCahMe/Jh4mE=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMT6P-000Adl-S0 for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 15:31:45 +0700 Date: Mon, 21 Oct 2019 15:31:45 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: BE and loader integration Message-ID: <20191021083145.GA40656@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZGiS0Q5IWpPtfppv" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xVHF2ggrz3xCl X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=fhnayFFs; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.23)[ip: (-9.82), ipnet: 2001:19f0:5000::/38(-4.91), asn: 20473(-1.37), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 08:31:55 -0000 --ZGiS0Q5IWpPtfppv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, I know I can select a BE (boot environment) to boot from the loader menu. However, I'm at a loss what the options of the loader menu 1. Active: 2. bootfs: are supposed to indicate, and what is supposed to happen when I press "1" or "2". Pressing 4, 5 etc selects a BE, that is fine. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ZGiS0Q5IWpPtfppv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrWzxAAoJEA2k8lmbXsY0PDAIALPjA6rjWKHoAsK73Fnjg8nr J2x9DTzLSJ7bPPmqa+15WZ0rzSz8vhSme9+mg3vhClNIYwyBKr8c87bacWsvRoEz mwKH/fWqONeNzNTh5dZ5udc7KRPHpFI8Qzvzcj7KAN2dAfFUfeqELQosRIkKeoaQ G2wE4RmFOxD23U2vpL2OxvQgsgFirJnWx0Yw1v8NNLuTGHeukNDqamSPU1m0LWLS 2ZGU5V4unwk4L4M5lPyZCWNbp0CkrEYeLpAa+JjOnOAmrMR5FN/xk9rUBf1jBOj5 TsC/QZEDewDTLLH+G5G2Aoi8gHpswDCR1za17EKuMEs3PWssRb/JUNYkbEF/qT4= =0yJR -----END PGP SIGNATURE----- --ZGiS0Q5IWpPtfppv-- From owner-freebsd-questions@freebsd.org Mon Oct 21 09:06:19 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1F08E1518FA for ; Mon, 21 Oct 2019 09:06:19 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xW2y2pf3z3yx2 for ; Mon, 21 Oct 2019 09:06:18 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=Q7KkRlN8yw9JtEsaHw8kisJlTtPzTQkQnY5+oCyNM6o=; b=lUoYBiUABPpGjAhNxmP2durdfD xxeeyp5L0sKxjNMGyoxR11yJTLJUsLJC3q04r+TMmKUqpbJIskhTJLsQhE5cn/W10TL83bgJFjczp kDDTE1M/dfjK+V3CemZr7bs29DpLiwBew9eidIRwpVHGnfMVxE+73HH5QWkSO9DYfHaE=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMTdp-000B3L-58 for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 16:06:17 +0700 Date: Mon, 21 Oct 2019 16:06:17 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: cast to Android TV from FreeBSD? Message-ID: <20191021090617.GA42288@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xW2y2pf3z3yx2 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=lUoYBiUA; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.23)[ip: (-9.82), ipnet: 2001:19f0:5000::/38(-4.91), asn: 20473(-1.38), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 09:06:19 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast (what is it called?) to it from apps like YouTube on my mobile phone. Do you know if I can find some software for FreeBSD to cast to the Mi Box? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrXUJAAoJEA2k8lmbXsY0sMEH/RzinwpFwl7LayEIbJC6xN/i Itxt5NFce7qk9fyxSrAiAQ2fjdKZjvCft+/5C0hVr6bIa2Vhudq1+OLMye4rCuGO FYwz1llEnSOwRF55jKCrk/VFeT5su06tXnCOdD0EuqILYWyNozsDSxhT8VCqEug6 ROlBlo6ir5TojTBjwtMw2tyrR+2ZKPcLs6OjZgXjx2E+zbXk2iDCAC/COL8865vW YpagTP4J10PGoI1wXPxaAdtz0fkuZnGZKdrZ59ROD4Gv+XZBLMrt+x8m+9i9shN0 JDkCGQ16rXb5pd75XnMUM0LcxGpTmhUWmWsBI4ZcjNNSxUXPdb7zJuVUyAcDRFw= =Wikc -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP-- From owner-freebsd-questions@freebsd.org Mon Oct 21 09:08:44 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06A27151A73 for ; Mon, 21 Oct 2019 09:08:44 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xW5k47wSz403T for ; Mon, 21 Oct 2019 09:08:42 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x9L98UkG006713 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 21 Oct 2019 11:08:30 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1571648910; bh=DbS6QkAxa7DVTVYDOD+KFYXf+mkvi2j8JbotHBxRi2s=; h=Date:From:To:Subject:In-Reply-To:References; b=H9vfC9hCXITxmg2FYDWLBcpiwXUGSROA1lSbW6uckqME30eSDOV0uruVe3sWMP1Vo lkyx0gMbg9yJtKBFfqEUclbfFMmvAkJ83/ZguYvIKUOBjWEf8P06KbyXiXdC38cXLK sZjrLh2R7TrEpzLmsbivMcW9HkQl2RL3IF4k3Rg2LO2IQc4Hqa2396dehdGH5gyPAj +yDQs+RPVuorXmefW+SnDj7FprPLIp8BJb47alwIXwVQ4Kj42mohZcwRqIiwhmd6Qs Jtr1yQSD7YINVy0Ep0UMf/HFlbsALQppqUztH+6y8mcJcsG7pdHswkgswZkcUgpUW6 4uCTbxqzphxiQ== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x9L98TVC006710 for ; Mon, 21 Oct 2019 11:08:30 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 21 Oct 2019 11:08:29 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration In-Reply-To: <20191021083145.GA40656@admin.sibptus.ru> Message-ID: References: <20191021083145.GA40656@admin.sibptus.ru> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 46xW5k47wSz403T X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=H9vfC9hC; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.93)[ip: (-8.09), ipnet: 2001:700::/32(-0.96), asn: 224(-0.57), country: NO(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 09:08:44 -0000 On Mon, 21 Oct 2019 15:31+0700, Victor Sudakov wrote: > Dear Colleagues, > > I know I can select a BE (boot environment) to boot from the loader > menu. However, I'm at a loss what the options of the loader menu > > 1. Active: > 2. bootfs: > > are supposed to indicate, and what is supposed to happen when I press > "1" or "2". > > Pressing 4, 5 etc selects a BE, that is fine. After selecting your BE, exit this submenu by hitting 1. -- Trond. From owner-freebsd-questions@freebsd.org Mon Oct 21 09:33:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7403152373 for ; Mon, 21 Oct 2019 09:33:21 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xWf91LW7z41RK for ; Mon, 21 Oct 2019 09:33:20 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=lF1sehCBJZHdNruKdVqzA3sTo1fS2B3kGA8H73i+qdE=; b=oxy9gRbKP04OQwBAiu5wuvdfmK 7vzn49FH7RVbxh/40qKzLRQiyb/KrrH4fs1hzGp9OJ6qeL6WxZlaBNKPhWWvkictfSR4eqtIFOTd2 1gOkQBJtVdQogRHSwi1L7FMhiT6Uhthy28dn1DTYhnGJC/mDex7OV5vMAtbzgPBQvbHo=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMU3z-000BTY-HN for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 16:33:19 +0700 Date: Mon, 21 Oct 2019 16:33:19 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration Message-ID: <20191021093319.GA42604@admin.sibptus.ru> References: <20191021083145.GA40656@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xWf91LW7z41RK X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=oxy9gRbK; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.24)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.91), asn: 20473(-1.39), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 09:33:21 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Trond Endrest=F8l wrote: > On Mon, 21 Oct 2019 15:31+0700, Victor Sudakov wrote: >=20 > > Dear Colleagues, > >=20 > > I know I can select a BE (boot environment) to boot from the loader > > menu. However, I'm at a loss what the options of the loader menu > >=20 > > 1. Active: > > 2. bootfs: > >=20 > > are supposed to indicate, and what is supposed to happen when I press > > "1" or "2". > >=20 > > Pressing 4, 5 etc selects a BE, that is fine. >=20 > After selecting your BE, exit this submenu by hitting 1. Does the label "Active:" even make sense? Should it not be "Exit" or someth= ing? And what is supposed to happen if I hit 2 ? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrXtfAAoJEA2k8lmbXsY03G0IAJu6Z6hXJ3NJy0K7PafWAVri rxhjv+pf/28PGl2i14S+7OyXmC5hYuoPC+tkf0CVB91Vwrx1+o4+3HCqIsau+B1B jNtaYcmPJBzHVKqiP702MQB8Jj/O5dn5Ph3/ks8AR9AZ9elxVynBQOQ+YpUNTZBU req7lvyAs+n9x8A/CptBSgu6iZCtRaQoFD7/pEQx2BpcwjzSjyhC95Ni/8itXrSn eyftjJYzT0s66+SBMgZlO9+4xvcmPtZHiWp4nfpK7MBpto33ZChaDH7rf0pD1wEI ZGAkQvGnx2FpJ1/HD9GJfblvCHBJkZMsdWB8tGzdx3OlRyIwuuvLInEh2kjQwlU= =AKz+ -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND-- From owner-freebsd-questions@freebsd.org Mon Oct 21 09:56:59 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 785A7152B36 for ; Mon, 21 Oct 2019 09:56:59 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xX9Q2l1bz42jt for ; Mon, 21 Oct 2019 09:56:57 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x9L9urjp031492 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 21 Oct 2019 11:56:53 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1571651813; bh=65zq00fbJf0EOslVIA/R2Qn6bnOuSpZDxGCHRlotNyk=; h=Date:From:To:Subject:In-Reply-To:References; b=CNoBlcubjWQz5B8uhXDKnhEKixOdCwjGYbgfdTn1jU3wRApLKtIjPCGzTYLdpTdIh LyefjZwFv/0S86ZqreWJQZ39HnXF/36pWwZY8GJWIV+llp3bQLJZ8m2B3xfTDsBSl0 dHQ+q3zDuciB81ICJUOO4vzWxlfnLbV/oEz7lq8AuBEInmL6WZ93+GaI+17Kcb6IzM 1fVzBH7m7gFoeDPaQ2xqUkahKUhDhH0CvpAVT2jWoGX6u2/O10NGSmUscJg3DF7zHS 8g4dWeK5LWf2zUDCPG0yEf+Vuy5J4TeWnPoqslP45X6wplow6T7CWJ2mMXJkCHjOTy FQ6009AYPrFBg== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x9L9ur9J031489 for ; Mon, 21 Oct 2019 11:56:53 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 21 Oct 2019 11:56:53 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration In-Reply-To: <20191021093319.GA42604@admin.sibptus.ru> Message-ID: References: <20191021083145.GA40656@admin.sibptus.ru> <20191021093319.GA42604@admin.sibptus.ru> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 46xX9Q2l1bz42jt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=CNoBlcub; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-3.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,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,0]; RCVD_COUNT_THREE(0.00)[3]; HAS_XAW(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.89)[ip: (-7.91), ipnet: 2001:700::/32(-0.96), asn: 224(-0.56), country: NO(-0.01)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 09:56:59 -0000 On Mon, 21 Oct 2019 16:33+0700, Victor Sudakov wrote: > Trond Endrestøl wrote: > > On Mon, 21 Oct 2019 15:31+0700, Victor Sudakov wrote: > > > > > Dear Colleagues, > > > > > > I know I can select a BE (boot environment) to boot from the loader > > > menu. However, I'm at a loss what the options of the loader menu > > > > > > 1. Active: > > > 2. bootfs: > > > > > > are supposed to indicate, and what is supposed to happen when I press > > > "1" or "2". > > > > > > Pressing 4, 5 etc selects a BE, that is fine. > > > > After selecting your BE, exit this submenu by hitting 1. > > Does the label "Active:" even make sense? Should it not be "Exit" or something? > > And what is supposed to happen if I hit 2 ? Then you select what the bootfs property suggests and exit to the main menu. -- Trond. From owner-freebsd-questions@freebsd.org Mon Oct 21 10:18:35 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 50FD415374F for ; Mon, 21 Oct 2019 10:18:35 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xXfL2S4Dz444y for ; Mon, 21 Oct 2019 10:18:33 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x833.google.com with SMTP id e14so372059qto.1 for ; Mon, 21 Oct 2019 03:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version; bh=A/NB8SpmGwAohkSj3Ds+JdxvQOsIVSvI0fiSLrSvEcY=; b=Lc3pUByEV9bHT88xVX0wInp4xgK/zAvgc0f5BT37q8aLYdNzpjiq686YThFcQTo6gb gjyIFLphOCRFnOPln6Y9nXb3K5iYcLdleGM4vcvaqBNL3zqSRvPnNDTzuOxUStGorJOG LrxlEaf+irGey4kKU+XASQieLmKqNgtZdiYL0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version; bh=A/NB8SpmGwAohkSj3Ds+JdxvQOsIVSvI0fiSLrSvEcY=; b=KjrkXNa4RU4HCe9gSlrPNg4dBgVCgTEbe/eM2UNiSkhR+AJWtxZURHDVvZd6NcxZ9J UZp1JXFyk5TXnOrJN1LxrMXvVfwHiyBM52SZSPZolS9hbiHTS9YhE9vC3B0sczQHjMhC y7AzVx04ISu9GAhBPQsf4z8IILQ6XHhdI5kZdjM+OqzAXFoCuc+TleVTvcomsqsPpt00 CuumwDIETCN6gW3EZzPyh9TUXa/Bfu7C8klmaivmWoOIIlr5jMvJeHrVgIq018sIg/RR xJ7ShQzqOul8wtMYIrE5D7zZnbwkQmwcP6IgroqtM7W7jdudAkr1M/AprKSsLzwaaqX6 O/aw== X-Gm-Message-State: APjAAAVfeX6tX0nbVGx3IgU8B51xnkIwEhD/mM1BE3raZnEldFFrTepe NBArFMGn8/YiSthKHOYiGGDjQkiQBHc= X-Google-Smtp-Source: APXvYqyAFpet00TMab0oEnbMR7rxH9gt/i3KplvgmJQ2UkwMfirg+oxc+KAFZfbcJr9S9erIc58/6Q== X-Received: by 2002:a05:6214:11a6:: with SMTP id u6mr10571094qvv.16.1571653112387; Mon, 21 Oct 2019 03:18:32 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id v7sm7334734qte.29.2019.10.21.03.18.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Oct 2019 03:18:31 -0700 (PDT) Received: from localhost (HP-ENVY [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 46xXfG3pWPz4gV8 for ; Mon, 21 Oct 2019 06:18:30 -0400 (EDT) Date: Mon, 21 Oct 2019 06:18:20 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Error causing machine to go into endless loop Message-ID: <20191021061820.000048a5@seibercom.net> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/kXnMQb2YPk2_eaTIoSozgkw"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 46xXfL2S4Dz444y X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=Lc3pUByE; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::833 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-2.37 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.77)[ip: (-9.27), ipnet: 2607:f8b0::/32(-2.44), asn: 15169(-2.08), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[3.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 10:18:35 -0000 --Sig_/kXnMQb2YPk2_eaTIoSozgkw Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable FreeBSD 12.0-RELEASE-p10 samba 4.8.12 Lately, my machine has started display the following on screen in a continuous, rolling manner. I am unable to regain control of the PC and am forced to do a hard reset, I am unable to remotely access the PC when this occurs. This is a truncated version of what is displayed: Oct 21 05:00:00 scorpio nmbd[77557]: nmbd_subnetdb:make_subnet() = =20 Oct 21 05:00:00 scorpio nmbd[77557]: Failed to open nmb bcast socket on= interface 0.255.255.255 for port 137. Error was Can't assign requested ad= dress Oct 21 05:00:00 scorpio nmbd[77557]: [2019/10/21 05:00:00.097379, 0] ../so= urce3/lib/util_sock.c:396(open_socket_in) Oct 21 05:00:00 scorpio nmbd[77557]: bind failed on port 137 socket_addr = =3D 0.255.255.255. Oct 21 05:00:00 scorpio nmbd[77557]: Error =3D Can't assign requested add= ress =20 Oct 21 05:00:00 scorpio nmbd[77557]: [2019/10/21 05:00:00.097493, 0] ../so= urce3/nmbd/nmbd_subnetdb.c:127(make_subnet) Oct 21 05:00:00 scorpio nmbd[77557]: nmbd_subnetdb:make_subnet() = =20 Oct 21 05:00:00 scorpio nmbd[77557]: Failed to open nmb bcast socket on= interface 0.255.255.255 for port 137. Error was Can't assign requested ad= dress Oct 21 05:00:00 scorpio nmbd[77557]: [2019/10/21 05:00:00.097666, 0] ../so= urce3/lib/util_sock.c:396(open_socket_in) Oct 21 05:00:00 scorpio nmbd[77557]: bind failed on port 137 socket_addr = =3D 0.255.255.255. Oct 21 05:00:00 scorpio nmbd[77557]: Error =3D Can't assign requested add= ress =20 Oct 21 05:00:00 scorpio nmbd[77557]: [2019/10/21 05:00:00.097780, 0] ../so= urce3/nmbd/nmbd_subnetdb.c:127(make_subnet) Oct 21 05:00:00 scorpio nmbd[77557]: nmbd_subnetdb:make_subnet() = =20 Oct 21 05:00:00 scorpio nmbd[77557]: Failed to open nmb bcast socket on= interface 0.255.255.255 for port 137. Error was Can't assign requested ad= dress This just constantly rolls on-screen until I restart the PC. I have no idea why this is happening or how to debug it since I cannot regain control without rebooting. --=20 Jerry --Sig_/kXnMQb2YPk2_eaTIoSozgkw Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl2the0ACgkQOHMGOIfe xWTj7QgAtWaVh4KkGGa0FSmqdNwhjyq50Fw6jWPbjQQlaj5dQU8LSsKjFrVsfG1I z2KzoYO13OESyg/Ksd/aXFr2ETbtCzTCfPvcpEO5DnszntlGQgDHUIqR+fVr31QD PfNKnSp/hvTto/Gsg8Mg3iHDj2oiCLdwGzx+kpnbgMvMy8o6qFnK+z9HjGss/sXJ PjlYcKwlMYkuLojHZdH5V+rpZzVCnnqdyL6EEPpSIDnXSF2pGRWlob6xr1skgWbX Dy7pBALCCd7+qzDRop4DYAH/atijObUNJsQMTF/c/wQNORPY0Rwv38u9PzzJTEPE j63J/kjTFKJBIuuoE6JsiZ5rWEPPVQ== =J9Pv -----END PGP SIGNATURE----- --Sig_/kXnMQb2YPk2_eaTIoSozgkw-- From owner-freebsd-questions@freebsd.org Mon Oct 21 10:20:04 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E30AB153885 for ; Mon, 21 Oct 2019 10:20:04 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xXh42Dg6z44BW for ; Mon, 21 Oct 2019 10:20:03 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=ll5XnjnjFYx2i97rp7PnAOYUOTsXvqxEm5jqf1YYkvQ=; b=TB0h+wa1x29Y6+TagmxdhUfet5 V0Sb5uZm/PQTR6Bl/28YA3v+EbY96k/2cQ/F0sWJPjECcrR/4PpbtJ4j95muatsZAtA+cWYtpbkkQ O4gbWPgspGtDnIAFpZpy00vz/L8xH6q2xxXuzdgxS+patO08PQy1Zroyqpr9RUbw+nX8=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMUnC-000COC-P3 for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 17:20:02 +0700 Date: Mon, 21 Oct 2019 17:20:02 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration Message-ID: <20191021102002.GA45885@admin.sibptus.ru> References: <20191021083145.GA40656@admin.sibptus.ru> <20191021093319.GA42604@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xXh42Dg6z44BW X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=TB0h+wa1; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.24)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.91), asn: 20473(-1.40), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 10:20:04 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Trond Endrest=F8l wrote: > > > >=20 > > > > I know I can select a BE (boot environment) to boot from the loader > > > > menu. However, I'm at a loss what the options of the loader menu > > > >=20 > > > > 1. Active: > > > > 2. bootfs: > > > >=20 > > > > are supposed to indicate, and what is supposed to happen when I pre= ss > > > > "1" or "2". > > > >=20 > > > > Pressing 4, 5 etc selects a BE, that is fine. > > >=20 > > > After selecting your BE, exit this submenu by hitting 1. > >=20 > > Does the label "Active:" even make sense? Should it not be "Exit" or so= mething? > >=20 > > And what is supposed to happen if I hit 2 ? >=20 > Then you select what the bootfs property suggests and exit to the main=20 > menu. The current pool's bootfs property? I see. BTW the boot menu BE selection does not work properly anyway. I've found so= me combinations of BEs and loader options which lead to an unbootable system: http://admin.sibptus.ru/~vas/bad_be.png Maybe it's sysutils/beadm's fault incorrectly creating BEs, whatever. =20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrYZSAAoJEA2k8lmbXsY01RgIALknvCBBmtYy+MZOkrWGko09 vVAUpuEaVHna6PwMyT+Hquc2YIzsdWt+Hez2ZQKvgkaa2K279kRK4onzNgl/yve7 Ov0jI+IQ2Y73nNm5Vx+YRg1CUk2D+W6sTNjLG9WUdaB6ngDSaVuGtMYcDD0TCoOB TAf4fuCng8ofLnB9jWYsACWuf9xPc8bGlRWmVp2DUSLQNX5fzB5xCo1z0r5S/xEe Aydh0QvUcfMW6uAm1dST/HWNdjw8beLUqBhSUcjyNi5kTeqveoqrz95nz0aDpMbx Nl1wsF4SgYzt4EEAYlsSzPTQeBlGFwRW6mxpplfdGwMfSpfMIDDC3BIZffr0qEU= =+4OU -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l-- From owner-freebsd-questions@freebsd.org Mon Oct 21 13:03:34 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2648F157453 for ; Mon, 21 Oct 2019 13:03:34 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xcJh6tFgz4Dbh for ; Mon, 21 Oct 2019 13:03:32 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x9LD3O1P041267 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 21 Oct 2019 15:03:24 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1571663004; bh=qvFh2atAma4mamouiBOlF/9JCsNuHwCirG2HZmwkg4I=; h=Date:From:To:Subject:In-Reply-To:References; b=JkelKyd1w1//zE90lVr135eFFMZvc/NT7uDEQfRTcQtfGKWstcFqqeOY6VnyNtg8K sTVcSFeE/Li6rObDDo39NKrycaASi20+CuMP1jBr38Rbdy/WILlsylzsTXuGvA73Yj bwqwesV5v4q0GWVleZp1sLi2ZUGfHfOfeO4RtaZM/UnmpIQi2vEuhvO4jO2dF9/dAA hIT+KULWvvq6DBBoFzhMBhy707L/wLw8N1JtTbq7oW40q4W0RZH2XnU7anM1m/12jT xz/YlWXzdgSdN1D7iYFVax+npXLjfe9eu0ZcZIEzN+DiZh56CK1syN9970vMU08seq /TMAglxW8cjkg== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x9LD3Nwf041177 for ; Mon, 21 Oct 2019 15:03:23 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 21 Oct 2019 15:03:23 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration In-Reply-To: <20191021102002.GA45885@admin.sibptus.ru> Message-ID: References: <20191021083145.GA40656@admin.sibptus.ru> <20191021093319.GA42604@admin.sibptus.ru> <20191021102002.GA45885@admin.sibptus.ru> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 46xcJh6tFgz4Dbh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=JkelKyd1; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-4.96 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.96)[ip: (-8.16), ipnet: 2001:700::/32(-1.05), asn: 224(-0.59), country: NO(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 13:03:34 -0000 On Mon, 21 Oct 2019 17:20+0700, Victor Sudakov wrote: > BTW the boot menu BE selection does not work properly anyway. I've found some > combinations of BEs and loader options which lead to an unbootable > system: http://admin.sibptus.ru/~vas/bad_be.png > Maybe it's sysutils/beadm's fault incorrectly creating BEs, whatever. For some reason /dev failed to mount. Normally, the kernel automatically mounts / read-only and /dev read-write. The former is upgraded to read-write by the rc scripts during multiuser boot. It could be a bug in 11.3. The menus are somewhat improved in stable/12 and head. Here are some screenshots from a VM I just booted, it runs head from February(!): https://ximalas.info/~trond/FreeBSD-head-BE-menu-2019-feb/ That dark blue colour is my only complaint. It can be a real pain to read on certain terminals/video adapters. -- Trond. From owner-freebsd-questions@freebsd.org Mon Oct 21 13:43:12 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 19C78158051 for ; Mon, 21 Oct 2019 13:43:12 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from outmx-028.london.gridhost.co.uk (outmx-028.london.gridhost.co.uk [95.142.156.253]) (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 46xdBQ4vksz4GLP for ; Mon, 21 Oct 2019 13:43:10 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from curlew.milibyte.co.uk (unknown [82.71.56.121]) (Authenticated sender: mailpool@milibyte.co.uk) by outmx-028.london.gridhost.co.uk (Postfix) with ESMTPA id 394F9221A5BEE; Mon, 21 Oct 2019 14:43:08 +0100 (BST) Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.92.3) (envelope-from ) id 1iMXxj-000FZm-T5; Mon, 21 Oct 2019 14:43:07 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Cc: Victor Sudakov Subject: Re: cast to Android TV from FreeBSD? Date: Mon, 21 Oct 2019 14:42:24 +0100 Message-ID: <1577390.MsCH1bHPGx@curlew> In-Reply-To: <20191021090617.GA42288@admin.sibptus.ru> References: <20191021090617.GA42288@admin.sibptus.ru> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Rspamd-Queue-Id: 46xdBQ4vksz4GLP X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 95.142.156.253 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk X-Spamd-Result: default: False [3.52 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.23)[-0.235,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; IP_SCORE(1.13)[ipnet: 95.142.156.0/22(3.35), asn: 198047(2.39), country: GB(-0.08)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[milibyte.co.uk]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[253.156.142.95.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.92)[0.921,0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:198047, ipnet:95.142.156.0/22, country:GB]; MID_RHS_NOT_FQDN(0.50)[]; CTE_CASE(0.50)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 13:43:12 -0000 On Monday, 21 October 2019 10:06:17 BST Victor Sudakov wrote: > I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > (what is it called?) to it from apps like YouTube on my mobile phone. > > Do you know if I can find some software for FreeBSD to cast to the Mi Box? I don't know about Xiaomi Mi Box but I can cast to a Chromecast dongle connected to my 'conventional' TV using www/chromium -- Mike Clarke From owner-freebsd-questions@freebsd.org Mon Oct 21 15:44:47 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ECFC015A1CB for ; Mon, 21 Oct 2019 15:44:47 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xgtl1qsPz4PSt for ; Mon, 21 Oct 2019 15:44:46 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=/bj5Ktr8gYqDuzEfjfk5wI4pJojpPvoklzOn9RXE8bs=; b=KwZmPRlPIrBGy9sIIFXos8pUry hZquFJYNzal7KfPhPFClLG+tJPk5GOVSEnF2tKxrL9bR84wA6dcIbnOhVqfw0FcgzIAZunKc5VuXl ACDfKfxoysrAitgb4XfzK2P3kekGyHvVH5bP6/VnK6CwwvtKFWPU+rmovIUVCtxUtjew=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMZrR-000L6c-HY for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 22:44:45 +0700 Date: Mon, 21 Oct 2019 22:44:45 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration Message-ID: <20191021154445.GA77867@admin.sibptus.ru> References: <20191021083145.GA40656@admin.sibptus.ru> <20191021093319.GA42604@admin.sibptus.ru> <20191021102002.GA45885@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xgtl1qsPz4PSt X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=KwZmPRlP; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.24)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.41), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 15:44:48 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Trond Endrest=F8l wrote: >=20 > > BTW the boot menu BE selection does not work properly anyway. I've foun= d some > > combinations of BEs and loader options which lead to an unbootable > > system: http://admin.sibptus.ru/~vas/bad_be.png > > Maybe it's sysutils/beadm's fault incorrectly creating BEs, whatever. >=20 > For some reason /dev failed to mount. Normally, the kernel=20 > automatically mounts / read-only and /dev read-write. The former is=20 > upgraded to read-write by the rc scripts during multiuser boot. I think I know the reason: it's several BEs trying to mount on top of one another, again. I've seen this already in the pre-zfsbe times. >=20 > It could be a bug in 11.3. It actually seems that the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208601 is not really fixed.=20 >=20 > The menus are somewhat improved in stable/12 and head. Here are some=20 > screenshots from a VM I just booted, it runs head from February(!): >=20 > https://ximalas.info/~trond/FreeBSD-head-BE-menu-2019-feb/ Yes, it looks more logical though the BE punches the Daemon in the nose. >=20 > That dark blue colour is my only complaint. It can be a real pain to=20 > read on certain terminals/video adapters. Do you use sysutils/beadm or sysutils/beadm-devel?=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrdJtAAoJEA2k8lmbXsY0BhcH/RPeMdanafTlmjwOOY6zG/vG Lb7N3QTrnpikNTF3b+CmqpVsLk6awZHdF5J+zxEBRisQ1tNJiIIEbyRoDS2wFkad 89CSjrESGHU4XPphO1LFNmeFqqCR/wVubUWjXFIWTKG9xmQN0e5EfQIJqjs9u6CK VyWK25xWMq7dQrdVvgFs+rRVd1cdWBDJFB7sufjA/tqO6U+oMa/BgACtU/UU7V9P 4sK36toS7u+9uPDV7Z8FhgzC4A2QaluR3LFcnnd687co26Qk3J4lRCSfn5zYt0qw WbnwfWiUF1QWCE4/VyQtJNENVroQvHhXo2X3+SaU+RWF9PUIbh7yAImwwRtm8Z0= =4g92 -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-questions@freebsd.org Mon Oct 21 15:46:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4366D15A2E0 for ; Mon, 21 Oct 2019 15:46:05 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xgwD4q6Fz4PZQ for ; Mon, 21 Oct 2019 15:46:04 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=GJZ+BzDIm13RYdyVE5mEXNS3Bo8p33WthaYkv53sUEU=; b=P/tVuGxUzGomTssKtewX97meIX VRmpyS2cvqtWcjUWe3PrTwgNLP3mKgxbCsfDCTkBzVJ5LYlaAGTM3ssZkGoWCj4j+ljmL6E79Rdpv p34maQrVV+QwvtL1NEWzQOlrlmVkUVsSmf2YlStVAC28PoF6UQVBim+8yzl8v29u2Mas=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMZsh-000L9C-FD for freebsd-questions@freebsd.org; Mon, 21 Oct 2019 22:46:03 +0700 Date: Mon, 21 Oct 2019 22:46:03 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: cast to Android TV from FreeBSD? Message-ID: <20191021154603.GB77867@admin.sibptus.ru> References: <20191021090617.GA42288@admin.sibptus.ru> <1577390.MsCH1bHPGx@curlew> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline In-Reply-To: <1577390.MsCH1bHPGx@curlew> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46xgwD4q6Fz4PZQ X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=P/tVuGxU; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.34 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; SUBJECT_ENDS_QUESTION(1.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.24)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.42), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 15:46:05 -0000 --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mike Clarke wrote: > On Monday, 21 October 2019 10:06:17 BST Victor Sudakov wrote: >=20 > > I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > > (what is it called?) to it from apps like YouTube on my mobile phone. > >=20 > > Do you know if I can find some software for FreeBSD to cast to the Mi B= ox? >=20 > I don't know about Xiaomi Mi Box but I can cast to a Chromecast dongle=20 > connected to my 'conventional' TV using www/chromium I'll look at chromium, thank you. I had hoped however to find some media player with the ability to cast. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --E39vaYmALEf/7YXx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrdK7AAoJEA2k8lmbXsY02WkH/i7Cq7Prd41ykUutTqAa+LyZ lp6xZHNEO3Fsj6Y2tx5v3kEO4I/7MmPcfBDEjGKcJ9tcrz3V3GT6E4CmYnSCRBRw joQccTzUTYnXqSkKGI0PuS4CiVYVPwKlVx4TIfsjY1Kg/7HMJ/pfFpfPBBIMICfx fnhhxG/CyhYIajBfEWXlEfa/uTVidmuvwe/jjqMwDvxNcizMWLlu+7DCWVIKgDSI uShPDhxCSyXMJ2trdsHWUx2zF3vNmtRmpQi9UsR+d/n46LNQ/+/htHIqv4PSFbKJ DWrvQ3WOj2vgi3G3i+ZQC3AoPEw5XeP1fuYmkd/geAJWRk5u5di8lfGi9wP707M= =1GPQ -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx-- From owner-freebsd-questions@freebsd.org Mon Oct 21 15:52:18 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EF3D515A89A for ; Mon, 21 Oct 2019 15:52:18 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xh3P55Q5z4Q01 for ; Mon, 21 Oct 2019 15:52:17 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x9LFqAga082861 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Mon, 21 Oct 2019 17:52:10 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1571673130; bh=v5uXIXFicQmTKj140J7UJYtCFK3DKPBDzjc6LLb5+9o=; h=Date:From:To:Subject:In-Reply-To:References; b=LtV8tXEEBnAg67MF7TB392J9V88IBgtgRpeSGiLPaEybMt6yJTyEWNiycjX8JZAwL KcTgofrvEMsDZ1vh6alh5C2Flx24gsDBPo+qKycWhP/OKSC8C9lSY0drLVANwqA3Ba kQLsLX9EnvGBRuu4+XIBOdK9crJT8mWDno73SPnKCni7LWDwkIg1fVEzxjgtnYAT0p mXxmo1HCdjS/2aUi6J/vEYSRP6HVLK7uGUPgpwEbBROkoFnoF4HM4l+0d+mlz++Khs dEQAbV4WpR4yly7kskBu14r0P95BYlROzrtS2J0YK0UzezsekqgP3Lfg2jmN5mi23R EeX+aPEMdiGcw== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x9LFq9f1082855 for ; Mon, 21 Oct 2019 17:52:09 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Mon, 21 Oct 2019 17:52:09 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-questions@freebsd.org Subject: Re: BE and loader integration In-Reply-To: <20191021154445.GA77867@admin.sibptus.ru> Message-ID: References: <20191021083145.GA40656@admin.sibptus.ru> <20191021093319.GA42604@admin.sibptus.ru> <20191021102002.GA45885@admin.sibptus.ru> <20191021154445.GA77867@admin.sibptus.ru> User-Agent: Alpine 2.21.99999 (BSF 352 2019-06-22) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info X-Rspamd-Queue-Id: 46xh3P55Q5z4Q01 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=LtV8tXEE; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-3.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,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,0]; RCVD_COUNT_THREE(0.00)[3]; HAS_XAW(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; CTYPE_MIXED_BOGUS(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-1.93)[ip: (-7.99), ipnet: 2001:700::/32(-1.04), asn: 224(-0.59), country: NO(-0.01)] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 15:52:19 -0000 On Mon, 21 Oct 2019 22:44+0700, Victor Sudakov wrote: > Trond Endrestøl wrote: > > > > > BTW the boot menu BE selection does not work properly anyway. I've found some > > > combinations of BEs and loader options which lead to an unbootable > > > system: http://admin.sibptus.ru/~vas/bad_be.png > > > Maybe it's sysutils/beadm's fault incorrectly creating BEs, whatever. > > > > For some reason /dev failed to mount. Normally, the kernel > > automatically mounts / read-only and /dev read-write. The former is > > upgraded to read-write by the rc scripts during multiuser boot. > > I think I know the reason: it's several BEs trying to mount on top of > one another, again. I've seen this already in the pre-zfsbe times. > > > > > It could be a bug in 11.3. > > It actually seems that the bug > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208601 is not really > fixed. > > > > > The menus are somewhat improved in stable/12 and head. Here are some > > screenshots from a VM I just booted, it runs head from February(!): > > > > https://ximalas.info/~trond/FreeBSD-head-BE-menu-2019-feb/ > > Yes, it looks more logical though the BE punches the Daemon in the nose. > > > > > That dark blue colour is my only complaint. It can be a real pain to > > read on certain terminals/video adapters. > > Do you use sysutils/beadm or sysutils/beadm-devel? No, I roll my own BEs, using: https://ximalas.info/~trond/create-zfs/canmount/create-and-populate-new-BE.sh This link is easier to view in a browser: https://ximalas.info/~trond/create-zfs/canmount/create-and-populate-new-BE.sh.txt -- Trond. From owner-freebsd-questions@freebsd.org Mon Oct 21 17:35:46 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D53FB15C670 for ; Mon, 21 Oct 2019 17:35:46 +0000 (UTC) (envelope-from louisk@cryptomonkeys.org) Received: from mail.cryptomonkeys.com (mail.louiskphoto.com [174.136.98.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xkLn6857z4Tyq for ; Mon, 21 Oct 2019 17:35:45 +0000 (UTC) (envelope-from louisk@cryptomonkeys.org) Received: from mail.cryptomonkeys.com (localhost [127.0.0.1]) by mail.cryptomonkeys.com (Postfix) with ESMTP id 707D43E873A; Mon, 21 Oct 2019 17:35:38 +0000 (UTC) Received: from mail.cryptomonkeys.com ([127.0.0.1]) by mail.cryptomonkeys.com (mail.cryptomonkeys.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uuh4TXE_aIyH; Mon, 21 Oct 2019 17:34:48 +0000 (UTC) Received: from ipwn.gwp.corp.flightaware.com (natpool.gwp.corp.flightaware.com [38.100.147.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cryptomonkeys.com (Postfix) with ESMTPSA id EEEB33E87CD; Mon, 21 Oct 2019 17:34:47 +0000 (UTC) From: Louis Kowolowski Message-Id: <86F0B64D-35BA-4E01-A33B-E5BD24486AC8@cryptomonkeys.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Subject: Re: changing the PostgreSQL default user Date: Mon, 21 Oct 2019 12:34:45 -0500 In-Reply-To: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> Cc: freebsd-questions@freebsd.org To: David Newman References: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> X-Rspamd-Queue-Id: 46xkLn6857z4Tyq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of louisk@cryptomonkeys.org has no SPF policy when checking 174.136.98.10) smtp.mailfrom=louisk@cryptomonkeys.org X-Spamd-Result: default: False [-0.32 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.97)[-0.968,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[cryptomonkeys.org]; AUTH_NA(1.00)[]; URI_COUNT_ODD(1.00)[9]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.77)[ipnet: 174.136.96.0/20(-3.50), asn: 25795(-0.32), country: US(-0.05)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 17:35:46 -0000 roughly, you will want to do: take backup (pg_dump) add the new user to the database fix the pg_hba.conf to have the new user restart pg alter default user to new user shutdown pg remove pgsql entries from pg_hba.conf add postgres user to freebsd. use same UID so you don=E2=80=99t need to = chown anything upgrade postgres start pg you should now have pg running as new (unix) user, and you should be = able to connect as the new user delete pgsql user (nolonger needed or used) > On Oct 21, 2019, at 1:22 AM, David Newman = wrote: >=20 > Greetings. >=20 > FreeBSD recently changed its default version of PostgreSQL from 9.5 to = 11. >=20 > However, attempts to run 'pg_upgrade' on the databases failed for me > because my 9.5 install had a default user of 'pgsql' and version 11 = goes > with 'postgres' instead [1]. >=20 > My hack was to edit /usr/local/etc/rc.d/postgresql, set = postgresql_user > to pgsql, (re)run initdb, and then do the pg_upgrade conversion. It > works, but future upgrades might clobber the edit in the rc.d file. >=20 > This article suggests one ALTER command will change the default > PostgreSQL user: >=20 > = https://netnow.jira.com/wiki/spaces/PUBP/pages/119996467/Changing+the+defa= ult+user+and+password+for+postgreSQL >=20 > Is that, plus chown'ing the data directory, sufficient to effect a = name > change? >=20 > Thanks! >=20 > dn >=20 >=20 > [1] The pg_upgrade program has a -U switch to specify user, but it = still > fails because the pgsql user can't read stuff owned by the postgres = user > and vice-versa. Just running chown on either binary or data directory > and its contents doesn't work. >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" -- Louis Kowolowski louisk@cryptomonkeys.org = Cryptomonkeys: = http://www.cryptomonkeys.com/ Making life more interesting for people since 1977 From owner-freebsd-questions@freebsd.org Mon Oct 21 20:24:06 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 278B21615E2 for ; Mon, 21 Oct 2019 20:24:06 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe2c.google.com (mail-vs1-xe2c.google.com [IPv6:2607:f8b0:4864:20::e2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xp513NF6z3Lpl for ; Mon, 21 Oct 2019 20:24:05 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe2c.google.com with SMTP id j85so720018vsd.11 for ; Mon, 21 Oct 2019 13:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=vxQM4mZEM28e1JuA/vSyn7FJ8OBY1CASXaPouB6RUnM=; b=PsVDSEQTu+HXjH3j4QYmghQZdZQiHAjYYXdp+hoUYC0Fmzs9l58p8SKCPWHo20c+ZT 9bgaTNQuyr/SzYoynZnwn6lhsUKpNyKy7G/hfRFPauQFStqFGBddCyTiZ89AaD1KnPC2 oVIRSIrsH47dCqoDNaoQz1dIxN6P3Dcxb0C58kxNFV4/pZb78xlCqysVQWvtFL+sj64W XHoRpR4bfPnn77knXMRDi1FcH2lI7aBJ8pxp8tuj3n/Y5XO1waJzEKd2TkmT2vu7h1Jl 9JrwzYbf1zreUB1g0covf4YF2ANc9lBLOP8Onz7QPqZk9UNtg4pH5tKUMyfBR3rnBmEe NKAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=vxQM4mZEM28e1JuA/vSyn7FJ8OBY1CASXaPouB6RUnM=; b=cLyJAkYveCadl9+g/2LQBGkhTD/wexZ2kFeWJ1BA94WB78iU6WEn+tKKBWYpXAG5uX U3jgWwywZrnhf6F3putAlvBItrmZeuOYFIC8R+xVZnLPcRQ40v6xyHWC82m+JoWnkUgj akhc/B4bRGS0CgMsh2/4nxu/NS8bofAtHyKlYlprbfmnUMmRmXZmvgXylzoscgSJJcnk dvxryuLFh+GIsuTfzApna2HSW/lzSlfNqefO8nubqn0BfKb1r3iOkn5z0krg6QLky57C poQ1rPDLCYVSFE2CZBkI45fwkvDxmx9BVIM/FxfIZ5XYbHKESCeh9fXGjDJ9lrwvc7He LdlQ== X-Gm-Message-State: APjAAAWxiZFqaiRMlFQld8xcOmK+VCETqgz8JJeZRB1YUupVddwBy9/5 +Jw/Xx726/rvLDcUmdxyjeP0N7CfDYRQpfNN1Vku+Fo3zA== X-Google-Smtp-Source: APXvYqycnnO6ZfacaWu3dT/A5J8CAs2uvIIWY4TpJBhuYaRNhrtNX5qImYOnT92GLK79EDeVg/phL2bhlpxd9E2LhPI= X-Received: by 2002:a67:f053:: with SMTP id q19mr11863691vsm.176.1571689443792; Mon, 21 Oct 2019 13:24:03 -0700 (PDT) MIME-Version: 1.0 From: "Clay Daniels Jr." Date: Mon, 21 Oct 2019 15:23:51 -0500 Message-ID: Subject: How to apply a patch to a port To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46xp513NF6z3Lpl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PsVDSEQT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e2c as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-9.71), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; 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)[c.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; 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)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 20:24:06 -0000 I have a patch to apply to a port: patch-linuxkpi_gplv2_src_linux__page.c /usr/ports/graphics/drm-current-kmod I've looked at the Handbook Chap 4.4-Patching. Several times... This is on a fresh base install of this week's snapshot. I have the ports and source installed in the base, but none "made". I go to the drm-current-kmod port directory. There is no files subdirectory, so I make one. I copy the patch to: /usr/ports/graphics/drm-current-kmod/files Then cd to main port directory, run "make makepatch" like it says in the Handbook, which creates a /work subdirectory. Then I run "make install" (no clean yet) which cannot seem to find my patch, and asks for patch: I tried giving it the full path but it still did not find it. I am new to patching (obviously). What am I doing wrong? Clay From owner-freebsd-questions@freebsd.org Mon Oct 21 20:40:44 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EBF57161D8B for ; Mon, 21 Oct 2019 20:40:44 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xpSC6fM2z3N2x for ; Mon, 21 Oct 2019 20:40:43 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.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) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 6E93C17C61 for ; Tue, 22 Oct 2019 05:40:38 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 8F4AC4CF5D; Tue, 22 Oct 2019 05:40:37 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.0-rc at eastasia.home.utahime.org Date: Tue, 22 Oct 2019 05:39:26 +0900 (JST) Message-Id: <20191022.053926.1076439053946694541.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: How to apply a patch to a port From: Yasuhiro KIMURA In-Reply-To: References: X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46xpSC6fM2z3N2x X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [0.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.933,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.50)[-0.499,0]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; MV_CASE(0.50)[]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(0.32)[ip: (0.21), ipnet: 183.180.0.0/16(0.10), asn: 2519(1.30), country: JP(-0.00)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 20:40:45 -0000 From: "Clay Daniels Jr." Subject: How to apply a patch to a port Date: Mon, 21 Oct 2019 15:23:51 -0500 > I have a patch to apply to a port: > patch-linuxkpi_gplv2_src_linux__page.c > /usr/ports/graphics/drm-current-kmod > > I've looked at the Handbook Chap 4.4-Patching. Several times... > > This is on a fresh base install of this week's snapshot. > I have the ports and source installed in the base, but none "made". > > I go to the drm-current-kmod port directory. > There is no files subdirectory, so I make one. > I copy the patch to: > /usr/ports/graphics/drm-current-kmod/files > Then cd to main port directory, run "make makepatch" like it says in the > Handbook, > which creates a /work subdirectory. > Then I run "make install" (no clean yet) which cannot seem to find my > patch, and asks for patch: > I tried giving it the full path but it still did not find it. I am new to > patching (obviously). > What am I doing wrong? Assuming that you don't set WRKDIRPREFIX in /etc/make.conf, take following steps. 1. cd /usr/ports/graphics/drm-current-kmod 2. make patch 3. cd work/kms-drm-2d2852e 4. patch -p 0 -s -i /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c (You may need to change '-p 0' to '-p 1' or '-p 2' or ...) 5. cd ../.. 6. make makepatch 7. make clean Then new patch file is created under files subdirectory. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Mon Oct 21 23:21:24 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A08651646E2 for ; Mon, 21 Oct 2019 23:21:24 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xt1b5MmDz40gF for ; Mon, 21 Oct 2019 23:21:23 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-oi1-x243.google.com with SMTP id d140so8281714oib.5 for ; Mon, 21 Oct 2019 16:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=7hWUglUbvTK4cbQb7ir4X/iUnXYUw4KLaC20F7qJCrI=; b=EHhqW6KmtGuYEcA7zf+mhhveLmAVnKEl+onWl0fZPFjZtXPtS+yEz7ibJqR4SYvds3 hMs+rZFKsH+qKxfA6UatTpIUs1GuRdxxHklP7IU57jX3sex0h0z60Xa/6+eUVKseUcTn jhTuboyK6+jKB02mH9Z0mJb/VJMWc0NIzrFV9bofnNq35tqVnAbQjKjuuNvW6ijuIgm5 IUK/yk1r0n2zK5pCvCEYw+e3iJpSUD9aB9nkMzkVzv5z2zlV6T3XmIy7JM/z5kShpX93 prJ9DSB4tOLn8ckToX7JrHh6Lg183Na55MemXLuBR9a7ZF+7iv5aw6702bK0xSFJ9Bq2 /rjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=7hWUglUbvTK4cbQb7ir4X/iUnXYUw4KLaC20F7qJCrI=; b=fyCSs/GLZ1/FarrmLm9iWfMIS114RzdB/Jyu5GBTeJNTMB+P7b9k6Y8BZ4QsioC+Cm fGE6z5S/zU8rFV8JiibinLXBW4pOU3P3d8iazfPljA7rDxrFVPV+4/ojYTQkFI1NmNWd HCi6yCBaQt2bK5ShzEAvuYvI5xLIz0H2aC2b4XTPhZZMdgn0Dr4zcJ0tm4DY3PnvvjmR lw2yPQn67Gn/CB53Fwy8QL6/qlG9CMhJaMQe6/fqaLdEMa3eqopRhvy1XTexhqao1iIB TfC2JNP8AXvQZ37L6DscQ2YPbaWMTZzar7U0WneOf+dDR7TJF9hUQKS7sAtg+I3WYEcf fVZA== X-Gm-Message-State: APjAAAV2uDkIr33X5Tg4OznAEl0MXGBVdEUDQqb5m0p+KC6cqRCjLU2l hki8NxD7z14pCfHQGedUO1j5DrT+/A== X-Google-Smtp-Source: APXvYqx0XhJwQODYsxriq73Ab0/qT0ZSiEQWFRCzQ7Kyl0Ao5udSoN6VMb0yixbvzfOSiHgVfsfsTQ== X-Received: by 2002:aca:3207:: with SMTP id y7mr462614oiy.78.1571700081791; Mon, 21 Oct 2019 16:21:21 -0700 (PDT) Received: from ?IPv6:2600:1700:caa1:a280:f459:fadd:2ef1:66b2? ([2600:1700:caa1:a280:f459:fadd:2ef1:66b2]) by smtp.gmail.com with ESMTPSA id i5sm4553990otk.10.2019.10.21.16.21.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Oct 2019 16:21:21 -0700 (PDT) Subject: Re: How to apply a patch to a port To: Yasuhiro KIMURA , freebsd-questions@freebsd.org References: <20191022.053926.1076439053946694541.yasu@utahime.org> From: Clay Daniels Message-ID: <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> Date: Mon, 21 Oct 2019 18:21:19 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191022.053926.1076439053946694541.yasu@utahime.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 46xt1b5MmDz40gF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EHhqW6Km; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::243 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.52), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2019 23:21:24 -0000 On 10/21/19 3:39 PM, Yasuhiro KIMURA wrote: > Assuming that you don't set WRKDIRPREFIX in /etc/make.conf, take > following steps. No, make.conf does not yet exist. > 1. cd /usr/ports/graphics/drm-current-kmod OK, but should my patch file be here, or do I need to make a /files subdirectory and put it there? > 2. make patch > 3. cd work/kms-drm-2d2852e > 4. patch -p 0 -s -i /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c > (You may need to change '-p 0' to '-p 1' or '-p 2' or ...) > 5. cd ../.. > 6. make makepatch > 7. make clean > > Then new patch file is created under files subdirectory. Then change back to main port directory & run make install (clean) for the whole port, right? I have just now re-installed a fresh FreeBSD installation. I'm going to wait until I figure out this /files subdirectory. I'm not comfortable with having to create it. Just to look at another port I intend to install later, located at /usr/ports/security/gnupg, it already has a files directory. Thanks > > --- > Yasuhiro KIMURA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Tue Oct 22 00:09:27 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA4A6165977 for ; Tue, 22 Oct 2019 00:09:27 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46xv522vXFz43m4 for ; Tue, 22 Oct 2019 00:09:26 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.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) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id D990417CB8 for ; Tue, 22 Oct 2019 09:09:21 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 17F934D00E; Tue, 22 Oct 2019 09:09:21 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.0-rc at eastasia.home.utahime.org Date: Tue, 22 Oct 2019 09:08:14 +0900 (JST) Message-Id: <20191022.090814.157299176887147047.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: How to apply a patch to a port From: Yasuhiro KIMURA In-Reply-To: <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> References: <20191022.053926.1076439053946694541.yasu@utahime.org> <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46xv522vXFz43m4 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of yasu@utahime.org designates 183.180.29.210 as permitted sender) smtp.mailfrom=yasu@utahime.org X-Spamd-Result: default: False [-0.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.847,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.69)[-0.689,0]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[utahime.org]; MV_CASE(0.50)[]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(0.32)[ip: (0.21), ipnet: 183.180.0.0/16(0.10), asn: 2519(1.29), country: JP(-0.00)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 00:09:27 -0000 From: Clay Daniels Subject: Re: How to apply a patch to a port Date: Mon, 21 Oct 2019 18:21:19 -0500 >> 1. cd /usr/ports/graphics/drm-current-kmod > OK, but should my patch file be here, or do I need to make a /files > subdirectory and put it there? Patch file should be put somewhere out of ports tree. And you don't have to create files subdirectory because it will be created at step 6. >> 2. make patch >> 3. cd work/kms-drm-2d2852e >> 4. patch -p 0 -s -i >> /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c >> (You may need to change '-p 0' to '-p 1' or '-p 2' or ...) >> 5. cd ../.. >> 6. make makepatch >> 7. make clean >> >> Then new patch file is created under files subdirectory. > > Then change back to main port directory & run make install (clean) for > the whole port, right? Yes. And in fact, if you succeeded to apply patch with '-p 0' in step 4, then you don't have to follow above procedure. Instead take following steps. 1. cd /usr/ports/graphics/drm-current-kmod 2'. mkdir files 3'. cp /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c files Then 'make install' should work. The reason that I recommended first procedure is that there are some different patch formats. If the patch is created by 'diff' or 'svn diff' then it can be applied with 'patch -p 0'. So you can use second procedure. But if it is created by 'git diff' or 'git format-patch' then it need to be applied with 'patch -p 1'. In this case you can't use second one. I don't know how your patch is created. So I recommended one that can be used everytime. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Tue Oct 22 02:57:58 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DCC7516B73F for ; Tue, 22 Oct 2019 02:57:58 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46xyqT67Kpz4D1Z for ; Tue, 22 Oct 2019 02:57:57 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-ua1-x932.google.com with SMTP id w7so4453668uag.4 for ; Mon, 21 Oct 2019 19:57:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1kV5ai/4dcxgm4sVRJsjqOtDMEL3n/XepSQt32Ms4QI=; b=GvJ+F/ZJ/0vdfni1+8hzj3bYTQ0ESCdSx/z+pWEkSOTBZNAFjfOphWHEgy7CkqLgny pQfddXibqqCg8zcW4C9l83776NLzWhWGuyg8YDZKU5g5z2WbN2Ux0sVsRti73b0MGKC7 RC0q341K8V9lAdiTGYYSk0S51EBVsHuCGKZUyfIJSHbWslgYe1/G82amhhgCQPkbObnl lub0VLy0/B8xgFFeUOiWsiyOdr2wROg6qrGs7wR44pH7fwH9vLx7Pb45O34QppTN7wVg OTiVl7gOaHyCFW+172Dc9hZZrohQC56eCvXwtvXZyAXD4WkjGLJpsy9+N1huX33Cp5yy SXrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1kV5ai/4dcxgm4sVRJsjqOtDMEL3n/XepSQt32Ms4QI=; b=Q8BDWibu06uR8vdtBmbdPNqhp1ftZKQYAyFMq76BsLR05TUJbJVb6Kd6/cI2UF6/QK pgx5lQrlhshb4a6l3UzozQmkWWrMcOuux/6n7yH1j/FKGCtlSXpeT4pmaahqYyr06VXj ob0/05KfBOUw3z3a4t2zZ8lhRqitbpd6VUF7Pb1NWB1FcJYq5sprcincBYH8NJtuTPQe qukQ56HA6fuCuCfi+fwgm9t3TyKiIBXzEOgv/4wxDnn9IQUOEev2va4gehDekDGw5EIm vxggxn8x7BXFXjTZSsZox1YLziVtLPyZyqoBAz4odxrxkMQ7P2hDSI1LnaPE6h4jwqx2 PL1A== X-Gm-Message-State: APjAAAUGq5TRAiyu7z0XtZ0cfg/hsotNv4zGCXbPq8AQx8q7bM8UhpkI KGMghEUSV24Z7ERatQ5yab2JThwxxdelEojUERvlXVVK5A== X-Google-Smtp-Source: APXvYqzYj6jdE6FnTAzSX8mFMJJqzuUYOuZr3Ukbkh/RkrZTRsb0IYwhQaEtS2GCKQmOoU9QgGaKDVmU6azLcuv+Cm4= X-Received: by 2002:ab0:59a7:: with SMTP id g36mr767264uad.54.1571713075885; Mon, 21 Oct 2019 19:57:55 -0700 (PDT) MIME-Version: 1.0 References: <20191022.053926.1076439053946694541.yasu@utahime.org> <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> <20191022.090814.157299176887147047.yasu@utahime.org> In-Reply-To: <20191022.090814.157299176887147047.yasu@utahime.org> From: "Clay Daniels Jr." Date: Mon, 21 Oct 2019 21:57:42 -0500 Message-ID: Subject: Re: How to apply a patch to a port To: Yasuhiro KIMURA Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46xyqT67Kpz4D1Z X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GvJ+F/ZJ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::932 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.74), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 02:57:58 -0000 Thanks Yasuhiro. My patch file is a text file named patch-linuxkpi_gplv2_src_linux__page.c with this content: diff --git a/linuxkpi/gplv2/src/linux_page.c b/linuxkpi/gplv2/src/linux_page.c index e2b85c45c..060ae85ed 100644 --- a/linuxkpi/gplv2/src/linux_page.c +++ b/linuxkpi/gplv2/src/linux_page.c @@ -239,7 +239,7 @@ retry: page = vm_page_lookup(devobj, i); if (page == NULL) continue; - if (vm_page_sleep_if_busy(page, "linuxkpi")) + if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) goto retry; cdev_pager_free_page(devobj, page); } I copied it, as root, from my thumbdrive to a /root/files directory I created. Then i went to the main port directory for drm-current-kmod, ran make patch, which did a lot of activity and created a /work/kms-drm-2d2852e directory, where I tried to run: patch -p 1 -s -i /root/files/patch-linuxkpi_gplv2_src_linux__page.c It said 1 of 1 hunks failed - saving rejects... Then I changed it to say -p 1, ran that and it asks: "File to patch:" I answered linux_page.c because I could not think of anything else, but the file was not found. There are a lot of files created by the "make patch" command and I'm looking through them now, though I'm not really sure what I'm looking for. Between our emails, I discovered the FreeBSD Porter's Handbook and it has a lot of info I need to read. Of course I want to get this one patch installed, but most importantly I want to know how to do it again, and understand what I'm doing. By Friday there will be another snapshot, and this patch will not be necessary I hope. For now I will retire to my reading the Porter's Handbook. Thanks so much, Yasuhiro. Clay On Mon, Oct 21, 2019 at 7:09 PM Yasuhiro KIMURA wrote: > From: Clay Daniels > Subject: Re: How to apply a patch to a port > Date: Mon, 21 Oct 2019 18:21:19 -0500 > > >> 1. cd /usr/ports/graphics/drm-current-kmod > > OK, but should my patch file be here, or do I need to make a /files > > subdirectory and put it there? > > Patch file should be put somewhere out of ports tree. And you don't > have to create files subdirectory because it will be created at step 6. > > >> 2. make patch > >> 3. cd work/kms-drm-2d2852e > >> 4. patch -p 0 -s -i > >> /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c > >> (You may need to change '-p 0' to '-p 1' or '-p 2' or ...) > >> 5. cd ../.. > >> 6. make makepatch > >> 7. make clean > >> > >> Then new patch file is created under files subdirectory. > > > > Then change back to main port directory & run make install (clean) for > > the whole port, right? > > Yes. > > And in fact, if you succeeded to apply patch with '-p 0' in step 4, > then you don't have to follow above procedure. Instead take following > steps. > > 1. cd /usr/ports/graphics/drm-current-kmod > 2'. mkdir files > 3'. cp /path/to/patch/patch-linuxkpi_gplv2_src_linux__page.c files > > Then 'make install' should work. > > The reason that I recommended first procedure is that there are some > different patch formats. If the patch is created by 'diff' or 'svn > diff' then it can be applied with 'patch -p 0'. So you can use second > procedure. But if it is created by 'git diff' or 'git format-patch' > then it need to be applied with 'patch -p 1'. In this case you can't > use second one. I don't know how your patch is created. So I > recommended one that can be used everytime. > > --- > Yasuhiro KIMURA > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Oct 22 05:28:58 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F403616F5E0 for ; Tue, 22 Oct 2019 05:28:57 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46y29j0LJXz4KnT for ; Tue, 22 Oct 2019 05:28:56 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from server.idefix.lan (unknown [IPv6:2a02:6d40:36d1:201:21b:21ff:fe7b:3468]) (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) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id 0EBCE91C4A for ; Tue, 22 Oct 2019 07:28:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fechner.net; s=default; t=1571722134; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:openpgp:openpgp:autocrypt:autocrypt; bh=ecoK6EtbmnCClNK9oYyxFTpW9FOoKlCaJmp1fag2rJ0=; b=lbWMCc5Se7sCGxyuCCr4uiWs7fB5oDC5cqFV11JTNc2ZAK65/L9LshwF4Yttm4a6h1abVk d8GCOiwFd+438cRAkOrIi+eaBPhAVLtohB+2ETnkvpNwnPUB22CR7xSncdCqc2V2oJncL9 OgHYf0CYcb+sDxl6a2/5iR+5llzHsfY= Received: from [192.168.0.151] (174-103-000-128.ip-addr.inexio.net [128.0.103.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by server.idefix.lan (Postfix) with ESMTPSA id 7265712C6E0 for ; Tue, 22 Oct 2019 07:28:53 +0200 (CEST) Subject: Re: changing the PostgreSQL default user To: freebsd-questions@freebsd.org References: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> From: Matthias Fechner Openpgp: preference=signencrypt Autocrypt: addr=idefix@fechner.net; prefer-encrypt=mutual; keydata= mQINBFqca1YBEADM9mF2+ifk8HILTlf5wtAzV6SYVR4RvNOo/8Kucw4sCZT76zS1fjZe4Zy1 3C0IZ07Wi+3PnoGIgOCsXp3PrTc2nuHQWkwVBYXy8UaR9DHBWA/mIvRGG1ZscKQYA6oUdCvd K8Mu26zO60yTt+ONzFtK6G1myH4EHXZ8dpmdCFf+W3rzTU+aCQ5S3OfwCLGgYgOaVREGkdOc 5SVCpFb4n+2B8+CqeWsRHhnT+4h7/YhgDMGp4GiI3yrB2nBVSUUvcosD2nRtJQgGQHcAFtMq 3hJaKPOR/mHc6KVrp0xmGNmdtazvXloHmGIl9O1UpmMmrYu9Kugl0JkGi2fAcno02XgVlkyX 7xDLTteP5cNqRxor4yVDaRWUQnOfK9XgcrKGrAzb65BkCSkjT+Aw3S/A8Qd6NvjL9qy1d+Ct dzatOVF/Y7jaW28CMr3jvwPS13OxV7PnJzIZzdik20eVxfOXuYfxZD+PwBaGgFF0qj6zKACC aKLalE0ZpY0zNn/iPyQX/Cf9KoDyFpOHSsEswiJ5rCWwppVcsFyogHOemVmeaXlvyDPEipnV ZUkpGP/CCqPu3eD0uDzP7UJ0pt/l/JfW0Xw/4p9mjB024xiRlxLa6vSRfGl//EdtAIbKKa8x 5wsKTQEbYJDmXE3tH/A54DCqRXhcopTlu2iJlTdnIMltn9afVwARAQABtCVNYXR0aGlhcyBG ZWNobmVyIDxpZGVmaXhAZmVjaG5lci5uZXQ+iQJXBBMBCgBBAhsDBQkJZgGABQsJCAcDBRUK CQgLBRYDAgEAAh4BAheAFiEEaWB64mCp804YOtqutot13J/XR+EFAlqcc9gCGQEACgkQtot1 3J/XR+GQyhAAwDxUSg7X2aS1d6rrYUZdDk8rT5TCjayDAyOATdAUhJRZk8qXRNF27Mu6xiOT mIvEMKLagNsitffZs1g/mulRQiDVLloGav7xozSfYlaOYWpPb55wpsugQPLZz0OkU9tzw7j7 7sPPvnAxeqSofUJzQdZzp43aVwXVqsJ3rY0jGzYA5RLS6CBI1RRR8/hHLMxspDPl79IW3GhI HAXaVX1HVJA2oJEo9Y95DnJwX8NV+hvLlUVA2KDdNKFiVJKeV3ccqw+/5zW3Y8J6Rd8blW9n p68Z7lyxt6mvsDEdSxOyGSkPagzIDfHqmDfkaeum7gHMwweH2e2pZuhzMZkrKNoSkKiJ5uim 638ZhnzzmEWh2qtYPgHlZG1jO6n2DSzCqJkQYjYUtLj7ylIgZakG8M3idQRugHImMBq+HSMu WR8FI52gh1+4LbIArHB4YWTTr933ElwhS1jtomK9SeWezPfjunpxqXQl4QR0qXAuglsOMJ6y Togb6lc0qyEdOa5VCXQTLSD9yZpolSQOjOe1XEyM4g5v7FrPBGVni9AxlARvUDVbYQDv1+4A gchtgpLmAF8mDPq/tGeXuAO3m+ExQDXpJ4CneI9YHc+joU2cXQi5MP1NzgMOV43XEZCiTW0O BWM1+857gmDqGbybE7F3UFpvBs9/NRWnuxoKaYxYbqCOc3m5Ag0EWpxrVgEQAN3uCLHZF+1V gcrzYjwL1wAJwjYb7UnHKvNYdaBKgW0n0NTfaTCLHxHYPO8NlV1+lNctSeXLeiWpmE1lCDHq /++53EJ34OsRd/n246PdtfIfltML73tsmq6S9zTye2zv7LsmE7jgUBaasbv0qSLSybOUvkRx j3xBuK9Ymg/ZXaENOhxwIQ6oQoNLg3ers9t5Xl4NVK6gzzZ2OdTGnuUVhQmi4rbP04R0GJFh AtGLAYUCxlXVZhdPAs4qZaoAEP5nW/u2MyzSaIouwcEIdttAiPZdrJr+a4OGKz88Sn6zqKSa uyUADgX+G8tKUONgZbfz4SSRvlinOgyU2RyyfNS977r/YfaHH+oAxg31yUWPtD/ryfVw69bG vK8RQrZ9+c1vyWBABoQOh5+JHW/AE9Xj5dQatEfWmGO3+/FRo2TIhqZQXXl8PW+jtEjkhgOH OUX5ERzSm6nCcPIw+LUkEINcLc9bw4fv1eOWIdBuCckGM4rWXkLYbqhdSzdWeCsC0tiQk8x7 O1zXRJOKF4rITJd/qX322EH29BR+T9V1Hw7LDSRe+3YxtoXhROZRXjF8QniEHeKVNRUComr6 rWGmuHjsNTQ7twtwnG8xSOfCkYAp9GrbzBkIYX+VFvFQLqVM+It3RAlge/bwpZPvkr3bFsJk 4JS+EAugBIrP0xd9BMOh6Ej5ABEBAAGJAjwEGAEKACYWIQRpYHriYKnzThg62q62i3Xcn9dH 4QUCWpxrVgIbDAUJCWYBgAAKCRC2i3Xcn9dH4ZZsEACoQI109htphVe2AQhJ7wuPo8pIrSFA 0Mb0pfibX/sYw8ZZz/x3ctTI3Ajq2baSaoebIuUyd6oPI7cAzgL4s2zHiZ3ChH2dDxJlOPfk OaiK124DJMPqWiWuxe39tgq23tsPhwcvF+DC+SkJoLWKCYNC06fS3bLktZ0s4lVE5tqfL5ww MvxgxB+6+sWHwZWSv1IwB/geov6zkEhVdkXqrGPE52LyLfU0ACMmihcl0/npsCMZSls0urge CsPMuHPQnmcM2ERbere8i9OdKQDzGBrTbWl9DxNRf4o+cAYirEJM3Kc+ZD2SE34bTSvg3kdQ QZQbj+o+BRcsR0LaGbORkNaMZlp5OuXteL6nG7sbAPn0bjUUlup8CJEXDXENG6LJG1/oVWFq m3OtPyr5UoMQAuhuGx0/Om6AXKr/mk+veuoKWMXkqll045/bYE7bX2A0gkyGE5DdjaiHPmS9 NsWuKDeExLlXZOL1GX+PKjWLADwlv07XHB8Hf6U0/lpf3/mggRtqHyKbHt0iRqYaMC95gVdM rbugxh61U/zxIaweU7VolD5cRrltxqPp5szOwDzw42JYwbpYsXFJXNkuCGCmK1LHcShfEggt fV3g/JKzvNRQn6p1f0frppl/eZ5UvWVKrNERJzcZgkOecxwiK/L/JoGpGfWOqWGsTxe/AnQc Xxj8Dw== Message-ID: Date: Tue, 22 Oct 2019 07:28:51 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE X-Rspamd-Server: anny.lostinspace.de X-Rspamd-Queue-Id: 46y29j0LJXz4KnT X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fechner.net header.s=default header.b=lbWMCc5S; dmarc=pass (policy=none) header.from=fechner.net; spf=pass (mx1.freebsd.org: domain of idefix@fechner.net designates 2001:608:a02::33 as permitted sender) smtp.mailfrom=idefix@fechner.net X-Spamd-Result: default: False [-8.72 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[fechner.net:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[fechner.net.dwl.dnswl.org : 127.0.6.2]; R_SPF_ALLOW(-0.20)[+a]; 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)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[fechner.net:+]; RCVD_IN_DNSWL_MED(-0.20)[3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.a.0.8.0.6.0.1.0.0.2.list.dnswl.org : 127.0.6.2]; DMARC_POLICY_ALLOW(-0.50)[fechner.net,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-3.02)[ip: (-9.91), ipnet: 2001:608::/32(-4.87), asn: 5539(-0.31), country: DE(-0.01)]; ASN(0.00)[asn:5539, ipnet:2001:608::/32, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 05:28:58 -0000 Am 21.10.2019 um 08:22 schrieb David Newman: > FreeBSD recently changed its default version of PostgreSQL from 9.5 to 11. > > However, attempts to run 'pg_upgrade' on the databases failed for me > because my 9.5 install had a default user of 'pgsql' and version 11 goes > with 'postgres' instead [1]. why not follow the UPDATING entry in /usr/ports/UPDATING? Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook From owner-freebsd-questions@freebsd.org Tue Oct 22 05:41:26 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C254D16FB8C for ; Tue, 22 Oct 2019 05:41:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46y2S45FPbz4LYP for ; Tue, 22 Oct 2019 05:41:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.116.99]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MTzOe-1iV8fi0kZm-00R52x; Tue, 22 Oct 2019 07:41:20 +0200 Date: Tue, 22 Oct 2019 07:41:18 +0200 From: Polytropon To: "Clay Daniels Jr." Cc: Yasuhiro KIMURA , "freebsd-questions@freebsd.org" Subject: Re: How to apply a patch to a port Message-Id: <20191022074118.0a08c0ad.freebsd@edvax.de> In-Reply-To: References: <20191022.053926.1076439053946694541.yasu@utahime.org> <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> <20191022.090814.157299176887147047.yasu@utahime.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:4+AcyIRNTRtLGgNxeVytdypFzAcgbuoivu8a8xs+psaeuBsof/3 Fq09+HdRMKJ8zR6LU4UgXQ3ShSr3ol+mLTLO96l+ZvxrGxZXabowL8t9XYHAXYwKpOGryCf EOWpcJfqw+8Y/9OXvojQPVkL4mTpqynb9Cq2IMQTAb7vZii8neOqvnzJbdkRCOIf2nynEJW /Dk/uNDRQhiIYHFS6Shiw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:I7uSlV5Xoz0=:zIT2zVZkCdPVNVs5bdQrYI xbJ3ngsxT7C9QhLrff957ekF/sYqK96UYzgW5ga3oce+eMrDoGZbL8wDTG10/nAb3Fp9glFbw qR5f9GYLC68aYg9Q8FSsiwu2kGXQ83oS0CGDtNhqKYeojHru+byBgxUyMdvg34Qaufk27K4ca uSrVs/sZkNJb0PmUItFp7udfPok32Vr+vDFP+ZmqKn3oYb+cw6Kn6+3inbhbfKV85FVoZ1ALa 3RGewr5PYvVhKNK2SjEKJo43wpPTAawihU9unOH2w6EUKG/1tcIGWtUUyW1Ux7m01MUk7K1tu LqRpXK6YiwRwpfHFxC/gt4cfzIMCwDexpJ7Bnrsg0QXvASochB3l76un6SxT89m0eHkvk+jzN aIpCSVEPnAVzBlzszCkR09I3XDl1eJzsi3Vhqh56hfIfKbqtafgrGQB63fS5q0S04/c4ps2hR Z5JK3kVHxIvGNc3hX2clEAdDmaG+DAujG5yGLyG6Nv6biw6c/g5tF23t1x7njMEmDcCE1cIYF HUf0cR6bo2+1Z5A4u4PJEECTZs9eCM/Gh2849ArGKktNlX9YqbZRDClw1vB+AgTYkPZM1osqc DCE2zk7ry39Aav2a+NTyMkM4vCtqz52UDgUJ6VNU8MqTdulKxlTBRkN0GPhyQQ3ZDlG/OT2Iv g2ZqLK1VoDe8K21gndxfH0CsGg03zWJEDYllGIrSsItooc3JljE550hlLuokyvqiuEcRX5n42 TT7SYA0s+AdwQlq3LMxo+Fkfz4f+nsFa8Oso5U6X+ljDYrvEprHi8GtSh2wEZK8ymmihtpyGF qVaEjOHsJ167au/dl8u9areAAoOigiPAF2aEy3Ca8yNXIGXgSkW0owdBYFN8V6Kb+QRrKaXE3 v2Z7WsouZtkzc3LyPxqE7UBvLqTTo7YJ6UPwI8AUA= X-Rspamd-Queue-Id: 46y2S45FPbz4LYP X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.64 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[99.116.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.76)[0.756,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.991,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.50)[ip: (0.27), ipnet: 217.72.192.0/20(0.24), asn: 8560(1.99), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 05:41:26 -0000 Following this thread, I think the file's content might be damaged? Or maybe it's just the MUA which mangled the lines... Allow me a few notes: On Mon, 21 Oct 2019 21:57:42 -0500, Clay Daniels Jr. wrote: > Thanks Yasuhiro. My patch file is a text file named > patch-linuxkpi_gplv2_src_linux__page.c with this content: > > diff --git a/linuxkpi/gplv2/src/linux_page.c > b/linuxkpi/gplv2/src/linux_page.c That should be _one_ line: diff --git a/linuxkpi/gplv2/src/linux_page.c b/linuxkpi/gplv2/src/linux_page.c The common notation is: diff --git > index e2b85c45c..060ae85ed 100644 That's, if I remember correctly, a git-specific line, but probably it won't do any harm. For testing, you could remove that line... > --- a/linuxkpi/gplv2/src/linux_page.c > +++ b/linuxkpi/gplv2/src/linux_page.c > @@ -239,7 +239,7 @@ retry: > page = vm_page_lookup(devobj, i); > if (page == NULL) > continue; > - if (vm_page_sleep_if_busy(page, "linuxkpi")) > + if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL)) > goto retry; > cdev_pager_free_page(devobj, page); > } This looks reasonable so far. :-) > I copied it, as root, from my thumbdrive to a /root/files directory I > created. Then i went to the main port directory for drm-current-kmod, ran > make patch, which did a lot of activity and created a /work/kms-drm-2d2852e > directory, where I tried to run: > patch -p 1 -s -i /root/files/patch-linuxkpi_gplv2_src_linux__page.c > It said 1 of 1 hunks failed - saving rejects... > Then I changed it to say -p 1, ran that and it asks: "File to patch:" > > I answered linux_page.c because I could not think of anything else, but the > file was not found. There are a lot of files created by the "make patch" > command and I'm looking through them now, though I'm not really sure what > I'm looking for. Then maybe I did guess right: the input patch file could be damaged. The procedure to apply external patches is correct. For reference purposes: https://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html Note that the file _name_ has to be in a specific format (see 4.4.2. example 2), but I think the file name you mentioned above conforms to that rule. Oh, and there's "man 7 ports" worth having a loot at: https://www.freebsd.org/cgi/man.cgi?ports(7) > Between our emails, I discovered the FreeBSD Porter's Handbook and it has a > lot of info I need to read. Of course I want to get this one patch > installed, but most importantly I want to know how to do it again, and > understand what I'm doing. For that _one_ line (!) change, you could manually edit the one file it corresponds to, as a temporary workaround, but of course that's not nearly what you want to achieve in the lon run. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Oct 22 07:02:36 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EEF3D151FFB for ; Tue, 22 Oct 2019 07:02:36 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [150.101.137.139]) by mx1.freebsd.org (Postfix) with ESMTP id 46y4Fk0sz9z4PZm for ; Tue, 22 Oct 2019 07:02:33 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.93.194]) by ipmail02.adl2.internode.on.net with ESMTP; 22 Oct 2019 17:32:26 +1030 Subject: Re: changing the PostgreSQL default user To: David Newman , freebsd-questions@freebsd.org References: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> From: Shane Ambler Message-ID: Date: Tue, 22 Oct 2019 17:32:24 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46y4Fk0sz9z4PZm X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of FreeBSD@shaneware.biz has no SPF policy when checking 150.101.137.139) smtp.mailfrom=FreeBSD@shaneware.biz X-Spamd-Result: default: False [4.73 / 15.00]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[ShaneWare.Biz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.95)[0.948,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.98)[0.977,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[139.137.101.150.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4739, ipnet:150.101.0.0/16, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(1.90)[ip: (5.72), ipnet: 150.101.0.0/16(2.50), asn: 4739(1.29), country: AU(0.01)]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 07:02:37 -0000 On 21/10/19 4:52 pm, David Newman wrote: > Greetings. > > FreeBSD recently changed its default version of PostgreSQL from 9.5 to 11. > > However, attempts to run 'pg_upgrade' on the databases failed for me > because my 9.5 install had a default user of 'pgsql' and version 11 goes > with 'postgres' instead [1]. > > My hack was to edit /usr/local/etc/rc.d/postgresql, set postgresql_user No need - configure it in /etc/rc.conf Config variables used by any rc script can be set in rc.conf, not just the *_enable variables. For postgresql*-server that is postgresql_enable postgresql_data postgresql_flags postgresql_initdb_flags postgresql_class postgresql_profiles In the postgresql rc file, you will find - postgresql_user=${postgresql_user:-"postgres"} the part inside ${} means if this variable has not been set use this default value. -- FreeBSD - the place to B...Sharing Data Shane Ambler From owner-freebsd-questions@freebsd.org Tue Oct 22 07:33:56 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 841E615287A for ; Tue, 22 Oct 2019 07:33:56 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46y4xv3gPtz4QlD for ; Tue, 22 Oct 2019 07:33:55 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=o7PrQ2KD2cJvOalYsu7Sk+ybGyOzSN+lWZV6y/kIK2A=; b=BYX3vla9MUffaunlsYYILF28wt +DRmEiUdunbXEV4PNV1JVfRQIMrzrIeVx71kZ5U4TFHPHTRjF4Gse5jqErnPiCvmWIcwui8QKpaUO GcAIp4UwJBGp5zSJxt9MzoObvAVO2r3P0VOKMtrjGjVNl3RBjsU75QHFkuoUsOactFd4=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMofx-000Hhn-87 for freebsd-questions@freebsd.org; Tue, 22 Oct 2019 14:33:53 +0700 Date: Tue, 22 Oct 2019 14:33:53 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: boot1.efi and ZFS Message-ID: <20191022073353.GA67692@admin.sibptus.ru> References: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46y4xv3gPtz4QlD X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=BYX3vla9; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.43), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 07:33:56 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Out of curiousity. UEFI(8) says that=20 "boot1.efi searches partitions of type freebsd-ufs and freebsd-zfs for loader.efi. The search begins with partitions on the device from which boot1.efi was loaded, and continues with other available partitions. If both freebsd-ufs and freebsd-zfs partitions exist on the same device the freebsd-zfs partition is preferred. boot1.efi then loads and executes loader.efi." This means that boot1.efi (with binary size 80k) includes a ZFS filesystem driver (even if just readonly)? Really, a ZFS implementation can be so small in size? Is _all_ the ZFS access code really in /src/stand/efi/boot1/zfs_module.c ?= =20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrrDhAAoJEA2k8lmbXsY0wg4H/2ewpgTgT2eLklv/Xmk9+gjs j1wPHrTuKV7jr9YFdsKFDMkmjSxAmZdWo9qTuO6sZDMoSo1lvmwKzxBs49bc8GNg 7tDCJ9ywMHofA3S64yVcV2YoSHqb900pqZFCsgBWm25b7N4Tz/rWF5qAybPBJBoK mkeZkaTB8vRkKAcOE/Nwn8QVhvBWpeXkungzvsSxZzTbmXRDbGmQQPGUgjfAYpOG +cg/iTKF+zyaX23cAnw1Lq6Dd942OwPzmkzK/jNLPAazsD85cePD+JLoxcqRI5aG r9FVi16MERKfEH4MeYAj7ljm3taYCkOueG1LaInVZSuTYqYGMDs8TJiMwmHjF8k= =Hxys -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-questions@freebsd.org Tue Oct 22 07:50:16 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F2BE152E05 for ; Tue, 22 Oct 2019 07:50:16 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46y5Jl3hxmz4RNx for ; Tue, 22 Oct 2019 07:50:15 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=hkeXAtPojAlQLNZSh3lEGDxp2As7EEHys88uXqk8fJ0=; b=o9Md9u83hdIm8YmKo8CEejbubd iDy/8egfnvwdjRgUoCBcPJ28THwgCfyyGBYdHfB23NW8bVTe8tidR2wR/1piXwgE/Z5dd6A1mVG7a Gb6tQFLZkHMwpjcErsco5gjO1KP+w2fSJxjQ00a57oJK9d/BPvudKBxxZ4xHdPYGg1Zs=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMovm-000HtI-83 for freebsd-questions@freebsd.org; Tue, 22 Oct 2019 14:50:14 +0700 Date: Tue, 22 Oct 2019 14:50:14 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: boot1.efi and ZFS Message-ID: <20191022075014.GA68084@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline X-DKIM-result: pass sibptus.ru User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46y5Jl3hxmz4RNx X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=o9Md9u83; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.44), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 07:50:16 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Out of curiousity. UEFI(8) says that=20 "boot1.efi searches partitions of type freebsd-ufs and freebsd-zfs for loader.efi. The search begins with partitions on the device from which boot1.efi was loaded, and continues with other available partitions. If both freebsd-ufs and freebsd-zfs partitions exist on the same device the freebsd-zfs partition is preferred. boot1.efi then loads and executes loader.efi." This means that boot1.efi (with binary size 80k) includes a ZFS filesystem driver (even if just readonly)? Really, a ZFS implementation can be so small in size? Is _all_ the ZFS access code really in /src/stand/efi/boot1/zfs_module.c ?= =20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrrS2AAoJEA2k8lmbXsY0weQH/iQBfrc+JG8Nla+l8OL+53Hv FX2lbQPzk0K1iotVwHVw46prPRu2zxecOU8edmsOBknwRU/b50K5EX/+bPx9hZ2y a2v8JuLPntfbfPSZbR+4nPR7q9FnTJSTZ53C0VRPsZ1zaWg+lGdgQxHsmAd3974u cXp2wXMO4wJUSULkOB10doDZnDRRdnkeVpfMcwrMEG0PDAQImu1sSaHM8GpqeuZQ +5PzrA//CsmCC+sN9ahbgPWVsggYAwyao3/F1jtWk22EXKmJV8r3IjLx2mGgHFdk YJb3TMnmIhVGlMRInnAhf9XYonFbVMJipAamxVrTTcT812j5KZLlhZfshjD/c/w= =jcy1 -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- From owner-freebsd-questions@freebsd.org Tue Oct 22 08:34:35 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6069D15434E for ; Tue, 22 Oct 2019 08:34:35 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46y6Ht4Dw9z4Ttd for ; Tue, 22 Oct 2019 08:34:34 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-oi1-x22d.google.com with SMTP id g81so13454589oib.8 for ; Tue, 22 Oct 2019 01:34:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=QV6HjMiYFwcCDTPKrSoPM/zp97N8gmoy3AoqfMxHsQE=; b=hFhsu8CQ1cGwe1gRTeongr82xTyfSL9maeBviVrAaAxcmdXomwNruJ57o/OFNUVKGo sJjWupFseaD+aON8XzyJMdMZTwvkbGS2mQqh5hZ5pimveheIreawEBjDPH8205UNdXvK sPEyxOe2uuKcXqQfGI/w3vGV/Uoh+yWDxEQwHgv86cplUtNdOrjJGv6xjDSX2wc+TACr cSxTmW111izGWof/dXfaLPWgJAbcRlkKUdPHzlzhG3PkiSmVef+QNqExNxyuevM5meJD pU/GCxNuV0Lb0qOJFa4MNAOGYOejdlp7cj/pFz8lSnHN26RikG9C0KswxowBnUQU21LL kD4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=QV6HjMiYFwcCDTPKrSoPM/zp97N8gmoy3AoqfMxHsQE=; b=bga4BnUfkx6y9vwVkr0Ks8ZJdUddCLyUTJSU/oistjT1p+xMKUzvzTRlXH2O9Tf+02 vylVDc5IP7djoCwsYR6AGtAdV3VZhPkvh9B6SWCJX62LCUvqsNeRkcxHHNvJN033MwPw ceYoC1MjYSgQwB59M/x2AjJGMVVZIi0+fE0bBco+EXrd1SOMuytwQ+vr8dz8A86YsH/+ BCAr84NQiXLyn2+vYLeluuRiXhyrpCKXggYgHTJxv5KFU9ehhqAPakKuy/mNuYNskb2o vvejStilYFoDdSFRTPizSv8E/vcOzqcFm9nFwzX51MEulljatktbG0di78UODm+PYiQb 6kQg== X-Gm-Message-State: APjAAAXPRySOS7tfPRnYFbvFNoJCa+5j6/6Kj2CeWsvEiKkYE00+CCgG HL00/ZfiEdUpXBW5LyUMTs3PhyJLtw== X-Google-Smtp-Source: APXvYqwyDLLEuHBUoyuQvO7nWGLkuy5eatTXLctYJUNRJKv/b/+qpT8bRwIHyFqQLsvdhGeU462VCQ== X-Received: by 2002:a05:6808:7cd:: with SMTP id f13mr1823985oij.70.1571733272486; Tue, 22 Oct 2019 01:34:32 -0700 (PDT) Received: from ?IPv6:2600:1700:caa1:a280:e88e:5a7f:1e3f:5fa9? ([2600:1700:caa1:a280:e88e:5a7f:1e3f:5fa9]) by smtp.gmail.com with ESMTPSA id 60sm5095171oto.27.2019.10.22.01.34.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Oct 2019 01:34:32 -0700 (PDT) Subject: Re: How to apply a patch to a port To: Polytropon Cc: Yasuhiro KIMURA , "freebsd-questions@freebsd.org" References: <20191022.053926.1076439053946694541.yasu@utahime.org> <9ac08912-0415-0830-9381-6df157fe6ab1@gmail.com> <20191022.090814.157299176887147047.yasu@utahime.org> <20191022074118.0a08c0ad.freebsd@edvax.de> From: Clay Daniels Message-ID: <36744639-3853-4037-6caa-b0ac49c709ae@gmail.com> Date: Tue, 22 Oct 2019 03:34:30 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191022074118.0a08c0ad.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 46y6Ht4Dw9z4Ttd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hFhsu8CQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::22d as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-7.90), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 08:34:35 -0000 Thanks Yasuhiro & Polytropon for your help. I was able to apply the patch. This is what I did, once again doing a fresh install first: Read "man patch"! Good stuff! Copied the patch file from a thumbdrive to /root/files. The file looked ok when I used cat to read it. Went to main port directory, ran "make patch" Went to the created /work/work/kms-drm-2d2852e directory, ran patch: "patch -p0 -i /root/files/patch-linuxkpi_gplv2_src_linux__page.c"   (no -s - no need to be silent) Patch dialog asked for the patch file, I entered " linux_page.c" Patch dialog said file not found (as I expected) & asked "Skip [n] ?" , I hit return for default no. Went back up two levels to main port directory, ran "make makepatch" Then ran " make install" , "make clean" The exit message said the package was installed, so I rebooted. The patch did not work as advertised, but I know it was installed as the behavior was different than an install without the patch. The best thing is that I now have a pretty good idea of how to do this, and a better understanding of what I am doing. I will just wait until Friday for the next weekly snapshot of 13.0 Current. Maybe I will try 12.1-RC2 in the meantime. Thanks again, Clay From owner-freebsd-questions@freebsd.org Tue Oct 22 09:20:31 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9BE9215588E; Tue, 22 Oct 2019 09:20:31 +0000 (UTC) (envelope-from vm.finance2@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46y7Jt5s0yz4XjN; Tue, 22 Oct 2019 09:20:30 +0000 (UTC) (envelope-from vm.finance2@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id i26so10201841iog.9; Tue, 22 Oct 2019 02:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cSSuTwveTvHH5E+wx5Gqt2rZ6onKqZj9sSyQzlNYJv8=; b=hqVhjX7CuCY8olieSPzplRNfaj4UMp7a8HiMHqmL3JYdHLSBN9yuhfLldhA+168ng/ 63aCUzdvUYHbWfgpquOiBC3CBmetVrMVRdstjWO1a57pFJk3LWCiB6FocOaOV/55fZYg zFRhAGnSv4kcWY/ko9f63sz9wmQNWffBkK4RrXLs9Sz113ohRDCi0gwjcIwr5ToC4OBW aQOwW/v/A/pkpY3dnXLI2fEyPmmwvxaQAHaLgj6tLVefk1ZNBkKvVox3DOPlLmOIC/zE qZeEgNszSvgclzD67Bi7q5Nlk4rjitjRv7pVPIAITQ3egTXLAvfHO1Y2ILg3euCaNrC7 OitQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cSSuTwveTvHH5E+wx5Gqt2rZ6onKqZj9sSyQzlNYJv8=; b=WMGVzTcS4/6YEu+YyzfSDk6omSMaAgBgok2Hbu/h6YYRB8DTndLl8qVPjnVcUWI8li NDvqlNAv317oIyLrjfcg2o77AP4oFGwQ5Or/L6b2k1hrE1DDpwfZinTPvFkL6pDwliwf 8nFxcYSTGazZOeZ518P+aZBr10N6yNdhHXuawrCt87gHQfw48BE4rxhiZ86EVe9/xe23 v1UrKbmAcmRGlEjS53fGRfBJ18H8RWKTmveFtuAzb4BWpxXgw9gsxmpvuqRbiTvGcWVg oujh1k/NfvX6CRdtcH9vkbPyBiYULat68obtVWA1h0hyygITiwxbB9RfUW/FBG2BHhhc oKCQ== X-Gm-Message-State: APjAAAVrPTN6ZMNG90MpIMdiaA9e9Y5+mMDaRI7+Cq7CxxYVj0GdyQg+ gdo8hgfdRucUWUCaY61Z4WsG9+Lv3hVy9EUeBnZUtmQOgAw= X-Google-Smtp-Source: APXvYqwB07g1Q2zQ2RDkKGvVsBWfYFNrli3ccP6aFrCjNTZYDepw3lD9a562HW1hta2KLGaxBpvqBJLgIjGna3hAV0w= X-Received: by 2002:a02:a488:: with SMTP id d8mr2745024jam.129.1571736029269; Tue, 22 Oct 2019 02:20:29 -0700 (PDT) MIME-Version: 1.0 From: vm finance Date: Tue, 22 Oct 2019 02:20:18 -0700 Message-ID: Subject: Assertion: jemalloc_arena.c:647: Failed assertion: To: freebsd-net , freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 46y7Jt5s0yz4XjN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hqVhjX7C; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vmfinance2@gmail.com designates 2607:f8b0:4864:20::d43 as permitted sender) smtp.mailfrom=vmfinance2@gmail.com X-Spamd-Result: default: False [-2.90 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (2.20), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; 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)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 09:20:31 -0000 Hi, I'm on FreeBSD 13.0 CURRENT...I made some changes in tcp codebase and tried to recompile: cd /usr/src make buildworld buildkernel I get the following error - any ideas/pointers highly appreciated. Thank you! ------------------------------------------------------------------------------------- localedef -l -D -U -i /usr/src/share/colldef/af_ZA.UTF-8.src -f /usr/src/share/colldef/../../tools/tools/locale/etc/final-maps/map.UTF-8 /usr/obj/usr/src/amd64.amd64/share/colldef/af_ZA.UTF-8 : jemalloc_arena.c:647: Failed assertion: "nstime_compare(&decay->epoch, &time) <= 0" *** Signal 6 Stop. make[4]: stopped in /usr/src/share/colldef *** Error code 1 Stop. make[3]: stopped in /usr/src/share *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src From owner-freebsd-questions@freebsd.org Tue Oct 22 13:43:15 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75D0915B2CF for ; Tue, 22 Oct 2019 13:43:15 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46yF823TGhz3J1v for ; Tue, 22 Oct 2019 13:43:14 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qk1-x72f.google.com with SMTP id w2so16254456qkf.2 for ; Tue, 22 Oct 2019 06:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version; bh=rOg9VqHiwvM4By7dFQgAJ+MsE053gdsTG7uVoIeJbkg=; b=BCDG1I97LsjCEY5cHfVi2n+gBfTmnd3Rycxh5dzacGPEes1gZCYOSHLLGV9FT8VFtD bYxJfN7wFcrJb7wxg2yLMhN5lgHpm0zXCYhAtTt8OYB0667jFPmK5MeFLuyiwcktcqql 8N/XJJtxTONhfvvrgLcPTD/EIVWjYLiaiDI4Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version; bh=rOg9VqHiwvM4By7dFQgAJ+MsE053gdsTG7uVoIeJbkg=; b=K3KIM8pWwo6e/1imuGDezO/iU/s7cF7sA1ymVoLUWBijt4VWTUtKaoBZESwK+osd1G Yls8ZB8BJ5Yko8kz0Fo0X1SHGzyEL9ZxAIK8D0Wris0q6AXVnU7WwB/QMbrIQ05gygG0 cfnzzANcfYPBxaiIuFYyw5r3DGMJqyNP/oebJE5Uhhlv42581XP5M+nyMZi7drgvnU+p s2vI7d9wSW3xHdlrwtlLvdNfC1OxZxJWBW93z/9kYizidYA5liw2WDS0UqJM7gd2/X3v 0mzsdWbfTQEe4LCos4XpNng5NiKWa9W97lb34e/PeNbOwC2vpJ9ynVnID7SM9HcB/apC fehQ== X-Gm-Message-State: APjAAAXmit6Kb15+cFnC96w49Rht7kAHSI6ocyyjiX9aFIh0qukpdcHH AAUakwMS974e9/1uTb2E86LJ+l1M7r4= X-Google-Smtp-Source: APXvYqyzhYbapfEJ3Owj//1FWaBwVroHkeARbGwPIeEoMfvdJH5zlGbIzEMoJCELE8Ei0wZqbU8jJg== X-Received: by 2002:a37:85c5:: with SMTP id h188mr2929169qkd.191.1571751792858; Tue, 22 Oct 2019 06:43:12 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id t13sm6097706qtn.18.2019.10.22.06.43.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 06:43:11 -0700 (PDT) Received: from localhost (HP-ENVY [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 46yF7y2N5nz4jqT for ; Tue, 22 Oct 2019 09:43:10 -0400 (EDT) Date: Tue, 22 Oct 2019 09:43:01 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Using '@' in user name with "mount_smbfs" Message-ID: <20191022094301.0000716b@seibercom.net> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/7jHCf+mQXYaiUs569Ewv+WV"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 46yF823TGhz3J1v X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=BCDG1I97; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::72f as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.80)[ip: (-9.43), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 13:43:15 -0000 --Sig_/7jHCf+mQXYaiUs569Ewv+WV Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am stumped as to how I can accomplish using a user name with an '@' in it with the "mount_smbfs" command/ Assuming a user name of: user@domain.com, how would I get it accepted by the mount_smbfs command. /usr/sbin/mount_smbfs -N -f 0644 -U me -W WORKGROUP //user@domain.com@WIN-P= C/Share $HOME/Win-Pictures I have tried both single and double quotation marks, but that fails. Thanks --=20 Jerry --Sig_/7jHCf+mQXYaiUs569Ewv+WV Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl2vB2UACgkQOHMGOIfe xWTr/AgAvT4lXerOFbvlvgZVVi6SRCuAvwix6Qq7Qn9+H3KPinaHeAxzF0Xu8/iu twd/GdmVudUpSFbil+GOjQj7MKP1wmgDfwwKRhParSEQrERcOBkz9VionX9/Dihu D5H4UperliePXwv35BJY7abbb+BXOvWMiKjaPGGCMvhbW1L9pAj5dajzGinE5nmf 1cZJNN2Q15YRs5U16McRtB8QZ1aiZaujUcXte6Wip3ooXSDjJGSEnnLpxso9c8dq PXc2cFnboHnIUrwycbAwU4p+FEH77yoRfv9QlaluWxU3oXehVBsm/i79ekjrMtIX CQbsXPv8/HadXsUDtKw1ZfR6k9qF8g== =3yAV -----END PGP SIGNATURE----- --Sig_/7jHCf+mQXYaiUs569Ewv+WV-- From owner-freebsd-questions@freebsd.org Tue Oct 22 15:02:28 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F297B15CECD for ; Tue, 22 Oct 2019 15:02:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46yGvS4s2bz3Nhy for ; Tue, 22 Oct 2019 15:02:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.116.99]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1N5VTm-1hyOWe1HVy-016tvH for ; Tue, 22 Oct 2019 17:02:26 +0200 Date: Tue, 22 Oct 2019 17:02:25 +0200 From: Polytropon To: freebsd-questions@freebsd.org Subject: Re: Using '@' in user name with "mount_smbfs" Message-Id: <20191022170225.581cf496.freebsd@edvax.de> In-Reply-To: <20191022094301.0000716b@seibercom.net> References: <20191022094301.0000716b@seibercom.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rDhAeZ9NkjM0gseOoyK5FoVNPWn7sftEIH8WXXCWWUSdgXHCsf8 TGz/sr/Hvb5KIenuD9yAqXCQDlhDLa58cdAeao5lzI6ZXLQCiMUXyhxOQTyXqsWuhEaUKFl O0H1M7HnhrvaeGeIp9APQgc+gxmWLAXMld50woD8jU6mfFK1einzEL3K6T3VH98RozQu4uP UMlVLbvEDRk9SNflKSiEw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:gNVJ13g78eo=:RBz1z6YhTRSHinMXcGLOAl JU120uJiBuhTTTOiD84+Jd1bRmVenrRcUxvRGj1g4t8zsbaPv4BXKMG89KnoUk0xeaIyBKeHW +UQqivt3/a0okVLog76Ek2HhCZ5dZ61FvfpWBEbYBMRZhp+qvElAH4GILXBBEkvqLFjasVJzE i/e/vkbiUqAoZznCtLmWLHHZSPeySp2DTZJYj3tOp0hL6PP3FxAWnMWosdiHe9AVtvRdyOqTi XUf1243JoaW+u5M5lxp4sExeE75VtzspgVel+xoFlx63JucyL43RNysTL/KkW34YcOudUhkI4 Euvo65ZSayWLOYLOyJcvKXw5LprkcWHlrZjRkm2uNIVSUZ/MIZjVH6hz7l8IiUWpJanVEZ4gV PVfUNqf1pvIG0zrvvHxmOAXDtG3J1zcEUU4yuhHGWhIPWtgluY+Ywxvxv6CfBrvU425cS1HhS nqTz+LUYrWyXVEEDmAaTTkH6MVGDiwAro0nMlbFmX6ND/QTg1fc2mUxegoJO1xfd3h8F5c5WL ON6FqmW39Rv4YkKk9p5J1kdH2A7zd6Gi9+iYTlIFkv7zAdDoalqdI4Mc2xb9+CeeFEX7BZLfg AX5JMvf0n6QJhuv7tAGsaYWxrah285GbZfiDdt26FE1R4l2ShlBSggx0RCHg6OmC9BCgDNNIX +BmF+IW4+3QYj2FQBpyCQJ34SPKz84+a86LxbN9NhymFWnVRP6rL29HIbVTIYNG4lT/3O3Y0E AUihYsBU9/bHkkmXNWh75ouKUtZYHt3XQgRGD4pnvXGLcpGW/gV7OLugU4PzCZewMu1vz1Djc gn3/+FkXiu/UsV6KywuMSOcZiT8eo/9cGaFeoAqove1HwXqbf59qfkHKEdTSDHZ+k6V0zxFoL JhZ/+7HYYCT2m0lgBaRH8WeyAsCUok8lIu8bKsywE= X-Rspamd-Queue-Id: 46yGvS4s2bz3Nhy X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.98 / 15.00]; NEURAL_HAM_MEDIUM(-0.98)[-0.985,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 15:02:29 -0000 On Tue, 22 Oct 2019 09:43:01 -0400, Jerry wrote: > I am stumped as to how I can accomplish using a user name with an '@' > in it with the "mount_smbfs" command/ > > Assuming a user name of: user@domain.com, how would I get it accepted > by the mount_smbfs command. > > /usr/sbin/mount_smbfs -N -f 0644 -U me -W WORKGROUP //user@domain.com@WIN-PC/Share $HOME/Win-Pictures > > I have tried both single and double quotation marks, but that fails. Did you try using /etc/nsbm.conf for worgroup, username, and PC name instead of providing it directly on the command line? If I remember correctly, something like this (not tested!) should work: [WIN-PC:user@domain.com] password=12345 The format is ::, with the last two entries being optional. See "man 5 nsmb.conf" as well as the comment header of /etc/nsmb.conf for details. You can then use: mount_smbfs //WIN-PC/Share $HOME/Win-Pictures Similarly, you can use a rule derived from this command in /etc/fstab in case you need this mount command more than once. Memory fragment from long time ago... ;-) PS. Common suggestion is to use "example.com" (instead of "domain.com") as a placeholder. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Oct 22 18:27:38 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A9A6161998 for ; Tue, 22 Oct 2019 18:27:38 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x842.google.com (mail-qt1-x842.google.com [IPv6:2607:f8b0:4864:20::842]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46yMS86GbRz47Pw for ; Tue, 22 Oct 2019 18:27:36 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x842.google.com with SMTP id w14so28208662qto.9 for ; Tue, 22 Oct 2019 11:27:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:mime-version; bh=ITyLfSAVOKUiO8u1CtxNZNe16Hg1fs9peTqF65SK/U8=; b=mbTJN1edN/GpEAo7whyWkhb1Y7ogGkhNl1vyLgUpYOIZ7EXpbDiIHSEPopQrYU18cn k7dS8VmFnAoSdD4VISqHK6krsa3JXVceyoptidTA3v9CNaH4iXDganhs9nrzXDZlPFNs XVymwyhYOYm+oqkvr2aoPzP5ArTZqTJna4/5M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:mime-version; bh=ITyLfSAVOKUiO8u1CtxNZNe16Hg1fs9peTqF65SK/U8=; b=leLa4SSRSQwtGB+AMk9f7CguzygABFbt//hmsO7BkFxXWIM08S44QdkJzQOdVjz0Jw FD8h2x0KZHPUfTiBcZSSorBtCHs7Qb7i7BPq5GtkNmwNozzqD0EXzSTVnyVEscYsw4Da 2i/8ZHcC375mk9QsHbhiGnJiLVrzaC4k7dGOow2shGiAOdvcbqNdv98XiAkn9U3ZCJu5 Hvq3JNKAjdy6FFHYS3SJe5C4i9HA5NaUruQ20Zp0VYCx5PEAIPqBD835cmC0O9pY6W9v jtCS/aPgUQRSWqy4ZzpYgsthm06/5HI4LRnjCd6R89OCaG8Bc4lmYbXQ3FAYe4P4747l gmDg== X-Gm-Message-State: APjAAAViZNwrL9te1alSXzGRB/3a56mMFP0i8xxVD+Jhi7tuwnXEYgAA Bi7gU2nPacN0/YW0nGZ/C+DTx+Fk/Ug= X-Google-Smtp-Source: APXvYqzFNDTOKKbVSbmnWybiuPbbqCj9Z1aDjyvOyKqlsiRtjOUnItNCsreg5vdRNiqEFoc4IhGRQQ== X-Received: by 2002:a0c:b719:: with SMTP id t25mr4701364qvd.32.1571768855199; Tue, 22 Oct 2019 11:27:35 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id z5sm10813211qtb.49.2019.10.22.11.27.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 11:27:34 -0700 (PDT) Received: from localhost (HP-ENVY [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 46yMS502Vtz4kMk for ; Tue, 22 Oct 2019 14:27:32 -0400 (EDT) Date: Tue, 22 Oct 2019 14:27:18 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: Re: Using '@' in user name with "mount_smbfs" Message-ID: <20191022142718.00005069@seibercom.net> In-Reply-To: <20191022170225.581cf496.freebsd@edvax.de> References: <20191022094301.0000716b@seibercom.net> <20191022170225.581cf496.freebsd@edvax.de> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/UjesBSH4SGPS649ABzui4f9"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 46yMS86GbRz47Pw X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=mbTJN1ed; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::842 as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-0.07 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.47)[ip: (2.18), ipnet: 2607:f8b0::/32(-2.43), asn: 15169(-2.07), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 18:27:38 -0000 --Sig_/UjesBSH4SGPS649ABzui4f9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 22 Oct 2019 17:02:25 +0200, Polytropon commented: >On Tue, 22 Oct 2019 09:43:01 -0400, Jerry wrote: >> I am stumped as to how I can accomplish using a user name with an '@' >> in it with the "mount_smbfs" command/ >>=20 >> Assuming a user name of: user@domain.com, how would I get it accepted >> by the mount_smbfs command. >>=20 >> /usr/sbin/mount_smbfs -N -f 0644 -U me -W WORKGROUP >> //user@domain.com@WIN-PC/Share $HOME/Win-Pictures >>=20 >> I have tried both single and double quotation marks, but that fails. >> =20 > >Did you try using /etc/nsbm.conf for worgroup, username, and PC name >instead of providing it directly on the command line? If I remember >correctly, something like this (not tested!) should work: > > [WIN-PC:user@domain.com] > password=3D12345 > >The format is ::, with the last two entries >being optional. See "man 5 nsmb.conf" as well as the comment header >of /etc/nsmb.conf for details. > >You can then use: > > mount_smbfs //WIN-PC/Share $HOME/Win-Pictures > >Similarly, you can use a rule derived from this command in /etc/fstab >in case you need this mount command more than once. > >Memory fragment from long time ago... ;-) > > > >PS. Common suggestion is to use "example.com" (instead of "domain.com") > as a placeholder. That isn't working either. I found a post on Google that stated it will never work due to a bug in the program. In any case, I have found a work-a-round. --=20 Jerry --Sig_/UjesBSH4SGPS649ABzui4f9 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEIQb/tTwl6I1ueEVtOHMGOIfexWQFAl2vSgcACgkQOHMGOIfe xWTHqAgAhKEkG7u2XR/JZzIVN72t+J2mWBWW0+DTwQ9a9Ho9VYVPSk+/Helcgoza YxJqT8LXAz2t4UzO8bSW3FifILKHbiqyEwnhcgtMVNa87zsbP9W3CzlOCEY8DxbU G4sraG/y1ui14Z+yLkJKdAhmup+8/+bNH7t34Rm0Ta56VT81QOidWcWEXfTSJ0Ca Mp3/FgWSqoz1FRbI/FMQq+6g8t82SKFttKjjc9Rz//T5ZxxRrnVHoYhqc5N2bXli ihFVyacw/MHbWbzEt7BNdojbHStkqCS1p400tZGlvNi933uxRWtTrywjd6t05seC /oDz8iZL/Xs0MtmrBo97zEr4SqRitQ== =etgC -----END PGP SIGNATURE----- --Sig_/UjesBSH4SGPS649ABzui4f9-- From owner-freebsd-questions@freebsd.org Tue Oct 22 18:49:21 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 559A51623F0 for ; Tue, 22 Oct 2019 18:49:21 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46yMxF1gx4z48y5 for ; Tue, 22 Oct 2019 18:49:20 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-io1-xd2a.google.com with SMTP id c25so21686344iot.12 for ; Tue, 22 Oct 2019 11:49:20 -0700 (PDT) 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; bh=GS+MaPkUDE6DYqpcleRVX3y/WdyaCVZI27rDK2OgPE4=; b=LbRCcfDNvOIWZfL+AbtX6W3p38PIsHL1cyBPKO3SG3KZ2kWAtUwB12tD6klnq772gD y5np1EbHeF1vVAq/F+Zs4MQV6GB0N41c4DEUoM8aphFPStyTSTuoOKLxonknt02/NoLS FZDschNug/aZGumHq2ikULQPWtt+LJxxjB+IM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=GS+MaPkUDE6DYqpcleRVX3y/WdyaCVZI27rDK2OgPE4=; b=N9OdhkXo766NDHLWM+wfjDNuJCHuFz2OWPb3soohRi1bFBgTPFavO7gG01zlC0dNNH 9ifOMlNscqE0sTZ/qpX2mEyM+GLkilyPIhPDYUFOC26z86NPo362TRu2/GbHnm/72vG2 GjmZrjgvicAjJfbQjbVhYhhpJ99nfMyTyU9P0taNOuZl2BMb1fDScIbd2rjURL8NvK5C zxHli93Xyo/+GKc39CMVkf9QplCfnyLXtVMAmFqv51Ngh7t68TUk03Mau4XtoeiKmImH XSalWhEe8TL2D5+KdkUgif8kUBJg5Bukl84UIYohJ0oVxpvRQ+3Amepp8qaaA2BX+Ox2 J1GA== X-Gm-Message-State: APjAAAUQteOqqCP6KzO1Ga+RNTs6IA3bssqIBuNVlk/mAqqoiUZaEHp7 BFk3zFpeoL2D/RqEECDCeX4nw9HeGHb4yUNBE7bGX3P4 X-Google-Smtp-Source: APXvYqyPw044Ve8zstZIPnJPmijYRnMyMKQqkHnolIKhxuAqMkIEgANIz5S5jQRJmkZzo+soOM/uESY4qKCeaL588GM= X-Received: by 2002:a05:6602:248e:: with SMTP id g14mr140111ioe.6.1571770159633; Tue, 22 Oct 2019 11:49:19 -0700 (PDT) MIME-Version: 1.0 References: <20191022094301.0000716b@seibercom.net> <20191022170225.581cf496.freebsd@edvax.de> <20191022142718.00005069@seibercom.net> In-Reply-To: <20191022142718.00005069@seibercom.net> From: Mario Lobo Date: Tue, 22 Oct 2019 15:47:42 -0300 Message-ID: Subject: Re: Using '@' in user name with "mount_smbfs" To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46yMxF1gx4z48y5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 18:49:21 -0000 On Tue, Oct 22, 2019 at 3:27 PM Jerry wrote: > On Tue, 22 Oct 2019 17:02:25 +0200, Polytropon commented: > >On Tue, 22 Oct 2019 09:43:01 -0400, Jerry wrote: > >> I am stumped as to how I can accomplish using a user name with an '@' > >> in it with the "mount_smbfs" command/ > >> > >> Assuming a user name of: user@domain.com, how would I get it accepted > >> by the mount_smbfs command. > >> > >> /usr/sbin/mount_smbfs -N -f 0644 -U me -W WORKGROUP > >> //user@domain.com@WIN-PC/Share $HOME/Win-Pictures > >> > >> I have tried both single and double quotation marks, but that fails. > >> > > > >Did you try using /etc/nsbm.conf for worgroup, username, and PC name > >instead of providing it directly on the command line? If I remember > >correctly, something like this (not tested!) should work: > > > > [WIN-PC:user@domain.com] > > password=12345 > > > >The format is ::, with the last two entries > >being optional. See "man 5 nsmb.conf" as well as the comment header > >of /etc/nsmb.conf for details. > > > >You can then use: > > > > mount_smbfs //WIN-PC/Share $HOME/Win-Pictures > > > >Similarly, you can use a rule derived from this command in /etc/fstab > >in case you need this mount command more than once. > > > >Memory fragment from long time ago... ;-) > > > > > > > >PS. Common suggestion is to use "example.com" (instead of "domain.com") > > as a placeholder. > > That isn't working either. I found a post on Google that stated it will > never work due to a bug in the program. In any case, I have found a > work-a-round. > > -- > Jerry > This may not have anything to do with it but remember that the windows share MUST run SMB v1 for mount_smbfs to work. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] From owner-freebsd-questions@freebsd.org Wed Oct 23 14:07:25 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7343D153858 for ; Wed, 23 Oct 2019 14:07:25 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mail.cyberleo.net (paka.cyberleo.net [216.226.128.180]) (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 46ysdS4HRxz49dk for ; Wed, 23 Oct 2019 14:07:24 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from [IPv6:2001:470:c032:102d:d128:b7d3:e3bf:242c] (unknown [IPv6:2001:470:c032:102d:d128:b7d3:e3bf:242c]) by mail.cyberleo.net (Postfix) with ESMTPSA id F31D027E0F; Wed, 23 Oct 2019 10:07:15 -0400 (EDT) Subject: Re: boot1.efi and ZFS To: Victor Sudakov , freebsd-questions@freebsd.org References: <20191022075014.GA68084@admin.sibptus.ru> From: CyberLeo Kitsana Message-ID: <3935de09-8a91-7eba-b60e-08f6990bcf47@cyberleo.net> Date: Wed, 23 Oct 2019 09:07:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20191022075014.GA68084@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46ysdS4HRxz49dk X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=cyberleo.net; spf=pass (mx1.freebsd.org: domain of cyberleo@cyberleo.net designates 216.226.128.180 as permitted sender) smtp.mailfrom=cyberleo@cyberleo.net X-Spamd-Result: default: False [-2.81 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:216.226.128.180]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.01)[country: US(-0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[cyberleo.net,none]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13706, ipnet:216.226.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Oct 2019 14:07:25 -0000 On 10/22/19 2:50 AM, Victor Sudakov wrote: > Dear Colleagues, > Is _all_ the ZFS access code really in /src/stand/efi/boot1/zfs_module.c ? The Makefile in stand/efi/boot1 points to sys/cddl/boot/zfs. The README therein suggests that it is derived from the main CDDL sources. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Element9 Communications http://www.Element9.net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@freebsd.org Thu Oct 24 00:54:17 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 568E9161649 for ; Thu, 24 Oct 2019 00:54:17 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46z7zr3w1jz3N2f for ; Thu, 24 Oct 2019 00:54:16 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vk1-xa2d.google.com with SMTP id i21so2849937vka.10 for ; Wed, 23 Oct 2019 17:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wNRBHIcqw6o4gehIE4eA9ZQ7vR6pHll9O+3fAA/ey5o=; b=cc4U2nvyMbHIct5pBVAvHa8H5jhWvdTIhgr7VENnyyCzZp664EOn9OPU8T5SYr6+S3 +QKVQts0VcSqAFFZQjuKf7uZlZsziQ5pYC4ArHcvOfszSwXb/y5eJAypWcNfwtegDLeV 0yxgQ9ag/gVj1Cr2ipqFGZE8XvxBdfrDA32xj1xzkSB+O/8ibZRsUKwWcyiNm55JHYJm RSRvVXbgQQ1Gd7qdKXon7XO7PBynVtZ19IShOGvu8epiCkkyGg3IQlic9+lUfts6ykqX RVolRRYI4apA9MwCcjumVGK4FuRjOnSOqmm3DCNNHAYO0HMuRTt6M1vXkdfHjjJ3tkzF Aj/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wNRBHIcqw6o4gehIE4eA9ZQ7vR6pHll9O+3fAA/ey5o=; b=N3csAztZUKyzfZbcNaQFlaR3RzuY4NmN3HDYPxUVXn2P8VdkYqioqrXQewayoV+x9d ljcdVJXtpgnLlvuBi672SkTdnMXB1LJP+3B4xNx64l9chwNki1wutC47uTy/tX0IJj+N bomRlrhUcqs+vzRQTEkSon63pbwkVE0jrc4f4FCtvMrk0s7/GYuEeJCTRDCCHKy/BCO5 D50GuavdAHkuIu/aufNhaaNGoINi55RCfs2LcYU5BtqOvh1mdD6qHEuD1d3ti/BoVJ+u IO1wjhxaMXUH4Ch3iJNGL/9b6+0+fKvke+xiQBcvVmGcijfcWxn7Hk0RJzBe3GfAdGm/ i5Kg== X-Gm-Message-State: APjAAAXWZlEUUZpKWuiSq/cnd8UvzlEpWwc2wpG3V+OOkv2T7nIh+TJ2 k4zZOhL3TvPikilxGMbKnV69JVDlziu8/CZ36y4kLjluDw== X-Google-Smtp-Source: APXvYqzSaVrEbyE5QHwjWMh/ZOSjmzhIbuP6Ka5JnLhSLabf4k3h2LgoCpAYYRP2COFUrbXRCe8LXPmg1dz8Jc7AubY= X-Received: by 2002:a1f:95ce:: with SMTP id x197mr7050179vkd.19.1571878454965; Wed, 23 Oct 2019 17:54:14 -0700 (PDT) MIME-Version: 1.0 From: "Clay Daniels Jr." Date: Wed, 23 Oct 2019 19:54:02 -0500 Message-ID: Subject: How to pipe kldstat output to a file in console To: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46z7zr3w1jz3N2f X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=cc4U2nvy; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::a2d as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; 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)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.32), ipnet: 2607:f8b0::/32(-2.42), asn: 15169(-2.06), country: US(-0.05)]; 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)[d.2.a.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; 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)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 00:54:17 -0000 I can run kldstat in the console, but I need to save the output. I can't get to graphical xorg, just the console at command line. From the file, I can send that to a usb thumb drive and email the file, no problem, but getting it from the screen to a file is my problem. Surely there's a way? Thanks, Clay From owner-freebsd-questions@freebsd.org Thu Oct 24 01:10:25 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45D02161D84 for ; Thu, 24 Oct 2019 01:10:25 +0000 (UTC) (envelope-from kh@panix.com) Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (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 46z8LS5HPPz3NjC for ; Thu, 24 Oct 2019 01:10:24 +0000 (UTC) (envelope-from kh@panix.com) Received: from rain.home (pool-72-74-69-77.bstnma.fios.verizon.net [72.74.69.77]) by mailbackend.panix.com (Postfix) with ESMTPSA id 46z8LR5tC1z1qGW for ; Wed, 23 Oct 2019 21:10:23 -0400 (EDT) Subject: Re: How to pipe kldstat output to a file in console To: freebsd-questions@freebsd.org References: From: Kurt Hackenberg Message-ID: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> Date: Wed, 23 Oct 2019 21:10:25 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 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: 46z8LS5HPPz3NjC X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kh@panix.com designates 166.84.1.89 as permitted sender) smtp.mailfrom=kh@panix.com X-Spamd-Result: default: False [-5.45 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:166.84.0.0/16]; 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,0]; DMARC_NA(0.00)[panix.com]; RCVD_IN_DNSWL_MED(-0.20)[89.1.84.166.list.dnswl.org : 127.0.5.2]; IP_SCORE(-2.95)[ip: (-8.92), ipnet: 166.84.0.0/16(-3.21), asn: 2033(-2.57), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2033, ipnet:166.84.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 01:10:25 -0000 On 2019-10-23 20:54, Clay Daniels Jr. wrote: > I can run kldstat in the console, but I need to save the output. I can't > get to graphical xorg, just the console at command line. From the file, I > can send that to a usb thumb drive and email the file, no problem, but > getting it from the screen to a file is my problem. Surely there's a way? Shell redirect? For example: kldstat >/thumbdrive/foo There's also: kldstat | Mail clay.daniels.jr@gmail.com From owner-freebsd-questions@freebsd.org Thu Oct 24 02:00:23 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FF3916AE40 for ; Thu, 24 Oct 2019 02:00:23 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46z9S62TTnz41pp for ; Thu, 24 Oct 2019 02:00:22 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id d3so15181005vsr.1 for ; Wed, 23 Oct 2019 19:00:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FbM26reROE1Y8K3UJzCDTuDHC9sTs+dG714kJJIVCfA=; b=Oeoo5dVPwe04XWWekOy40YlZ3KhHTGt6C3Au77koAiogU2WwGW5T3HNiKzkJ9ta7nn RAeEu9GawdcgJvAp8zgZwiFNDD4IH+d1+LmnjcKtbnAtlbUjtyA+aEbSH776HqHAByUt +gDql9WETQxWDeO1P+PP+1EB3SxVgCKhrjghH7/kTorkB7d9W/S3AlXCKZzrMG+j4tda rKNi6HZu6J3achdb6MPuQdMGhHUHhw8jMoaMeOx/tfV2T3OzgsSJlcKSi82Y/OAq75gF +rV7fX/SIzo2+Ut5xjewbgep5DCiJgCzzKgaMyEEC7FCd3MGXANq2zUXid4It4PWsfMd pb/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FbM26reROE1Y8K3UJzCDTuDHC9sTs+dG714kJJIVCfA=; b=kO+UaXwVHpTvkOXPEpejn5Vk0zn+Tn9Qe6ZM/ZvTOzBdjsvoK5S7EVMsMMrGH+CXaj B0zT8NRvfqjBH7sKLEgz/tu9/xnGDcFhDaPBlP1Ca2sGGhZlRvJ2Vx+f+yFSgdsL/zyY ZXLUlQvlad797QFOVVDaczLfFWy4TSNcsvrOfSjzS1QrHrrIjixQqFDcs9Dy1p3T0eK/ 9r4ULFVeZZF2gCzdqBzWQIWJWZGMngpVhHlOKduikl8g44Fm9L4zhx1uHBIcKzDEGKV5 ZhJ4Knv/f2hFGdKrqkBD/ljdtqT0HJ1vI4TQmhnongTw3pV/UB6TmJ+Y1I++h47Efex5 MAKA== X-Gm-Message-State: APjAAAWFeFakQEc9S4slwwBFQdooG0FGFGNglRNZ4uDJhOSFO8E0tfq7 MNRhXYlWyb69KTtaT2j8U/ZvVNIGcVnb7zJ3Zg== X-Google-Smtp-Source: APXvYqzE733DC21C9nuOPCMWeIE2zYmYkkMf5ulC+qOYU6cZH4Y0oWa14WfbxD8M1H39GhHF6/F+y3IhdLOIfzOlYjk= X-Received: by 2002:a67:f483:: with SMTP id o3mr1859385vsn.116.1571882420727; Wed, 23 Oct 2019 19:00:20 -0700 (PDT) MIME-Version: 1.0 References: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> In-Reply-To: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> From: "Clay Daniels Jr." Date: Wed, 23 Oct 2019 21:00:07 -0500 Message-ID: Subject: Re: How to pipe kldstat output to a file in console To: Kurt Hackenberg Cc: "freebsd-questions@freebsd.org" X-Rspamd-Queue-Id: 46z9S62TTnz41pp X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Oeoo5dVP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::e36 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.68), ipnet: 2607:f8b0::/32(-2.42), asn: 15169(-2.06), country: US(-0.05)]; 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.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 02:00:23 -0000 Bingo! create /root/kldstat_file with vi #kldstat -v > /root/kldstat_file It's all there! Thanks so much, Clay On Wed, Oct 23, 2019 at 8:10 PM Kurt Hackenberg wrote: > On 2019-10-23 20:54, Clay Daniels Jr. wrote: > > > I can run kldstat in the console, but I need to save the output. I can't > > get to graphical xorg, just the console at command line. From the file, I > > can send that to a usb thumb drive and email the file, no problem, but > > getting it from the screen to a file is my problem. Surely there's a way? > > Shell redirect? For example: > > kldstat >/thumbdrive/foo > > There's also: > > kldstat | Mail clay.daniels.jr@gmail.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Thu Oct 24 02:48:03 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D3466175ABB for ; Thu, 24 Oct 2019 02:48:03 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta03.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zBW64cjhz4C6V for ; Thu, 24 Oct 2019 02:48:02 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id NTAJihokUWnTiNTALiEkTl; Thu, 24 Oct 2019 02:47:59 +0000 Date: Thu, 24 Oct 2019 02:47:54 +0000 From: "Thomas Mueller" To: freebsd-questions@freebsd.org Subject: Re: How to pipe kldstat output to a file in console References: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> X-CMAE-Envelope: MS4wfDew2sABWl2L9zLI0t2ssnxDrxojeriXdZNaYrxW/Rs83mhwpzPeXUJVjhHPz5ukm/K0MuvicSYtlyfB0n0rLA2bv9lhS9pHDkPKzBOCjBZXqU7XcRjW FiAhHJJfgL4Ddi7WuRcLhGK1gBe1YsVAPfleeSLH++J49F9607UhJtAm8CSEHah9zUpEVhwH2L+kRw== X-Rspamd-Queue-Id: 46zBW64cjhz4C6V X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mueller6722@twc.com designates 107.14.73.232 as permitted sender) smtp.mailfrom=mueller6722@twc.com X-Spamd-Result: default: False [0.21 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[232.73.14.107.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-2.73), ipnet: 107.14.73.0/24(-2.70), asn: 7843(-2.16), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 02:48:03 -0000 On 2019-10-23 20:54, Clay Daniels Jr. wrote: > I can run kldstat in the console, but I need to save the output. I can't > get to graphical xorg, just the console at command line. From the file, I > can send that to a usb thumb drive and email the file, no problem, but > getting it from the screen to a file is my problem. Surely there's a way? > Shell redirect? For example: Kurt Hackenberg responded: > kldstat >/thumbdrive/foo > There's also: > kldstat | Mail clay.daniels.jr@gmail.com My favorite way is, shell redirect csh or tcsh kldstat |& tee outputfile.txt You can use any file name and path you like in place of outputfile.txt . For ksh, sh, bash: kldstat 2>&1 | tee outputfile.txt This way includes any error messages that might occur. Tom From owner-freebsd-questions@freebsd.org Thu Oct 24 06:05:29 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 780F815F4EE for ; Thu, 24 Oct 2019 06:05:29 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 46zGtw3Kllz4YJW for ; Thu, 24 Oct 2019 06:05:28 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 48220449 for ; Thu, 24 Oct 2019 02:05:26 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute7.internal (MEProxy); Thu, 24 Oct 2019 02:05:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm3; bh=k6fjQ70GCTDTnDiN/HZRPbZb1VgURhM v7iGokANmglA=; b=DPAKXC7FjptXPITEZsFpuhRbSRTO4ihY178p+eTM9hGW5oT eM0iqi8BVuIliylXjfs0HMzLbma6nelb7VIUbMGDHTfL3SnivaN470c4GfIUXo69 4DvICDSi/JFtNd+Zt5a1ahCibzrkCq3N4BvcpC55zPNlVcTkXT+qsFX/sYbazN0k 0R7CGhzA40CbNwOxStyYQPWMsIO9D9MVze6/ZYVUYRv54OJtZF4S+DPBmqSAkGxT gLOsJ7AiiAYBF7TBAc5/YwHcODhHgBrvzPTBiOfFU1UoWM5x4n0l4JV6L1aV++YY cyzZCrLZDL+TSta+Nuvv9Qq0ByPO5Tultc/vFig== 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=k6fjQ7 0GCTDTnDiN/HZRPbZb1VgURhMv7iGokANmglA=; b=C4GxW0m5VhU+9mfAPFUWKM oPJ2UNDOrV4KwMP4uiR8WiJMRRfxxaXOraIw6Oycp1j8JECztoiFBlyFDXX8Cyl0 Z7VFkH+cn/Wk3m4z0E1BdBJflBDYB+3/WO8hmM6APzyK+BqsWpB75dc1GRXK015M 5ucEUSdFtnDqcxiV1mQjhldbF2zV6OBfkwTwgmbrWZcR73QqyS75RENzwZ/ZcpNp dSEqGGXto9vZlXPgIu89TiPbjnp7+lj9+Sv/LwteaZeWrONdMlAqL26ziXe00gir d5u0FFALpLn0qxMBgQrL58jjQgUYBBPPsGihGvqgWTSsUbDZN2QCLhtL3cdNjjrQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrledtgddutdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedfffgrvhgvucevohhtthhlvghhuhgsvghrfdcuoegutghh sehskhhunhhkfigvrhhkshdrrghtqeenucfrrghrrghmpehmrghilhhfrhhomhepuggthh esshhkuhhnkhifvghrkhhsrdgrthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 65F7D1400A2; Thu, 24 Oct 2019 02:05:25 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-470-gedfae93-fmstable-20191021v4 Mime-Version: 1.0 Message-Id: <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> In-Reply-To: <20191021090617.GA42288@admin.sibptus.ru> References: <20191021090617.GA42288@admin.sibptus.ru> Date: Thu, 24 Oct 2019 08:05:05 +0200 From: "Dave Cottlehuber" To: freebsd-questions Subject: Re: cast to Android TV from FreeBSD? X-Rspamd-Queue-Id: 46zGtw3Kllz4YJW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm3 header.b=DPAKXC7F; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=C4GxW0m5; dmarc=none; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 64.147.123.20 as permitted sender) smtp.mailfrom=dch@skunkwerks.at X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm3,messagingengine.com:s=fm1]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[skunkwerks.at]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-3.48)[ip: (-9.76), ipnet: 64.147.123.0/24(-4.91), asn: 11403(-2.68), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_LOW(-0.10)[20.123.147.64.list.dnswl.org : 127.0.5.1]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MID_RHS_WWW(0.50)[]; FROM_EQ_ENVFROM(0.00)[] Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 06:05:29 -0000 On Mon, 21 Oct 2019, at 11:06, Victor Sudakov wrote: > Dear Colleagues, > > I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > (what is it called?) to it from apps like YouTube on my mobile phone. > > Do you know if I can find some software for FreeBSD to cast to the Mi Box? you can try VLC it allegedly does this although I have no google devices to check with. A+ Dave From owner-freebsd-questions@freebsd.org Thu Oct 24 06:45:04 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A6720160550 for ; Thu, 24 Oct 2019 06:45:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zHmb3b2mz4Zqp for ; Thu, 24 Oct 2019 06:45:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.8.167]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1Mo6zF-1hdn7E2JQp-00ph1b; Thu, 24 Oct 2019 08:44:55 +0200 Date: Thu, 24 Oct 2019 08:44:53 +0200 From: Polytropon To: "Clay Daniels Jr." Cc: Kurt Hackenberg , "freebsd-questions@freebsd.org" Subject: Re: How to pipe kldstat output to a file in console Message-Id: <20191024084453.d9ae9d70.freebsd@edvax.de> In-Reply-To: References: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:zDf7JYv1mfA+rjdE95jghB8zabASqdILct6inwxPwCN3TsE8JbX SlI30NUT5QgUKm7d2f4Gj1qaOPoJ0Nvivunbe0MWt/0Nyb7X130gWkWXbDNTIiIWtJ21CXy mSWNKdbxlZN/pKma6TpVcfK1/m/dBw1fVy2G4/mXysuMaVof04gJuI7XWPmrHsh78QkL1Vv vZ/iqcrzbCBieC4mGqWqg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:dI7oep3ue7Q=:2RGf2ktGAyy6016efPLRJU lvPY5gVwNxfBq21Opfco7bMn4t8RWeBoPzoymYhy31NL+TfEtm4keJBcEPwfgFNyeBdk6+Bh4 6MIfsYe56EEf/HejmAeaSu5viDJ4IQLOtnTyM/qBmASLIb4s0zaA2UnvxCCqD0+b/dw++QsMH mfCTJQ/BKLfx0z9quWGCSz8yORvRZbvnfAfiTlleQXuIK3kQWFNyXru+TBihq5JsPhxpKRtn4 5l2c9zWncKzxC/c5PUv9zOSuSCBW3BQkgoCc4rc/7uJcrk/g+AaD2qIsJA47RPtDZV1HoXRoN 3RAVz2QnJfZDjS7GeY7sToN8YvBOokJqt9zV/UiupHQRXNF1CqJk7rV6y/EMEF5Mk8NV85SH+ 3Vhuuxj/ydGKUZwT9f7DAIDLlw+UikneslR01W7kWv8n7Yky53TyNTU37da5IzktuTHVPsKsb l1feSbay1OHeEUE/E/4Aoo+cKfZU4mWYgTFFVMP2Tf4DJlXtBipLcIhnLABwqW+4Iao/hnGRJ UIbDbmM2hTLM5f2z4HnhHBa8lr6pHSciP53aef91daSqM+7HYtOXxiDhdHeSU0Wa59/7dPZLV RiZSax+FwNT8gNzNbnNX1SST2Av11qRPG4dm2T7Y5wJD6u3tcqqsDtjUHX258xfrSWEPljxmg tL/xalU2tYKf2ZGi0QdiNVXpQJiFBloTTT/spVIpEo1aJIWsGUSPMqTjuImaBTa6WfgZ6qrwo U32aWy0sF7n0csN0O6IOM3ovTUC1ke6XinO2HgMTu74KWxJKVOvkAcn+63SqhWTfMs1LY/I8+ RvOAv54EIfiIJNPpPyjjIafNK4QaNMaYbk5jnOXO47ABiGUotxed2v8bAV0bYUkT4LeYEcyKe I+EGzaECo2+HqmebJ9bRvl8fwOA2m+YUTp1V0DdT4= X-Rspamd-Queue-Id: 46zHmb3b2mz4Zqp X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.74) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.58 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[167.8.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.05)[-0.045,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.93)[0.925,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[74.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.30)[ip: (-0.72), ipnet: 217.72.192.0/20(0.24), asn: 8560(1.98), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 06:45:04 -0000 On Wed, 23 Oct 2019 21:00:07 -0500, Clay Daniels Jr. wrote: > Bingo! > > create /root/kldstat_file with vi > #kldstat -v > /root/kldstat_file > It's all there! There is no no need to create the file beforehand. The > redirection will do one of the following automatically: a) file not there ---> file will be created b) file there ---> file content will be overwritten So a command like # kldstat -v > /root/kldstat.txt will work no matter if the output file is already there or not. This is the shell's default behaviour. Sidenote: If you want to append to a file, use >> instead of >. Sidenote 2: The easiest way to create an (empty) file is to use the "touch" program, for example if you want to add the output of several commands to a file: # touch /root/stuff.txt # ls / >> /root/stuff.txt # kldstat -v >> /root/stuff.txt # dmesg >> /root/stuff.txt Sidenote 3: In case you want to record a whole terminal session, including commands and their outputs, use the "script" program: # script /root/session.txt . . . your commands here . . . # exit This is very convenient if you want to document the command _and_ their outputs. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Thu Oct 24 14:50:03 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8C52716EA82 for ; Thu, 24 Oct 2019 14:50:03 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46zVXB4VChz3Lh2 for ; Thu, 24 Oct 2019 14:50:02 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=ql8qsNntFK+mIITUBWP3LGc0BjF5hkEpmI03U+97e08=; b=X875yK5CRgMv3J8Etngrh68z0I ncDde9CexHYwRTUqrzzVlsG3+/669d692x4gDTYGEtCMsRZjm7dY/iPSKhZNmu9ZgOHmN158kOXu7 VZrGxw15NIf1lT+/lkPrzq+C27MyCtuGJ2S609lwOMdnByHLwdxi6WRPFcDpgMbvqrq8=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iNeR1-000FZt-Pj for freebsd-questions@freebsd.org; Thu, 24 Oct 2019 21:49:55 +0700 Date: Thu, 24 Oct 2019 21:49:55 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: boot1.efi and ZFS Message-ID: <20191024144955.GA59812@admin.sibptus.ru> References: <20191022075014.GA68084@admin.sibptus.ru> <3935de09-8a91-7eba-b60e-08f6990bcf47@cyberleo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <3935de09-8a91-7eba-b60e-08f6990bcf47@cyberleo.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46zVXB4VChz3Lh2 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=X875yK5C; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.42), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 14:50:03 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable CyberLeo Kitsana wrote: > On 10/22/19 2:50 AM, Victor Sudakov wrote: > > Dear Colleagues, > > Is _all_ the ZFS access code really in=20 > /src/stand/efi/boot1/zfs_module.c ? >=20 > The Makefile in stand/efi/boot1 points to sys/cddl/boot/zfs. The README= =20 > therein suggests that it is derived from the main CDDL sources. Still, a static 80k binary reading files from ZFS is rather impressive. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdsboTAAoJEA2k8lmbXsY0wJsH/jKq+nAiKbqnaYkDmziCtWQ/ gJ82HoYpq27YLhmE2f0SL0IF8Zwq9Mzhzgp7ZvTBkyGn4Ia6Lwpfy38M4s/os47G 2earbuEz9RLwHH10Nh7/QNT94AE/lWLOiAOy/MjJuLe/vNoA6Apc80djOA07QUxZ MHb711qQpVivCVVI/tcp8kT3YU5aV4s6EaNkv31N8OMKj75dhNnWTURlWWH8YlAc HE+Je33d3NXlAjieFIVx6hgiaKr0bhLhKaDMlE5dgX8T/HitQ87fC1cenCP9meOd rln6vINabUNvHuH00msfrQ79NiiuwUvdYsOczeM2xMHFwDWEYbrP2QYqMo4c000= =np6f -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+-- From owner-freebsd-questions@freebsd.org Thu Oct 24 16:57:38 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1F22172C9B for ; Thu, 24 Oct 2019 16:57:38 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zYMP5nGRz47Vl for ; Thu, 24 Oct 2019 16:57:37 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: by mail-qt1-x82e.google.com with SMTP id z22so18355310qtq.11 for ; Thu, 24 Oct 2019 09:57:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version :content-transfer-encoding; bh=D/UTd/83IYVcpBP/R3oJPS0BmEp0jxamoZMGPDVZa3s=; b=OMO7KsgW7XOM0sdGwVdALhnsS31wWl3XG+WI3hXNocv8gGLbfHF5f3yqeLumSgzT72 Z78QH8adR1r2oveaibtPNXTpZJH4Ms9NL/ozx060xDdEsdgRO+x6NHP/xbv6J0y+pZBY KDJMwByfoY0jXaBeG6PLrXyBgZYux5PygIFJw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version:content-transfer-encoding; bh=D/UTd/83IYVcpBP/R3oJPS0BmEp0jxamoZMGPDVZa3s=; b=XvWxYi6iWMbcSa6RVMH/csubzGjc0v3tdnqGKRdzTAQ92x45b6mxClfbC87u1SVfWy mcnV5v2n/mEuCAmjPkw6QttnKivymefRxB44pCJ14Qm4A9uF7fvv//A9XK4aMLN9VOzw g3/BZQ4P7eWqeWWXl2O09S6Y1r+z7DI8fMK29W9wVLuZb411WJYill74ZcHcVbAPedC0 RqzGLu2IDgf3dquVK1z99cvV/eBRS4Kl7trAm6i5b+X86P3cZH/Y7vgEGPxBIOeAT+SV snXbmyAGs5jJICAtoHIi2uRBGrCxKhg74zJ1R5GpWSiTgQolzhp9BFG2ulCZ24GyCdTF X2Wg== X-Gm-Message-State: APjAAAV0A4I8H52UaJsalaehcryP/iXyc5YgbM47bUBCivKcO4qiPSQp +1tHA2wDfvcw/2Vx/Ig5zHpSuP0b64A= X-Google-Smtp-Source: APXvYqyyzOV6Yp44NpbbA6zvhw7y7LyXUou/Ew64DUwJPzmzieP9xeOrmcHbCb7y2mu/IifeK4ooZQ== X-Received: by 2002:ac8:2fba:: with SMTP id l55mr3214192qta.167.1571936256194; Thu, 24 Oct 2019 09:57:36 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-174-109-225-250.nc.res.rr.com. [174.109.225.250]) by smtp.gmail.com with ESMTPSA id t17sm21674532qtt.57.2019.10.24.09.57.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 09:57:35 -0700 (PDT) Received: from localhost (HP-ENVY [192.168.0.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 46zYMK5YvTz2hvp for ; Thu, 24 Oct 2019 12:57:33 -0400 (EDT) Date: Thu, 24 Oct 2019 12:57:33 -0400 From: Jerry To: freebsd-questions@freebsd.org Subject: poudriere 'make.conf' file Message-ID: <20191024125733.00000887@seibercom.net> Reply-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 46zYMP5nGRz47Vl X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=seibercom.net header.s=google header.b=OMO7KsgW; dmarc=none; spf=pass (mx1.freebsd.org: domain of jerry@seibercom.net designates 2607:f8b0:4864:20::82e as permitted sender) smtp.mailfrom=jerry@seibercom.net X-Spamd-Result: default: False [-0.26 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[seibercom.net:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-2.76)[ip: (-9.29), ipnet: 2607:f8b0::/32(-2.41), asn: 15169(-2.06), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[250.225.109.174.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[seibercom.net:s=google]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[seibercom.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[e.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 16:57:38 -0000 I am not quite clear on how the poudriere 'make.conf' file is utilized. Is it used instead of the system '/etc/make.conf' file or is it used in conjunction with it? If in conjunction, I assume it over rides conflicting statements. I am only asking because I am wondering if it is even required that I use the system 'make.conf' file if I am utilizing poudriere. From owner-freebsd-questions@freebsd.org Thu Oct 24 17:02:36 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2072F173D21 for ; Thu, 24 Oct 2019 17:02:36 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (gate.utahime.jp [183.180.29.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46zYT76JQ1z4DrF for ; Thu, 24 Oct 2019 17:02:35 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.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) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 2E01118A36 for ; Fri, 25 Oct 2019 02:02:31 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.3 with cipher TLS_CHACHA20_POLY1305_SHA256 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 2F9824FF7A; Fri, 25 Oct 2019 02:02:30 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.0-rc at eastasia.home.utahime.org Date: Fri, 25 Oct 2019 02:01:59 +0900 (JST) Message-Id: <20191025.020159.1556950905905142902.yasu@utahime.org> To: freebsd-questions@freebsd.org Subject: Re: poudriere 'make.conf' file From: Yasuhiro KIMURA In-Reply-To: <20191024125733.00000887@seibercom.net> References: <20191024125733.00000887@seibercom.net> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 46zYT76JQ1z4DrF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-5.99 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 17:02:36 -0000 From: Jerry Subject: poudriere 'make.conf' file Date: Thu, 24 Oct 2019 12:57:33 -0400 > I am not quite clear on how the poudriere 'make.conf' file is utilized. > Is it used instead of the system '/etc/make.conf' file or is it used in > conjunction with it? If in conjunction, I assume it over rides > conflicting statements. > > I am only asking because I am wondering if it is even required that I > use the system 'make.conf' file if I am utilizing poudriere. poudriere only uses make.conf under ${PREFIX}/etc/poudriere.d. It never uses /etc/make.conf. See poudriere(1) manpage for details. --- Yasuhiro KIMURA From owner-freebsd-questions@freebsd.org Thu Oct 24 21:24:43 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CEA015AAF7 for ; Thu, 24 Oct 2019 21:24:43 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46zgHY57wvz4dSj for ; Thu, 24 Oct 2019 21:24:37 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-il1-x132.google.com with SMTP id m16so17377162iln.13 for ; Thu, 24 Oct 2019 14:24:37 -0700 (PDT) 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; bh=dx1YR7tN9sX7Wsn/LmSFlDA85kkEQVsxdWeQ8e7T04A=; b=SKQvjtwpEfEIGA5lZmCkpEtiW3OIrgzUaCGmZYM5nR3C1NjjaRl8KN8KyRDwUK7byj dY8Vrqce4CenBPjScC3ehyb99iW7eK2gIdU9+T3wcx4qvJtyMY/S6hHr71UFrYrM38p3 OvZMT/RSc/MbCWLTQw0gJiz7cx3eBYiy7lqKI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=dx1YR7tN9sX7Wsn/LmSFlDA85kkEQVsxdWeQ8e7T04A=; b=IlEja2Fg/7duwa2RnUWaCDJzuxRQGG419vFObnicSOwoO2vJ+1aFZJFp7ePg0FTUGG 8uXNg6vH0MRHGfij71S0rUMg+slrjOaQeu4u5H3N1OD+UzAnYVb46zu7CNyWcd6bcUT4 IU7juyvmhJBYeTC7LFtnR0LOIgTfqfN2lw+3+U2gfmwFn9fvBAJEkjzr1jFQ0Kbt7xmi NMQME5w5QORT9bcmqCfqVk9iUy/dXmfZZVim45S5tkd30oI+B4qvQNfcv1DXt+Xh5uvJ W7P8E/0Cj/9iraz4clilp7HU2tRa4gJi/f/X49fLrg8AuPwdHPvZRHb3aaKL7ItACS0c NHtw== X-Gm-Message-State: APjAAAXHsUAZC2DbFoJ6WT1pnDy62zOd01tGim6eTKbk8/oL7HF6VS0j ZcusXFLRkeFi0cPUTqW0YxB+DCKstd/7q6VnDrrcJOWN X-Google-Smtp-Source: APXvYqzNVdrDcXOJ/+A4WPwmqI8tN1ZQ9VjQl9AYD1Cz5B0z/++JYTOMWBPatrDxtA5QHWTLamMGqPoWDUnJBUsiNCM= X-Received: by 2002:a92:580d:: with SMTP id m13mr92204ilb.117.1571952276846; Thu, 24 Oct 2019 14:24:36 -0700 (PDT) MIME-Version: 1.0 References: <20191021090617.GA42288@admin.sibptus.ru> <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> In-Reply-To: <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> From: Mario Lobo Date: Thu, 24 Oct 2019 18:22:40 -0300 Message-ID: Subject: Re: cast to Android TV from FreeBSD? To: freebsd-questions X-Rspamd-Queue-Id: 46zgHY57wvz4dSj X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsd.com.br header.s=capeta header.b=SKQvjtwp; dmarc=none; spf=pass (mx1.freebsd.org: domain of lobo@bsd.com.br designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=lobo@bsd.com.br X-Spamd-Result: default: False [-3.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsd.com.br:s=capeta]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[bsd.com.br]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.58)[ip: (-8.37), ipnet: 2607:f8b0::/32(-2.41), asn: 15169(-2.05), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsd.com.br:+]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.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)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Oct 2019 21:24:43 -0000 On Thu, Oct 24, 2019 at 3:05 AM Dave Cottlehuber wrote: > On Mon, 21 Oct 2019, at 11:06, Victor Sudakov wrote: > > Dear Colleagues, > > > > I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > > (what is it called?) to it from apps like YouTube on my mobile phone. > > > > Do you know if I can find some software for FreeBSD to cast to the Mi > Box? > > you can try VLC it allegedly does this although I have no google devices > to check with. > > A+ > Dave I use mediatomb on my home server to stream audio/video to any of my home devices. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] From owner-freebsd-questions@freebsd.org Fri Oct 25 04:43:14 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1514F165DBD for ; Fri, 25 Oct 2019 04:43:14 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46zs1X2tcdz436W for ; Fri, 25 Oct 2019 04:43:11 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=kc9fTHhw5xstv2kUvVyNRbf9DG1TJQIwe/fJ7awT82w=; b=R2FGUbaw2z4Rb4xxnf2p7PsG19 1fSWMmDngAasRYNs00kl/kp5o5i1nOELaGddhvUDrhJCTzVJP466XxfE0qC/+Yr7tciEKlR3/RtDh W5gYq7nRXJG7PwqoLGjTPGjK8emTSPEqqe1nM8VFj0MOYWt5bcOD9HDkeFOsJy8n9EUw=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iNrRO-000LNa-4C for freebsd-questions@freebsd.org; Fri, 25 Oct 2019 11:43:10 +0700 Date: Fri, 25 Oct 2019 11:43:10 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: autofs problems Message-ID: <20191025044310.GA82046@admin.sibptus.ru> References: <94a6b756-27bf-0363-b6f2-c711c33ab2c2@panix.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46zs1X2tcdz436W X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=R2FGUbaw; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.43), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 04:43:14 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Does anyone use autofs/automount? Can you please look at the two bug report= s, maybe I'm missing something and autofs is really not to blame? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241474 autofs fails to unmount exFAT filesystems automatically https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241475 autofs: no way to pass locale options to msdosfs --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdsn1eAAoJEA2k8lmbXsY0chsH/2ZePQ238DS5P8elarUEndV1 ue5jCySet83bcpqVKT/kkqtFC70+whGgCsq+eKT5frRzYKW0X/rlgGLM2/HKZEOU 31INhWvWZw4VALHRlUgkcyYAc4UbyLIy3iUJsrWnIJ2JDoJ0UtxOgkRYUTwV4RGi 6yX+8nAQan3DeWT1hnoHxi6ZKkhGlhSnOcz8c8bqNQV9yP4M/55mVGsXgFwVahOW zKJ8xzWQUIcv0d7iVZKJjB/Xr6ygu1W716hewGzJwK4Rc8lXuLhhi01jPXdNbauU 7NIIQ/osOVyo1RGWFJzKHjiWSXTL/Z9S1OI3QTkPRhl9UodRN6xEWekAs7hPAMI= =iQhn -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-questions@freebsd.org Fri Oct 25 12:01:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6F4316F24A for ; Fri, 25 Oct 2019 12:01:05 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4702kn0BPLz4QXS for ; Fri, 25 Oct 2019 12:01:04 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=8dFw45Su9wyR8sLoPGAc3WRfqDVPti0z504SDq5RJ2o=; b=XnORHsc945hMoMYbntM6T7iYv2 ZoCTrG2+lIKhWsg12BZAA3ZeeV3CY2CgMg8m7HwyekIu+zvRp9lEHnKEqVuYcjPFaILVgFToO4q58 zEsg00e9Eb8w7lUM0mXC0rVB7y6Hc2nKgol/8+UHcW+wC3zCy+wXRBctQaEhrrX1GD0E=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iNyH9-000OHQ-3N for freebsd-questions@freebsd.org; Fri, 25 Oct 2019 19:01:03 +0700 Date: Fri, 25 Oct 2019 19:01:03 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: cast to Android TV from FreeBSD? Message-ID: <20191025120103.GA93039@admin.sibptus.ru> References: <20191021090617.GA42288@admin.sibptus.ru> <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 4702kn0BPLz4QXS X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=XnORHsc9; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.25)[ip: (-9.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.44), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 12:01:05 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mario Lobo wrote: > > > > > > I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > > > (what is it called?) to it from apps like YouTube on my mobile phone. > > > > > > Do you know if I can find some software for FreeBSD to cast to the Mi > > Box? > > > > you can try VLC it allegedly does this although I have no google devices > > to check with. > > > > A+ > > Dave >=20 >=20 > I use mediatomb on my home server to stream audio/video to any of my home > devices. Looks abandoned. Is it GUI ? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdsuP/AAoJEA2k8lmbXsY0r5wH/1rCHNsuDUdca2kwoZoiqPjA BKT7mn5OX4giwRpAwur6eGeW/0l1pMuVwD/CkEtsUUc9qDXkoAuAtmv7tlAS1c9l wpbfYt3VhA/AQJYdhjTkpG9RGOj4K8ogHCAvIAn7KJVVBWzvKxgIEvXlCcbSn0zn E58eA0jNUUIdxIUcxHn/v4267tFL5XDZpbHrZRP6FxZ6zLFt7HP5aC5hfru0PutF 5k9Q/qI6uER2d8TmLB3s/98dc6KY1o4qzZxQsUNblfN+xAD2ZGuseVeHZv+mYBu4 igsxX8fK4U/eL3tqyOTREWmQOhvtGsb+zzvq+AhDYLpFb4w1pEjTTRdhqh6BwiI= =5d2h -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3-- From owner-freebsd-questions@freebsd.org Fri Oct 25 23:26:14 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42CD715EBD2 for ; Fri, 25 Oct 2019 23:26:14 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 470KxK1GZrz4CG7 for ; Fri, 25 Oct 2019 23:26:12 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pf1-x430.google.com with SMTP id v19so2645093pfm.3 for ; Fri, 25 Oct 2019 16:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=L55XLW/HJKKRprey2Mn4E5+01fdVsdy/4/WvLmWhCo0=; b=VcDCmjRo58LfWW+zRGJ6njVxO71Q/uA4IlEylIeS2kMrAF7qoM3tvwQ756CAgaLkNz TSWoFdkj4yKaSUpjAYyh94YSc7RAVqvp7NfTl0b/2JOY7tP5kWdYYUHuUzLj2f+MPhNE 0LUXIFvVOTheqzjbvr3K8XECxCv0UZs9yhU5jDAUnrjVfzs06pIQAJhlo52Hxnh2P57z GESDxtINWDTRzPckPWUYxacnnHYto7vdllcgc0X0KMLMQ3nNU/+SAO3W/q+7QOIh8SqL fEcnerri1cv169ik7w/r8b6dAPSb7AbqO6893vboMtrmDgmkj43gUEMfRkTo7uR7Q6/M prdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=L55XLW/HJKKRprey2Mn4E5+01fdVsdy/4/WvLmWhCo0=; b=VYLctoabL0mos+X+0eigzauveWQOY9r2jT/u7tSJ/nrxKxHWhN1uX+gXr45HpwJxDW fFL3blvS/w2OjoVnECMtnjYEgVWyFNKCO7PQ98ebVwbOPqhQy/cHvxrUVBMPQ8yn4vpf JU38YNIWd4ABxT8+IIZ5KsAWha1o5iULXIUCJrRbkWJC6n/RmzdTnbFbllFXI3mSLNUH 5hdmdIx3g8Vv+1lQXGOnnhGEEBAPIcAEOo9CvBDay9CpR5UQ+X14TRIALSVjG+cwyRoV VUKOZbST1BRd9r2rYiv7BZpaKVSilNR7OzH7dkRbEVxPe28jrNxVdYzSeK5Z61l7ehzG 4XVg== X-Gm-Message-State: APjAAAWkgVc9M0AgqCFkoZ39B9ZqL3mpyKTwYid3NjiCWD1HZBDwzAdD x/A99NJglGoK+fY4nVA4M8Gfwxlw X-Google-Smtp-Source: APXvYqyqxunR/+Qape060rnbY1Nd2H7syhIZS6K+6BeiBXkvXwzNLM07ERCqF+1EY9UawEwb2wXyZA== X-Received: by 2002:aa7:829a:: with SMTP id s26mr7434642pfm.80.1572045970937; Fri, 25 Oct 2019 16:26:10 -0700 (PDT) Received: from [192.168.1.10] (C-59-101-161-221.mel.connect.net.au. [59.101.161.221]) by smtp.gmail.com with ESMTPSA id a8sm155312pju.17.2019.10.25.16.26.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Oct 2019 16:26:10 -0700 (PDT) Subject: Re: cast to Android TV from FreeBSD? To: Victor Sudakov , freebsd-questions@freebsd.org References: <20191021090617.GA42288@admin.sibptus.ru> <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> <20191025120103.GA93039@admin.sibptus.ru> From: MJ Message-ID: Date: Sat, 26 Oct 2019 10:25:21 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191025120103.GA93039@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-AU X-Rspamd-Queue-Id: 470KxK1GZrz4CG7 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VcDCmjRo; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::430 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[221.161.101.59.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.23), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2019 23:26:14 -0000 On 25/10/2019 11:01 pm, Victor Sudakov wrote: > Mario Lobo wrote: >>>> I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast >>>> (what is it called?) to it from apps like YouTube on my mobile phone. >>>> >>>> Do you know if I can find some software for FreeBSD to cast to the Mi >>> Box? >>> >>> you can try VLC it allegedly does this although I have no google devices >>> to check with. >>> >>> A+ >>> Dave >> >> I use mediatomb on my home server to stream audio/video to any of my home >> devices. > Looks abandoned. Is it GUI ? There is gerbera. It's got instructions for building under FreeBSD. Give that a try. https://github.com/gerbera/gerbera > From owner-freebsd-questions@freebsd.org Sat Oct 26 07:19:52 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F677162316 for ; Sat, 26 Oct 2019 07:19:52 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 470XRq2c2rz3M6Z for ; Sat, 26 Oct 2019 07:19:51 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=p9TuY15nyFy11TkJ7VFBxmTdvp3FcXNCvCrrP3clOKQ=; b=HWcOnsVgJE8o4DfykqRcs5/nL+ vwfW1bBdsD9Huqsccl3fsuJmXTIENThiBYogIt7ZWaEo1sP9VFH9tvXYYtVAPDOUIT3p7tS5rAFx5 aBgGIaCDhPJAFIFMa6W8p/3oRV1ARy7YBGbsi9nrENpyc5LLnGP4yT9mz6rBdX2clWfk=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iOGMB-0005Br-JK for freebsd-questions@freebsd.org; Sat, 26 Oct 2019 14:19:27 +0700 Date: Sat, 26 Oct 2019 14:19:27 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: cast to Android TV from FreeBSD? Message-ID: <20191026071927.GA19925@admin.sibptus.ru> References: <20191021090617.GA42288@admin.sibptus.ru> <2c01cbb4-6ee4-4289-9eef-f5870cdd4764@www.fastmail.com> <20191025120103.GA93039@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 470XRq2c2rz3M6Z X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=HWcOnsVg; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-7.36 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.26)[ip: (-9.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.46), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 07:19:52 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MJ wrote: >=20 > On 25/10/2019 11:01 pm, Victor Sudakov wrote: > > Mario Lobo wrote: > >>>> I recently purchased an Android TV (Xiaomi Mi Box). I can chromecast > >>>> (what is it called?) to it from apps like YouTube on my mobile phone. > >>>> > >>>> Do you know if I can find some software for FreeBSD to cast to the Mi > >>> Box? > >>> > >>> you can try VLC it allegedly does this although I have no google devi= ces > >>> to check with. > >>> > >>> A+ > >>> Dave > >> > >> I use mediatomb on my home server to stream audio/video to any of my h= ome > >> devices. > > Looks abandoned. Is it GUI ? >=20 > There is gerbera. It's got instructions for building under FreeBSD. Give = that a try. >=20 > https://github.com/gerbera/gerbera Will look at it, and at VLC too. Thank you to all who replied in this thread. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJds/N/AAoJEA2k8lmbXsY05+UIAKcVDU6wK162HBjpJMHYdmYC OJQY7X7FkEoBObpbKa4GdLTPiMUzUj/65xKKkINK1UDUXlnHcbYAforoWi92BNfg pp1SUshejp7UyTtFS4zwqgAYYHmL0SwoaMlRflc8P4hVC8HS/eDHeUM/g0nqgq0w QHyFcWvrE99khjSINuR9CvI7RxLRBRoFyklDJZ+N+B0hcbN3eOPthZyxveQswqsu cvoBKIpZxGIqFqiKq5+zZAJFEwbV4F+1irZPpjYzcwsRE3syD+GPvFiM9fCqU/zr Zd0AMBw6WPEjFhXaq9Tkj6kOPYIpXoLU6sm4JMnEMkwg0E4OyS3rC3mOL0eXdhM= =i1mv -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF-- From owner-freebsd-questions@freebsd.org Sat Oct 26 07:38:24 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0044D162E30 for ; Sat, 26 Oct 2019 07:38:24 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 470XsC0kYcz3Mnd for ; Sat, 26 Oct 2019 07:38:22 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=Message-ID:Subject:To:From:Date:In-Reply-To; bh=e9SMw8TwRNizNPh00zaCnUkMLLijZo56TGrykhnWG+4=; b=mmNGJTSDsFG6waQ8yMz4cjW9Wk HTNmyPOVfUkz28gJPy+sX38fugB/BgZN156AcvCQFSaHYDhQNaIdn4gDJQjrTAp+6RztKDrekBJyu Lxk79fBovUjhkJ7wS9PB0v4NeOeZz4Crm77rKrr+JaeqmBoVaRP1IQXwFwHXJFXqR6ho=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iOGeT-0005HK-SQ for freebsd-questions@freebsd.org; Sat, 26 Oct 2019 14:38:21 +0700 Date: Sat, 26 Oct 2019 14:38:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: autofs problems Message-ID: <20191026073821.GA20100@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 470XsC0kYcz3Mnd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=mmNGJTSD; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-1.35 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; FAKE_REPLY_C(6.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.46), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Oct 2019 07:38:24 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241475 > autofs: no way to pass locale options to msdosfs I had to modify /etc/autofs/special_media directly, but this is kind of ugly. There definitely should be a configuration option. root@vas:~ # diff -u /etc/autofs/special_media.bak /etc/autofs/special_media --- /etc/autofs/special_media.bak 2019-10-26 14:02:02.810753000 +0700 +++ /etc/autofs/special_media 2019-10-26 14:13:23.654008000 +0700 @@ -58,7 +58,8 @@ fi ;; "ext2fs" | "msdosfs") - echo "-fstype=3D${_fstype},nosuid,async :/dev/${_p}" + # by VAS + echo "-fstype=3D${_fstype},nosuid,async,-L=3Dru_RU.UTF-8,-D= =3DCP866 :/dev/${_p}" ;; *) echo "-fstype=3D${_fstype},nosuid :/dev/${_p}" root@vas:~ #=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJds/ftAAoJEA2k8lmbXsY0bBEH/0TCEMIUvamUt976NywDm10u FrGzqzWuZUgvlZRJCNFbISbKS+JbC1YXJjDS3rTMTuV2I81ipyjW44J5Qk4wfGWm SP2hLN5TLbHboT8lEhRKsj/qBnbnqi0yfjhvrwVY57agB8/6d031vA7M/0wywOKF 0w0xsIPf60RpTxU82YAvU82D8yUSvWE/aYblDpF0WBZX0KZq9I7J0t2aOdscDz2n Td5PSJkGt+8yQw+65aobHyWLY4PQSHPijP41tCcGwN0e+h6JseGoxVxHOCgPz3wh pY5ylNh9FHgjXu9oiFZ2tzEtqZOKiPb1vuZUoobH/6SjHA/EWc9nf+ReALOAWS0= =E85u -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--