From owner-freebsd-questions@freebsd.org Sun Mar 15 05:52:08 2020 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 A40B3256153 for ; Sun, 15 Mar 2020 05:52:08 +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 48g7qT6NqMz44D4 for ; Sun, 15 Mar 2020 05:52:05 +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=h2wem3ygSDVRa2a7/sXWZqUs/whpgTKpv2vT3ZofUow=; b=FGAlAHRroFMx+iZKF0QYyeAaws h250L36VszJR7Swvy0vYjPrf6bvlrsYGdRh/UeRi5+2KhTHn5v6HuZQx7b+FzqtK74o49Nvj7s6Gd Lxc5wI9cByOu9XS72bY3oaJLLy6ctRtkX5I6qHV1BX1xgmWQ960/JhW50lzu74+drAyc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDMBp-000Ghl-Gp for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 12:51:57 +0700 Date: Sun, 15 Mar 2020 12:51:57 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: FreeBSD on AWS with root-on-zfs? Message-ID: <20200315055157.GA64075@admin.sibptus.ru> References: <20200310033243.GB170@admin.sibptus.ru> <20200310084330.GA4688@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20200310084330.GA4688@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48g7qT6NqMz44D4 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=FGAlAHRr; 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.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.967,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.87), 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: Sun, 15 Mar 2020 05:52:08 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: > Matthew Seaman wrote: > > > Is anyone using FreeBSD as a EC2 instance, what would you do if you > > > wanted a root-on-zfs AMI? > >=20 > > Colin Percival published some root-on-ZFS AMIs a while back -- see > > https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/000200.= html >=20 > Good news. >=20 > >=20 > > I've used these with great success. I haven't seen an announcement of a > > 12.1-RELEASE version yet -- not sure what Colin's plans are, but I think > > the idea was to offer this layout as an additional set of the official > > FreeBSD AMIs at some point. >=20 >=20 > I've just launched an EC2 instance with "FreeBSD 12.0-RELEASE-amd64 ZFS > (ami-054939ebd299da308)". It works! >=20 > I think I can freebsd-update it to 12.1 myself until a 12.1 AMI is > available. >=20 > Thanks! And I should go and support Colin's endeavor. One of the major advantages of the root-on-ZFS configuration is the possibility to select a different BE from the loader prompt if something goes wrong with the current BE. On AWS, the loader prompt is inaccesible, so how can we utilize this powerful feature? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebcJ9AAoJEA2k8lmbXsY0HsIH/AwBL1M3am6aEqgJ/zQBRZPx 72+OZKNdEfiZ+k3xaEAT5cbUbjE5XslxZbWgGdEIkS1IN1t16y/+Ne3s27RssCvT lBsO5ugbH6atA8NIrJwuSxrp/nlF3t+1ziYJdJ4nF3L3/EeDXMJvZ3VzeWBWNKoT age6zMaV5Q5I/PZAhqeVxf02klwqkcRsSf+OJx7QC/401FYYlC7d1x5zlMSWfPCH FBxFbhfhR8GJxWx3W1CZCrBIA4OjaP4Dyvtyvpq84C7mCpulaM5yXP8pynm7ccSE qV7YnaXKzaXm4ju0j4lAwtH6zowEz4spNnhkBNY6iIRUarYkPau61LPVeLDgq3w= =KeWl -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI-- From owner-freebsd-questions@freebsd.org Sun Mar 15 06:12:28 2020 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 C07A1259178 for ; Sun, 15 Mar 2020 06:12:28 +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 48g8Gz3TnYz3Cwb for ; Sun, 15 Mar 2020 06:12:27 +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=swl8SIChB9haFPX16Uk9Rf1RW9QrJupP5QWrZWovnFk=; b=PiOzMGThWLh3ObplxX5v0jfC6k JCfhsiVvRaI+kP3Kq7HofUif6HPUqiXg/Dg1f47oa+jKMgYiHm6aRE8A96JqviUg/vhgvSVI305uk opA1YNNMSEBbFG5FMsr4+lConQk1z4A9vz5RESq131oQk8CrEDUtxWHpokXI8qOT5uEQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDMVe-000GqR-3L for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 13:12:26 +0700 Date: Sun, 15 Mar 2020 13:12:26 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315061226.GB64075@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <2F4CA1FD-FB90-4B2E-A2C3-9C009A67A5EE@theory14.net> <20200314055541.GF27346@admin.sibptus.ru> <41ff5211-2ec5-d027-bb12-183afc4ad397@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <41ff5211-2ec5-d027-bb12-183afc4ad397@FreeBSD.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48g8Gz3TnYz3Cwb X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=PiOzMGTh; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.87), 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: Sun, 15 Mar 2020 06:12:28 -0000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Matthew Seaman wrote: > On 14/03/2020 05:55, Victor Sudakov wrote: > > There is one missing link which was never mentioned in the thread. > > What's the bridge between nsswitch framework (or some other replacement > > of getpwent(), getgrent() and friends) to be used with all those LDAP > > solutions mentioned above? > >=20 >=20 > You generally need to install pluggable modules for both PAM and NSS. > There are several alternatives in the ports, but I like: >=20 > net/nss-pam-ldapd Do you personally use it? You said you like it, so probably it's OK for production? >=20 > Another important component is a lookup cache -- going out to a remote > LDAP server every time you type 'ls -l' would be unusably slow. So be > sure to enable the name service cache daemon nscd(8) which is part of > the base system. >=20 > Various other system services can make use of LDAP -- for instance, > sudo(8). These you'ld have to configure separately though. Thanks a lot for you response with very useful information.=20 >=20 > That's where things like FreeIPA come in: it's a pre-packaged setup with > all the stuff you hadn't realized you needed yet already dealt with. > Like using LDAP to handle SSH authorized_keys through the > sss_ssh_authorizedkeys command from security/sssd. security/sssd is > another provider of the PAM and NSS plugable modules so you would use it > instead of net/nss-pam-ldapd I looked briefly at security/sssd but found it having too many dependencies. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --9zSXsLTf0vkW971A Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebcdKAAoJEA2k8lmbXsY0c10IAKeTbbYXaO5EDM/mhaILzdTu 589pUybrYQnCvDVeXGfpmmYlsJBslkYatSCSp7vcVBt2Cuh7E0HrQz9VhOiZ5WA3 YVr1UZymvjs3lYUgzbA0kBkCa1E5abOTcxTXZwQMC5CGBMp6VsDWCvTWZclj9eRF IuT5cMI/zZK16BHHAk6jdyrxl7wfItRy2urfEx6NQdwQxaGrWv0kxhhpGc8XJpvU 0uOjNutQT3vGZ4lcnhsHI7EDWiHacA4ZhD5b5Lvfb+xDbhyrbKPJ4XSvUhbCF1vl XSbcbni5yKs8FVuWJCXDQEjNQsoOIWarX0ozquqGVKiU60vmmnY/E8ue+aQSubg= =IFvI -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A-- From owner-freebsd-questions@freebsd.org Sun Mar 15 06:17:17 2020 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 17E31259A54 for ; Sun, 15 Mar 2020 06:17:17 +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 48g8NW4k5Xz3QHb for ; Sun, 15 Mar 2020 06:17: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=In-Reply-To:Message-ID:Subject:To:From:Date; bh=34SyPUjh/ABv2jiQQJ2uyeh4n87jwwCsd/eu3ddjig4=; b=fgZj4f7XroMmbdzSUWmWXc/3vz tDnNXmV3x2opxmjaUkxZxtvims7k4vZfcTLYU0Ah8hyk5mMdrFeJbL+sfshgRVb8t8nU0/WixRzkf 6jeaytfKWEWWhlVz9PyKlZIiULlK32hT//DlBmGMF03+wHHDPSciwU5XA3vgpgkesScs=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDMaI-000Gso-Eh for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 13:17:14 +0700 Date: Sun, 15 Mar 2020 13:17:14 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315061714.GC64075@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1SQmhf2mF2YjsYvc" 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 X-Rspamd-Queue-Id: 48g8NW4k5Xz3QHb X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=fgZj4f7X; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.87), 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: Sun, 15 Mar 2020 06:17:17 -0000 --1SQmhf2mF2YjsYvc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Howard via freebsd-questions wrote: > > > > > Do you think there exists a modern solution for centralized user/= group/... > > > > > management compatible with FreeBSD and Linux? > > > > I think the best combination is probably a Windows AD setup, with > > > > FreeBSD/Linux clients attaching to it. (Although I still do externa= l DNS > > > > importing the AD objects into it, really can't stand windows DNS). > > > >=20 > > > > This does work really seamless, the GUI tools are well utilized. > > > >=20 > > > > It really gets you the hard part (LDAP, Kerberos) in a pretty easy = to > > > > use package. I don't know how many hours I've spent on OpenLDAP > > > > getting it to work with things, and management packages for OpenLDAP > > > > are pretty sucky overall. > > > I agree here with Doug, as strange as it sounds, Samba is your best b= et. > > > When you provision your domain you shall enable the POSIX extensions.= It > > > will create all GECOS stuff. pam_winbind is also nice. > > So pam_winbind it is, if you want to use AD for user/group management? > > Does winbindd not crash any more under FreeBSD? > >=20 > > Do you need to also enable winbind somehow in nsswitch.conf? > >=20 > > > One must simply admit that Active Directory is a wellthought system n= ot > > > just for Unix. You may join your machines either with Samba, more eas= ily > > > with msktutil (disclainer, I am a maintainer) with works flawlessly on > > > FreeBSD. > > I'll certainly look at it if I have to integrate FreeBSD into Windows A= D. > >=20 > > However first I'd like to find a free, open source solution for a > > Unix-only office. Hope it will not eventually come to buying a Windows > > server to manage Linux and FreeBSD workstations. > >=20 > Samba is free and open source. Absolutely no need to buy MS Windows. What do you mean by "Samba" in this context? A centralized user/group management server? A centralized user/group management client?=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --1SQmhf2mF2YjsYvc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebchqAAoJEA2k8lmbXsY04ysIALext+tT5JLXBcNNGxCtmu+5 XbfwRol7p+/CZUajB+TEqsk1A+NX2eBWDQjoix5/CEAbH5LWlv3v7SsFTo08BGz7 Mx2v7FKAV8jm9aJWC1ZxUQ4lku/+pvTRGVsZXGiaWXP5V/V3Gms2rIhfNS/g0cKv 2IFwDQKKpClVMTySyOWqqjwesl28TWuT9uIEz5VCT4yHEYoPdpMSVIGVkc13UJK3 zZdJig2EF9ctfH/HqOqH6iXCeyjKJueUCug/avdKv5IBHGWSbTy63nzyS7oducMn tJK2r/yFT03aEKDCQ1yRa7worpOyOMfOCLrr9/JW/I4qg2F+gM286S3pLb+rSKs= =Q23o -----END PGP SIGNATURE----- --1SQmhf2mF2YjsYvc-- From owner-freebsd-questions@freebsd.org Sun Mar 15 08:30:24 2020 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 C3E98265F1E for ; Sun, 15 Mar 2020 08:30:24 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Received: from ictmail.ictprovision.com (ictmail.ictprovision.com [35.178.134.240]) (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 48gCL65B7dz3NFG for ; Sun, 15 Mar 2020 08:30:22 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> From: Michael Howard Message-ID: <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> Date: Sun, 15 Mar 2020 08:30:20 +0000 MIME-Version: 1.0 In-Reply-To: <20200315061714.GC64075@admin.sibptus.ru> Content-Language: en-GB ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=dewberryfields.co.uk; s=2019; t=1584261057; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bh9S8RMOrm1ATrT5HVz9H8VYGoK9rcuglsl8O0NLoN4=; b=R8iDUeFHKqkJhf3FRwrNckzDIlAK8W4bFdTvxUi2tc/Zw7tlY1xmIAGES4KS+s8m1rvFyx UVrBjR5BUTzg9kuCAYUWaSVk0oakHRBfKPCZJnWQdROCHCNhGnZFtPhcCFOsnU/kL324MK aiXMBBTWB+uDXTmrtNjrHHaNY2/7Zzk= ARC-Seal: i=1; s=2019; d=dewberryfields.co.uk; t=1584261057; a=rsa-sha256; cv=none; b=G/CHF71k6aOk1HPybJ4JwPi4t5t0sy6CI7ztx91NhLeVQ7vrWna+JQu+U2yqn/0nZuLaED 5nsKIGh7k6J5TjJKujufGlSgMHaLLyw447JV5i93fpS/6IwnZ/4cz3E83RN5UOqOYQzB+r bFW3rL/PqAkkkP5oTDuF+Y7bLXVmD/I= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sniffer@dewberryfields.co.uk smtp.mailfrom=sniffer@dewberryfields.co.uk X-Rspamd-Queue-Id: 48gCL65B7dz3NFG X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.05 / 15.00]; R_DKIM_ALLOW(-0.20)[dewberryfields.co.uk:s=2019]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:ictmail.ictprovision.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_MEDIUM(0.16)[0.165,0]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[dewberryfields.co.uk:+]; DMARC_POLICY_ALLOW(-0.50)[dewberryfields.co.uk,reject]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.22)[asn: 16509(-1.04), country: US(-0.05)]; ASN(0.00)[asn:16509, ipnet:35.178.0.0/15, country:US]; ARC_ALLOW(-1.00)[i=1]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset=windows-1252; format=flowed 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: Sun, 15 Mar 2020 08:30:24 -0000 On 15/03/2020 06:17, Victor Sudakov wrote: > Michael Howard via freebsd-questions wrote: >>>>>> Do you think there exists a modern solution for centralized user/group/... >>>>>> management compatible with FreeBSD and Linux? >>>>> I think the best combination is probably a Windows AD setup, with >>>>> FreeBSD/Linux clients attaching to it. (Although I still do external DNS >>>>> importing the AD objects into it, really can't stand windows DNS). >>>>> >>>>> This does work really seamless, the GUI tools are well utilized. >>>>> >>>>> It really gets you the hard part (LDAP, Kerberos) in a pretty easy to >>>>> use package. I don't know how many hours I've spent on OpenLDAP >>>>> getting it to work with things, and management packages for OpenLDAP >>>>> are pretty sucky overall. >>>> I agree here with Doug, as strange as it sounds, Samba is your best bet. >>>> When you provision your domain you shall enable the POSIX extensions. It >>>> will create all GECOS stuff. pam_winbind is also nice. >>> So pam_winbind it is, if you want to use AD for user/group management? >>> Does winbindd not crash any more under FreeBSD? >>> >>> Do you need to also enable winbind somehow in nsswitch.conf? >>> >>>> One must simply admit that Active Directory is a wellthought system not >>>> just for Unix. You may join your machines either with Samba, more easily >>>> with msktutil (disclainer, I am a maintainer) with works flawlessly on >>>> FreeBSD. >>> I'll certainly look at it if I have to integrate FreeBSD into Windows AD. >>> >>> However first I'd like to find a free, open source solution for a >>> Unix-only office. Hope it will not eventually come to buying a Windows >>> server to manage Linux and FreeBSD workstations. >>> >> Samba is free and open source. Absolutely no need to buy MS Windows. > What do you mean by "Samba" in this context? A centralized user/group > management server? A centralized user/group management client? > Both of course. One without the other is not much use in your context. You still leave yourself at the mercy of one of your original issues with NIS and that is you need the server available over the network. I doubt you'll find any system _without_ drawbacks but Samba is good and free. It can be managed through a MS gui, albeit from a MS Windows based PC and has a very large user base. From owner-freebsd-questions@freebsd.org Sun Mar 15 09:38:41 2020 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 3CF0F26C499 for ; Sun, 15 Mar 2020 09:38:41 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gDrv03swz4ZdV for ; Sun, 15 Mar 2020 09:38:38 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 02F9cR5Z091979 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 15 Mar 2020 10:38:29 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> From: Andrea Venturoli Message-ID: <751263b9-ba2d-6360-e9b7-33b8861fbe3b@netfence.it> Date: Sun, 15 Mar 2020 10:38:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200314060747.GH27346@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gDrv03swz4ZdV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.686,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; IP_SCORE(-1.64)[ip: (-8.05), ipnet: 2.44.0.0/16(-4.03), asn: 30722(3.85), country: IT(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; 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: Sun, 15 Mar 2020 09:38:41 -0000 On 2020-03-14 07:07, Victor Sudakov wrote > So pam_winbind it is, if you want to use AD for user/group management? Yes. > Does winbindd not crash any more under FreeBSD? Not sure what crashes you are referring to, related to which version of FreeBSD or Samba and from when, but I'm using it heavily and I don't remember seeing it crashing in years. It has some quirks, but you can get a working stable config. > Do you need to also enable winbind somehow in nsswitch.conf? Sure. You'll need a couple of lines: group: files winbind passwd: files winbind >> One must simply admit that Active Directory is a wellthought system One critic I can make is that's it's designed to scale to very big setups and will probably be overengineering for most (smaller) situations. Then again, nothing's perfect. > However first I'd like to find a free, open source solution for a > Unix-only office. Hope it will not eventually come to buying a Windows > server to manage Linux and FreeBSD workstations. I do that without Windows at all. Just setup a Samba AD DC (or, better, two) and you're done. bye av. From owner-freebsd-questions@freebsd.org Sun Mar 15 11:30:28 2020 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 A3B12276299 for ; Sun, 15 Mar 2020 11:30:28 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Received: from ictmail.ictprovision.com (ictmail.ictprovision.com [35.178.134.240]) (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 48gHKt1twsz3K0n for ; Sun, 15 Mar 2020 11:30:25 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> From: Michael Howard Message-ID: <762e3d05-b3c2-a449-3827-ad4c860f52e4@dewberryfields.co.uk> Date: Sun, 15 Mar 2020 11:30:22 +0000 MIME-Version: 1.0 In-Reply-To: <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=dewberryfields.co.uk; s=2019; t=1584271860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ptYFGv2eR0QYHqBhtR86GkwTyR5sA51chDkvhBEJCck=; b=QeyCJm+vWsrr+DWAP5tDejLscZjrhOUeMh+6gI/Cgsidv/IFmdm5P+1O52IKtHaPGDcbAQ SaykXYQSenvERL9VW1NusqvciYr9/kvg0tJre3JPxAQ9yIvEbTTAEJN4WFp9g2rOCP/MBN FgkwSUGRNqgKymEfs3f8oL1ZFVVpWVM= ARC-Seal: i=1; s=2019; d=dewberryfields.co.uk; t=1584271860; a=rsa-sha256; cv=none; b=VTV/clHkdLSEHA7ebBCCHBL/gQFVf/nrZpHZBO62ttijiS4kqF4A/LqgggXOIFzyiuVYcs 11KpdyWdCVEmhNAIcaqzXd/j082hI5eZCuUNhnqp9EOn7wMvZvxP2n8rI1HzfCVGLIfQYx WU5r+2uCbzzC0nixRG/yKw9QlV9l8jA= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sniffer@dewberryfields.co.uk smtp.mailfrom=sniffer@dewberryfields.co.uk X-Rspamd-Queue-Id: 48gHKt1twsz3K0n X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.06 / 15.00]; R_DKIM_ALLOW(-0.20)[dewberryfields.co.uk:s=2019]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:ictmail.ictprovision.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_MEDIUM(0.16)[0.157,0]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[dewberryfields.co.uk:+]; DMARC_POLICY_ALLOW(-0.50)[dewberryfields.co.uk,reject]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.22)[asn: 16509(-1.04), country: US(-0.05)]; ASN(0.00)[asn:16509, ipnet:35.178.0.0/15, country:US]; ARC_ALLOW(-1.00)[i=1]; 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: Sun, 15 Mar 2020 11:30:28 -0000 On 15/03/2020 08:30, Michael Howard via freebsd-questions wrote: > On 15/03/2020 06:17, Victor Sudakov wrote: >> Michael Howard via freebsd-questions wrote: >>>>>>> Do you think there exists a modern solution for centralized >>>>>>> user/group/... >>>>>>> management compatible with FreeBSD and Linux? >>>>>> What do you mean by "Samba" in this context? A centralized >>>>>> user/group >> management server? A centralized user/group management client? >> > Both of course. One without the other is not much use in your context. > > You still leave yourself at the mercy of one of your original issues > with NIS and that is you need the server available over the network. I > doubt you'll find any system _without_ drawbacks but Samba is good and > free. It can be managed through a MS gui, albeit from a MS Windows > based PC and has a very large user base. Sorry, didn't make that clear. The AD aspect can be managed ......... From owner-freebsd-questions@freebsd.org Sun Mar 15 11:41:43 2020 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 A5D7C277546 for ; Sun, 15 Mar 2020 11:41:43 +0000 (UTC) (envelope-from ltcddata@ltcddata.plus.com) Received: from avasout06.plus.net (avasout06.plus.net [212.159.14.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "avasout.plus.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gHZr5TtKz4D4c for ; Sun, 15 Mar 2020 11:41:40 +0000 (UTC) (envelope-from ltcddata@ltcddata.plus.com) Received: from webmail.plus.net ([84.93.237.116]) by smtp with ESMTPA id DReDjXup5CZ5EDReEjOa18; Sun, 15 Mar 2020 11:41:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019; t=1584272498; bh=s6lF2p90nOZHKbOgktF8lpksI460braxrCMc4dsIuRk=; h=Date:From:To:Subject; b=GcCeHYBhvAjIpvtc+mt9VEAGAb9Ug3HGFbMKK96puMVFEAKBl8unOE20cKEbZYrC5 O86CmtW9W84tFkQcZONtfxzXaYcUAbfOqAlv/Y9F7ZVenH6E5m7Yuaptlf5GNdtqaO ZammVTQ26CMBjF/9+UMIpd4sr8G63phUcUjLY8FJSWNuFu6QR++QdXxq6HgLOwgiIj KIACwdBMP6K/I6l77tpq/cpcpfXcnbex90gTRFtNzcKE8sxnlMWIbiFrVfJGkAQwv+ pwYDryjhwwzuuDhLEwpkKrnQkh0RQFRQWCgM2c1aMAVe7OOtFOLCP2SmetkmoAUzzh 9fWbuD6lPES+w== X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.3 cv=L/qGv9b8 c=1 sm=1 tr=0 a=UAT3Kkq3vlANMAJP8pj4Hw==:117 a=XutvAMJVX4LRabnqD3vA/A==:17 a=iBf62bJSKpEA:10 a=SS2py6AdgQ4A:10 a=kytp5_sqysEOq4X_rtAA:9 a=CjuIK1q_8ugA:10 a=ZYzJxHl0x4yyVtZrZiAA:9 a=_W_S_7VecoQA:10 a=QEXdDO2ut3YA:10 a=pHzHmUro8NiASowvMSCR:22 a=n87TN5wuljxrRezIQYnT:22 X-AUTH: ltcddata@:2500 Received: from [185.194.115.0] by webmail.plus.net with HTTP (HTTP/1.1 POST); Sun, 15 Mar 2020 11:41:36 +0000 MIME-Version: 1.0 Date: Sun, 15 Mar 2020 11:41:36 +0000 From: ltcddata To: freebsd-questions@freebsd.org Subject: crash on login with mounted home drive Message-ID: X-Sender: ltcddata@ltcddata.plus.com User-Agent: Webmail X-Originating-IP: [185.194.115.0] X-CMAE-Envelope: MS4wfKL53mx6i/CIaYI2v5Rf5YKq4rdCrrDs/i0wZj9F0Kdxuxa5s7ZOwDZ+MrUBd6y0+kRbRnAqkpAqgV5/iFlIw67LW0ns0O2cXiSIclJv9+2Zb/Jh4zxX scLa9BXkiCnf/2nrW82pPdKHCwbn1IPnSUiYuoSJxxTV7uGDZHdN7sQzUCte+7OAfYypzUxNQVlry4dYhA5D6jyNWF2oMXR2K/Y= X-Rspamd-Queue-Id: 48gHZr5TtKz4D4c X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=plus.com header.s=042019 header.b=GcCeHYBh; dmarc=none; spf=none (mx1.freebsd.org: domain of ltcddata@ltcddata.plus.com has no SPF policy when checking 212.159.14.18) smtp.mailfrom=ltcddata@ltcddata.plus.com X-Spamd-Result: default: False [-1.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[plus.com:s=042019]; XM_UA_NO_VERSION(0.01)[]; HAS_XOIP(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[18.14.159.212.rep.mailspike.net : 127.0.0.18]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[plus.com]; NEURAL_SPAM_MEDIUM(0.44)[0.445,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.52)[ipnet: 212.159.0.0/19(0.22), asn: 6871(-2.75), country: GB(-0.07)]; DKIM_TRACE(0.00)[plus.com:+]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[18.14.159.212.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:6871, ipnet:212.159.0.0/19, country:GB]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset=US-ASCII 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: Sun, 15 Mar 2020 11:41:43 -0000 Been using freebsd since 7.1, and by 7.2 added in a drive for /home/user which has been fine. However I had to stop for around a year around 10.2, but when I came back on 11.2 suddenly logging in with KDE/Gnome XFCE would grind the computer to a halt and crash either during login or within 30 seconds. This does not happen if I boot up using only the root drive, and use the standard /home/user. Currently Mate is the only desktop I have which works with a mounted /home/user drive, but does anyone know what is causing this? Cheerz.. From owner-freebsd-questions@freebsd.org Sun Mar 15 14:25:39 2020 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 30DC4267498 for ; Sun, 15 Mar 2020 14:25:39 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 48gMD16qGRz4DsH for ; Sun, 15 Mar 2020 14:25:37 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ot1-x32c.google.com with SMTP id h17so15119945otn.7 for ; Sun, 15 Mar 2020 07:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iiB0X2oyHbpWmTdCtNLuqmxu/oboKb6qXQBJUbydbf4=; b=Y8ZVoRCKp2CSXG9JZGdD8T2C89dMnfoXs4k7si6S3L/cl2u9TeP32pENASfvodq3sG DrSyJJ5PsqvRDk7cy0bsAkjPmZwHiQE4Eov4lfQz4ERdIjBLCg0VjDAb31aPOmPt+jY3 5Ags0Lxz6+oBjsXfuKxb7Qp02Eop7ZhviXWyv1t5HasxpGwC4lW7i81W4DIjveQfZgl/ IZNpJgfW9qOR9km6GVdRk3DPthzVP0hqhE2a6iq6IXvrdg1lkAuB0AQtGm1dwawynG2F MatPhDNbqnhvJs98duFFHgELQoWNWgv+ddr6uHQ/PKEmz7XGtMSnz2971oMqBes4oqrF HdVw== 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=iiB0X2oyHbpWmTdCtNLuqmxu/oboKb6qXQBJUbydbf4=; b=OquPZGBYzIF3g4zCd0HR2OX9hr70bvknzOeJvJW15Q+Tt0z3tOlse+HPsOrpNzUaVv Zc1V+n3Cw1G3iPQv+cAr2rFON3P+fx1ZeD0R/5t09/3y9RVFgAUGugoMLEwVJTSRDUoq lfOwTOw1lY8LH/hF91edO33TUGXwhTl3rs3OwWxMn0Er5qlZlAfcG0AiS1HP4THxiZZu hXIm4bqQlIFsxHaXTWcfy0seFZrgLOEhMFiqC5HV6x/VRQdLb7w4YXg7Sv91aGij198b 3Zme0uwXNIFICjnloIWFFrarsCOGhrRnNHaZZobRUNKW+BoKe09Bdnl6hQU5CcUJ+aGt RGMw== X-Gm-Message-State: ANhLgQ0vRwCKbp0B7dGFQaVPmsekRW4DZorY6I6zvtJoPmfOZNFyQDwx XzKyGfMXdemQ+aIsoz/eyBn/6pQTBcc= X-Google-Smtp-Source: ADFU+vv9A6166/LFKEfDYE/ksQ3F2RGAbQLnZrz7JNyYKLaMuQjL3gFAhIaROh0Sh4pARoZv0bDQww== X-Received: by 2002:a9d:d0f:: with SMTP id 15mr19631895oti.161.1584282336110; Sun, 15 Mar 2020 07:25:36 -0700 (PDT) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com. [209.85.210.52]) by smtp.gmail.com with ESMTPSA id 81sm10511532otu.51.2020.03.15.07.25.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Mar 2020 07:25:35 -0700 (PDT) Received: by mail-ot1-f52.google.com with SMTP id j16so15139290otl.1 for ; Sun, 15 Mar 2020 07:25:34 -0700 (PDT) X-Received: by 2002:a9d:3ae:: with SMTP id f43mr18510532otf.159.1584282334329; Sun, 15 Mar 2020 07:25:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Sun, 15 Mar 2020 15:25:22 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: crash on login with mounted home drive To: ltcddata Cc: FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 48gMD16qGRz4DsH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Y8ZVoRCK; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::32c) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.56 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; 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]; DMARC_NA(0.00)[cedro.info]; URI_COUNT_ODD(1.00)[3]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.3.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]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-2.26)[ip: (-7.77), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; 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: Sun, 15 Mar 2020 14:25:39 -0000 have you tried fsck -f -y on / and /home (possibly other partitions) when in single mode? looks like a filesystem corruption..? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Sun Mar 15 15:48:41 2020 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 AE5DE26E942 for ; Sun, 15 Mar 2020 15:48:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gP3q2L0Cz4Zvn for ; Sun, 15 Mar 2020 15:48:38 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02FFmVZX011477; Sun, 15 Mar 2020 09:48:31 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Subject: Re: crash on login with mounted home drive To: ltcddata , freebsd-questions@freebsd.org References: Reply-To: freebsd@dreamchaser.org From: Gary Aitken Message-ID: Date: Sun, 15 Mar 2020 15:47:53 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 15 Mar 2020 09:48:31 -0600 (MDT) X-Rspamd-Queue-Id: 48gP3q2L0Cz4Zvn X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.42 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.96)[-0.956,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; DATE_IN_FUTURE(4.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-3.17)[ip: (-8.31), ipnet: 66.109.128.0/19(-4.16), asn: 21947(-3.32), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Sun, 15 Mar 2020 15:48:41 -0000 On 3/15/20 5:41 AM, ltcddata wrote: > Been using freebsd since 7.1, and by 7.2 added in a drive for /home/user > which has been fine. However I had to stop for around a year around > 10.2, but when I came back on 11.2 suddenly logging in with KDE/Gnome > XFCE would grind the computer to a halt and crash either during login or > within 30 seconds. This does not happen if I boot up using only the root > drive, and use the standard /home/user. Currently Mate is the only > desktop I have which works with a mounted /home/user drive, but does > anyone know what is causing this? No idea, but I run a similar setup. /home is a symlink to /usr/home I had to manually change /usr/home to be a symlink to /mnt/home or equivalent where the disk is mounted. As polytropon has suggested in another thread, you might want to add background_fsck="NO" in rc.conf Gary From owner-freebsd-questions@freebsd.org Sun Mar 15 15:55:48 2020 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 F089726F53E for ; Sun, 15 Mar 2020 15:55:48 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gPD32KN5z3QYj for ; Sun, 15 Mar 2020 15:55:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.43.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1N2Unv-1jIqzv1LF1-013xY7; Sun, 15 Mar 2020 16:55:44 +0100 Date: Sun, 15 Mar 2020 16:55:43 +0100 From: Polytropon To: ltcddata Cc: freebsd-questions@freebsd.org Subject: Re: crash on login with mounted home drive Message-Id: <20200315165543.e75c2e01.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:dQ+GwEOeenjE8iTqdXu3m57igtCZS3DqqCv31CPlN22mCL3pm4i 8QzgPTj+bCJuHvznkoy3e4QpOwgI6Oyp237LTrkpdg8OG4/ef1BTPxaHuCrpqOmv3KBVaPW VWDxmdPyl+2KW+tFUCnHDka4tXfxC/wTWaVsot4FyO30mcjzqiOTPnVWjUagSyJaxVXDsup HkK6cmqiiUQib7RjDBnsA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VJvFmCBIsgY=:cuCUeotBwl8jyrefei+Py1 F5EWzVOfNmfNYN4mnmWPZTuKYOBZnzaNx7f++BvyaBrV29+/J0DgPqm05+jQEI5XRAEOZatBu cIvyMrS3GuCfLjhyD1v6KWetU6AiRFu4Q269qE/AdmjBxhsJKhln//bxn2Ikb9mVEdWnZPUbY 62CdZru62GHnsZSviG6W3PG30eBa4wfGBSykKk3Mf9kNj7hsAr8YcMUyztJuUMwMSbgqlGAnO tSoCgHFqs11V6HQJOJx50Na1A4tqEBKOIZMcvbQpw0xkwOR8i2frWPhnO5WNGm5wZG12ry/K+ 1yxdkuiZ1JETUwdabvVeMYogWd2ZOAGN7ufvo7C/lAPzgTTNq9qnQ6FpFFH/80txEGOjtb+vB WDLCRTZc2NQxTXh8cfJEWZVfXdxirO5OO49LOHsRQbdJDQZhyEpnq+qhkelUpWsSIoxt2rrkb 4UC7SKegMrHJux6idaQ0ZmP+M+Yc2tDqW69xqXcrBpQ3F98Hj7JOCGLypp9bN/wCMJr3nwTdE vun8/qqtqAhc0kXxnauinsms511Yt18n4C047wFz98b7S8O1FaoeUDNwIRvJ4pJIbNJZgpgMU Ht6wBnKP9zCZIslTiWy2cQfyodX7Gz3bZQgVed5doMExJzdTtFugBEYaPCfPEXIG8tCMhD5JD g0BT4GRsHnZU0SXVM5+TV7mSGVbz7NNCS68JbDBposEDELh39hz8kV8/0eUUeYF5YCB211j+d X82PCTntg5ftlffmaG5H3KewGbLzShOTeRnegY35zPQV+uiCVaprLve4kM9RLlxU3CrhoMDd1 3yT07AKmlpOZ775hthLvyeAox2XXtYHe5H7PQj4GHtjgtKWZF8t+SvsJ6bbsrgfL+dFhIhb X-Rspamd-Queue-Id: 48gPD32KN5z3QYj X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.99 / 15.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)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[36.43.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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.992,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.60)[ip: (1.99), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.17), country: DE(-0.02)] 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, 15 Mar 2020 15:55:49 -0000 On Sun, 15 Mar 2020 11:41:36 +0000, ltcddata wrote: > Been using freebsd since 7.1, and by 7.2 added in a drive for /home/user > which has been fine. However I had to stop for around a year around > 10.2, but when I came back on 11.2 suddenly logging in with KDE/Gnome > XFCE would grind the computer to a halt and crash either during login or > within 30 seconds. This does not happen if I boot up using only the root > drive, and use the standard /home/user. Currently Mate is the only > desktop I have which works with a mounted /home/user drive, but does > anyone know what is causing this? This might be a filesystem-related issue. Boot the machine into single user mode and perform a forced check for all partition (system disk _and_ home disk); if needed, run fsck twice (see summary message). See "man 8 fsck" for additional options that you might need ("fsck -yf " is a typical application, but always be sure that you are comfortable with what "-y" means and does). A little sidenote: Check if you have background_fsck="NO" in /etc/rc.conf; this will make sure you'll always boot into a clean and consistent filesystem environment. Furthermore, check that the mountpoint for the home disk is an empty (!) directory. There also could be an additional problem: Let's say, you have /usr/home/bob as your home directory, with /home being a symlink to /usr/home (which is the default setup on FreeBSD). Now you remove /home, make it a directory, and mount a 2nd disk into that directory; /home/bob is the home directory now. Depending on what desktop environment you're using, they tend to hard-code (!) directory names into their configuration files, so maybe some IDE does expect /usr/home/bob/.config/blah/something.cfg to exit, but that file actually is /home/bob/.config/blah/something.cfg, and it's on the 2nd disk, which, coming back to my initial suggestion, also has a filesystem defect... ;-) A third option could be a crash triggered by hardware problems. If that should be the case, test your RAM with a tool like memtest86, and maybe also your processor, as well as the voltages of the power supply. However, that case is a rather rare one, so you should probably go with the filesystem check first. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Mar 15 16:00:18 2020 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 697F626FC96 for ; Sun, 15 Mar 2020 16:00:18 +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 48gPKF2rL5z43pQ for ; Sun, 15 Mar 2020 16:00:16 +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=mK8MI23HVfpehlr1XsDz7emGz9EjD2XDiLccstjwbXY=; b=lpb0ZhLYSbSxFC80Mq9WcZWe1o nzv/4yWYU1mb0khfPlPZJy3DKDifCvgIolsv5bqMvJydCBjLoz9j/CbmZlVf6EFMwE7hJCk191WTl TFoC/l2xlpOQRoI9pHmgZnI6A/0NfAzq0AKcdn2ORz332PZ8MVzl+I+alh5GwFnpPo1Y=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDVgU-000JTw-GT for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 23:00:14 +0700 Date: Sun, 15 Mar 2020 23:00:14 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315160014.GA74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <2F4CA1FD-FB90-4B2E-A2C3-9C009A67A5EE@theory14.net> <20200314055541.GF27346@admin.sibptus.ru> <41ff5211-2ec5-d027-bb12-183afc4ad397@FreeBSD.org> <24173.939.499988.382240@alice.local> <5AAC1545-4BF4-4395-9CB5-E880AE207D63@theory14.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <5AAC1545-4BF4-4395-9CB5-E880AE207D63@theory14.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gPKF2rL5z43pQ X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=lpb0ZhLY; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.87), 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: Sun, 15 Mar 2020 16:00:18 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Chris Gordon wrote: >=20 > If you need the type of features offered by FreeIPA, I would consider > Samba as a free choice=20 And on the client side, nss-pam-ldap or winbind? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeblEOAAoJEA2k8lmbXsY05G8IAINmlE8j11mRKdxANe1tvI6o uU4aeM6vI/1W5cIHePH7LNi9Q+WJsSUzOD3l1OAQY1ymHN1Gm5crVn14095jMAs5 G98Nh6YITYYaZ/LDjoiTGt0htpDs8ySqhlTZfsck6RWmMEOuzQQHC7rTFE2ahNhJ aNE0rYYlihV9FNAv+dnT0f3NW86LmeUk6hozT1QXU9Hb9pv8C9YNINL7o+RdOoOK Fedvm6q5gfzBi6mo+1dLcA7uuWr89gbwRnjtWScATqfFWepI2N0463RU/UlNgglV hqFx+HIheqOyIAcffwZw/KqtWmwdDNDY8a6QpT4vlv9YSsIEx/QiGdvE7QfnoQc= =cUTi -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-questions@freebsd.org Sun Mar 15 16:05:19 2020 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 F3DAF2708AD for ; Sun, 15 Mar 2020 16:05:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (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 48gPR25fRXz46WQ for ; Sun, 15 Mar 2020 16:05:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.43.36]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mgvan-1joDcd3zeH-00hNge; Sun, 15 Mar 2020 17:05:07 +0100 Date: Sun, 15 Mar 2020 17:05:06 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: ltcddata , freebsd-questions@freebsd.org Subject: Re: crash on login with mounted home drive Message-Id: <20200315170506.96988775.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:rhCuLgFIe6Xf2WoHlJ2cIYZ+rFW6PE3DbGA6wcpQ5euJyQ/zuNS 8J5lcKD3Tso9nyEtPi08+l599d89AbkhhLxWWJTM4qu32IO7twdk0yl8DBd4JU7lgNJ090I I577Aapy+/C2FtrjyQ8MeDgcKB9lVHLDAComoERhXzjN8i7NJnw8N3wRClGzatofQJdjaSe +4lpsuMWRQF8KoF4EeqEg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xvY9UEKcoW0=:zBLD0zQRewH32Ycl1MmuLC YzRgjJZKsoFUJqJh3BXkOXQohqKdjIi4Djo5vGWskzAiNLblTlCPdl64nYmJYnTpeC8NOM0tg hZg0b9T6Sr9VLEHqCou8nYx5PMnmVZy5J0xrG2JpIrWYJe3SXZFxCu5Nd8PYTrak1kDvchOdS CBpRmAlA1/C3wLg9qoq5cxIYO0ZYwKC3qgqgdnV9rP30jK9RyPBp5iBkzFipk0dECkN/GUNkK a0EQ/UBsEIqQVfncP6PkSudKIJwmyhIbwwEWDgtFgXsuaYUP2WZztVmRNUr3HZ67O1ntQSN9f iJgejeVMgROX3qmj+fmFL4RH6YjrghABZI7GXBIzsrQIhvlUwFEtAzkYD1xeLCjx5QPwj8NKw PhlzF+e26KN+p7f6in3rk4Q5qeVWFsRCPaVQa0Eb/lnOitR389eayYfNRLr57YyWJOGourR03 WlDeNIXsn321iznuo4CKsyKU9Hx1XI0Fg9ZpAvqVBFjIOYW67/9rYOJ2vwcE9vbgN4bHH6Mp7 YJbKLW/8jXtsDsN+t1XWDcgK5jdLQQy8Wk8VR7BJzsOJQJwFsNyJgyuQIrFynFdtct2cBRhG/ +s6P+h0UdMKdXkp7PJFpsctqkiDLxcvUntLfubn4gMISkTcV/GMuYkx4gQIPWJENEFFOgntvS oeiPgQ8BqDKkAYWMfd+LCqgY85eBuJCOHY3PQe+7JbKVxDOJDNN9GYdd8r/C/OtW2V3nCfJU8 UT7mXnBHpnvjxNhefUe6G4Xnfj/njfqdRfunpUKl+am+ltgjrLeP7nyJanmR7W6g55Y4LNW85 rarvjk5cjonsSGoZCssoks0zJ5IkQ85rPT13brUWvVWbhpiYldh5hf+8jBb12vNfPTSzdBF X-Rspamd-Queue-Id: 48gPR25fRXz46WQ X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.133) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.82 / 15.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)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[36.43.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]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.980,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[133.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.44)[ip: (1.16), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.17), country: DE(-0.02)] 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, 15 Mar 2020 16:05:20 -0000 On Sun, 15 Mar 2020 15:47:53 -0600, Gary Aitken wrote: > On 3/15/20 5:41 AM, ltcddata wrote: > > Been using freebsd since 7.1, and by 7.2 added in a drive for /home/user > > which has been fine. However I had to stop for around a year around > > 10.2, but when I came back on 11.2 suddenly logging in with KDE/Gnome > > XFCE would grind the computer to a halt and crash either during login or > > within 30 seconds. This does not happen if I boot up using only the root > > drive, and use the standard /home/user. Currently Mate is the only > > desktop I have which works with a mounted /home/user drive, but does > > anyone know what is causing this? > > No idea, but I run a similar setup. > /home is a symlink to /usr/home > I had to manually change /usr/home to be a symlink to /mnt/home or > equivalent where the disk is mounted. I have always started with a "real" /home - either being a top level entry on the / partition (the "all in one" approach), or as a mountpoint for a 2nd disk (in that case, /home was of course always empty). I have _never_ used /usr/home, and actually that directory doesn't even exist in my installations. I also have a few systems that stick to the Solarism (Solarisisim) of /export/home, those are servers that export home directories to other machines where /export/home gets mounted as /home; in those cases, /usr/home also doesn't exist. Not that I'm aware of any software that might _expect_ /usr/home to be present and populated, but it could be possible... So having /usr/home "pointing back" to /home (the mountpoint for a 2nd disk) will definitely deal with the problem of /usr/home vs. /home that could lead to "configuration file and path confusion". :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Mar 15 16:41:00 2020 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 DA87E272C22 for ; Sun, 15 Mar 2020 16:41:00 +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 48gQDC262lz4Df4 for ; Sun, 15 Mar 2020 16:40:59 +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=eZVB2fahODA7tPHfF7KIkt0gmOQmXwsdmxXAFjbk1DM=; b=eLn29jFJH1ceAz9GMvaJKbyAjV gdksxz3LRxDcpvACAaMR2QqQfz5sm2mtxsCp2EE41ufmPFaVdJRMGTH6G6AwtBPJryDsxexCNNpXt x/+K2ZEEX3SvFpzVQcpKdSaQnJfkq75b20Sgcd5t7uj7qN7y9DdZIZAiDrPg9plnoIdc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDWJt-000JcF-Hf for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 23:40:57 +0700 Date: Sun, 15 Mar 2020 23:40:57 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315164057.GB74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <2F4CA1FD-FB90-4B2E-A2C3-9C009A67A5EE@theory14.net> <20200314055541.GF27346@admin.sibptus.ru> <5B2796E0-14E3-4CD2-AC05-5A83EE2C0300@theory14.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <5B2796E0-14E3-4CD2-AC05-5A83EE2C0300@theory14.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gQDC262lz4Df4 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=eLn29jFJ; 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.42 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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: Sun, 15 Mar 2020 16:41:01 -0000 --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Chris Gordon wrote: >=20 >=20 > >> LDAP and Kerberos are common solutions for this. There are many ways = you could do this, both or just one of them depending on your specific need= s. You could: > >> - Setup servers yourself. For instance setting up OpenLDAP > >> - Use some "pre-integrated" solutions: > >> - FreeIPA. Underneath, this is just LDAP, Kerberos, DNS, etc. You d= on't have to use SSSD to use FreeIPA as an auth source. Not sure what "fea= tures" may or may not be there. > >> - Active Directory. Yes, you could use a Windows solution. It's fun= damentally LDAP, Kerberos, DNS, etc. Note that FreeIPA is an attempt to re= -create AD with Open Source components -- if they state that or not, it's w= hat it is. > >> - Samba acting as an AD server > >=20 > > There is one missing link which was never mentioned in the thread. > > What's the bridge between nsswitch framework (or some other replacement > > of getpwent(), getgrent() and friends) to be used with all those LDAP > > solutions mentioned above? > >=20 > > Kerberos is fine of course, when we have a user already. I use FreeBSD's > > build-in Heimdal a lot for SSH access, SVN access (duh!) and some other > > things. >=20 > https://www.freebsd.org/doc/en_US.ISO8859-1/articles/ldap-auth/index.html >=20 > If the above doesn't cover sufficiently for you, a quick search of the > web with your favorite search engine will turn up many different > articles, tutorials and discussions. I just put in "freebsd ldap > client" into Google and found the above. Thanks, a useful article. Matthew Seaman also mentioned net/nss-pam-ldapd in this context, because it's supposed to be better than security/pam_ldap+net/nss_ldap. But the idea is clear now. >=20 > > You could also look at using signed SSH keys. There are some articles > >> about some of the hyper scale sites doing this to address the failure > >> points and scalability problems you get with a centralized directory > >> service. It's on my list to read up on, but I haven't gotten to it > >> yet. > >=20 > > I did not quite understand how you can use SSH keys to create/delete us= ers > > and manage group memberships. Could you elaborate or give a link? >=20 > Like I said, I haven't read the details of how this works. "signed > ssh keys" in Google gives a link to an article from Facebook > engineering on the subject: > https://engineering.fb.com/security/scalable-and-secure-access-with-ssh/. > From what I recall when I heard about this, a similar solution is used > and discussed by a number of other hyper-scale companies. As I've not > had time to research this myself, I'll leave it as an exercise to the > reader. I've perused the article, it's useful in its own way. I've been looking for a good example of using SSH certificates *with* *authorization*, that is exactly it. For the bastion hosts however the author says they use LDAP and/or Kerberos, and later they access the internal hosts as the local "root" users (provided a person is authorized to by the SSH CA). [dd] > > I was of course interested in modern best practices and personal success > > stories rather than in "you can implement this or that thing I've read > > about." > >=20 > > If any person who replied in this thread is using a centralized user > > database, please share what *you* *particularly* use and why. > >=20 > > I've already shared mine: I use NIS (yp*) but want to migrate from it, > > for the reasons I stated in the first mail. >=20 [dd] >=20 > Now maybe I'm overreaching in what you want. If you just want to hear > about specific cases of implementations from those that have them, Kind of, yes. That was my intention from the start. > then please disregard my entire email. =20 Disregarding your entire email would be unwise because you gave at least to useful links :-) >=20 > I hope that helps some. It did, thank you. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeblqZAAoJEA2k8lmbXsY0fbMH/Rkbhy/MbIQnpImQUpk1s0k4 BCQQj9nf1wihH9/vIIrc/AwynvgMHR1sgS6pqH9/VZC59+txti01OihPR5u23bFH Nyy2We+TC7tvzjNIdkxorn1OW61CJDtI2tuewXYlsbKC1AJlekarbxJ9uL/GoQ/i ejbCs6EvnaM21KSzfFi1UvWAogMgaa5dKCabpfDyD0IDyG3BEzheqO+1NTJ2RBtX URNgcwjQnVnBvYMUw08dBCLlV6KjuKEyDbadIMIzlyX87/hLYrDlI5Gqu4vGFasp 7Jij5ZX9qjOEXP+dlxGB79h78gQgXRxQ9kd5cqvDVbBaXHPYvvt/ar04fVRMD9g= =0OCm -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG-- From owner-freebsd-questions@freebsd.org Sun Mar 15 16:42:21 2020 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 A7BCD272E67 for ; Sun, 15 Mar 2020 16:42: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 48gQFm4XMYz4Hjn for ; Sun, 15 Mar 2020 16:42: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=ul8H7oxqoqAP83FmsnwMS/T9MdKoaKQKRjKiwDd4w+A=; b=j1s7b7RDw8d+xYlC1QRpwjxR6T AuT7lMjVpM4oHdHDFIi37CEWkgNAYKoHf9PKog7dsrwHbKJ037g1oz+vbPFBa4gY0quGpLPaI93lu 2UN3KnulQU4+kucJfHZpeaf/f7ACzrz/Xo1GUVDGxfduGl7V9vVC1wSKpRIy9pekuHLU=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDWLD-000Jcv-9D for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 23:42:19 +0700 Date: Sun, 15 Mar 2020 23:42:19 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315164219.GC74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline In-Reply-To: <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gQFm4XMYz4Hjn X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=j1s7b7RD; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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: Sun, 15 Mar 2020 16:42:21 -0000 --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Howard via freebsd-questions wrote: > On 15/03/2020 06:17, Victor Sudakov wrote: > > Michael Howard via freebsd-questions wrote: > > > > > > > Do you think there exists a modern solution for centralized u= ser/group/... > > > > > > > management compatible with FreeBSD and Linux? > > > > > > I think the best combination is probably a Windows AD setup, wi= th > > > > > > FreeBSD/Linux clients attaching to it. (Although I still do ext= ernal DNS > > > > > > importing the AD objects into it, really can't stand windows DN= S). > > > > > >=20 > > > > > > This does work really seamless, the GUI tools are well utilized. > > > > > >=20 > > > > > > It really gets you the hard part (LDAP, Kerberos) in a pretty e= asy to > > > > > > use package. I don't know how many hours I've spent on OpenLDAP > > > > > > getting it to work with things, and management packages for Ope= nLDAP > > > > > > are pretty sucky overall. > > > > > I agree here with Doug, as strange as it sounds, Samba is your be= st bet. > > > > > When you provision your domain you shall enable the POSIX extensi= ons. It > > > > > will create all GECOS stuff. pam_winbind is also nice. > > > > So pam_winbind it is, if you want to use AD for user/group manageme= nt? > > > > Does winbindd not crash any more under FreeBSD? > > > >=20 > > > > Do you need to also enable winbind somehow in nsswitch.conf? > > > >=20 > > > > > One must simply admit that Active Directory is a wellthought syst= em not > > > > > just for Unix. You may join your machines either with Samba, more= easily > > > > > with msktutil (disclainer, I am a maintainer) with works flawless= ly on > > > > > FreeBSD. > > > > I'll certainly look at it if I have to integrate FreeBSD into Windo= ws AD. > > > >=20 > > > > However first I'd like to find a free, open source solution for a > > > > Unix-only office. Hope it will not eventually come to buying a Wind= ows > > > > server to manage Linux and FreeBSD workstations. > > > >=20 > > > Samba is free and open source. Absolutely no need to buy MS Windows. > > What do you mean by "Samba" in this context? A centralized user/group > > management server? A centralized user/group management client? > >=20 > Both of course. One without the other is not much use in your context. What nss module on the client side? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeblrrAAoJEA2k8lmbXsY0CpYIAKn1MP8OEj3UCq29porbHPEt RFD4Slfuf+L098R9zIR3koX6OnueitnjhqUY7OwR31nwhvfZrihlDxsr8I0df8XL xiSA02cBR2LAtntSUaaMjal4ROcuH3+zB/0cpclMdY3R0UL8J8MPC5m/ZAwGRGqS Zqc8fA49y23WwWIPfCAWa46oUdv+55ZecjH+iFW8auuCBGgTKgJc185j2JP9sA89 K7y4GuikJix5/gq6fnaVdASj1hghIYokvi4Q6oR7RiyADcwshscyjN2n+i7jTJgK GYtSR9h2aLC0GEtLdcSrGWiGfzFFMNxXwjOdshM993vSvPaRJNqMmYmDPZicOAo= =xRbq -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- From owner-freebsd-questions@freebsd.org Sun Mar 15 16:46:16 2020 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 70C83273001 for ; Sun, 15 Mar 2020 16:46: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 48gQLG44cWz4SLg for ; Sun, 15 Mar 2020 16:46:14 +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=s9qWXg0IOHRe1lix+m+UxtoaI6KMq8BEkc6DJAtR2Q8=; b=nqrGpUNslU1vxOGQKgzXzXNf8T fAcbmu77cpm/PWVzAQf6VIGS1kIWOD0g9rzPKQoi3YZNg1tj7AFqiqlymsbLgQE3CY8T7QefZBltG asRAZltuQHFjnIW1D2l1M0bAK3Y2Up1tmYI/RPlZl8qXjAL75ROpZl2MPSoRulpB0Dsw=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDWOy-000Je4-QW for freebsd-questions@freebsd.org; Sun, 15 Mar 2020 23:46:12 +0700 Date: Sun, 15 Mar 2020 23:46:12 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315164612.GD74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jL2BoiuKMElzg3CS" Content-Disposition: inline In-Reply-To: <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gQLG44cWz4SLg X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=nqrGpUNs; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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: Sun, 15 Mar 2020 16:46:16 -0000 --jL2BoiuKMElzg3CS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Howard via freebsd-questions wrote: >=20 > You still leave yourself at the mercy of one of your original issues with > NIS and that is you need the server available over the network.=20 In theory, the nss framework has caching, In practice, I've never been able to setup nscd properly so that the unreachability of the NIS servers does not cause weird problems even with nightly cron jobs ("yp time= out something...") --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --jL2BoiuKMElzg3CS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeblvUAAoJEA2k8lmbXsY0JrAIAJqSUVkQ+gZ0qVhl4ggcwRZn SugDg9azdsGBFuF2hWav2OCu0AW21dsd5r1irsTpivpwBfVO9iMphRTHKWGn/3BX +TEbc8Rq/d8J0z5t2rJXr7Z9jPpRX8tJcmX6Brf1bvMDzWUyqwmss5vuz/6VXy0s MWD19goC5xCZTvleRg5usFQsDAFTULGMeYhXM0YM6NlvarCQCUDN0edJ5ZqB+WbP 9cZzGuD9ofhRthB09y0pr3SGaDJAyAv1UbWpIL1sSc2jMEU+jooeboKniqt0hRq8 urb0jZ5gRtUEwecxWbGQNqEz5TkYBvHez541lFV9bkXSFg96QDcoyJDH2GF35Xw= =Myqm -----END PGP SIGNATURE----- --jL2BoiuKMElzg3CS-- From owner-freebsd-questions@freebsd.org Sun Mar 15 17:01:33 2020 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 3E33127351C for ; Sun, 15 Mar 2020 17:01:33 +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 48gQgw4qdHz45gT for ; Sun, 15 Mar 2020 17:01:32 +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=slQlJRPYcQR0QndGUFSdD6z0R0s+sUYv4FSQ/GZt+j8=; b=FwfRzMyTmMWUfo0qqQclFi8y8b 7Kf7LtbcRPnlOkV2+cmWXh2/HeCsnsntWkrktNXSB9Cz/j+LG9I6kvJOFrNEEhjs/pBTRH9M/EYwT rXzxNlbF9z7HhdOHaDAj11TyMnS+alFPuraqpr+zrd9ABBVezbxZ/DR+RJ/wja31Whmc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDWdn-000JiA-AQ for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 00:01:31 +0700 Date: Mon, 16 Mar 2020 00:01:31 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200315170131.GE74628@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <751263b9-ba2d-6360-e9b7-33b8861fbe3b@netfence.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SWTRyWv/ijrBap1m" Content-Disposition: inline In-Reply-To: <751263b9-ba2d-6360-e9b7-33b8861fbe3b@netfence.it> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gQgw4qdHz45gT X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=FwfRzMyT; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.88), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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: Sun, 15 Mar 2020 17:01:33 -0000 --SWTRyWv/ijrBap1m Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andrea Venturoli wrote: > On 2020-03-14 07:07, Victor Sudakov wrote >=20 > > So pam_winbind it is, if you want to use AD for user/group management? >=20 > Yes. >=20 >=20 >=20 > > Does winbindd not crash any more under FreeBSD? >=20 > Not sure what crashes you are referring to, related to which version of > FreeBSD or Samba and from when, but I'm using it heavily and I don't > remember seeing it crashing in years. That was at the time of Samba 3, I could not even run wbinfo without winbindd crashing immediately. > It has some quirks, but you can get a working stable config. What quirks? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --SWTRyWv/ijrBap1m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebl9rAAoJEA2k8lmbXsY0N70H/0oHxvGsJCB9dafoLuoiwM87 MjdkodxX1ShmYYGbAFhxvVRDr5TJn6+XPUaisX1ckJgPqcYe951vQRqiebj1WD5k b2GdMn9wp1a1dF7QCFrGFZ0noWF58h7pnL0KUEHOlZ0fznlqEJixoVcnKHBCYuop 9trxIYEm49yw5oRvXdzSWHvkpuiuQkj1jbJ66gqxP4MNk16SOzrWMW2YoXxvMsLx hQTaHC10qh16pYRWQF0sSdfbkoHPoKmvYpedempopmhL556ELHpXuNV+/TX293R6 ch3t0YCoP97/Ce292yzwMybA4M47jk0RDJAPH7A0jd9h4gp02ThQDCUNvl3xiYA= =cX8U -----END PGP SIGNATURE----- --SWTRyWv/ijrBap1m-- From owner-freebsd-questions@freebsd.org Sun Mar 15 17:06:14 2020 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 B1AE7273681 for ; Sun, 15 Mar 2020 17:06:14 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gQnJ5kXRz48LW for ; Sun, 15 Mar 2020 17:06:12 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 02FH6643085172 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Sun, 15 Mar 2020 18:06:08 +0100 (CET) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <751263b9-ba2d-6360-e9b7-33b8861fbe3b@netfence.it> <20200315170131.GE74628@admin.sibptus.ru> From: Andrea Venturoli Message-ID: <1cd977ff-5853-183e-e3df-5a29646fdc2a@netfence.it> Date: Sun, 15 Mar 2020 18:06:06 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200315170131.GE74628@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gQnJ5kXRz48LW X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=netfence.it; spf=pass (mx1.freebsd.org: domain of ml@netfence.it designates 2.44.121.52 as permitted sender) smtp.mailfrom=ml@netfence.it X-Spamd-Result: default: False [-4.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.69)[-0.689,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:2.44.121.52]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_NONE(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[netfence.it,none]; IP_SCORE(-1.64)[ip: (-8.05), ipnet: 2.44.0.0/16(-4.03), asn: 30722(3.85), country: IT(0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:30722, ipnet:2.44.0.0/16, country:IT]; 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: Sun, 15 Mar 2020 17:06:14 -0000 On 2020-03-15 18:01, Victor Sudakov wrote: >> It has some quirks, but you can get a working stable config. > > What quirks? Too many to list here, actually... I'm thinking of specific bugs/workarounds I had to use, which are very dependent on particular cases (most of them is not even related to Winbind, but to Samba in general). I guess it's useless to look for them until you encounter them. From owner-freebsd-questions@freebsd.org Sun Mar 15 17:08:53 2020 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 9D1992737E4 for ; Sun, 15 Mar 2020 17:08:53 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gQrM0GHpz4Dt0 for ; Sun, 15 Mar 2020 17:08:50 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584292131; x=1586884131; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=274EuVNzRHYhTfITDeR4qJSPqrs0q14hjld0qkYunis=; b=ZxAap0Yq8BWxB+rcuQAbRSt8oPBjdvXr4E1uB7iZR6v0A4bT0wdc6YxCGGkNKYexr3yhMSC2LOxpU/MvyXpWPQqllfKFb2D6i6K69FxFrZcEzgg5PKZgHxEKniLdLq/F4+cKBbbSy626NAdlyn5AxS8SDot1QUZwL4BsOyp5dAQ= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDAwNjJkZTAuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 15 Mar 2020 13:08:42 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sun, 15 Mar 2020 13:08:41 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jDWkh-000JV5-LU; Sun, 15 Mar 2020 17:08:39 +0000 Date: Sun, 15 Mar 2020 17:08:39 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Cc: Polytropon Subject: Re: crash on login with mounted home drive Message-Id: <20200315170839.18f03dea5fb148251be193f8@sohara.org> In-Reply-To: <20200315170506.96988775.freebsd@edvax.de> References: <20200315170506.96988775.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gQrM0GHpz4Dt0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=ZxAap0Yq; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.10.freebsd-questions=freebsd.org@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.10.freebsd-questions=freebsd.org@email-od.com X-Spamd-Result: default: False [-0.16 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; FORGED_SENDER_VERP_SRS(0.00)[]; NEURAL_SPAM_MEDIUM(0.64)[0.640,0]; NEURAL_HAM_LONG(-0.89)[-0.893,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; ENVFROM_VERP(0.00)[]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; FORGED_SENDER(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.10.freebsd-questions=freebsd.org@email-od.com]; 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: Sun, 15 Mar 2020 17:08:53 -0000 On Sun, 15 Mar 2020 17:05:06 +0100 Polytropon wrote: > I have _never_ > used /usr/home, and actually that directory doesn't even > exist in my installations. It used to be common to have /usr was a filesystem but not /home then /home was usually a symlink to /usr/home. FreeBSD used to install that way. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sun Mar 15 17:15:06 2020 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 991C0273B9F for ; Sun, 15 Mar 2020 17:15:06 +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 48gQzX4n8pz4T24 for ; Sun, 15 Mar 2020 17:15:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.43.36]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MLA6k-1ivJFH2sxm-00IG5L; Sun, 15 Mar 2020 18:15:01 +0100 Date: Sun, 15 Mar 2020 18:15:01 +0100 From: Polytropon To: "Steve O'Hara-Smith" Cc: freebsd-questions@freebsd.org Subject: Re: crash on login with mounted home drive Message-Id: <20200315181501.54ef73f9.freebsd@edvax.de> In-Reply-To: <20200315170839.18f03dea5fb148251be193f8@sohara.org> References: <20200315170506.96988775.freebsd@edvax.de> <20200315170839.18f03dea5fb148251be193f8@sohara.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:P27gy0J+q1iT9yyUo4EHMy1SKvHuTPUam09cgse3unttgG3dV7W QYXEAX3oRjVRrG2Rfm/ENU5K4dWKDlsgWmxslm5M8AQoFJnARlY4Y8mbG1OAxI9G6oJ0yrh 108XQAYxZWR1x5cC05Pbh9VHdGLIgTgegqhpelQQPeUlBim3YeC4GyNtgXEfdYW+Aq+GYxJ eT4lYNV326/S4hnJx/P1A== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:XKijzX3Vahg=:HmpO6vmK/lLqTvuP8NouYx 0A2KkBs0QMA83mltAohy+sTHPuXwDsZMcaO2ptNb5UuwLMa0Yy/2TBdgmraZDu5juhQ9o57wi xziyHAxDhB7TEaanY/dd6ghxsKieW99FfzLf4KrfPTlIfnCNVefyZ5gItMXf308k2B9jMgzMV xVauZX2EM4nMtLGMAPyMv168u73ureO52rIHlRdGWhciT1YZU2Zr9VAjT5Dsv9j0JIq/jFtR0 QYETGSaA0ASzgTKAmOmZC+BhB3T3UuIoTaOr56Ymk064ZiIVUZ5iAeMzi8cfYZaSHotj9M1cV NutUqdeO0YHSOefwmdW3HV3BjKf/xwHq6wrHeSz/WNDwE0laYQ5Wr/ov8jQ+O+eqK8hb//gLG O+QzgPmLEXtzQNSaBfY8rjO9eQ3MYR3e3VeOgQj4bjr5kMoolV+6Z45iWSXcQJBbI2ODNunuV 9Ft1GIi8C6B3lfV2aUDxVCoooNaFfoUyqG4AzffA0rEMdeh3bbVHQkJJaemSxBIsHqrJ3hwgR 2P6eHb912jwcSREz8mNsgqNLYymsu+eCG+faLVqh1smIOmUItBvmwh4UT0PhtzmiHPzXunypc sOu6i8TGK4chWRHLqazBwcs+ae50dg67swF0djgHhRrLOu8VFUpqig0LMo4LP9PF+j5FaDvOf KDjoMYjB/Lv/eitWzNjjyM09lN80UNhtwhnBHpj3PgWTl8nB1gE8Jb39mGqDFSTakVAxMZmjK SMfCCEXcVcOz+pI2QkyZZ/4h830lnP5aD/7uqhn4KimdPVnkBR7aK/EmxNYEXL7BMWBp8jMBC G5A/+Uy3fO36mRQgEtJnjSDbo7kKtcJPq9XfzGWtYnrMs/9KalU2YMe6nQnEgU5UMB0DDO5 X-Rspamd-Queue-Id: 48gQzX4n8pz4T24 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.70 / 15.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)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[36.43.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.978,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[135.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.32)[ip: (0.57), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.17), country: DE(-0.02)] 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, 15 Mar 2020 17:15:06 -0000 On Sun, 15 Mar 2020 17:08:39 +0000, Steve O'Hara-Smith wrote: > On Sun, 15 Mar 2020 17:05:06 +0100 > Polytropon wrote: > > > I have _never_ > > used /usr/home, and actually that directory doesn't even > > exist in my installations. > > It used to be common to have /usr was a filesystem but not /home > then /home was usually a symlink to /usr/home. FreeBSD used to install that > way. The default installation always had /usr/home (at least since I've been using FreeBSD). You could empty it and use it as a mount point for a 2nd disk (or a different partition on the system disk), and /home@ -> /usr/home would still work, but I never found this specific constellation reality; usually /home (the root entry) was used to either hold the home directories on the "all in one" system disk, mount a partition also located on the system disk, or a partition on a 2nd disk, or even mount from network. I think I understand this as a historic construct mainly due to smaller disks, that's why "functional partitioning" had been done with physical disks, then with separate partitions on the same disk, but today, the "all in one" approach doesn't really require /usr/home to exist (where /home, as a real directory, not even as a mount point for a 2nd disk) would be sufficient. However, FreeBSD, as all real UNIXes, is full of historc things (core storage, drum memory etc.), so it definitely doesn't hurt. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sun Mar 15 18:11:31 2020 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 39A92275252 for ; Sun, 15 Mar 2020 18:11:31 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Received: from ictmail.ictprovision.com (ictmail.ictprovision.com [35.178.134.240]) (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 48gSDd4jWNz4XYr for ; Sun, 15 Mar 2020 18:11:29 +0000 (UTC) (envelope-from sniffer@dewberryfields.co.uk) Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <20200313143130.GA68871@geeks.org> <96ed1afa-e0e1-51a2-997b-e95097a1d0b4@gmx.net> <20200314060747.GH27346@admin.sibptus.ru> <20200315061714.GC64075@admin.sibptus.ru> <84ee1925-e5f2-2048-7a65-1ac3b41d7d4e@dewberryfields.co.uk> <20200315164219.GC74628@admin.sibptus.ru> From: Michael Howard Message-ID: Date: Sun, 15 Mar 2020 18:11:27 +0000 MIME-Version: 1.0 In-Reply-To: <20200315164219.GC74628@admin.sibptus.ru> Content-Language: en-GB ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=dewberryfields.co.uk; s=2019; t=1584295924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tdDgZukZPKlcnhIq8nVyI3GeiUfwPPbP3DOo9RE5Lww=; b=ntrAIY5gfE+BNuTFRxweQGJtPXpr0usfd1zFBlyjb8k4pDSHWGNQdAKetGcxaBR7m+4TzA Pv6jQLgu0IjXI9JXPWOHK3Md7j4pXzmV9LzYVksVnt0HBPMLSr/ZkgyY9mtBG2Yp6Ws0OA KvCQWJp+OA9QQ0hTWS7uPrrmDyl95Vo= ARC-Seal: i=1; s=2019; d=dewberryfields.co.uk; t=1584295924; a=rsa-sha256; cv=none; b=jOhdwTyA6DGAhbWhpaE8D8aHV9llyRSGZabfzeqyvjCB0syctqPTDA9LvdUXkuR0DSoWVv 9ESZ87VrSvn9qD6npjNzmENeTU9i4ETa3976eK2vZlEknCPwkRUr70uaL4rS18oWWvl6kz ihr8UBloTiKzaNzFgMrrwdTIQzXURoc= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sniffer@dewberryfields.co.uk smtp.mailfrom=sniffer@dewberryfields.co.uk X-Rspamd-Queue-Id: 48gSDd4jWNz4XYr X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.07 / 15.00]; R_DKIM_ALLOW(-0.20)[dewberryfields.co.uk:s=2019]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:ictmail.ictprovision.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_SPAM_MEDIUM(0.15)[0.150,0]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[dewberryfields.co.uk:+]; DMARC_POLICY_ALLOW(-0.50)[dewberryfields.co.uk,reject]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.22)[asn: 16509(-1.04), country: US(-0.05)]; ASN(0.00)[asn:16509, ipnet:35.178.0.0/15, country:US]; ARC_ALLOW(-1.00)[i=1]; MID_RHS_MATCH_FROM(0.00)[] Content-Type: text/plain; charset=windows-1252; format=flowed 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: Sun, 15 Mar 2020 18:11:31 -0000 On 15/03/2020 16:42, Victor Sudakov wrote: > Michael Howard via freebsd-questions wrote: >> On 15/03/2020 06:17, Victor Sudakov wrote: >>> >>>> Samba is free and open source. Absolutely no need to buy MS Windows. >>> What do you mean by "Samba" in this context? A centralized user/group >>> management server? A centralized user/group management client? >>> >> Both of course. One without the other is not much use in your context. > What nss module on the client side? > Winbind -- Michael Howard From owner-freebsd-questions@freebsd.org Sun Mar 15 20:33:53 2020 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 D84F5277922 for ; Sun, 15 Mar 2020 20:33:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gWNx4Nbhz3HkT for ; Sun, 15 Mar 2020 20:33:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 3293EBF35 for ; Sun, 15 Mar 2020 20:33:53 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:34ec:3abf:2ac3:3476]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id CE27FE481 for ; Sun, 15 Mar 2020 20:33:50 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/CE27FE481; dkim=none; dkim-atps=neutral Subject: Re: Centralized user/group/whatever management To: freebsd-questions@freebsd.org References: <20200313091923.GA98495@admin.sibptus.ru> <2F4CA1FD-FB90-4B2E-A2C3-9C009A67A5EE@theory14.net> <20200314055541.GF27346@admin.sibptus.ru> <41ff5211-2ec5-d027-bb12-183afc4ad397@FreeBSD.org> <20200315061226.GB64075@admin.sibptus.ru> From: Matthew Seaman Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFJIL80BEADi7/VbnnErDU6pjEhI/SzEZ/HbDRkJ5g7HroAtqIRm6nj8ZwOAgZ/2ZnWn 5F+fXTuLsG0FLNtkd17FoVcuCi5e/GPliXI5cmamV7E1Yz4T8UsJ7RQolimyxVexccKd16Tc AA7B9bFlJSKkBUSD0buj7VjT07xWhRzu6Vgi5r0UjLALYJz977uZA0F1aOGOXREDEAOhdcNc kSNjynqAwDA6dCT1Elpi4key1fYjv4jyDF+GU/YXul2Y/rguA8FCkHd9vyym5eAsLQ5mG00V V9fkEHIpH5KorNVnl/ufHXnkZqmHAZVpFDcrshb7aZ/pL45PXyWgLj+e6etelgj3a2bZi0JF cVdXCnBZVP2oIyYblM11ugTbfCwodORU8a5KfPeztMdAtDr4e+32NTrPdPi5rLT+GUsYz+PL 3A3m3u8bdsFp40DlIrBtSByVjqERxcfhphrEB4J8BXHUG7OAtXkZMlW/PGKDwXJq0O6Z5Tcg YHAoEiSWbXiexHgXNJyP+sqnIlhLWhSJGeJ+C83wqI6oYlZUCW00NkPxcIHnQPV/z+5wQVci TMyaWC2YCIHz4Ljs+TnwWMz0E8PNFDfHVbQ0W4PRGV7gRAqxfL+yKufauIEGbEq8rNDbSwL3 bcUCxR4ZDlaUEUwT4J8naf7rjdgiEYHs2Ig3jeK1+ER4FPG1sQARAQABtCRNYXR0aGV3IFNl YW1hbiA8bWF0dGhld0BmcmVlYnNkLm9yZz6JAlQEEwEKAD4CGwMFCwkIBwMFFQoJCAsFFgMC AQACHgECF4AWIQRyz6whebywJLW1RZADb2ye5/OevwUCWttU6gUJDFmAlAAKCRADb2ye5/Oe v7D/EACF6YL98cq6u20rai9gDCS+XY7HDGxowreE2HTAZXQmJTatSaEgiJMJUXfjXn7U/L+q zFhjOC2kiOze1yIWrptoxFa29lSUi3jWHNv7BM2bA4i7jjtwR8Ep2wSvDDl99jewDc6Ewot4 p598S5tZt4my9yGLeaCiN44IPg4U2ftnjcoONtrBOVyIHvVK5QL5r+wyqfdlySbAs026kJAZ rkwAL2ZVy3m1xNSmM8MojwSeX/5puv5JG2FoFb+VphZKCpgaqoEAN2jCqoJW9nnbAth1bYiM djiVr+k8pQl4CltFgpzSKxGbxXUSdPmEpA67FsV0BLIq5xy5VkvzoM+SD1hd3EQgfCyvFlf5 ClSwb5aQRf9ZqiyFAkVEtEOgF7S9q7H6MHyVFzrLfGzmTdpzu7jCCoYbZ7dX1aniatAxLKl6 EBgZxtLRu5bqalguv0FV1C8qnGLuvUMqp8RoJzLd8sWBGMTsUl/GOf+cEZl5u0q9vg9pBJxg KLi2NX3V4Bk8vkOUJFuk8ll7kRQ/7rrGLBkZNfcadb970jB5bvsxMhoc9P/2dIa1YzsGnqbE vG+JrZ2475hvs1jPZ/gdLWEcquGAhGjekfArLBbagqfo6gsuHnUD1K+HfVGQBkKJl+lNhbOR guHGT5hx/4RSYBVakz1RpM5dnk271lH0LxWeE4okSrkCDQRSUUKTARAAt6FH3HbDFoumOWUu JlDgOQs3wdp2n3IKv7gqzbDdgaoWW7hDTvjO0Cb6p2PGUKEoxMQQoIdDO0pQ9rgr4Sh4VSVC 9WMO/fUwqdrIs2nACIg4OwvNhIccW08S+N72f+yuXWOQ/dv79cwruE26/BEXgIP09MYcOWwc UCXzOoUR3er+jzcsN9uFjcsBVUJLIEru1askHRzCUa5P9S9GAFBwN49HC5IJWEzdLP27FjjO G5UG3+QZahHrjG1i6S3bIYXtaGsqNyfkp9Is7Wpj2kk+s9Ua+YMG/V5YVlbANIexa1yr75p1 W9biqXpCWnB3TaHSfI0G1t9w8K2qhR/Z1/YLIcRzZ2aHJnvbzJYw5Cs1jfNpFytbASsxj0rb ReouftlBvVWFRxsZ+oG1ZXL64/SVKMZAnfBNxd1uajp+HtoQtYoTu88la6zcdnAhOD5JdOnt N2VF8iQnDfPgkidfuSZ1C059xaRPTSRJBgMRDtOlDxgz7Pxx/7L2jwxRY1dq6NGioflY7CCp Gc7bi1K6xnf3lBL8X2nGpRAVsg9Lx1ShIWkgNbTAcPXpXcXlJ1xqz8HS8Twadh6gIfk/RNch BIED9lkVCKHYp/XQb8T8vMwn/kTWUm5WlPkQUFQN4D1b6+dJw4bwn/wiRS8did1MU1OytJB6 tljfEUCx0uKkzqr+33MAEQEAAYkEuwQYAQoAJgIbAhYhBHLPrCF5vLAktbVFkANvbJ7n856/ BQJa21VJBQkMUG42AonBvSAEGQEKAGYFAlJRQpNfFIAAAAAALgAoaXNzdWVyLWZwckBub3Rh dGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5RjE1NEVDQkYxMTJFNTA1NDRFM0Yz MDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp5OdNFg//ZqeVdGoKkMvALPzZjGz84+6l0kcM xSN4TfWmec0YpSmDEzCw4/SZoGqHlZb8lcTevmNrNXg6c+wVw6P+Ycl20Nzb98Kt9C5sz+zG VmPPK+3O9gaPnEqlIKnnbxKXXNHQdd8Mf0UTpifMqX0IkWOqhe/tQKGoQ9+feKvLIaToIe/N josW6vJ9YAgFqZ0015zwbElhMNFmgDMOI2SgjBZ9ngP1U82Mqb7/7G9GxHtnwuJBSnPJgN8t av2O9uWPC0N8deyZBH4y9ERBPTFMc46wjkW030olcq7g4hZ55rpPIEyGQZCq4u1gGibbiQJZ EyUQT7BJm70/PeUr3uNjPlQODV/lF5TBvqGHEmlSQfo6Yb/QQx07CK9bvhUSO2XP3ybS8Jwo MZlgZzZcjiPiQF9ot6152/Cp/XrsKgtk+fg5ARZpyywRlQk1JCHRZvhgXIxqNYA04uwdPFcL I4vPiDaLS8mhXHLRZsSpHmIBqqrnam5Lq7iDc39UZrSJMM40oy3iAOI2B7AOCbzxRuEplJd3 E/tEqrnFGcPVN+h52ka74lEyfkwA2RrASWJJcXLN3/VsizEj8okepefzjU/UPnU8sirzeWWo 8Z4uKddovk//NwAPUJbee4vZLjYE6MWdpEoZP9CZXbtIPWuc9Djg16aHOgv44JPokDMaHA27 A4rw2KwJEANvbJ7n856/SPkP/1bGUde7lnRTNd8c0ZrUtEi+OOibKyh7BjLUpzlihj3rGl9l jAF0eCdBrL1We3MDDcyi+XO7VZLiecZTlG6LLXFvEFjYpyPRx3bXlWk1/ahEiBoLWxedseNd FrO+H5XX6ODmKFFLhXgpsXnAxtM6Mxmrx0CGW4qzfUi7Vsqj86gqlcet0/k5RqPMAhrGX5fN nQNWSAwumeFKM8UgDpKY0u7M2tS07B0ozXOSpqGTSJhX6Ld2Nl95CL3wbSGuh1pDUOysAnzK 5Rl/OQ9LtYpWomAKg6yn7gKYij5XmekAg/E+ybr5Gyx2PgMQUGtuNmBRWP1qKtVUbrOekiuN z7kpdrP7M2O7i/cxWjGpVtjDNWuGkFgY3c+sKKawBma81K4rg044nkGwFX98vfEHVGu+HOd3 D+Mv47nv4LQvzynBG/YflwaPmLhpw7HCPvpa4W7y8+5AKxDqWlM2NvrLwmwbmz9dQMGtjnNR m4uHfPX8AyzBoMtDrxNLIvDYlLqh+G2Q1shNNNdRNXn9Z1pvri6KAHmH9GlISuM/jQfItout +Gtx9QUlNX3aIsdScTLA3jnMOpHcALCGI+XMiBNaVuYUxHgHh+MNYhmjQZZqASBCvVj1Hyib DPZa/iQ4DBGBRlJb+8saPPqYVDQhosWSF20aJKwepZIIOFjpMgmCIqZAnqK4uQINBFJRQrgB EADUWFag56O3CaycayGght1rYWYz7P9/3s7OlqAuEAId8/kSz8jXzAb/Qb6t0247a2MD0gxn jgZQy2OiQOsOTrc31L6tUrLVATL5Q3oKIh9hOlNMA+cRjsgY3UmMaSw+Gftp64EJDBQwBXWT 7CSUEJw4PqzwMPiTHRkmqQfzdfNagFJVqZ0e+cznoLzI9WvkccwLW1kicBYEysX5yOXUQ9/P cKqRWcbxLFznJ16JsxL1DeUct5WRWUxECY2rM0t+AkNRa3NpzskiMUSzFhiGmJo9yyy1RS4d rjMhEn/IcM1sO21ZF/WWuUVkul65qngFnaFDDRQ5lU3AagWhLhmppmK/yabSVfqz38B1APoB WuldYprslTbAOJrL2xFtiH7m9VYbP2aGdwr9V/C27kiNWnm/lYzP9Z+dTFkxw2V+BOjiLWzD DD6pEE7YDhiPyoopadOyXtoJf3aK1OI+DBu3piBA/CDDDvavruM+3mjxUxcOo8w8rMaJzDUD LG0yOyhKWef3UW5ly3CKXe8+m/MZe0GavNBJt0ObLQpPmnn9b2kP/xS0ssszo8uzlfSMiGi9 AedAoRQ7vFXfI0MBb0M8gJ6Ht/+j1b5Al9ABeeA3PRuu+aBJwBRdFp4AV5BsCa0Qb3aqVJUP uBvtY56aWWB9sSfQ1qeu/loRxkJbHhaPJswscQARAQABiQI8BBgBCgAmAhsMFiEEcs+sIXm8 sCS1tUWQA29snufznr8FAlrbVUkFCQxQbhEACgkQA29snufznr+YBw//TJtAC9d/FYQQHKQg /QOEkcAL8Qx4HA2SICnhKqv64jPcYIUYocOO8Qayh+IVDa6MGkbsWdweUFuexMsW+17dqETf QjUApx32TUwF44WgIEfARLW2zRdRcXfsT4A2sQJCvNJrJnH3lywiJi+V848Q4sC3sSJREpcJ d07oc2jxSKZyYZ1DBPfK1MyiwcBt2uFCTXdyFMham2aYLDP2JYvFP08tjTUAIKhe4B0bPTtl dCf5sH5q8xrpaHnKHf0n7qMmK7NtGW/9R6WiCruiNsLnO95fms1tzKKfA4QXIYCEWl8XsRKw p51HZDjQu/KxPsjm6BL4eThnae9t3Zs5J0LiPxoFbN+pW7anft3YCeezB8+gus7I1Rn5yJMR yYRRVHtZZTBDQfoDqHgLY14GYtFGOT0IR/OuAzYM1CoMvVExgqVWixDwF5RH1OHO1TANqTGc rRm1lvasCWIphpoQVtkN4/PXGa+NhzsRmr/c5OUYxQNroE8cdsK8mOIBRz9D2JpF7d2nr1X+ vA4zk2JL61aCnc62BfSYNZWhCcOPJZUhFT9BqAkew0kkJzQ3jwHGAhfcfozTHoFsD08qAW0O UriEtH+EOXl+dYbjlNUjFPjJu49cZbtp/1TpsYOBdME1QLM1TPanYXa7tb+IrRZN+Oi9i9VV ym16DK7q21k3j0qRC0s= Message-ID: <670e5cac-de50-766a-765c-78387b1b7cb0@FreeBSD.org> Date: Sun, 15 Mar 2020 20:33:49 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200315061226.GB64075@admin.sibptus.ru> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CcD258VsOJAwD4JJVzqOaF8NZXeIQ3HGE" 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, 15 Mar 2020 20:33:53 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CcD258VsOJAwD4JJVzqOaF8NZXeIQ3HGE Content-Type: multipart/mixed; boundary="hOLTQV5OL8iNWMtXRIaDNrEnEvENkPlWz" --hOLTQV5OL8iNWMtXRIaDNrEnEvENkPlWz Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 15/03/2020 06:12, Victor Sudakov wrote: >> You generally need to install pluggable modules for both PAM and NSS. >> There are several alternatives in the ports, but I like: >> >> net/nss-pam-ldapd > Do you personally use it? You said you like it, so probably it's OK for= > production? >=20 I have used it in the past -- I'm not currently using it. Cheers, Matthew --hOLTQV5OL8iNWMtXRIaDNrEnEvENkPlWz-- --CcD258VsOJAwD4JJVzqOaF8NZXeIQ3HGE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl5ukS5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5OebqA/+JzA1KT+nAD1fWCwgouJZLwaCPdYtKmIHom/AccYc5PaSZxN2m8ddGVN8 t6OHkMzNKGRMUjmBcB+cwhBb3ROI7gdENPAmfj9Uvc/pNLhaW+9zo3VSyqnek95/ EDPhEMcwBZCmiz9bPNqXffrBWd+3KwKKTQuZjKNUAuaGpKp5Giq3W+Q/l2tbzqwh 5R2TWOi912nAB0qMeQtWFeu6D6SYPLTAiMPFGrDb0Aarh2+b5/MuvO4AUP1vdC6e 2g2QzSg2zet83j9NsKy3OquBQ7+5yi59C7Y/bqI2hi0U0JZ9xZJWLh7mGM4hep+S itEn1UkVoCwVH1wSBcouLBaR98QuNKd0hoLe43QB59Ry6Zqj3HxojzHban/Cgl6b Y5ShQnJ9YJW8OgUGT+tCrRRIqlQlKJXFFvRDWqjPo9z/UmEq3Y7i1FQBoA63Y7AH m5Ni0w/rfwltIIQlARIt6kcsM8PiMeCL+vt6UV/M9r/2SSOY4op0nhxfeCw6DSHU EW1yY6rPQXouTJ5RoD1jMq5V1teAfkVBWB4o7Ed0Dd1ZY62Mno2HO1DcM2RKwUtb WizWu0D0W1hOkrdv6e1kca3O7ysIyokr30IX69pipLPxIROMtyIXFNyWgPshf7eh R6NGYf2qWfNc5fih++Cg33wVWeGWJRbeY/gNMlhoT42eR0+WxGg= =laR3 -----END PGP SIGNATURE----- --CcD258VsOJAwD4JJVzqOaF8NZXeIQ3HGE-- From owner-freebsd-questions@freebsd.org Sun Mar 15 21:41:06 2020 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 25269279A36 for ; Sun, 15 Mar 2020 21:41:06 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gXtS56Wyz4MbP for ; Sun, 15 Mar 2020 21:41:04 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02FLf1rK012219 for ; Sun, 15 Mar 2020 15:41:01 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) From: Gary Aitken Subject: SD card formatting Reply-To: freebsd@dreamchaser.org To: FreeBSD Mailing List Message-ID: Date: Sun, 15 Mar 2020 15:39:33 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 15 Mar 2020 15:41:01 -0600 (MDT) X-Rspamd-Queue-Id: 48gXtS56Wyz4MbP X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.44 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.93)[-0.929,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]; DMARC_NA(0.00)[dreamchaser.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-3.21)[ip: (-8.42), ipnet: 66.109.128.0/19(-4.21), asn: 21947(-3.37), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Sun, 15 Mar 2020 21:41:06 -0000 11.3-RELEASE-p6 GENERIC amd64 I'm having trouble reading SD cards formatted in my camera (Olympus EM1-MkII) or on a Win 7 system. When attempting to mount, I get the following: $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 /mnt/memstick mount: /dev/da0s1: Operation not supported by device Cards used without formatting *usually* seem to work. If I look at the cards which don't mount using gpart, I see: Card formatted in camera: $ gpart show -p /dev/da0 => 63 120944577 da0 MBR (58G) 63 32705 - free - (16M) 32768 120911872 da0s1 ntfs [active] (58G) $ gpart show -r /dev/da0 => 63 120944577 da0 MBR (58G) 63 32705 - free - (16M) 32768 120911872 1 7 [active] (58G) If I look at cards that I know I can mount I see the following: $ gpart show -p da0 => 63 30375873 da0 MBR (14G) 63 8129 - free - (4.0M) 8192 15118336 da0s1 fat32lba (7.2G) 15126528 15249408 - free - (7.3G) $ gpart show -r /dev/da0 => 63 30375873 da0 MBR (14G) 63 8129 - free - (4.0M) 8192 15118336 1 12 (7.2G) 15126528 15249408 - free - (7.3G) or: $ gpart show -p /dev/da0 => 1 15633407 da0 MBR (7.5G) 1 31 - free - (16K) 32 15633376 da0s1 fat32 (7.5G) $ gpart show -r /dev/da0 => 1 15633407 da0 MBR (7.5G) 1 31 - free - (16K) 32 15633376 1 11 (7.5G) I tried reformatting as follows: # gpart delete -i 1 da0 da0s1 deleted # gpart add -i 1 -a 4M -t "\!11" da0 da0s1 added # gpart show -r da0 => 63 120944577 da0 MBR (58G) 63 8129 - free - (4.0M) 8192 120930304 1 11 (58G) 120938496 6144 - free - (3.0M) # newfs_msdos -F 32 /dev/da0s1 /dev/da0s1: 120900736 sectors in 1889074 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120930304 FATsecs=14759 RootCluster=2 FSInfo=1 Backup=2 If I put this card in the camera, I get an error ("Card Error") If I again format the card in the camera, I can't mount it. I need to reformat these cards so I can use them in the camera and on freebsd, and apparently neither the camera nor win7 does that, so... What's the right way to lay out, format, and create a file system on an SD card so it is usable by cameras and windoze? Thanks, Gary From owner-freebsd-questions@freebsd.org Sun Mar 15 23:00:43 2020 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 1459A27B1D6 for ; Sun, 15 Mar 2020 23:00:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (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 48gZfK3Mfjz4Tg4 for ; Sun, 15 Mar 2020 23:00:41 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.43.36]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mk0FM-1jbeOk10mG-00kLPp; Mon, 16 Mar 2020 00:00:30 +0100 Date: Mon, 16 Mar 2020 00:00:29 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: SD card formatting Message-Id: <20200316000029.a6ba47c9.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:9SImF/WCPyTtUkISby8JR9U8Ssy4OQDfNrEPwfcLcG4fmttSIVb NFS9vUtR6DnNFah0XEsAOEYo0Fyg+MOw8KUkY71C46r108l4/vvx//Cj8jo0F7XCgBkZ6Jc SNw4rbbMVlQH6+BnV31zv+R3x79snaJ7zzQ2l+nlva2gt90byOt2I0tBp69qXjBeROGYvH/ UuUlEaEUWCcc4+9dD6iEw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EI90ftinseg=:rvbvGczj1KFv3Fhqom+L9V 0/jE9GVoE1+veoxarfc+YHBQw9nQgTwbbqYnf6mfcoXQlj4UslChDUEngC7wtU+penU1iB5EX hWo7H7q7D0NEgicrhG+7jPWHdHBP23TcLJCP+5B2ahqY2JZr1gXYgP0qdLYW2Ccpwo85WVXH9 wFZGIbpmaXzDxAc/Kxs+LDUpFmiD32Mj5NG7SzbUqjBM3crGKQ5fGOroBX31M9NoMZMMU/yIQ MKCdcz+1CGg52fC0Jmsr+Fm9ZO9v7zXuIzohm52W9NZkjDjulEfX+tZa9sWUhwvvUTvhNZKAf oUaMoKMouGTxf5mkKJx45XmVPlTO/zBWt9jnoVant8PF214+xcsZZ8TCI5jwW0DpC10ZRQGip FXSlKf+l72nvt2LmwaMM0L7SZdWD3LOg/2z50LxcT0jogggUfC7fj43n0YXY/d2srJ8Y54+42 adFTArYH79CC0KTv/xENacHZq2mes/IXWSh3crf7z/LYcB3SosKh6zQKS2t4uqcNWajNIm13/ 6U+i1DwiJ0YlHaCpgfYaYBzgJK+yh1AVTKS2luTl688yAaoTZBGvcLFi/M4regreff6ouLSb7 xPak1TnDTlx0b+atOeToMf26BcZ56kWZbqDNX6c1DQP7BihrKEI+WQOQb+Nzwb8v2QozRwj48 uet07ydjIkefo51S8M5cmoTD/7iocTBXP9kVUx4E9qnI67kqiwwWtNDvd3iltsA8t2ZMYG6da KC3p80d3O5dEj0SMtU8GRN2aNLZPq/0bOrRftBBdNDONkPGw/Ox/ywCxI60V4Bd488g8B4TPk nLthGC64qp5M2vdNfn38SXxcsCcqadLYK4JpNOfBIMYGajotyizG9wdHP2H6inQrWieK7i9 X-Rspamd-Queue-Id: 48gZfK3Mfjz4Tg4 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.85 / 15.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)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[36.43.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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.986,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.46)[ip: (1.29), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.18), country: DE(-0.02)] 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, 15 Mar 2020 23:00:43 -0000 On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: > 11.3-RELEASE-p6 GENERIC amd64 > > I'm having trouble reading SD cards formatted in my camera (Olympus EM1-MkII) > or on a Win 7 system. What filesystem is in use? For cards, it's typically FAT. > When attempting to mount, I get the following: > > $ mount -t msdosfs /dev/da0s1 /mnt/memstick > mount_msdosfs: /dev/da0s1: Invalid argument > $ mount -t ntfs /dev/da0s1 /mnt/memstick > mount: /dev/da0s1: Operation not supported by device > > Cards used without formatting *usually* seem to work. So those are preformatted (sometimes sold this way, sometimes initialized when first used in a camera). > If I look at the cards which don't mount using gpart, I see: > > Card formatted in camera: > $ gpart show -p /dev/da0 > => 63 120944577 da0 MBR (58G) > 63 32705 - free - (16M) > 32768 120911872 da0s1 ntfs [active] (58G) ^^^^ It seems that the card has been accidentally formatted with NTFS. In most cases, cameras cannot use that. If you want to mount it on FreeBSD, use ntfs-3g. > $ gpart show -r /dev/da0 > => 63 120944577 da0 MBR (58G) > 63 32705 - free - (16M) > 32768 120911872 1 7 [active] (58G) > > If I look at cards that I know I can mount I see the following: > > $ gpart show -p da0 > => 63 30375873 da0 MBR (14G) > 63 8129 - free - (4.0M) > 8192 15118336 da0s1 fat32lba (7.2G) ^^^^^^^^ Correct. > 15126528 15249408 - free - (7.3G) > $ gpart show -r /dev/da0 > => 63 30375873 da0 MBR (14G) > 63 8129 - free - (4.0M) > 8192 15118336 1 12 (7.2G) > 15126528 15249408 - free - (7.3G) > > or: > > $ gpart show -p /dev/da0 > => 1 15633407 da0 MBR (7.5G) > 1 31 - free - (16K) > 32 15633376 da0s1 fat32 (7.5G) ^^^^^ Correct as well. > $ gpart show -r /dev/da0 > => 1 15633407 da0 MBR (7.5G) > 1 31 - free - (16K) > 32 15633376 1 11 (7.5G) > > I tried reformatting as follows: > > # gpart delete -i 1 da0 > da0s1 deleted > # gpart add -i 1 -a 4M -t "\!11" da0 > da0s1 added > # gpart show -r da0 > => 63 120944577 da0 MBR (58G) > 63 8129 - free - (4.0M) > 8192 120930304 1 11 (58G) > 120938496 6144 - free - (3.0M) > # newfs_msdos -F 32 /dev/da0s1 > /dev/da0s1: 120900736 sectors in 1889074 FAT32 clusters (32768 bytes/cluster) > BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 > SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120930304 > FATsecs=14759 RootCluster=2 FSInfo=1 Backup=2 > > If I put this card in the camera, I get an error ("Card Error") Personally, I tend to leave the formatting to the camera which I want to use the card in; the camera "knows best" what it can uderstand. :-) There is a simple reason: Several variants of FAT exist, and some cameras often only support one out of that bag. If you guess (and use) the wrong one, the camera will report an error. So, as I suggested, let the camera do the right thing. > If I again format the card in the camera, I can't mount it. Have you checked _how_ the camera formats it? Check with gpart (or fdisk, it still works!). There's also the following totally unelegant way: # file -r - < /dev/da0 and / or # file -r - < /dev/da0s1 You should see a FAT summary. > I need to reformat these cards so I can use them in the camera and on > freebsd, and apparently neither the camera nor win7 does that, so... > What's the right way to lay out, format, and create a file system on an > SD card so it is usable by cameras and windoze? Typically using the _camera_ to do this job is the right thing. It's often nice to have the card in "mint condition" (i. e., nothing on it, no partitions, no filesystems). Using dd to overwrite the first MB should be enough. On a "Windows" PC, the card should then correctly be recognized as FAT. And on FreeBSD, you can easily mount it with the -t msdos type. Just make sure that you use /dev/da0 or /dev/da0s1 (some cameras are tricky and initialize the card as /dev/da0 instead of /dev/da0s1, I never understood why). In my /etc/fstab, I have the following entry for SD cards: /dev/da0s1 /media/sd msdosfs rw,noauto,noatime,-m=644,-M=755 0 0 So "mount /media/sd" does what you'd expect. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Mar 16 01:07:59 2020 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 F368027D78A for ; Mon, 16 Mar 2020 01:07:58 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gdT9460nz4mrF for ; Mon, 16 Mar 2020 01:07:56 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02G17nSP012676; Sun, 15 Mar 2020 19:07:50 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon Cc: FreeBSD Mailing List References: <20200316000029.a6ba47c9.freebsd@edvax.de> From: Gary Aitken Message-ID: <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> Date: Sun, 15 Mar 2020 19:06:22 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200316000029.a6ba47c9.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 15 Mar 2020 19:07:50 -0600 (MDT) X-Rspamd-Queue-Id: 48gdT9460nz4mrF X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.48 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.97)[-0.973,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.21)[ip: (-8.42), ipnet: 66.109.128.0/19(-4.21), asn: 21947(-3.37), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Mon, 16 Mar 2020 01:07:59 -0000 On 3/15/20 5:00 PM, Polytropon wrote: > On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: >> 11.3-RELEASE-p6 GENERIC amd64 >> >> I'm having trouble reading SD cards formatted in my camera (Olympus >> EM1-MkII) or on a Win 7 system. > > What filesystem is in use? For cards, it's typically FAT. > > > >> When attempting to mount, I get the following: >> >> $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: >> /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 >> /mnt/memstick mount: /dev/da0s1: Operation not supported by device >> >> Cards used without formatting *usually* seem to work. > > So those are preformatted (sometimes sold this way, sometimes > initialized when first used in a camera). > > > >> If I look at the cards which don't mount using gpart, I see: >> >> Card formatted in camera: >> $ gpart show -p /dev/da0 >> => 63 120944577 da0 MBR (58G) >> 63 32705 - free - (16M) >> 32768 120911872 da0s1 ntfs [active] (58G) > ^^^^ > > It seems that the card has been accidentally formatted with NTFS. In > most cases, cameras cannot use that. If you want to mount it on > FreeBSD, use ntfs-3g. As stated above, this is a card formatted _in the camera_. So the camera can read it fine. The problem is fbsd can't mount it. >> $ gpart show -r /dev/da0 => 63 120944577 da0 MBR (58G) 63 >> 32705 - free - (16M) 32768 120911872 1 7 [active] >> (58G) >> >> If I look at cards that I know I can mount I see the following: >> >> $ gpart show -p da0 => 63 30375873 da0 MBR (14G) 63 >> 8129 - free - (4.0M) 8192 15118336 da0s1 fat32lba >> (7.2G) > ^^^^^^^^ Correct. > >> 15126528 15249408 - free - (7.3G) $ gpart show -r >> /dev/da0 => 63 30375873 da0 MBR (14G) 63 8129 - >> free - (4.0M) 8192 15118336 1 12 (7.2G) 15126528 15249408 >> - free - (7.3G) >> >> or: >> >> $ gpart show -p /dev/da0 => 1 15633407 da0 MBR (7.5G) 1 >> 31 - free - (16K) 32 15633376 da0s1 fat32 (7.5G) > ^^^^^ Correct as well. > >> $ gpart show -r /dev/da0 => 1 15633407 da0 MBR (7.5G) 1 >> 31 - free - (16K) 32 15633376 1 11 (7.5G) >> >> I tried reformatting as follows: >> >> # gpart delete -i 1 da0 da0s1 deleted # gpart add -i 1 -a 4M -t >> "\!11" da0 da0s1 added # gpart show -r da0 => 63 120944577 >> da0 MBR (58G) 63 8129 - free - (4.0M) 8192 >> 120930304 1 11 (58G) 120938496 6144 - free - >> (3.0M) # newfs_msdos -F 32 /dev/da0s1 /dev/da0s1: 120900736 sectors >> in 1889074 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 >> SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 >> Heads=255 HiddenSecs=0 HugeSectors=120930304 FATsecs=14759 >> RootCluster=2 FSInfo=1 Backup=2 >> >> If I put this card in the camera, I get an error ("Card Error") > > Personally, I tend to leave the formatting to the camera which I want > to use the card in; the camera "knows best" what it can uderstand. > :-) In this case, the camera is not the problem; cards formatted in the camera are usable by the camera. But they aren't mountable on fbsd. So I can't transfer the files to fbsd, either from the camera or by inserting the card in an fbsd usb adapter. Since cards formatted by the camera are not mountable on fbsd, I was hoping to find a way to format the card on fbsd that would be readable both by the camera and by fbsd. > There is a simple reason: Several variants of FAT exist, and some > cameras often only support one out of that bag. If you guess (and > use) the wrong one, the camera will report an error. So, as I > suggested, let the camera do the right thing. > >> If I again format the card in the camera, I can't mount it. > > Have you checked _how_ the camera formats it? Check with gpart (or > fdisk, it still works!). There's also the following totally unelegant > way: > > # file -r - < /dev/da0 > > and / or > > # file -r - < /dev/da0s1 > > You should see a FAT summary. For a card formatted in the camera, which the camera can read but fbsd cannot mount: # file -r - < /dev/da0 /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0x7, active, start-CHS (0x2,10,9), end-CHS (0x3ff,254,63), startsector 32768, 120911872 sectors # file -r - < /dev/da0s1 /dev/stdin: DOS/MBR boot sector # mount_msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: /dev/da0s1: Invalid argument For a card never reformatted (i.e. formatted by the manufacturer, and used in the camera); this card is usable by the camera and mountable by fbsd: # file -r - < /dev/da0 /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0xc, active, start-CHS (0x0,130,3), end-CHS (0x3ff,254,63), startsector 8192, 31496192 sectors # file -r - < /dev/da0s1 /dev/stdin: , code offset 0x0+3, OEM-ID " ", sectors/cluster 64, reserved sectors 504, Media descriptor 0xf8, sectors/track 63, heads 255, hidden sectors 8192, sectors 31496192 (volumes > 32 MB), FAT (32 bit), sectors/FAT 3844, serial number 0x0, unlabeled # mount_msdosfs /dev/da0s1 /mnt/memstick # ls /mnt/memstick DCIM System Volume Information >> I need to reformat these cards so I can use them in the camera and >> on freebsd, and apparently neither the camera nor win7 does that, >> so... What's the right way to lay out, format, and create a file >> system on an SD card so it is usable by cameras and windoze? > > Typically using the _camera_ to do this job is the right thing. It's > often nice to have the card in "mint condition" (i. e., nothing on > it, no partitions, no filesystems). Using dd to overwrite the first > MB should be enough. On a "Windows" PC, the card should then > correctly be recognized as FAT. And on FreeBSD, you can easily mount > it with the -t msdos type. Just make sure that you use /dev/da0 or > /dev/da0s1 (some cameras are tricky and initialize the card as > /dev/da0 instead of /dev/da0s1, I never understood why). The problem is, on fbsd I _can't_ mount it. # dd if=/dev/zero of=/dev/da0 bs=1K count=1K 1024+0 records in 1024+0 records out 1048576 bytes transferred in 0.507045 secs (2068012 bytes/sec) put card in camera and format it # gpart show -r /dev/da0 => 63 120944577 da0 MBR (58G) 63 32705 - free - (16M) 32768 120911872 1 7 [active] (58G) # mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: /dev/da0s1: Invalid argument The card is readable by windows, however. Gary From owner-freebsd-questions@freebsd.org Mon Mar 16 02:33:52 2020 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 0FB6A27F0DC for ; Mon, 16 Mar 2020 02:33: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 48ggNG4lhfz4V2B for ; Mon, 16 Mar 2020 02:33:50 +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=lSL9cEC88ykFW15nZaPQGKgLa+8+G7npESYfQkSTl9k=; b=UY9I3W+h/c1PADalvXT/VVyjk1 0oYwq2Pb3Yqp8aUWiWXxsNrhTn4ufVtnKmq5I4nqC0R6bl2Pai7IfoasQF4nzIbZOA/mdu2MhSOLu JzMPpr1pTGYYfBAk3dTDD1s0ZULe2cmTIZxQdyTPAzVEs0GCeK0+kNmUhpfvyzz+YLz0=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDfZc-000Mpm-Pf for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 09:33:48 +0700 Date: Mon, 16 Mar 2020 09:33:48 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Centralized user/group/whatever management Message-ID: <20200316023348.GA87705@admin.sibptus.ru> References: <20200313091923.GA98495@admin.sibptus.ru> <2F4CA1FD-FB90-4B2E-A2C3-9C009A67A5EE@theory14.net> <20200314055541.GF27346@admin.sibptus.ru> <41ff5211-2ec5-d027-bb12-183afc4ad397@FreeBSD.org> <20200315061226.GB64075@admin.sibptus.ru> <670e5cac-de50-766a-765c-78387b1b7cb0@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline In-Reply-To: <670e5cac-de50-766a-765c-78387b1b7cb0@FreeBSD.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48ggNG4lhfz4V2B X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=UY9I3W+h; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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, 16 Mar 2020 02:33:52 -0000 --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Matthew Seaman wrote: > On 15/03/2020 06:12, Victor Sudakov wrote: > >> You generally need to install pluggable modules for both PAM and NSS. > >> There are several alternatives in the ports, but I like: > >> > >> net/nss-pam-ldapd > > Do you personally use it? You said you like it, so probably it's OK for > > production? > >=20 >=20 > I have used it in the past -- I'm not currently using it. Thanks, I'll start testing from net/nss-pam-ldapd (not from the older security/pam_ldap+net/nss_ldap, and not from winbind-based solutions if I can help it). --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebuWMAAoJEA2k8lmbXsY0+rUH/RkkUn0GKDBwu2LK6se5zNVS IGZ2WkKw3PGm6WVIgNgtpkRugNDO9akBEUtzAFbFUoRKyT5MRvdPOQi+cfYcQNRz S8zl7d3QshB+4JADVpQRwJlbjpzwc9ouScmWn3pujxnRwk19ZBu4NwTJkbtIv7TV q6XrTha8LuBmIwwd7FtX4pUpX1kYO9t+aYEBSyIUSN/dDAGSxl9BM16CX0V25Ak+ dZX1Qf8djLj0lSf6dAhCcYUUqNszk8mCt/tkbuQaHGfzM6Vd8XeyOp8Y538GyjxS 3IXE0io2sDAqMFL1AbQJZN+jrxMKg28Fg6zuAfvI7dH8SpqnIRfJ6GI87f98yXM= =lyc4 -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- From owner-freebsd-questions@freebsd.org Mon Mar 16 03:28:25 2020 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 5A7B227FFF5 for ; Mon, 16 Mar 2020 03:28:25 +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 48ghbD37MDz49JQ for ; Mon, 16 Mar 2020 03:28:24 +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=QG4zSO2ovxjs/ZiKtmSm+c9fegUOuu3h+U07lSn+lUk=; b=muemNKzHzkSX1NLE5zKeF6MqSS TAGDyOXBQQuWzF3gw/dHnnU0uvOvOfbnoQ9J5a9pNv2mup+RYnPKGlt2JBQo19eHnM4+fhDJqa52v zG7VtKCCjSe64CylDqIkNLIfDHYscAt0ZbbFj5zgEXD+WqPddHOKcQjAvdlT3lVG6qSk=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDgQQ-000N4x-Od for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 10:28:22 +0700 Date: Mon, 16 Mar 2020 10:28:22 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: FreeBSD on AWS with root-on-zfs? Message-ID: <20200316032822.GA88516@admin.sibptus.ru> References: <20200310033243.GB170@admin.sibptus.ru> <20200310084330.GA4688@admin.sibptus.ru> <20200315055157.GA64075@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20200315055157.GA64075@admin.sibptus.ru> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48ghbD37MDz49JQ X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=muemNKzH; 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.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.956,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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, 16 Mar 2020 03:28:25 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Victor Sudakov wrote: > Victor Sudakov wrote: > > Matthew Seaman wrote: > > > > Is anyone using FreeBSD as a EC2 instance, what would you do if you > > > > wanted a root-on-zfs AMI? > > >=20 > > > Colin Percival published some root-on-ZFS AMIs a while back -- see > > > https://lists.freebsd.org/pipermail/freebsd-cloud/2019-February/00020= 0.html > >=20 > > Good news. > >=20 > > >=20 > > > I've used these with great success. I haven't seen an announcement o= f a > > > 12.1-RELEASE version yet -- not sure what Colin's plans are, but I th= ink > > > the idea was to offer this layout as an additional set of the official > > > FreeBSD AMIs at some point. > >=20 > >=20 > > I've just launched an EC2 instance with "FreeBSD 12.0-RELEASE-amd64 ZFS > > (ami-054939ebd299da308)". It works! > >=20 > > I think I can freebsd-update it to 12.1 myself until a 12.1 AMI is > > available. > >=20 > > Thanks! And I should go and support Colin's endeavor. >=20 > One of the major advantages of the root-on-ZFS configuration is the > possibility to select a different BE from the loader prompt if something > goes wrong with the current BE. >=20 > On AWS, the loader prompt is inaccesible, so how can we utilize this > powerful feature? Answering my own question, "bectl activate" has the "-t" flag: If the [-t] flag is given, this takes effect only for the next boot. This does not work in bhyve for some reason (does not boot the temporary BE= ): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244838 but may work in AWS because it does not use bhyveload hopefully. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebvJWAAoJEA2k8lmbXsY0hHwIALGuo43+kG1Si37FbmvRYEVQ VhC/P6vJq2s9Tw28uc63nckLuG2UMyPvhJUl9KLwlEX2Ig1ERA0wHLf24TV9tUFb GqquHjja9sLx5vA+CmOHF1t6bmBd6Sk1Ss9KyJ6bFan9hXLEE/RXp8Dx2QJt92Di iLoaOK3lWuMTS8hs6JUcAE7IaEEgp2689MXXi48K0Xc0pATCnN38ZVLQNBqjxp3u vk0us1DCXaeRJqhlrRZIJ5c+Zo6gJhUDme2o+0X/annx44n+/Ur55FaSwrNbPX/c cHmU8ed/yHXEe8a0c2tC/nuMKElWhzFq+A3qEHY9bzT80g/xuKWkXaR0iJVVXDw= =yt7Q -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-questions@freebsd.org Mon Mar 16 07:02:44 2020 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 7413D25C355 for ; Mon, 16 Mar 2020 07:02:44 +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 48gnLW30bkz4Pkv for ; Mon, 16 Mar 2020 07:02:43 +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=qTUg5E0uBzhPSomnnp6XHVkx3I61YSMyMdyKk8ELPbM=; b=DR4tfUjkKpDCGDtlTKCZj/Gs35 lpERsQqXW9ocITm4cNbWraaURjLBOl2jVY9jDZ2xC8Du+9FpqS0VM1zs+V0JBZ1e2Idh0/1XxS9IJ 4b6QFB4XNQevijgLv9qqwbYmVdJXMw8vQvmcaWGhPtRs8w5FTioE+SdHXdeemJQ7qwUo=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDjlj-000O0l-JB for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 14:02:35 +0700 Date: Mon, 16 Mar 2020 14:02:35 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316070235.GC90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214141600.GA82559@admin.sibptus.ru> <20200214204838.360c8f624397c659946bd764@sohara.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xesSdrSSBC0PokLI" Content-Disposition: inline In-Reply-To: <20200214204838.360c8f624397c659946bd764@sohara.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gnLW30bkz4Pkv X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=DR4tfUjk; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.88), 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, 16 Mar 2020 07:02:44 -0000 --xesSdrSSBC0PokLI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Steve O'Hara-Smith wrote: > On Fri, 14 Feb 2020 21:16:00 +0700 > Victor Sudakov wrote: >=20 > > For example, the absence of Docker (or analogous technology) for FreeBSD > > is a huge disadvantage. We need to name really superiour features to > > make up for this shortage. >=20 > pkg search docker shows a lot of packages including: >=20 > docker-18.09.5_1 Open-source application container engine > docker-compose-1.24.0_1 Define and run multi-container applications > with Docker >=20 > Looks like we have docker -=20 No, this is the wrong docker. It depends on VirtualBox and wants to run something in it, I guess some Linux. > but IMHO jails are better lightweight > containers with a *much* longer track record and there's bhyve for full > blown virtualisation. Both bhyve and jails are good as backend technologies but lack the features we value hypervisors and containers for: a community-supported collection of ready-made virtual appliances and guest images. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --xesSdrSSBC0PokLI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebySLAAoJEA2k8lmbXsY0vhkIAIYEi9M3LMzZ4mxKY8IeeM+Y 6qsStc1tG0ChATk5i7eRnpC+Gdgwr1+c7bPPFqEYkDa2hLGKUBrSBt9dGf0gUAPN USFcuzjk2ndxXeCXAPxWiBzE8hpTlndAlZq/wnXjWxEppr5W/wFASoJWWhxpFimP yyJzmiorwL4+z02DwMPj3yheQCBI2QPPcjNl5mJxEaGBQFcTwTYwruMbvQGxQNq7 fVOheIevSkwXc65Xb8jMPv1E0ftYwE6Kx9oR8Pux43XJRKZuf9V4+4znsxYtyViL cuyyMl0ma8cgN6NMdROwUM+iFJ0zGqxjdl1FRrdJx21ggHKAKPYtQEKnv7No//o= =2YjD -----END PGP SIGNATURE----- --xesSdrSSBC0PokLI-- From owner-freebsd-questions@freebsd.org Mon Mar 16 07:11:06 2020 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 4BD4E25C702 for ; Mon, 16 Mar 2020 07:11:06 +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 48gnX90ZTNz4bt1 for ; Mon, 16 Mar 2020 07:11: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=iPd+8B/OzASwxrXvurfArqjoKktKFg9IlHd9EQsy0ok=; b=SRHDBRQjJas56XWGoNl7Ak2llz sCtdfBAxpzADfQP5Nj5fdNp+boNZc6OW1Mc8XfDA/3S3TXc2O4kAm8UnEon7uWNZwnRqeXPqOODmq 86job8/dSB1yOKeNFLh66a5YnUQveopfQpS559QHZpxZLs+Zr/QXKQaduYbBLyliLT7s=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDjtu-000O3O-Pe for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 14:11:02 +0700 Date: Mon, 16 Mar 2020 14:11:02 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316071102.GD90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214141600.GA82559@admin.sibptus.ru> <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RhUH2Ysw6aD5utA4" Content-Disposition: inline In-Reply-To: <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gnX90ZTNz4bt1 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=SRHDBRQj; 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.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 07:11:06 -0000 --RhUH2Ysw6aD5utA4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Steve O'Hara-Smith wrote: > On Sat, 15 Feb 2020 13:38:18 +0700 > Victor Sudakov wrote: >=20 > > But jails lack a repository of ready-made containers with applications. >=20 > True - but there's never been anything to prevent setting one up, > iocage has export, import, rename and snapshot which should provide the > necessary core. >=20 > > To be honest, jails lack even a decent management infrastructure. Yes we >=20 > There are several iocage, ezjail, cbsd, bsdploy, jest to mention > just a few. I find iocage suits my needs well enough. Oh, I've met an iocage person. Steve, can iocage export thin provisioned images? If you publish an iocage image e.g. of a Moodle server, will it contain the whole underlying FreeBSD system within? >=20 > > have bits like "pkg -j", "bectl jail", "bsdinstall jail", > > "freebsd-update -b" but nobody cared to build a convenient > > infrastructure out of all this, not to speak about a repository of > > ready-made jails for different purposes. >=20 > Quite so, FreeBSD has all the bits to do it and has had for some > time, but nobody wanted a repository of pre-built jails enough to make on= e. > Nothing stops you from starting one based around one of the tools above or > from scratch based on the native support. It gets done internally by > organisations using FreeBSD to provide images that have been tested and > vetted by internal dev-ops and security folks - such organisations also > tend to build their own docker repository rather than trusting ones from > the net. The last time I checked, "image provision" was broken in sysutils/vm-bhyve and nobody cares: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241699 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --RhUH2Ysw6aD5utA4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebyaGAAoJEA2k8lmbXsY034AIAJeiJf7iJW6ZvwjKb3AKZing QBCwME35YdJusJYwg2ZgJmO8uIk6uekIxHYyCPxk5R5PEvpqKh0I/ZVCOzE+IbLZ 8Nlb69NRYFypkSFW5arlmLPuEFe2vZJs/663eTsHX6s0TkDXI0OBcopRlAQg31ek 04ZbM1h0+HNqh5V7zESkte4AIT8z6F1ie+SZMVP/1CQeRwGZWwPL7vYy2c3r6wvK M7qqFd/FJNN/PTJIXhxAN6T4OVos5dacKXde9p4B+zMb5TEyAkBqffWX/wz4mRx3 4Cw2ZneBFG4HqE2AEe5bpztVrOZSsc0JBPUYU4VFfKhOzzFJRialbM31KH5cDqc= =CXYE -----END PGP SIGNATURE----- --RhUH2Ysw6aD5utA4-- From owner-freebsd-questions@freebsd.org Mon Mar 16 07:22:24 2020 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 C1AA525CA98 for ; Mon, 16 Mar 2020 07:22: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 48gnnB73Dxz47Zg for ; Mon, 16 Mar 2020 07:22: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=In-Reply-To:Message-ID:Subject:To:From:Date; bh=r8dR5ua5ljqRrHtMjahkcEUNZOuBtKg9pbPPdki7z1g=; b=gZdvvXMbYR2jTqsOL6010HJNB3 JCm3NIpSyknUVrUWfWW8N9/6uB28lh8DNST7mDlJH3ktuXHEFZH/GKHNZFbB7dz4/bPHI+lO0M8WI 9+RcTg+mAVjMlGcXkrVDb8xs4aTFc+gI5dHgfLWeYiYcdZ6cPeMyayE4zsMrJYDykfjk=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDk4r-000O6Z-F3 for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 14:22:21 +0700 Date: Mon, 16 Mar 2020 14:22:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316072221.GE90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214141600.GA82559@admin.sibptus.ru> <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <58202623-bbf7-eda0-5cb5-fb4749e91e20@watters.ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AsxXAMtlQ5JHofzM" Content-Disposition: inline In-Reply-To: <58202623-bbf7-eda0-5cb5-fb4749e91e20@watters.ws> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gnnB73Dxz47Zg X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=gZdvvXMb; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 07:22:24 -0000 --AsxXAMtlQ5JHofzM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael Watters wrote: > On 2/15/2020 3:33 AM, Steve O'Hara-Smith wrote: > > Quite so, FreeBSD has all the bits to do it and has had for some > > time, but nobody wanted a repository of pre-built jails enough to make = one. >=20 > Personally I find the idea of downloading and running random container > images from a 3rd party site to be kind of crazy.=A0 You have no idea what > is inside those images until you run them. Not much crazier than installing things from the ports collection because you really don't know what hides in those sources. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --AsxXAMtlQ5JHofzM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebyktAAoJEA2k8lmbXsY090wIAJBGQiMD15WadIj+vLWPi4Db ut5Ivm0NF1NURlgBZXB6GsaBaae5iQRgzqq1RmWZQE0QdnT0AYX2wT6WSx9CsP0P Rfa8uu0g+KSE1RCTvJ3HhFodlUTihvA3B/LgGlL5GL3VNriSkNeWVzL9QyuHox9a qCzUnIC9bDCFAzfR1jnnJEhXH9i9hJqTGTwCXjmVrayEXtyO2HG8XMyfcsgDmzVn HMJMl/Xio9S8G3dmyor1tN7a5S1mQR5IbOtdRig8rUt2EA1UlgLP8FYN94R3rBx8 wVrz8Mw7q++9BNw2WHtjaflfaG5ZDw2LmGJKeU/7RATXl4p7RfbY73oXugieyPM= =EWAw -----END PGP SIGNATURE----- --AsxXAMtlQ5JHofzM-- From owner-freebsd-questions@freebsd.org Mon Mar 16 07:30:31 2020 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 3E1ED25CC28 for ; Mon, 16 Mar 2020 07:30:31 +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 48gnyZ07mCz4V2h for ; Mon, 16 Mar 2020 07:30:29 +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=WFd8f1In7gCichhtb4jO4kLmIhmByxVtY9Av+uKPgjY=; b=URe/uNAKbcNQo8ngivyQiUXhbd TzBKW8IJ2owSgVuJZx2AjtBBo3XJh0iGfZiAGxcQkftlCGVk+hnxAQmUNMiLH8YCNK6z+sYJji8fj xFs6SPOvX/MhX4Mz18dIn3lwCxONPK+CIRAgCollhNSUonExv7dpE5YI6HYNaSTj3QDg=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDkCi-000O8r-Dq for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 14:30:28 +0700 Date: Mon, 16 Mar 2020 14:30:28 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316073028.GF90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214203134.17f6d4bd@moonstudio> <20200214204135.97b7d3b0.freebsd@edvax.de> <202002142108.43613.dr.klepp@gmx.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DEueqSqTbz/jWVG1" Content-Disposition: inline In-Reply-To: <202002142108.43613.dr.klepp@gmx.at> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gnyZ07mCz4V2h X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=URe/uNAK; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 07:30:31 -0000 --DEueqSqTbz/jWVG1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dr. Nikolaus Klepp wrote: >=20 > There is a systemd-timesyncd that breaks the linear flow of time. It brea= ks LinuxCNC, too, which a quite "funny". I think it was replaced with chronyd which never steps the clock except onl= y once at boottime. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --DEueqSqTbz/jWVG1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebysUAAoJEA2k8lmbXsY0H40H/3DlRu6RG1aYhVR2Yi2KHS1W 3FjFQQ+xpTVayXa2mXBKE3gmmdCh3bruM5d7JBTjG+YvZSImO/ji7Ylz9dcm/yNS GgjN6at5KFj4d4kE6hD6yuG7sc6JGrnZK+dMQ3T4ZbdNxGo6q0mzcUy36mD2xUW9 6XkKU5Msf4zBb9IaFGbFp5XTwTkKUNMZSotwOetsFDXDUWrY2NmCAIbKoWGUaIfG lL2N9RxLWi93St4o9UWfoDgsbom381st5txxVYupSLn/eBorYnfDZRRYhLzVORAW tS6818ZD+H31rpXrjOalEhjGXLdLSb8xX7ZwF/+pOB54S95UrXgj0ObgwUdVXcM= =Ai2r -----END PGP SIGNATURE----- --DEueqSqTbz/jWVG1-- From owner-freebsd-questions@freebsd.org Mon Mar 16 07:32:44 2020 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 3C27325CF84 for ; Mon, 16 Mar 2020 07:32:44 +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 48gp1657JSz4b7n for ; Mon, 16 Mar 2020 07:32:42 +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=ATpvuIMNfotx9Ho/5XBEjHj9EsrwmYbf4jrsKwI6Fzk=; b=aH256Bq3J77yPbb5/PXV3r+si+ TNg80YZcFOWImu4biYO4XvVLry4Gey5+cjJUBLuOnRTpxOE3BC3z49rRH12xRYqqpT1SUDmfSrDgS 8CcJoPHTj169T3feXQFO9RFf5I3toNybIzZjMSUyVjfVD+s/IrSz3Vo2npLXP2WGyXXA=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDkEr-000O9e-7x for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 14:32:41 +0700 Date: Mon, 16 Mar 2020 14:32:41 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316073241.GG90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214204135.97b7d3b0.freebsd@edvax.de> <20200215065641.GG1482@admin.sibptus.ru> <202002151033.23196.dr.klepp@gmx.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DNUSDXU7R7AVVM8C" Content-Disposition: inline In-Reply-To: <202002151033.23196.dr.klepp@gmx.at> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gp1657JSz4b7n X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=aH256Bq3; 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.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 07:32:44 -0000 --DNUSDXU7R7AVVM8C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dr. Nikolaus Klepp wrote: > > Polytropon wrote: > > >=20 > > > Additionally, there's systemd-homed to re-invent home directories. > > > I'm not sure if there will be systemd-linuxd and systemd-kerneld > > > to re-invent everything else. ;-) > >=20 > > "Among the items being explored by systemd-homed are JSON-based user > > records," > >=20 > > What's next, systemd-registryd? >=20 > IMO that has already been implemented in GNOME3. The GNOME registry is not binary, at least. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --DNUSDXU7R7AVVM8C Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJebyuZAAoJEA2k8lmbXsY0990H/RMwepd84C2xWq7hkjUhZMWM qXxaa+/t43eW0zraSYr1RlIWXQr2R9JhzT4JDxKVO2ZJ8lml+KlrI25HJrSQMv/C 2tps7BUZrDlna+GwGmrNkacMQFdiKXTg2oBAFRXxMYOZTnOZF+/mlbb7/V+LeS9H E1CBfvN1gpoGz2zYjimjBgv2k5X31zR2RSQe9YmRXwPX4IDNQ7EKp2pZ77b26ykp dOhao/bREwoQOR9keLmrPB/CvShXiCIWQihklUzi8IkIsSitQP21RwWDzZbaUpvW VFcsQKOOfSm/wSwe51iSt1VmtuyW3PHZC5a0w454rXPFPm+DgZy9Hl8Dyx7f1yE= =OFpv -----END PGP SIGNATURE----- --DNUSDXU7R7AVVM8C-- From owner-freebsd-questions@freebsd.org Mon Mar 16 08:05:51 2020 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 BB2AC25E1E4 for ; Mon, 16 Mar 2020 08:05:51 +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 48gplL3RbZz3GkH for ; Mon, 16 Mar 2020 08:05:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.11.49]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MyK9U-1jWecB3XEC-00ylWo; Mon, 16 Mar 2020 09:05:40 +0100 Date: Mon, 16 Mar 2020 09:05:38 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: SD card formatting Message-Id: <20200316090538.27b1ecb1.freebsd@edvax.de> In-Reply-To: <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> References: <20200316000029.a6ba47c9.freebsd@edvax.de> <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.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:HidlQnqprqogSZO3Laz2kgmMpV82/uH2+HTZl7X0jd2oRoO+nz7 jTHUdkZ9thxuDwffTWo6Q3h/BzqBnEytMOA9+ABhFQ9Kcepc59B1JrYllrUjhpoKQHjHN3G bQdjTHD4HJ01rNEZbVQ09EQe+unZ+fJLl+k5MRIGel6L3RfL4k+Rs5UUWD/swrrCotUbdZ1 rI7n+9Lb1Kg1iLPvug/ng== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:vBHzHxjNEJA=:lyVmpZ7ahcUkKB+EfN7BB7 lFSKxHxIWIEIKXlxfUqmUDiPgcvk0n2oMF7uCIhvnEi3HKx+YNch1ypeDzUPJxB4xGt25EMek /Mwk5Rs3pBckneXjHtbckq25GW5RWhiSabTDwalpfA6TBDCn2zA9zRhPAOS2Y+SyhQh9/ASIX BSqryqiWXjEGdOEG57M7Cf8zsjx/1CHutPoH/+M9WZH+0OpuJ+upvbbEjOCpampDPu1cNZC9y 6bvlUvqfHeb6axVDb90LI1pWLxq8qWdI+nbUEJhhnz2a02bdP9xcDDd2A/bQbw6UepnDMIJaX Y2gzTRuW/khqlO0uQ1N0Y1bHBGYFAl/QrTO0kDUXOL3y/wQ+yXQRRdhyxxqZsygHYMi5rHPMF eCIMSEcgz2BWSUPq5aFNqIv9TKrtEx4eJSbExzXZ6T0rciAgqtHzGg8sgeTVTvvpTv74Mdez5 wwPkJoQHvOi1/voW0ILDoaHhNEziVsvsSkluF9PP8Zq2wf5wCyKA0hDzsbFyBaoSbKUdjtLfz rj6mNGkSS1E6/I8zVVhctXvmoAJdTZk5hK8a9reoWGeEPe4hGUZhfhuLSHx55CCadY3G1vQMW ZAKiGf2q1q9Vvm7yYdKO0u2DJ1mKW5kUmFVZMxR5ZJKJA3yZTZMHXc2rqNw7I9U7naL6M8ciz xkyR10Hbw6NhtyhxG4HE8b2wfc7FSQRa8YtW8It1i+asE7r+w75Kh8A9PPl1dk/zlZrHz+i8s 9cTkm9Hnkh/P4Rhtyl8sjNWrK3/jDRWNUhgImpdfyFtfL3OuqlnTMx6KG2L+pxyDvuF9nQ7Gu fifNRtJl9jAvYpzOldkrTC4UoSsLHUqYj0nTqUMkJWfecK3PQMEfXcMa8teo80BjksFj8A1 X-Rspamd-Queue-Id: 48gplL3RbZz3GkH X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.135) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.70 / 15.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)[]; RCPT_COUNT_TWO(0.00)[2]; RECEIVED_SPAMHAUS_PBL(0.00)[49.11.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.978,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[135.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[135.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.32)[ip: (0.57), ipnet: 212.227.0.0/16(-1.13), asn: 8560(2.18), country: DE(-0.02)] 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, 16 Mar 2020 08:05:51 -0000 On Sun, 15 Mar 2020 19:06:22 -0600, Gary Aitken wrote: > On 3/15/20 5:00 PM, Polytropon wrote: > > On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: > >> 11.3-RELEASE-p6 GENERIC amd64 > >> > >> I'm having trouble reading SD cards formatted in my camera (Olympus > >> EM1-MkII) or on a Win 7 system. > > > > What filesystem is in use? For cards, it's typically FAT. > > > > > > > >> When attempting to mount, I get the following: > >> > >> $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: > >> /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 > >> /mnt/memstick mount: /dev/da0s1: Operation not supported by device > >> > >> Cards used without formatting *usually* seem to work. > > > > So those are preformatted (sometimes sold this way, sometimes > > initialized when first used in a camera). > > > > > > > >> If I look at the cards which don't mount using gpart, I see: > >> > >> Card formatted in camera: > >> $ gpart show -p /dev/da0 > >> => 63 120944577 da0 MBR (58G) > >> 63 32705 - free - (16M) > >> 32768 120911872 da0s1 ntfs [active] (58G) > > ^^^^ > > > > It seems that the card has been accidentally formatted with NTFS. In > > most cases, cameras cannot use that. If you want to mount it on > > FreeBSD, use ntfs-3g. > > As stated above, this is a card formatted _in the camera_. So the > camera can read it fine. The problem is fbsd can't mount it. >From the program output presented, it seems that you're trying to mount a NTFS partition using the FAT mount option, which will not work. Try ntfs-3g (needs to be installed; mount_ntfs is no longer part of the OS). > > Personally, I tend to leave the formatting to the camera which I want > > to use the card in; the camera "knows best" what it can uderstand. > > :-) > > In this case, the camera is not the problem; cards formatted in the camera > are usable by the camera. But they aren't mountable on fbsd. So I can't > transfer the files to fbsd, either from the camera or by inserting the > card in an fbsd usb adapter. Depending on the camera, a USB connection can show up as a mass storage device (leads to /dev/da) or a MTP interface (leads to /dev/ugen). In many cases, the "personality" can be seleted by the menu in the camera. > Since cards formatted by the camera are not mountable on fbsd, I was > hoping to find a way to format the card on fbsd that would be > readable both by the camera and by fbsd. The camera seems to prefer NTFS, so when you (correctly) format a card as FAT, the camera refuses to read it. However, that's the first occassion I hear about a camera that seems to use NTFS natively... not that this is impossible, it's just something I never heared about it. :-) > > There is a simple reason: Several variants of FAT exist, and some > > cameras often only support one out of that bag. If you guess (and > > use) the wrong one, the camera will report an error. So, as I > > suggested, let the camera do the right thing. > > > >> If I again format the card in the camera, I can't mount it. > > > > Have you checked _how_ the camera formats it? Check with gpart (or > > fdisk, it still works!). There's also the following totally unelegant > > way: > > > > # file -r - < /dev/da0 > > > > and / or > > > > # file -r - < /dev/da0s1 > > > > You should see a FAT summary. > > For a card formatted in the camera, which the camera can read but fbsd > cannot mount: > > # file -r - < /dev/da0 > /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0x7, active, > start-CHS (0x2,10,9), end-CHS (0x3ff,254,63), startsector 32768, > 120911872 sectors > # file -r - < /dev/da0s1 > /dev/stdin: DOS/MBR boot sector > # mount_msdosfs /dev/da0s1 /mnt/memstick > mount_msdosfs: /dev/da0s1: Invalid argument According to the gpart output, it's not FAT (msdosfs), but NTFS. > For a card never reformatted (i.e. formatted by the manufacturer, and > used in the camera); this card is usable by the camera and mountable > by fbsd: > > # file -r - < /dev/da0 > /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0xc, active, > start-CHS (0x0,130,3), end-CHS (0x3ff,254,63), startsector 8192, > 31496192 sectors > # file -r - < /dev/da0s1 > /dev/stdin: , code offset 0x0+3, OEM-ID " ", sectors/cluster 64, > reserved sectors 504, Media descriptor 0xf8, sectors/track 63, > heads 255, hidden sectors 8192, sectors 31496192 (volumes > 32 MB), > FAT (32 bit), sectors/FAT 3844, serial number 0x0, unlabeled > # mount_msdosfs /dev/da0s1 /mnt/memstick > # ls /mnt/memstick > DCIM System Volume Information This doesn't actually look like a "mint condition" card. A directory named "DCIM" is typically created by a camera. However, _this_ card is FAT-formatted, and therefore can be mounted with msdosfs as correctly shown above. The directory name "System Volume Information" suggests it has been in a "Windows" PC before. COnclusion: Card works both in camera an in "Windows" PC. So the camera seems (!) to initialize cards as NTFS (strange, but surely possible), but also understands FAT. All you need to do now is to replicate _that_ formatting. The output shows "FAT (32 bit)", and the partitioning also looks reasonable. You should be able to create this either with gpart + newfs_msdosfs (should be quite standard today), or the traditional way with fdisk + newfs_msdosfs (archaic, but should also still work). Sidenote: I use my camera to initialize cards, and it creates a MS-DOS (FAT) filesystem on a "s1" partition. With mount_msdosfs, I can then access it. No NTFS. > >> I need to reformat these cards so I can use them in the camera and > >> on freebsd, and apparently neither the camera nor win7 does that, > >> so... What's the right way to lay out, format, and create a file > >> system on an SD card so it is usable by cameras and windoze? > > > > Typically using the _camera_ to do this job is the right thing. It's > > often nice to have the card in "mint condition" (i. e., nothing on > > it, no partitions, no filesystems). Using dd to overwrite the first > > MB should be enough. On a "Windows" PC, the card should then > > correctly be recognized as FAT. And on FreeBSD, you can easily mount > > it with the -t msdos type. Just make sure that you use /dev/da0 or > > /dev/da0s1 (some cameras are tricky and initialize the card as > > /dev/da0 instead of /dev/da0s1, I never understood why). > > The problem is, on fbsd I _can't_ mount it. > > # dd if=/dev/zero of=/dev/da0 bs=1K count=1K > 1024+0 records in > 1024+0 records out > 1048576 bytes transferred in 0.507045 secs (2068012 bytes/sec) > > put card in camera and format it > > # gpart show -r /dev/da0 > => 63 120944577 da0 MBR (58G) > 63 32705 - free - (16M) > 32768 120911872 1 7 [active] (58G) > # mount -t msdosfs /dev/da0s1 /mnt/memstick > mount_msdosfs: /dev/da0s1: Invalid argument > > The card is readable by windows, however. It would be nice to see if _this_ card now is FAT or NTFS. If it's NTFS, "Windows" will of course be able to use it. On FreeBSD; you need to use nrfs_3g to mount it, though. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Mar 16 08:56:34 2020 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 0D98025F33A for ; Mon, 16 Mar 2020 08:56:34 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) Received: from sonic313-22.consmr.mail.ir2.yahoo.com (sonic313-22.consmr.mail.ir2.yahoo.com [77.238.179.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gqsq6V9cz44yy for ; Mon, 16 Mar 2020 08:56:31 +0000 (UTC) (envelope-from ralf.mardorf@rocketmail.com) X-YMail-OSG: g_pqIScVM1kEWrUkPRchJzrlsWF_VtfwB2o9HqE83LTX_OeUMI5Q.O7GlG.grER V8ibwtiyDMmWipHduEJ4hR9ieRzLU2O4ASxzPr.FbEL6SBhjgnAe68qCBUJHBQq3D3sVCgq8_mjQ XJlGrIfoRSFih38fuEn0BjMMGmVIfC1B3u_pLiIaPfofRuACyqGcJYNEyte4iaLslwhWM.mjYCeK SfpZsqFnd8.uykQO673YSfWU6bHr_t8FMdE0iawXUxFQsnNtpYh4yCRdXYhDzZ.P6p6Rgmyc48m1 7SELRkEjeobiT8z9QUdIg64IOkIgUCVMOZMeKZrjpq5FVhCOf2vLpQLSRBGNWChu.RQf.aKvVHZB MvCe98u2lIX_MJktQlBe3DGPbTliQgcXKcXRBQKRKpgY4XGBRabqm17DV0OFLFhrf9C1.HjqRBFU vOgEkxyRVtSGlL498w6JG0MbbWWLPp5YfpOL6lmauY3na5acMvzcyfII8vwkJfGdcmoBxM79wJAj Nh16h2hyucEgNFhR4pEohOfClBPNkwrMQqFAvAb5CgbfJHl2s8QOS8OEV_CUKGWCdF3VnHrTecqR mbIrZcculeg5rsjWYKyfocgkebjvOPGbP1hGbApvYk2detZzJt2BXa.OnsxOLzwoYpdyg0DggzAY lVBSU6ddEuLMXTIkeyAIndW953jSB_YDtcoileVlsQKU4J7xA._9m7EBiNdg4kLvwOFm0xWNpL3K 5KAmpBfyViNoo7gRyX3XgJfHx2Ag4N1lWXDUL1MPER9eGPjvtlxdFSP5Sb6l5Al.SC3PxLZIGMER CIbAa.D2ceyX9Q9aCsHl_oi5Lw8DtjIiHXowIkK46hPhwqrmfIZM94JqioU6nUOgGcO6Bk3t2HC8 iXp3B8KJOQ1G9K7FdXS.OprnTUh6PGsYu0Fo0PEfV05BobyuhI9A8AEmjOUgvnq6JS_Y5OwqfMAh _y8.eS1qo8rGUKHMcdEVGtws8QgH9qAiEeXiBKx9n_16ke9jqSVPT9xu02UPTbc6IOZB4RZpZO1y SinliXVemf5OOrydljHD0w1s22p8gz.6f71UWyPFD04De3Xk8zmYCtASvcYSu1pZIR56NPUn041K u9W04P_PSKnBZHAo1K5p8Xm5PSByYO9JpdC03V1fq6tB.WPq7NMLRAJJ8qKmy7i52d6lZOW4j_SW smXIVd7SolKOnkyMN8pIcVte5DTyvmBsD7CheJbkSOXweLBPasX3ygnkVvb0z_ykVeQ6Ds9NngKk _J5Th56dfxRlVdo5_50O6t8gdtWiRbd0cTr9HO7dSqhFIaEwLPKossT2K60A9z1T1y1H4xvm6WSH dp3Qx05aBMivOy8.JMfef5Qg3ZPJYb_svekaEUfZt7rlMDEIBM5iDCAuPar45eIR9mvImlnAZIIi CeoMsTQ-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Mon, 16 Mar 2020 08:56:29 +0000 Received: by smtp427.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID cd01411163f6daa04ccb4dc4a831c48d; Mon, 16 Mar 2020 08:56:27 +0000 (UTC) Date: Mon, 16 Mar 2020 09:56:26 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316095626.427ecc98@archlinux> In-Reply-To: <20200316073241.GG90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214204135.97b7d3b0.freebsd@edvax.de> <20200215065641.GG1482@admin.sibptus.ru> <202002151033.23196.dr.klepp@gmx.at> <20200316073241.GG90309@admin.sibptus.ru> X-Mailer: Claws Mail (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gqsq6V9cz44yy X-Spamd-Bar: + X-Spamd-Result: default: False [1.33 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[rocketmail.com:s=s2048]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[rocketmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.84)[0.838,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[rocketmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[rocketmail.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[189.179.238.77.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.98)[0.977,0]; IP_SCORE(0.00)[ip: (4.28), ipnet: 77.238.176.0/22(2.18), asn: 34010(1.72), country: GB(-0.07)]; RWL_MAILSPIKE_POSSIBLE(0.00)[189.179.238.77.rep.mailspike.net : 127.0.0.17]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:34010, ipnet:77.238.176.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[rocketmail.com]; 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, 16 Mar 2020 08:56:34 -0000 On Mon, 16 Mar 2020 14:32:41 +0700, Victor Sudakov wrote: >The GNOME registry is not binary, at least. But it's quite useless to use it from command line without a tool as e.g. gsettings. [rocketmouse@archlinux ~]$ strings .config/dconf/user GVariant a_>g u=l3 Bh39 %#LJ Psk\ yN0' E53I dVjL ,E~6Q r6\l "$-g 21;- NBxLT %]UI (<$f =oH4 z!0: G2': 6h]_ NJHT B!^C htAU OSAv i![7 pkD3 7zZS g}0e '?N2 7T\F yIS" R}vI col-5-width idesrt/ show-location-entry bzoom dunhide-delay iprompt-on-empty-subject bobject-type menu-bar sfilter-window/ vc-status-filters flatten modified [snip] An example how tu use gsettings: http://gnome-evolution-general.1774414.n4.nabble.com/Show-Hide-Evolution-Menu-Bar-td4666046.html From owner-freebsd-questions@freebsd.org Mon Mar 16 09:25:41 2020 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 A9007260397 for ; Mon, 16 Mar 2020 09:25:41 +0000 (UTC) (envelope-from 4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48grWS2hPFz42Gr for ; Mon, 16 Mar 2020 09:25:40 +0000 (UTC) (envelope-from 4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584350740; x=1586942740; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=ISbTdrsgK4PLDISdpEqF1J9D7kvcFRCSHXgNFpveVbA=; b=Cs/qC3wHDim0scJQPFohbSJotXW2Wda/y0SnnLUG7OY8JGrnp/vwwX+c29U/oE+LzDIr0b+/VKDzAIbrVmxMBnNDTU1cVfjtcZjkCD6JV8Hje85dothcDt/eDl3+3u3rjANFzD+NcfBjxPFwhxzzPbdtrL5AV9AWTIg07qzgwv8= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDAwZmQ5MjkuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.us-east-1.aws.in.socketlabs.com (r3.us-east-1.aws.in.socketlabs.com [142.0.191.3]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 16 Mar 2020 05:25:29 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 16 Mar 2020 05:25:28 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jDlzz-0000pj-GX for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 09:25:27 +0000 Date: Mon, 16 Mar 2020 09:25:27 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-Id: <20200316092527.882e58821f92097835310ef1@sohara.org> In-Reply-To: <20200316071102.GD90309@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214141600.GA82559@admin.sibptus.ru> <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <20200316071102.GD90309@admin.sibptus.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48grWS2hPFz42Gr X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=Cs/qC3wH; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com X-Spamd-Result: default: False [1.01 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; NEURAL_SPAM_MEDIUM(0.54)[0.540,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_SPAM_LONG(0.07)[0.073,0]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c000000fd929.5e3a923dc1d321d90ce1e3caecde1366@email-od.com]; 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, 16 Mar 2020 09:25:41 -0000 On Mon, 16 Mar 2020 14:11:02 +0700 Victor Sudakov wrote: > Steve O'Hara-Smith wrote: > > On Sat, 15 Feb 2020 13:38:18 +0700 > > There are several iocage, ezjail, cbsd, bsdploy, jest to mention > > just a few. I find iocage suits my needs well enough. > > Oh, I've met an iocage person. Well sort of, I use iocage to manage a bunch of jails on my NAS box but each one is a custom built server suiting my needs. I've never found a use for community built images, they never seem to suit my needs. > Steve, can iocage export thin provisioned images? If you publish an > iocage image e.g. of a Moodle server, will it contain the whole > underlying FreeBSD system within? iocage export produces an image with everything. There are iocage plugins which are probably what you're looking for (but I've never used them). https://iocage.readthedocs.io/en/latest/plugins.html -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Mar 16 09:55:33 2020 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 98CE5260DBB for ; Mon, 16 Mar 2020 09:55:33 +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 48gs9v3bPXz47PS for ; Mon, 16 Mar 2020 09:55:31 +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=9ZV49XSsuefpYPXbO3X8Ar/d4QM2Xf06FKySjYwN5TY=; b=OYfQuIY2Adbuxcg+Jk5p4v1EJ6 J9iSabUgo6sjAd03v5mD32Poiy30Ou1xkTqapX8RRokdIv7d3hq8bvmrQVzB3yDAe3zaoVmzg6Wso EfQYiixe9l5IIh/niPvw9mA3sV1lT3aZFl1BO/ENfyJGSsZUm1r4MjCK+UiDmaOOTvEE=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDmT3-000Ol0-5j for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 16:55:29 +0700 Date: Mon, 16 Mar 2020 16:55:29 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316095529.GA95052@admin.sibptus.ru> References: <20200214121620.GA80657@admin.sibptus.ru> <20200214204135.97b7d3b0.freebsd@edvax.de> <20200215065641.GG1482@admin.sibptus.ru> <202002151033.23196.dr.klepp@gmx.at> <20200316073241.GG90309@admin.sibptus.ru> <20200316095626.427ecc98@archlinux> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <20200316095626.427ecc98@archlinux> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gs9v3bPXz47PS X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=OYfQuIY2; 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.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 09:55:33 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ralf Mardorf via freebsd-questions wrote: > On Mon, 16 Mar 2020 14:32:41 +0700, Victor Sudakov wrote: > >The GNOME registry is not binary, at least. >=20 > But it's quite useless to use it from command line without a tool as > e.g. gsettings. >=20 > [rocketmouse@archlinux ~]$ strings .config/dconf/user=20 > GVariant > a_>g Oops! It has become binary then, eventually completing its ultimate way to hell. Last I remember there was a whole directory tree with leaf text files under dconf (or was that gconf?). --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeb00RAAoJEA2k8lmbXsY08QMH/iMubFAYNBJZs+YPmkrMsqPj eV/sfQrsPk5/z1dJEl8h3Y0KpHfihDqg7JTIfdKjKH17PGaZjj7awN2T5Xvk2enI z4GZ4u2qoctbSZCDv+59+AFpmUPhWhmPnJm3GommkwuEFX0l7aUc0N3h1ZXlTmQh WqeYGMnCV7OyLwX32xZLFnwU/aR2afYCzRfXmr6QwDP1RRtB1+IRbJQ4f7L0TdyW VameIPYNXuy3yS8qNg0MrYUUWjETfSxXVzHaNo14nKUG2aiAICnzguLbRRdbQxxu bKsBcx+7O2pBjy5CllikOxpQiztrkW3N35WwG+VpRS2vtsLLQILLpxu7gBAvbc8= =JBXQ -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-questions@freebsd.org Mon Mar 16 10:09:42 2020 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 EC1AA2612BE for ; Mon, 16 Mar 2020 10:09:42 +0000 (UTC) (envelope-from clopmz@outlook.com) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03olkn082d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::82d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gsVD5zX8z4TWM for ; Mon, 16 Mar 2020 10:09:40 +0000 (UTC) (envelope-from clopmz@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NoSdhFIwfH/Qmv5NytP+qW3/zgKK0c07JH3it3P4Gq4EbILrLD3XR82tE9B1fl7yO9wFgxb7eAt6W6YrzoBCp2JR5rIE89jiv6VSXPAWN0yDGb8F9L5LVZJwHcz6vk+omveDAf44zqHc0ctBoqYabZpdgwQwE17TxznBKrtZHgS9usynvKLFQooI9WSY05RRxoejUbkiJaKfmKVm3rYhfPzJOwlZF/zbOJrct0cT1zjxJ9MFAFzHyIPMsSTBXs0TDkKAW2lfdJBiRziD0sihHsr/yyyDv6bccnll0wfUYkjdCrgCT/vVmms2lthWEs56UknDWm5qO2/r0QOUdq877g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u5JDGpAcXba7M/pXg0NRtb4SMaLoM7jK4iwRvrMTWQ8=; b=XDiRXwMqGubutnaasOReZWXrY4nUR0mTn+DMsUevpoMF6HkXTqqm5a02LF/rYDQ3q0fxYinUzkeGO3VueDN65Y27HqMWZLFZgNPJKV5iCVnnHxn9RoZumPMCxtMleR2fN9qhKoGo4pEy2Z+QK9fe4tLpRf9a88BorafVHKhTkZvcIMN/NJ/4fl5w3Ba9d3SEOsMdk/xvSy3ISsUmedWpwbshsmQwpyJ/La8oXo8hTiXt1V8krpDvjt1T1SaRFEth1tFmU5ZvxztIgXs7gMPc3TgJR/YXQB8dB1Aumz60SquBRe5r6DLz5TPbYY+oeisRqxbwRdvsaaqrYIvJG1Pz5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u5JDGpAcXba7M/pXg0NRtb4SMaLoM7jK4iwRvrMTWQ8=; b=Z786IvHYW+PPnXdaBm/CLBiTojzf8UUQXLFAgNt8COFzaOhQpg5mnBhLgcznNFp/hZUtUNOvB6xdrSRyULiwMHKaNQ74MeCj72z9zaG70WHLYomYgaL5l9I/4pxM3ku7xdyI8hOWVwC/27lEnWXxaLMnzTuvX+3rgG5UxnwQRPI/6eOiRNRxPySVzpXNuQ6kCJoJo84yIMROH/y9WmPrEh3T1L+dYiK8paadUzo4P+twmMNcO7ndTlKFBLLHagrAxix6K3SXFOcLaesriekRFq+QsdpW2TvuZGoyYCs2OTBDLu6y4o9ZkAdk7A83S7dtrhFJoBlh+1GPfnZz41gBmA== Received: from VE1EUR03FT003.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::34) by VE1EUR03HT178.eop-EUR03.prod.protection.outlook.com (2a01:111:e400:7e09::396) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13; Mon, 16 Mar 2020 10:09:36 +0000 Received: from DB8PR10MB3595.EURPRD10.PROD.OUTLOOK.COM (10.152.18.57) by VE1EUR03FT003.mail.protection.outlook.com (10.152.18.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.13 via Frontend Transport; Mon, 16 Mar 2020 10:09:36 +0000 Received: from DB8PR10MB3595.EURPRD10.PROD.OUTLOOK.COM ([fe80::30fd:48b8:aa3:f39e]) by DB8PR10MB3595.EURPRD10.PROD.OUTLOOK.COM ([fe80::30fd:48b8:aa3:f39e%6]) with mapi id 15.20.2814.021; Mon, 16 Mar 2020 10:09:36 +0000 From: Carlos Lopez To: "freebsd-questions@freebsd.org" Subject: A pfctl error: inline anchor '_2' already exists Thread-Topic: A pfctl error: inline anchor '_2' already exists Thread-Index: AQHV+3r+wICHzBagNUu9F908ikJ7nA== Date: Mon, 16 Mar 2020 10:09:36 +0000 Message-ID: <580C3FEC-CDDA-4C91-937F-43F58C86CA8B@outlook.com> Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:1016FEE33F4F152E0231135C96BFB33578B60579B40A617054B46B1227C165FD; UpperCasedChecksum:5791CFD4EF394C5850CABC6DE92CBF50DF856AA47309129893F96A2774CDC3F7; SizeAsReceived:6685; Count:43 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [dVPTp4R0wUynreDCc6jv0msGc31zKFQx] x-ms-publictraffictype: Email x-incomingheadercount: 43 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 57a8ad7a-6192-4ddd-3e3c-08d7c992218a x-ms-traffictypediagnostic: VE1EUR03HT178: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /+b6nDXbl5obeblJKgXek/r4jS06ASR+DZ4jkzoo/P2sA2Z2fn3kxemAjktCX0CYQ/r0y3qwz+5Y8cVIIwmiSLBMtC9t7FrzEuKlIPwECCLnLnaEUj+nWYiFd0eSDelfZDAD/VqeI7eB57UZXZUjuQSxEb3DXRPcWuX2ZyP2lHD69w/+ikKXuGHLo1rEQ85L x-ms-exchange-antispam-messagedata: D+UmAYr7pZs572ZpvFN0bJG+n12kmWWTyqivaqypP2K2Lx2aVlSDWjK2dP8eCIsI8kd0lgFm2US9iBsVSIzomErzGF7tun4YLzi41fsWvML9OeufFe1wRhbaLzvmaNiF1WVPHdPDq/CU53xlJ20y/w== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 57a8ad7a-6192-4ddd-3e3c-08d7c992218a X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Mar 2020 10:09:36.0175 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR03HT178 X-Rspamd-Queue-Id: 48gsVD5zX8z4TWM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=Z786IvHY; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of clopmz@outlook.com designates 2a01:111:f400:fe09::82d as permitted sender) smtp.mailfrom=clopmz@outlook.com X-Spamd-Result: default: False [-3.79 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.892,0]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; FREEMAIL_FROM(0.00)[outlook.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)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.00)[ipnet: 2a01:111:f000::/36(-4.00), asn: 8075(-3.10), country: US(-0.05)]; DKIM_TRACE(0.00)[outlook.com:+]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.9.0.e.f.0.0.4.f.1.1.1.0.1.0.a.2.list.dnswl.org : 127.0.3.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[outlook.com]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; ARC_ALLOW(-1.00)[i=1]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[outlook.com.dwl.dnswl.org : 127.0.3.0] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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, 16 Mar 2020 10:09:43 -0000 SGkgYWxsLA0KDQpJIGFtIHRyeWluZyB0byBzb2x2ZSBhIHByb2JsZW0gd2l0aCBwZiBvbiBhIEZy ZWVCU0QgMTIuMSBzZXJ2ZXIgYnV0IEkgY2Fubm90IHVuZGVyc3RhbmQgdGhlIHByb2JsZW0uDQoN CkkgaGF2ZSB0aGlzIHJ1bGUgdGhhdCdzIHdvcmtpbmcgd2l0aG91dCBwcm9ibGVtczoNCg0KYW5j aG9yIGluZXQgZnJvbSB7ICRob3N0MSAkaG9zdDIgJGhvc3QzIH0gdG8gKHNlbGYpIGxhYmVsICJB bGxvdyBhY2Nlc3MgZnJvbSAkc3JjYWRkciB0byB0aGlzIGhvc3QiIHsNCiAgICAgICAgYW5jaG9y IHByb3RvIHRjcCB0byBwb3J0IHNzaCB7DQogICAgICAgICAgICAgICAgcGFzcyBpbg0KICAgICAg ICB9DQp9DQoNCkJ1dCB0aGlzIG9uZSByZXR1cm5zIGFuIGVycm9yIGFib3V0IOKAnGlubGluZSBh bmNob3IgJ18yJyBhbHJlYWR5IGV4aXN0c+KAnSBhbmQg4oCcc3ludGF4IGVycm9y4oCdOg0KDQph bmNob3IgaW5ldCBmcm9tICRob3N0NSB0byAoc2VsZikgew0KICAgICAgICBhbmNob3IgcHJvdG8g dWRwIHRvIHBvcnQgeyBzdW5ycGMgbmZzZC1zdGF0dXMgbmZzZC1rZWVwYWxpdmUgbmZzZCBsb2Nr ZCA5NzQgfSBsYWJlbCAiQWxsb3cgYWNjZXNzIGZyb20gJGhvc3QgIHRvIHNlbGYgdmlhICRkc3Rw b3J0LyRwcm90byIgew0KICAgICAgICAgICAgICAgIHBhc3MgaW4gcHJvdG8gdWRwDQogICAgICAg IH0NCn0NCg0KQW55IGlkZWEgd2h5PyDigKYNCi0tDQpSZWdhcmRzLA0KQy4gTC4gTWFydGluZXoN Cg== From owner-freebsd-questions@freebsd.org Mon Mar 16 10:22:28 2020 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 E208C261BD7 for ; Mon, 16 Mar 2020 10:22:28 +0000 (UTC) (envelope-from 4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gsmz4Dynz3y54 for ; Mon, 16 Mar 2020 10:22:27 +0000 (UTC) (envelope-from 4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584354148; x=1586946148; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=c2SOTdeA03q9VhHI2bGKykxdlScsOM6DsKlI2Nn/LEE=; b=IE3eKY+Ypi7ETS14VbqUHfZdbYB0IuR1BdcTwgX7U1ObfmGGi4k1aQij+CqPUbSZc3tbqTPdj2Yk9KFSrm1TaPZr60s3KUSj1loPKxoJ/c5t8BeRpEqpMynnGuJUF2NdHrARdqJR/LcW2O3G/vYTdRpt/8zPFTAoTlCyYhOQtEA= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDAxMGE5MjkuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 16 Mar 2020 06:22:17 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 16 Mar 2020 06:22:16 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jDmsx-00010f-Ir; Mon, 16 Mar 2020 10:22:15 +0000 Date: Mon, 16 Mar 2020 10:22:15 +0000 From: Steve O'Hara-Smith To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: crash on login with mounted home drive Message-Id: <20200316102215.2699db594ca033123ae4897d@sohara.org> In-Reply-To: <20200315181501.54ef73f9.freebsd@edvax.de> References: <20200315170506.96988775.freebsd@edvax.de> <20200315170839.18f03dea5fb148251be193f8@sohara.org> <20200315181501.54ef73f9.freebsd@edvax.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gsmz4Dynz3y54 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=IE3eKY+Y; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com X-Spamd-Result: default: False [-0.13 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; NEURAL_HAM_LONG(-0.57)[-0.571,0]; NEURAL_SPAM_MEDIUM(0.05)[0.048,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c0000010a929.a97ba9f699abe155fd5c5e04bb86b6da@email-od.com]; 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, 16 Mar 2020 10:22:29 -0000 On Sun, 15 Mar 2020 18:15:01 +0100 Polytropon wrote: > On Sun, 15 Mar 2020 17:08:39 +0000, Steve O'Hara-Smith wrote: > > On Sun, 15 Mar 2020 17:05:06 +0100 > > Polytropon wrote: > > > > > I have _never_ > > > used /usr/home, and actually that directory doesn't even > > > exist in my installations. > > > > It used to be common to have /usr was a filesystem but not /home > > then /home was usually a symlink to /usr/home. FreeBSD used to install > > that way. > > The default installation always had /usr/home (at least since > I've been using FreeBSD). You could empty it and use it as a > mount point for a 2nd disk (or a different partition on the > system disk), You could or you could create a /home partition during install in which case you didn't get the symlink or /usr/home. > I think I understand this as a historic construct mainly due to > smaller disks, that's why "functional partitioning" had been Many years ago I visited Altos in the UK and saw a machine one of the guys there was building. It had four 8" floppies /, /etc, /usr, /home, you could hear the inode table seeks. -- Steve O'Hara-Smith | Directable Mirror Arrays C:\>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/ From owner-freebsd-questions@freebsd.org Mon Mar 16 10:35:22 2020 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 B3705262148 for ; Mon, 16 Mar 2020 10:35:22 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) Received: from mailrelay2-2.pub.mailoutpod1-cph3.one.com (mailrelay2-2.pub.mailoutpod1-cph3.one.com [46.30.212.1]) (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 48gt3r2fmDz4X8L for ; Mon, 16 Mar 2020 10:35:19 +0000 (UTC) (envelope-from mailinglist@diamondbox.dk) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diamondbox.dk; s=20191106; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to: message-id:subject:cc:to:from:date:from; bh=FwsOPNBO5u5+6Uz1d5gSiG2SiCrNq2ugleygvN5jLaM=; b=n/PbpfBwgFVSroEPLmPjjVY8RnP5x0Dh3TTVYynSnhWV1KnMvl+lzwbj0nPUj/DrSe429dR0kBYQq dNAZIbc5P2G+Qlm+MarKlTflM3spS1w/kszqEVd49MffeSbBdtstfqP1bPBHQXkmT0KVEwUil6KmP7 0mHiCOs7Oe8Vl7vjXHotyEy7Yj+4TcmOMdE2pxeP0iabRYt6tjFkbeefbGX20tvq6xu3xxRpAxq9aJ QuoUd68KcqCkr7g9k9gOGKTuuUIVdfZlx/ICEKzRkzMGbUUMqrk6x4/P747ODeAIRKn49XrbAi25GC 09NHFKnmp19y+V/CMbVXjosYNow8tUQ== X-HalOne-Cookie: 5e773c64f4cc6b57a299904370ed3a5175150b83 X-HalOne-ID: d38649da-6771-11ea-9550-d0431ea8a290 Received: from diamond.diamondbox.dk (c-xd520f25b.cust.hiper.dk [213.32.242.91]) by mailrelay2.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPA id d38649da-6771-11ea-9550-d0431ea8a290; Mon, 16 Mar 2020 10:35:16 +0000 (UTC) Date: Mon, 16 Mar 2020 11:35:18 +0100 From: Nikolaj Thygesen To: Polytropon Cc: freebsd@dreamchaser.org, FreeBSD Mailing List Subject: Re: SD card formatting Message-ID: <20200316113101.30b7e217@diamond.diamondbox.dk> In-Reply-To: <20200316090538.27b1ecb1.freebsd@edvax.de> References: <20200316000029.a6ba47c9.freebsd@edvax.de> <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> <20200316090538.27b1ecb1.freebsd@edvax.de> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gt3r2fmDz4X8L X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=diamondbox.dk header.s=20191106 header.b=n/PbpfBw; dmarc=none; spf=none (mx1.freebsd.org: domain of mailinglist@diamondbox.dk has no SPF policy when checking 46.30.212.1) smtp.mailfrom=mailinglist@diamondbox.dk X-Spamd-Result: default: False [-1.19 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[diamondbox.dk:s=20191106]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.97)[-0.974,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[diamondbox.dk]; NEURAL_SPAM_MEDIUM(0.21)[0.214,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[diamondbox.dk:+]; RCVD_IN_DNSWL_NONE(0.00)[1.212.30.46.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:51468, ipnet:46.30.208.0/21, country:DK]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.13)[ipnet: 46.30.208.0/21(-0.42), asn: 51468(-0.23), country: DK(-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, 16 Mar 2020 10:35:22 -0000 On Mon, 16 Mar 2020 09:05:38 +0100 Polytropon wrote: > > It would be nice to see if _this_ card now is FAT or NTFS. > If it's NTFS, "Windows" will of course be able to use it. > On FreeBSD; you need to use nrfs_3g to mount it, though. :-) > > > ... my camera uses FAT, but I need to mount it -ro in order for fbsd to accept it. N :o) From owner-freebsd-questions@freebsd.org Mon Mar 16 11:02:49 2020 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 E3F582628D5 for ; Mon, 16 Mar 2020 11:02:49 +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 48gtgX4Bdpz3D9h for ; Mon, 16 Mar 2020 11:02:48 +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=N7T0W+4Ak6dBMdJ6GgHsOOCNe+HJrPnJpFb3G4b4OVs=; b=g1h2XD2xP0LTBPRAfNUk0JsoLO Vb9AoIGcwEDtmYe5rG+9LZb/gGGxcv2yc9rXFrsiQ5UZ1ZFCMO54dLhXNISiNkzBrhKYaCD4fdBZr YxbFCKzVzdBgCh0n1HH4v33p3xnwD7YhEUn+r7JjVG7rBWGOO2Ykk0OkvrLvVs3UMYOQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jDnWA-000P0u-UO for freebsd-questions@freebsd.org; Mon, 16 Mar 2020 18:02:46 +0700 Date: Mon, 16 Mar 2020 18:02:46 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316110246.GB95052@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline In-Reply-To: <20200215141238.GY1879@aurora.gregv.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48gtgX4Bdpz3D9h X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=g1h2XD2x; 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.45 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,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.35)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.89), 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, 16 Mar 2020 11:02:50 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greg Veldman wrote: >=20 > The insanity of systemd is a large part of what convinced me > to migrate all my personal machines from GNU/Linux to FreeBSD > a couple of years ago. I've just come across two related things which may convince me to migrate some machines from FreeBSD to Debian. 1. On Debian, you can run several instances of php-fpm with different PHP versions in them. 2. On Debian, you can install and run several versions of PostgreSQL simultaneously thanks to the pg_createcluster/pg_lsclusters/... infrastructure. All that from standard packages, without manual compiling and tweaking, jails etc, with minimal effort. Not that FreeBSD could not do that, it just does not do that. Especially PHP verions are a great PITA. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeb1zWAAoJEA2k8lmbXsY06pQIAJjIwKMfb9/OI+V7gXM6FLlk joT0mERPsZoTIzk7k1e79X+dre1SgLUL/XNHWAUEwQAJpycYz4FC0UnK5fdUyHyT g1M0WrfLTw/pcWih2vyczlMs6kV4W3eHf3R7thznF+ArgEXdoyYJVTfoWw0zI3kj 6uOMw93/BsO+VJEcdNgF3yh3JjgRGtGNQPbizrAoJYyvwx+2zoTVomAiu9Q+IRe9 JyChpyZZNCr93b/kFRPck4ruC4zAdwSL7Cc13eSDDwuv0iThXfc9EYOCupuk7Nsy cncJrChx8r73q60CyL77BuRcOLqP86WAnrWHs/a1cKuR3jvUy9qnszwPFqDmoOw= =wrdA -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP-- From owner-freebsd-questions@freebsd.org Mon Mar 16 11:42:38 2020 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 283E1263A31 for ; Mon, 16 Mar 2020 11:42:38 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from relay1.cretaforce.gr (relay1.cretaforce.gr [195.201.253.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48gvYS25Djz4D25 for ; Mon, 16 Mar 2020 11:42:35 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by smtp1.cretaforce.gr (Postfix) with ESMTPS id DFC121FA99 for ; Mon, 16 Mar 2020 13:42:33 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1584358953; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i/TLBhvI7y9lmOVtYbk9rFi25a3Yfk5Vd1gfW5rKTqQ=; b=IgN6nonK4Gx8HgcsUJVr7gbCQaMgdsOVb6KGWfxjl5UuGMb9+7nyHBtQVfXl/CxOKzQZHe BwgxlxKuxhLIzMjmt0tXU2I1cgSuJxr5bZvgj3VHmiGyvDKzp9gNb+BqwrwT7nlw/wekQG cvtuQsfRHQIRuvSDO9Ph9OFxoyJAA5k= Received: from christoss-air.fritz.box (athedsl-320566.home.otenet.gr [85.72.107.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id A8FC02730B for ; Mon, 16 Mar 2020 13:42:33 +0200 (EET) From: Christos Chatzaras Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: Technological advantages over Linux Date: Mon, 16 Mar 2020 13:42:32 +0200 References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> To: FreeBSD Mailing List In-Reply-To: <20200316110246.GB95052@admin.sibptus.ru> Message-Id: X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48gvYS25Djz4D25 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cretaforce.gr header.s=cretaforce header.b=IgN6nonK; dmarc=none; spf=pass (mx1.freebsd.org: domain of chris@cretaforce.gr designates 195.201.253.145 as permitted sender) smtp.mailfrom=chris@cretaforce.gr X-Spamd-Result: default: False [-5.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[cretaforce.gr:s=cretaforce]; NEURAL_HAM_MEDIUM(-0.57)[-0.573,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.201.253.145]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cretaforce.gr]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[cretaforce.gr.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-2.76)[ip: (-9.32), ipnet: 195.201.0.0/16(-2.90), asn: 24940(-1.56), country: DE(-0.02)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cretaforce.gr:+]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_IN_DNSWL_LOW(-0.10)[145.253.201.195.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[212.107.72.85.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; 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: Mon, 16 Mar 2020 11:42:38 -0000 > 1. On Debian, you can run several instances of php-fpm with different > PHP versions in them. > > 2. On Debian, you can install and run several versions of PostgreSQL > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > infrastructure. > > All that from standard packages, without manual compiling and tweaking, > jails etc, with minimal effort. > > Not that FreeBSD could not do that, it just does not do that. Especially > PHP verions are a great PITA. It's not much effort to use jails for these cases. I prefer it this way. From owner-freebsd-questions@freebsd.org Mon Mar 16 11:46:44 2020 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 47C95263B8D for ; Mon, 16 Mar 2020 11:46:44 +0000 (UTC) (envelope-from SRS0=Hp5p=5B=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 48gvfB27c3z4NMQ for ; Mon, 16 Mar 2020 11:46:42 +0000 (UTC) (envelope-from SRS0=Hp5p=5B=perdition.city=julien@bebif.be) Received: from belspo (unknown [10.209.1.101]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id F306A1D4FC0D; Mon, 16 Mar 2020 12:46:39 +0100 (CET) Date: Mon, 16 Mar 2020 12:46:38 +0100 From: Julien Cigar To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200316114638.GD1410@belspo> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200316110246.GB95052@admin.sibptus.ru> X-Rspamd-Queue-Id: 48gvfB27c3z4NMQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=Hp5p=5B=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=Hp5p=5B=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.38 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.949,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.04)[ip: (-9.01), ipnet: 193.191.192.0/19(-4.50), asn: 2611(-1.65), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=Hp5p=5B=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MID_RHS_NOT_FQDN(0.50)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=Hp5p=5B=perdition.city=julien@bebif.be]; 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, 16 Mar 2020 11:46:44 -0000 On Mon, Mar 16, 2020 at 06:02:46PM +0700, Victor Sudakov wrote: > Greg Veldman wrote: > > > > The insanity of systemd is a large part of what convinced me > > to migrate all my personal machines from GNU/Linux to FreeBSD > > a couple of years ago. > > I've just come across two related things which may convince me to > migrate some machines from FreeBSD to Debian. > > 1. On Debian, you can run several instances of php-fpm with different > PHP versions in them. > > 2. On Debian, you can install and run several versions of PostgreSQL > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > infrastructure. > > All that from standard packages, without manual compiling and tweaking, > jails etc, with minimal effort. that's true, but once you setup a dedicated Poudriere machine, that all your deployments are happening in jails, that you use some CMS (like SaltStack), and that everything is based on ZFS it's a *lot* easier to maintain on the long term, and you have a lot of flexibility. I think it's a good practice to isolate services as much as possible (even if it would be possible to run several instances of php-fpm with different PHP versions I wouldn't do it, and use one JAIL per PHP version), and to install the minimum required on the HOST (usually I only install a SaltStack minion) I have to deal with some very old (15+ years) shit at work that isn't updated but has to be accessible (webapps) (don't ask) and thanks to jails and things like rctl I could stil use that latest -RELEASE while isolating the old shit in 10.x-RELEASE jails. Try to do that with Linux.. (I don't say it's impossible but it would require a lot more work IMHO) > > Not that FreeBSD could not do that, it just does not do that. Especially > PHP verions are a great PITA. > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@freebsd.org Mon Mar 16 12:01:32 2020 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 EC700264C04 for ; Mon, 16 Mar 2020 12:01:32 +0000 (UTC) (envelope-from dave.mehler@gmail.com) 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 48gvzH6LxHz41G4 for ; Mon, 16 Mar 2020 12:01:31 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-il1-x132.google.com with SMTP id c8so16242687ilm.1 for ; Mon, 16 Mar 2020 05:01:31 -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=PE5cH0JxcoWhzMq501fy//6vrzkLAC101Bhe1wDtcTs=; b=THEKnNgMZjm74PgQ1Gmb/VYra0hNZINPJz1ZHTpE4E4iDuGnA2lNUgElk5PoKulMd8 QrfZ/qmacPPlodK+KIDxl2kQWOhQSJ/g5SeFRpvK/kAVZJA9PMXtNi+a7hjNvB6T1fy9 o0H7f9jcY/h5rEnJoY7K1ImgpYqCB2dpJ00Bg8EvvTG7IhudOSdyZH2g/yl0mFUYYgD8 sVnG/DJ8hBIaqyg3DIY10GQFjdyr2KEti5UhlhbTG8SWL0AJve/51vIfFbA7e+FqZM5L o51YLGuih2+GZcYI89IKGUX9d/DhCGW27eoEHjo/ArCs+HXPGThOTz6VwFOAEuIUX9Xb ZQ/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=PE5cH0JxcoWhzMq501fy//6vrzkLAC101Bhe1wDtcTs=; b=fJVZAtx5C5VBp+XjRuO25fq0VBsbUvuhjRNl4FvpB8oSubH6maA0mZRNXnkv+udxUF dNdgnHg3zciDwND7Rcu7y8t3y+09GiMyGY6u551HXSAgn0RcyszE7V8URpLjCDT1YAKf QHYagtkWGPk/k9ey6XocDjX9NRAnRLdodfFN/LjAOvTvxWzGSTBK2Wv4Chw+QXoXG/H9 4ZghaNs2ohRztXJzpXjPAagd0bzggUoY38zQbhr/iPUefbktQ/OtcXn2nXu1tLdfCTYt Oiq+A+i3p4pFnoPVUS7M02TXwLylWGUciBtVSKVgk5LPhO51j7MJJiM+dEFD0PF6TKh0 7SRQ== X-Gm-Message-State: ANhLgQ3ozMqoehBBFTpqz+FMUgLJBW67CyAHQofKyzCetqd4Fbhn2Vpc 9WoTkzAsmY3d2zwWID7oCnb6ARVFUhKWR9fLJF7kN41J X-Google-Smtp-Source: ADFU+vvzJ57GpeF9WF0ypXrabeTVnniYEIyU320jxUdzvj3CPcHE5o82QbVIg6LGsLNqv1PMejP82Q9ZXra00ZPUlT8= X-Received: by 2002:a92:8682:: with SMTP id l2mr26487428ilh.193.1584360089820; Mon, 16 Mar 2020 05:01:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:f61a:0:0:0:0:0 with HTTP; Mon, 16 Mar 2020 05:01:29 -0700 (PDT) From: David Mehler Date: Mon, 16 Mar 2020 08:01:29 -0400 Message-ID: Subject: cbsd jails? To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48gvzH6LxHz41G4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=THEKnNgM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::132 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-8.19), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.65), country: US(-0.05)]; 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]; RCVD_COUNT_TWO(0.00)[2]; 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, 16 Mar 2020 12:01:33 -0000 Hello, Anyone got any setup notes/tutorials on cbsd setup and usage? I've got a test 12.1 box that i'd like to get cbsd going on, but am stuck at initialization. Thanks. Dave. From owner-freebsd-questions@freebsd.org Mon Mar 16 14:01:44 2020 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 D23102672EB for ; Mon, 16 Mar 2020 14:01:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 48gydz6lJmz4B0D for ; Mon, 16 Mar 2020 14:01:43 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.139.44]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 743A34E65B for ; Mon, 16 Mar 2020 08:44:21 -0500 (CDT) Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org References: <20200214121620.GA80657@admin.sibptus.ru> <20200214141600.GA82559@admin.sibptus.ru> <20200214204838.360c8f624397c659946bd764@sohara.org> <20200215063818.GE1482@admin.sibptus.ru> <20200215083359.367d8a3e9ddb4942df67d5b5@sohara.org> <20200316071102.GD90309@admin.sibptus.ru> <20200316092527.882e58821f92097835310ef1@sohara.org> From: Valeri Galtsev Message-ID: <042f3a16-110e-b1b5-feb3-73a2a3180882@kicp.uchicago.edu> Date: Mon, 16 Mar 2020 08:44:13 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200316092527.882e58821f92097835310ef1@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48gydz6lJmz4B0D X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[44.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[44.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.943,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.11)[ip: (0.32), ipnet: 128.135.0.0/16(0.16), asn: 160(0.13), country: US(-0.05)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,body]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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, 16 Mar 2020 14:01:44 -0000 On 3/16/20 4:25 AM, Steve O'Hara-Smith wrote: > On Mon, 16 Mar 2020 14:11:02 +0700 > Victor Sudakov wrote: > >> Steve O'Hara-Smith wrote: >>> On Sat, 15 Feb 2020 13:38:18 +0700 >>> There are several iocage, ezjail, cbsd, bsdploy, jest to mention >>> just a few. I find iocage suits my needs well enough. >> >> Oh, I've met an iocage person. > > Well sort of, I use iocage to manage a bunch of jails on my NAS box > but each one is a custom built server suiting my needs. I've never found a > use for community built images, they never seem to suit my needs. +1 I too only use what I built custom and configured to my "standards". The only "prebuilt" product I use is pfSense. The last to the contrary to community built [docker] images has rather large userbase. Those community built images are loved by young researchers I work for. They need something fast, don't care to figure dependencies and don't want to put much effort into building what they need. Often they do not have the ability or time or both. So they are happy if the find what they need built by someone into docker image, they do not care how many people actually used that, if it is being updated (maintained) or just put together once and forgotten, etc. When I am asked to make a docker image, I immediately see huge recurring burden, namely constant maintenance, and update of that. Pretty much as I keep up-to-date machines, and jails... Now, what ensures that that effort is used, namely that people who grabbed and started using that docker image will often come back and grab updated docker image? I'd like to ask Docker people: is there a "culture" of keeping up with updates between docker images end users? Psychologically I can't imagine that there is one, but I may be wrong. Just my $0.02. Valeri > >> Steve, can iocage export thin provisioned images? If you publish an >> iocage image e.g. of a Moodle server, will it contain the whole >> underlying FreeBSD system within? > > iocage export produces an image with everything. There are iocage > plugins which are probably what you're looking for (but I've never used > them). > > https://iocage.readthedocs.io/en/latest/plugins.html > > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Mar 16 14:07:33 2020 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 A9D1126750B for ; Mon, 16 Mar 2020 14:07:33 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 48gymc4WHZz4F29 for ; Mon, 16 Mar 2020 14:07:27 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 48gymZ0tyVz1ftWs for ; Mon, 16 Mar 2020 15:07:26 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 48gymZ079hz1ftWr for ; Mon, 16 Mar 2020 15:07:26 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id EB03F4D5C9D for ; Mon, 16 Mar 2020 15:07:25 +0100 (CET) Date: Mon, 16 Mar 2020 15:07:09 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux In-Reply-To: References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <48gymZ079hz1ftWr@baobab.bilink.it> X-Virus-Scanned: PippoLillo, ClamAV using ClamSMTP X-Rspamd-Queue-Id: 48gymc4WHZz4F29 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of luciano@vespaperitivo.it designates 212.45.144.44 as permitted sender) smtp.mailfrom=luciano@vespaperitivo.it X-Spamd-Result: default: False [-4.91 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.903,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.45.144.0/24]; 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(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[vespaperitivo.it]; RCVD_IN_DNSWL_NONE(0.00)[44.144.45.212.list.dnswl.org : 127.0.10.0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8816, ipnet:212.45.128.0/19, country:IT]; IP_SCORE(-2.81)[ip: (-8.07), ipnet: 212.45.128.0/19(-4.03), asn: 8816(-1.96), country: IT(0.03)] 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, 16 Mar 2020 14:07:33 -0000 On Mon, 16 Mar 2020 13:42:32 +0200 Christos Chatzaras wrote: > > Not that FreeBSD could not do that, it just does not do that. Especially > > PHP verions are a great PITA. > > It's not much effort to use jails for these cases. I prefer it this way. I've installed all the php versions under /opt. I just had to create the needed startup files in /usr/local/etc/rc.d and put the ""enable" variables in /erc/rc.conf. Works like a charm... luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Mon Mar 16 14:52:26 2020 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 1C56E268448 for ; Mon, 16 Mar 2020 14:52:26 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic315-20.consmr.mail.ne1.yahoo.com (sonic315-20.consmr.mail.ne1.yahoo.com [66.163.190.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48gzmS1XMsz4BQR for ; Mon, 16 Mar 2020 14:52:24 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: sP2_2qIVM1lXYzcaBSZ9XWPh.U6svR.T5KVLJm9_WKcQe7Oe4cj2vyQlly7zxd7 E6mAi3Z0hNeQz_9qcFLQzv6GtYe2Lbk6XBqRRaIzIDuHcBxz5dvfDABw0a3j0GnUFfDLwbVyypNB 2NyUpxYUILAHjVzFEjAUc.XDKBYwBCx5.veqhp3QyLs3681R_6WUq_V3LoYXKQKIHWSs7EHonUEZ f9kbVv3mcoAtqEJPDMSPSFXz3FUoi4ZuRPNDYfcJiBGLLs4VgkyceXiHzuEOZv2JC1YNLAc5b.01 c8IHQW2Jnl0kgiSBZClpLSRFceDn.57bsBuxKfqkJ_uRF8ubFIHQY5M._q_NQ7hc_zAAuG1XwuJt 86L.BUcjrwB7t_37yOyWkm5hzpYTwgpxa7V0JcqxC9UdUtz0tSM8G1olwr8ScA9EWZuK6cXu2NOp e_40cl2tn84jAs.PZBA1kbXvnjmLA0I0IcYX7F1lRxzPHHS4d_.Oj2.AI9jPr.5YyBwscyXWlDRT F4K5evJ3pZIc.tAdIfShnZaXxP30HYDcFgWnDMgTwiQbG19_jaOEQXeI0TKJuX57Lb.8IXHPQ2AQ SRw0mlg3T1wUysVs8T7KUfOTZdvAXsTnYsRMNVsWb.PoFhLwTDcQFja1GJSib7k6clUMrEio17jE fs56ffkeg8Ed8alMCYkN8UvQzqWnIsNfAuTR8zkMPskgiSDS2vTUUoED4iE6WsFIkFQYJBdL5UMn 8oUuFtx7odP6iwO0LX98.ABOzNfk.kyfmEd379I_oUTfOWH6DXEKDFie4OJObj0PwAgPzq6qxO.I 6J6b_wm4f3cvuqAkwMaAz50jk5AIjB.MmX_9RgIyixIpJnGsRWtMrY6n47N2QMwajBPl3vPxFLu1 qjTXbhrf3x8OhFQFSgXzB6w_ybnjRSmX0B1aFOUuC6d0pekN6W0.M6JmBBVQoTkk8.CTRLKUTjeF SiCDJbbLsJiXUWChOsVyhZoQGeCw6eDlrK7NZZDnrYrT6QFRK_69u8Ztv.7PvTjVxYZaHMX9lMv0 PGPs40Ygmz8ppo3hEj8bFZIncQNSBOkzs5.PN9FTirxipqq6sbQVBy6maxAzGnGhPt_0UaLism9t QWjZbRbQq7dZDYe.WzPZ9tDjI9RhdSh4S3ErVG3abNAGP1GGLEJxgz4GLlJc6UOFZz_JExUwjM5f 990KSE5W3XbhYwcIZ7x3vT5o2bFIOvRrpfCXKg8coBkIDp0J6Id9nGxxzheVv5G4SNJK2IzupOM3 pfMJk_rQlHWrfbUA5wKTELShXkhURpjp4xMrfD5P0Ea5zKnjnzZcn6xUpLW3CDeNSWOng4KKVlZg GOuuaMySqSA2iHAMzlTffv2G.4XL7jmg1KINg_QkLJZp5bpPeuPdoZ3J.ReO6IfvjC3im_363VSK bp4EpFKdbd2isOfg- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 16 Mar 2020 14:52:23 +0000 Received: by smtp415.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c2b94890f3eb235f0e2f2c162dfa5c17; Mon, 16 Mar 2020 14:52:17 +0000 (UTC) Received: by mail-pl1-f179.google.com with SMTP id j20so8112000pll.6 for ; Mon, 16 Mar 2020 07:52:16 -0700 (PDT) X-Gm-Message-State: ANhLgQ2pgimdJVZObfUF2IC/AFtm8BzTM6IZE9tBYvITEXK3owYLYbNj Fgtzsxv/4e9gR+1fOWY9xTxqWaxQbHZIn+lml/U= X-Google-Smtp-Source: ADFU+vvSgaus+NkHkiX2ve1tgnQNAEw59UH+7Cdhpru8gfecF1jpvOlyuNYxTc9WmwCLqY1uviMH+9JMZxHYe+/eBHQ= X-Received: by 2002:a17:902:8bc8:: with SMTP id r8mr26183421plo.48.1584370336679; Mon, 16 Mar 2020 07:52:16 -0700 (PDT) MIME-Version: 1.0 References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> In-Reply-To: <20200316110246.GB95052@admin.sibptus.ru> From: Ottavio Caruso Date: Mon, 16 Mar 2020 14:51:58 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15342 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_241) X-Rspamd-Queue-Id: 48gzmS1XMsz4BQR X-Spamd-Bar: / X-Spamd-Result: default: False [0.55 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; IP_SCORE_FREEMAIL(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.86)[0.863,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; RCVD_IN_DNSWL_NONE(0.00)[146.190.163.66.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_LONG(0.38)[0.382,0]; IP_SCORE(0.00)[ip: (3.87), ipnet: 66.163.184.0/21(1.18), asn: 36646(0.94), country: US(-0.05)]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.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: Mon, 16 Mar 2020 14:52:26 -0000 On Mon, 16 Mar 2020 at 11:02, Victor Sudakov wrote: > > Greg Veldman wrote: > > > > The insanity of systemd is a large part of what convinced me > > to migrate all my personal machines from GNU/Linux to FreeBSD > > a couple of years ago. > > I've just come across two related things which may convince me to > migrate some machines from FreeBSD to Debian. > > 1. On Debian, you can run several instances of php-fpm with different > PHP versions in them. > > 2. On Debian, you can install and run several versions of PostgreSQL > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > infrastructure. > > All that from standard packages, without manual compiling and tweaking, > jails etc, with minimal effort. > > Not that FreeBSD could not do that, it just does not do that. Especially > PHP verions are a great PITA. Off topic and probably unwelcome, but with pkgsrc you can have different bootstraps with different parameters, hence different versions of the same program. -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Mon Mar 16 17:01:24 2020 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 3E22F26A79C for ; Mon, 16 Mar 2020 17:01:24 +0000 (UTC) (envelope-from darcy@druid.net) Received: from mail.vex.net (mail.vex.net [IPv6:2605:2600:1001::44]) by mx1.freebsd.org (Postfix) with ESMTP id 48h2dH34Byz4Mtv for ; Mon, 16 Mar 2020 17:01:23 +0000 (UTC) (envelope-from darcy@druid.net) Received: from dilbert.druid.net (unknown [98.160.82.53]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: darcy) by mail.vex.net (Postfix) with ESMTPSA id 164486742E for ; Mon, 16 Mar 2020 13:01:16 -0400 (EDT) Subject: Re: Strange Thunderbird issue To: freebsd-questions@freebsd.org References: <141714bf-d2ba-8652-c4f0-3257c3017daf@druid.net> <8a75aa7d-13a4-8de6-ae8c-212e5211b832@chemie.uni-hamburg.de> From: D'Arcy Cain Autocrypt: addr=darcy@druid.net; prefer-encrypt=mutual; keydata= mQINBFo1JEQBEACslYwTqAuRYAnazQsHbWJMlDx4Edz8QoKxwEcDQOpBunpdkKWKTJ+xRTJY FbvwDZ+kO05+D+I0erhKfm7EDjnx88d9nlvTVZ8cCmF5+dfKZ6c0wUJ1eoAfSaNvzrGZyhBY 4MoECR9fJx5A47+nDXy08D/WWcrpcgcTG+jXhGyEHEH4MPoDExMqz8+qNnIcXMFfs2ZOK1oc THvszGh76bScPn/DZhQGhCx70Y2ZWvXElHM1b2y/bSDlP/YjsLHG7j06Ss0MBskFvCX79ECe IxyGxRLeg619ZizF3I4Ksl5OHnEXMHAb41UiR3DuiY6wTmjuzPJiANtFB1tdo4zlMqWgqik7 d3e+C7autpuFdzzHRvj/lg+tEonAS5Oo1AlsUX1nh1yCQiQMhmwsEoLtf87vYUjUHy6Tu5NF bOEjWP+QLm8qK+9yqTJjTOQjMSenuBnPHaC1k8vXqfQX+3IazeylY71sQUCYaKYo8OBsi2QE 9/obUukyY2rVVLR1kCauY8CE5y2PvDZ/TwF4tF2AeP00CTKH3SJX59hdMZzTzqhoz/8td+ro rvwzo2JZVw08cjLMWp1w95luP7bYCy2WsKV1+J2AVW7T+syRCflCTAyWIwPfUntSkcjpvnVk TRyA3QsFweUpr0ZvC6XBHFqYB4O1PtKj5EQnMRyOaFyRJHCdoQARAQABtCREJ0FyY3kgQ2Fp biA8ZGFyY3lAVnliZU5ldHdvcmtzLmNvbT6JAj0EEwEIACcFAlo1JEQCGyMFCQlmAYAFCwkI BwIGFQgJCgsCBBYCAwECHgECF4AACgkQWHDe95yNh04bmA/+K7lx+ZQzhKXatLtq/IjJx+EO 1qk1j3wmbvyTq0XjK6frTnNIi41eVaNf7r1XUdYSa525gA6kBUPh/RRznJVjwJzdWEv4Cy2o EyLAIDx/ZiuyWAXxU7+ZQ8JWTJr8keC/ZkCjaAvW7oTg9+C/2VI5w8kqmVYgK0n0bJ0TXxDe SlP7O2dGS5Ms8Sm1PnXLSVzv7P3cozB4hudCrxJmZjBK5LsiwcbyhcEjOK7Qw3i47kCRTO7u 4zkmL+6Jskd8T/olb58OLAEaJz30UzdIqeFL/Lkt86pd6NASmilxQSh1piE6nO9mof9llBLp 9WBTD7+/jzD7M614l9oW53B5W/8Qsz5eAd8KcjfEo5gIDEEig1pTvA3uVPl178VaMB01x7Az qdWw8L1iGzUQwCfmyvCRUxFc2s3AooDbKzv+GC+68nqQJYCSjiZQVkgm/QR9gnSiaLIWwD4K Q0UsSHeTz/JV2sRV5nUReNQixjW2OHc1oX3sB/I4/iG4Gn0oxxK9ThmNwmf2LxXzfw4Xg7Sj y7i8yqFPuH5EB2f2NICvV6ydIqE+UxIAm9Ew1u6Ub7B2h3+dRFwGOpJbj2+l2cknOE+yBsfv aclUG4GdeepXp3fC1oj7T3PtTPA3MTsSkm4t1f2+hg9/OJWW+0wA+xQXhVLbPIOQAvgoaXN0 KOlXy5u9Cha5Ag0EWjUkRAEQAJvhqg46yFzNhZ6tS64tijP/wqW8hYEVQK0ssBsDaUP/4jmF SrqWmiNzFUZTAsDmKIvz30BA0abw9lWgBaAIw7Xhhjje+WGSZzHXKhBRtOpqShReSpbJ0U1G NgkRvV7BBT/3TF/8WVbMr581seL9hJbWGCYRxuWlmrbHeodlHwmzYQjuhmNrl+GpPSjUMPqw QBfI//r08VIemfKf7KxKfOqqNUpG1XKXZjfMdWdcHnZKzc+ttJECfagDwM8yPiY5zWYPANrl je9NLX6fqbUl8d3t0KjobbHpb/nnj+cVehoCzy98WihoXBgCuVZu0PjqpZa9s32OllKZ4wLi T3bPpvOx7D54SrcfunvCsVlpJP2Qc1BJILvXAQWHUFnDHLLL3kc4GPqxOvn7UjJrvabTpH2J VJUrnIeOTSuMWNB+fJ9Tefg6SnkoBhO8xMsrSkllrFJ8dhO5T9MFaLAn3V/l15lNpHcz3H3R fyJV0cnwb+0X1LIS1z7kaH8SOPz1N0yBjc/IuaIbs/j6bI/Mn3kyCZ+5fg8RA2lCkN+4Ac5u tJBoWTj/dGvfjAfXBiORY4V2A/TbMGTRKD2Y0fh9cquF96scM1WR6IS9iWFvSJsp6653i1I5 W2lKu6i2OuGO/XjWO5POp8QQX47bpE3/DceiwTLujrVIxlkAtx0aJq8sixc7ABEBAAGJAiUE GAEIAA8FAlo1JEQCGwwFCQlmAYAACgkQWHDe95yNh07B8RAAi20zdytQyELsKZPD4lHAi7Bo BtqYCrM+mpFOJlYOx4AV6HTs4pIZcZqgJIUx6bvdDIkBMkNXqZy1XfC9oSqgtc76/IKVUbAc MIwR2j1WIeUnh6Vb5koMu1thD0pHKpYr/YNjYpkEFuMGdNxvmnSPdVBOLzfD1Hb2Po5JtWI/ eoleg2AHR0WaAtAKStsYESvFC9/0B7DwmK7tz3NJZp9fXtxoxYYKJSDRgxsOAGtIg8CF0I2c JnpgXcM9d6cxwJi4/SmVGEfJT8HX6OYi5bx9EEb5NJF9g4j0jt7kbY37GaWvFLcRAtRjqBDp DPuCpUPOg5Pa6o8u7+E5wxXs+FLY8yWynQ+O87choGPncZcWxRCi+acs/rCk9onzUQvcYBNB JYEb5l+x6yIJ6yStheSuDr1SNh/FUlQukMOcAFTQ8kd0neUuH2jM+VY5YmfyMyjJNmLF6bY4 r19XhhuI0Y17fwQccRGC2eqQ/dtmI1rsCw0LPwljWK6eD/XRrZPXZPnAiTM7zjAtBQ/QMgnF g3YMwQoPp91JR2Es9FZjCwEU9vTENup/SQAAFlbM63OjfgNTdvrTT4BDTtDxLpWBY+EF3jlq MFkz/NUMgzEkMahDLOOdC2858Eb9lLh+eFz10uDJ96knbc5nAT9zDKa/+Rh39a269PiGYkQb lDHC8UKjzpc= Message-ID: Date: Mon, 16 Mar 2020 12:01:15 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: <8a75aa7d-13a4-8de6-ae8c-212e5211b832@chemie.uni-hamburg.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48h2dH34Byz4Mtv X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of darcy@druid.net has no SPF policy when checking 2605:2600:1001::44) smtp.mailfrom=darcy@druid.net X-Spamd-Result: default: False [3.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; 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]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.99)[0.989,0]; DMARC_NA(0.00)[druid.net]; NEURAL_SPAM_LONG(0.96)[0.957,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19842, ipnet:2605:2600::/32, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.14)[asn: 19842(0.81), country: CA(-0.09)]; 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, 16 Mar 2020 17:01:24 -0000 On 2020-03-13 18:09, Christian Schmidt wrote: > D'Arcy Cain, 13.03.20: >> The user home directories are NFS mounted.  If I move one user to the >> local file system it then works properly for that user. > > Maybe an NFS locking issue. What do your mount options look like? > I'd play around a bit with the locking options. I ran truss on Thunderbird and did not see any flock calls. Any thoughts on what else to look for? There are plenty of errors but it looks like Thunderbird expects them. Instead of checking file status it just tries to open them one after another until it succeeds. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner. IM: darcy@VybeNetworks.com, VoIP: sip:darcy@druid.net From owner-freebsd-questions@freebsd.org Mon Mar 16 18:38:07 2020 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 C8B1326C6B5 for ; Mon, 16 Mar 2020 18:38:07 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48h4ms4rpFz3JTq for ; Mon, 16 Mar 2020 18:38:05 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02GIbqoo015429; Mon, 16 Mar 2020 12:37:52 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon Cc: FreeBSD Mailing List References: <20200316000029.a6ba47c9.freebsd@edvax.de> <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> <20200316090538.27b1ecb1.freebsd@edvax.de> From: Gary Aitken Message-ID: <3b552229-fe07-941b-2000-56036f15c0a8@dreamchaser.org> Date: Mon, 16 Mar 2020 12:36:25 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200316090538.27b1ecb1.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 16 Mar 2020 12:37:53 -0600 (MDT) X-Rspamd-Queue-Id: 48h4ms4rpFz3JTq X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.51 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Mon, 16 Mar 2020 18:38:07 -0000 On 3/16/20 2:05 AM, Polytropon wrote: > On Sun, 15 Mar 2020 19:06:22 -0600, Gary Aitken wrote: >> On 3/15/20 5:00 PM, Polytropon wrote: >>> On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: >>>> 11.3-RELEASE-p6 GENERIC amd64 >>>> >>>> I'm having trouble reading SD cards formatted in my camera (Olympus >>>> EM1-MkII) or on a Win 7 system. >>> >>> What filesystem is in use? For cards, it's typically FAT. >>> >>> >>> >>>> When attempting to mount, I get the following: >>>> >>>> $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: >>>> /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 >>>> /mnt/memstick mount: /dev/da0s1: Operation not supported by device >>>> >>>> Cards used without formatting *usually* seem to work. >>> >>> So those are preformatted (sometimes sold this way, sometimes >>> initialized when first used in a camera). >>> >>> >>> >>>> If I look at the cards which don't mount using gpart, I see: >>>> >>>> Card formatted in camera: >>>> $ gpart show -p /dev/da0 >>>> => 63 120944577 da0 MBR (58G) >>>> 63 32705 - free - (16M) >>>> 32768 120911872 da0s1 ntfs [active] (58G) >>> ^^^^ >>> >>> It seems that the card has been accidentally formatted with NTFS. In >>> most cases, cameras cannot use that. If you want to mount it on >>> FreeBSD, use ntfs-3g. >> >> As stated above, this is a card formatted _in the camera_. So the >> camera can read it fine. The problem is fbsd can't mount it. > >>From the program output presented, it seems that you're > trying to mount a NTFS partition using the FAT mount option, > which will not work. Try ntfs-3g (needs to be installed; > mount_ntfs is no longer part of the OS). Ah, that's a help, thanks. Ugh: # ntfs-3g /dev/da0s1 /mnt/memstick NTFS signature is missing. # ntfs-3g.probe --readonly /dev/da0s1 NTFS signature is missing. # file -r - >> Personally, I tend to leave the formatting to the camera which I want >>> to use the card in; the camera "knows best" what it can uderstand. >>> :-) >> >> In this case, the camera is not the problem; cards formatted in the camera >> are usable by the camera. But they aren't mountable on fbsd. So I can't >> transfer the files to fbsd, either from the camera or by inserting the >> card in an fbsd usb adapter. > > Depending on the camera, a USB connection can show up as > a mass storage device (leads to /dev/da) or a > MTP interface (leads to /dev/ugen). In many cases, > the "personality" can be seleted by the menu in the camera. It shows up as mass storage, /dev/da0 in this case >> Since cards formatted by the camera are not mountable on fbsd, I was >> hoping to find a way to format the card on fbsd that would be >> readable both by the camera and by fbsd. > > The camera seems to prefer NTFS, so when you (correctly) > format a card as FAT, the camera refuses to read it. However, > that's the first occassion I hear about a camera that seems > to use NTFS natively... not that this is impossible, it's > just something I never heared about it. :-) > > > >>> There is a simple reason: Several variants of FAT exist, and some >>> cameras often only support one out of that bag. If you guess (and >>> use) the wrong one, the camera will report an error. So, as I >>> suggested, let the camera do the right thing. >>> >>>> If I again format the card in the camera, I can't mount it. >>> >>> Have you checked _how_ the camera formats it? Check with gpart (or >>> fdisk, it still works!). There's also the following totally unelegant >>> way: >>> >>> # file -r - < /dev/da0 >>> >>> and / or >>> >>> # file -r - < /dev/da0s1 >>> >>> You should see a FAT summary. >> >> For a card formatted in the camera, which the camera can read but fbsd >> cannot mount: >> >> # file -r - < /dev/da0 >> /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0x7, active, >> start-CHS (0x2,10,9), end-CHS (0x3ff,254,63), startsector 32768, >> 120911872 sectors >> # file -r - < /dev/da0s1 >> /dev/stdin: DOS/MBR boot sector >> # mount_msdosfs /dev/da0s1 /mnt/memstick >> mount_msdosfs: /dev/da0s1: Invalid argument > > According to the gpart output, it's not FAT (msdosfs), > but NTFS. > > > >> For a card never reformatted (i.e. formatted by the manufacturer, and >> used in the camera); this card is usable by the camera and mountable >> by fbsd: >> >> # file -r - < /dev/da0 >> /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0xc, active, >> start-CHS (0x0,130,3), end-CHS (0x3ff,254,63), startsector 8192, >> 31496192 sectors >> # file -r - < /dev/da0s1 >> /dev/stdin: , code offset 0x0+3, OEM-ID " ", sectors/cluster 64, >> reserved sectors 504, Media descriptor 0xf8, sectors/track 63, >> heads 255, hidden sectors 8192, sectors 31496192 (volumes > 32 MB), >> FAT (32 bit), sectors/FAT 3844, serial number 0x0, unlabeled >> # mount_msdosfs /dev/da0s1 /mnt/memstick >> # ls /mnt/memstick >> DCIM System Volume Information > > This doesn't actually look like a "mint condition" card. A > directory named "DCIM" is typically created by a camera. > However, _this_ card is FAT-formatted, and therefore can be > mounted with msdosfs as correctly shown above. The directory > name "System Volume Information" suggests it has been in a > "Windows" PC before. COnclusion: Card works both in camera > an in "Windows" PC. Correct, it's not an unused card. It's been put in the camera, recorded on, and then put in a windows system to transfer images. > So the camera seems (!) to initialize cards as NTFS (strange, > but surely possible), but also understands FAT. That seems to be the case. Since ntfs-3g doesn't seem to like the camera-generated NTFS filesystem, it seems my best option is to try to format with the FAT it understands. > All you need to do now is to replicate _that_ formatting. > The output shows "FAT (32 bit)", and the partitioning also > looks reasonable. You should be able to create this either > with gpart + newfs_msdosfs (should be quite standard today), > or the traditional way with fdisk + newfs_msdosfs (archaic, > but should also still work). Tried the following: # gpart create -s MBR /dev/da0 da0 created # gpart show -l da0 => 63 120944577 da0 MBR (58G) 63 120944577 - free - (58G) # gpart add -t fat32 -a 4K /dev/da0 da0s1 added # gpart show -l /dev/da0 => 63 120944577 da0 MBR (58G) 63 1 - free - (512B) 64 120944576 1 (null) (58G) # newfs_msdos -F 32 -A /dev/da0s1 /dev/da0s1: 120885440 sectors in 1888835 FAT32 clusters (32768 bytes/cluster) BytesPerSec=512 SecPerClust=64 ResSectors=46 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120944576 FATsecs=14761 RootCluster=2 FSInfo=1 Backup=2 # mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: /dev/da0s1: Invalid argument Obviously I'm missing something? >>>> I need to reformat these cards so I can use them in the camera and >>>> on freebsd, and apparently neither the camera nor win7 does that, >>>> so... What's the right way to lay out, format, and create a file >>>> system on an SD card so it is usable by cameras and windoze? >>> >>> Typically using the _camera_ to do this job is the right thing. It's >>> often nice to have the card in "mint condition" (i. e., nothing on >>> it, no partitions, no filesystems). Using dd to overwrite the first >>> MB should be enough. On a "Windows" PC, the card should then >>> correctly be recognized as FAT. And on FreeBSD, you can easily mount >>> it with the -t msdos type. Just make sure that you use /dev/da0 or >>> /dev/da0s1 (some cameras are tricky and initialize the card as >>> /dev/da0 instead of /dev/da0s1, I never understood why). >> >> The problem is, on fbsd I _can't_ mount it. >> >> # dd if=/dev/zero of=/dev/da0 bs=1K count=1K >> 1024+0 records in >> 1024+0 records out >> 1048576 bytes transferred in 0.507045 secs (2068012 bytes/sec) >> >> put card in camera and format it >> >> # gpart show -r /dev/da0 >> => 63 120944577 da0 MBR (58G) >> 63 32705 - free - (16M) >> 32768 120911872 1 7 [active] (58G) >> # mount -t msdosfs /dev/da0s1 /mnt/memstick >> mount_msdosfs: /dev/da0s1: Invalid argument >> >> The card is readable by windows, however. > > It would be nice to see if _this_ card now is FAT or NTFS. > If it's NTFS, "Windows" will of course be able to use it. > On FreeBSD; you need to use nrfs_3g to mount it, though. :-) As shown earlier, ntfs-3g won't mount it, even though it's type 7 (ntfs) Thanks for your perseverance on helping explain all this... Gary From owner-freebsd-questions@freebsd.org Mon Mar 16 19:01:12 2020 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 74FD126CBFE for ; Mon, 16 Mar 2020 19:01:12 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from boulangerie.foucry.net (boulangerie.foucry.net [62.210.131.96]) (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 48h5HW34V3z3KQT for ; Mon, 16 Mar 2020 19:01:11 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from tamanoir.foucry.net (localhost [127.0.0.1]) by boulangerie.foucry.net (Postfix) with ESMTP id E4FF55B4D2 for ; Mon, 16 Mar 2020 20:01:09 +0100 (CET) X-Virus-Scanned: amavisd-new at foucry.net Received: from boulangerie.foucry.net ([127.0.0.1]) by tamanoir.foucry.net (mail.foucry.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNb-02HJYD9O for ; Mon, 16 Mar 2020 20:01:09 +0100 (CET) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by boulangerie.foucry.net (Postfix) with ESMTPSA id 139625B4D1 for ; Mon, 16 Mar 2020 20:01:09 +0100 (CET) Received: from foucry.net (mithril.foucry.net [127.0.0.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 mithril.localdomain (Postfix) with ESMTPS id 83EEB200DE for ; Mon, 16 Mar 2020 20:01:08 +0100 (CET) Date: Mon, 16 Mar 2020 20:01:07 +0100 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: poudriere, bind and libxml2-dev Message-ID: <20200316190107.GA3339@foucry.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 48h5HW34V3z3KQT X-Spamd-Bar: - X-Spamd-Result: default: False [-1.39 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; 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)[]; NEURAL_SPAM_MEDIUM(0.70)[0.697,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,reject]; IP_SCORE(-0.29)[ip: (-2.29), ipnet: 62.210.0.0/16(0.53), asn: 12876(0.32), country: FR(0.00)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:62.210.0.0/16, country:FR]; TAGGED_FROM(0.00)[freebsd]; 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, 16 Mar 2020 19:01:12 -0000 Hello folks, I would like too use the statistics channel of bind. I use a poudriere in order to compile my own packages, as many of us. The bind doc is clear, named need both libxml2 And libxml2-dev: https://kb.isc.org/docs/aa-00769 I try to remove all the options of bind in order to be sure to have libxml2-dev (poudriere option -r -p xxx dns/bind911 then poudriere option -p xxx dns/bin911), but no chance. libxml2-dev is not include. So my question is very simple, how can I add these lib to the "project" bind911. I suppose there is something in the make.conf file, but I can't figure the correct syntax, Thanks in advance for your help and take care of you and the people you love. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Mon Mar 16 20:09:03 2020 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 0C3F126E4E0 for ; Mon, 16 Mar 2020 20:09:03 +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 48h6nn4QRjz4Hg1 for ; Mon, 16 Mar 2020 20:09:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.11.49]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MRnXY-1ikkJv3LPW-00TGRP; Mon, 16 Mar 2020 21:08:50 +0100 Date: Mon, 16 Mar 2020 21:08:49 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Subject: Re: SD card formatting Message-Id: <20200316210849.7de243db.freebsd@edvax.de> In-Reply-To: <3b552229-fe07-941b-2000-56036f15c0a8@dreamchaser.org> References: <20200316000029.a6ba47c9.freebsd@edvax.de> <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> <20200316090538.27b1ecb1.freebsd@edvax.de> <3b552229-fe07-941b-2000-56036f15c0a8@dreamchaser.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:Qt6Tl8bx3GPL4iE2PkUtmvcqheoO7S/1t46SWVYSyqg3W7ls9pj dMPXrpdvGFWpjthNr6EfremtfcB+0x01MiibLrW1qe+JRDwyognAcoNi9BnqEhXm00KKM6O XzI9Gw6N2EPxix05UQkSNy7cwI+Jx+tYa0b550qARWvjgNtC4BqkXkwImRylIO2kN5MflS5 pLKbYGXOFttM5tNq0JVuQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:6E+8vNBAR5w=:oQy/64d7F1X14f/6/9BkKW 0Lwme8dnm0rSyI5Rn95hUBgtHwA6k0f9YYKq6TQLx/KxS9/3fwlFuK4Bi/rRtm1Ecex8Gb8a4 Jv26sQ0wmrGpUu93gBXN6Pte/FV/KAJ6sFJa2VIKlSPczaNUgH6mjPm6TZrepj1sRzKxDEaQf 5sDL9dxm51BbMRVAqeK6Kst12+r2HqLZJCGVz2pThdvycAg7f5azEO/YBZZMivKmyhqHdfft8 OgXTwRDLMa88bgz83WqwGU1XWXZ0CcQ3vyi0QdkkQCqboeBvXtTS8UamE/YbrDYw77qS5enoT FOZgZF1yUTdPDOz9dYaDQiWSwPONRIld9ZLSn2KHQrwiwqfgZuIDFJ+SZVGHRwl5cuKExzN4E P4ukpVvPutyuP1vK+13TRtY97OIQ8FO6E4EUH0JOwEZAgTKr/bKGUvL3IT/iP5IYudDa7W2ij xKL2WlkIW6QYJuJARHvAJp52Qyab2dJDe/345wfV/wwf6oygOpZHnpwqCuZAimbd5CloEtYSQ kOM1aO+uisIY1f/4HFRG8yHclIjUYmWErT5E2IiVP+41kNtC+h7eU1/mw8LX2kteHpMi4nctL nGyZDWEA9McK5H9E0rUquEbQer740IQfrBJUH68NdX2snJgyEW2sG0SSMXYhJiIih15aJZek5 i3oZk3Pzo0gKs8VZTzpkEBuWtXF3Eue63IgcMg/CRwLAbInInjs9biJYDshtUoYw6UJ2iX6IA TmcwrQtV/iCsXswMUdbNEVHn/TIEN/lnkAiyVRSp2P4zfCiO1Ec8fPz5uNWLTMYSeVV54P6D5 KdYKuW35Ov4Qewh8Wa5Cc+t5JntOAw1r2ZJy5jiJclqUtH9PHYSG423VEp8dwkpGP6nMWlR X-Rspamd-Queue-Id: 48h6nn4QRjz4Hg1 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.94 / 15.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)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[49.11.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,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.54)[ip: (0.17), ipnet: 217.72.192.0/20(0.37), asn: 8560(2.18), country: DE(-0.02)] 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, 16 Mar 2020 20:09:03 -0000 On Mon, 16 Mar 2020 12:36:25 -0600, Gary Aitken wrote: > On 3/16/20 2:05 AM, Polytropon wrote: > > On Sun, 15 Mar 2020 19:06:22 -0600, Gary Aitken wrote: > >> On 3/15/20 5:00 PM, Polytropon wrote: > >>> On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: > >>>> 11.3-RELEASE-p6 GENERIC amd64 > >>>> > >>>> I'm having trouble reading SD cards formatted in my camera (Olympus > >>>> EM1-MkII) or on a Win 7 system. > >>> > >>> What filesystem is in use? For cards, it's typically FAT. > >>> > >>> > >>> > >>>> When attempting to mount, I get the following: > >>>> > >>>> $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: > >>>> /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 > >>>> /mnt/memstick mount: /dev/da0s1: Operation not supported by device > >>>> > >>>> Cards used without formatting *usually* seem to work. > >>> > >>> So those are preformatted (sometimes sold this way, sometimes > >>> initialized when first used in a camera). > >>> > >>> > >>> > >>>> If I look at the cards which don't mount using gpart, I see: > >>>> > >>>> Card formatted in camera: > >>>> $ gpart show -p /dev/da0 > >>>> => 63 120944577 da0 MBR (58G) > >>>> 63 32705 - free - (16M) > >>>> 32768 120911872 da0s1 ntfs [active] (58G) > >>> ^^^^ > >>> > >>> It seems that the card has been accidentally formatted with NTFS. In > >>> most cases, cameras cannot use that. If you want to mount it on > >>> FreeBSD, use ntfs-3g. > >> > >> As stated above, this is a card formatted _in the camera_. So the > >> camera can read it fine. The problem is fbsd can't mount it. > > > >>From the program output presented, it seems that you're > > trying to mount a NTFS partition using the FAT mount option, > > which will not work. Try ntfs-3g (needs to be installed; > > mount_ntfs is no longer part of the OS). > > Ah, that's a help, thanks. > Ugh: > > # ntfs-3g /dev/da0s1 /mnt/memstick > NTFS signature is missing. > # ntfs-3g.probe --readonly /dev/da0s1 > NTFS signature is missing. > # file -r - /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0x7, active, > start-CHS (0x2,10,9), end-CHS (0x3ff,254,63), startsector 32768, > 124702720 sectors > # file -r - < /dev/da0s1 > /dev/stdin: DOS/MBR boot sector You can install ""libfsntfs" and use its identification tool to see what you really have here. If the NTFS signature is missing, the filesystem either is heavily damaged (and in that case, it's strange to see the "Windows" PC and camera being able to use it), ot, it's _not_ a NTFS filesystem, and some partitioning data is terribly misleading. > >>> Personally, I tend to leave the formatting to the camera which I want > >>> to use the card in; the camera "knows best" what it can uderstand. > >>> :-) > >> > >> In this case, the camera is not the problem; cards formatted in the camera > >> are usable by the camera. But they aren't mountable on fbsd. So I can't > >> transfer the files to fbsd, either from the camera or by inserting the > >> card in an fbsd usb adapter. > > > > Depending on the camera, a USB connection can show up as > > a mass storage device (leads to /dev/da) or a > > MTP interface (leads to /dev/ugen). In many cases, > > the "personality" can be seleted by the menu in the camera. > > It shows up as mass storage, /dev/da0 in this case So you can access the SD card "through" the camera, but you'll probably experience the same problem, right? > >> For a card never reformatted (i.e. formatted by the manufacturer, and > >> used in the camera); this card is usable by the camera and mountable > >> by fbsd: > >> > >> # file -r - < /dev/da0 > >> /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0xc, active, > >> start-CHS (0x0,130,3), end-CHS (0x3ff,254,63), startsector 8192, > >> 31496192 sectors > >> # file -r - < /dev/da0s1 > >> /dev/stdin: , code offset 0x0+3, OEM-ID " ", sectors/cluster 64, > >> reserved sectors 504, Media descriptor 0xf8, sectors/track 63, > >> heads 255, hidden sectors 8192, sectors 31496192 (volumes > 32 MB), > >> FAT (32 bit), sectors/FAT 3844, serial number 0x0, unlabeled > >> # mount_msdosfs /dev/da0s1 /mnt/memstick > >> # ls /mnt/memstick > >> DCIM System Volume Information > > > > This doesn't actually look like a "mint condition" card. A > > directory named "DCIM" is typically created by a camera. > > However, _this_ card is FAT-formatted, and therefore can be > > mounted with msdosfs as correctly shown above. The directory > > name "System Volume Information" suggests it has been in a > > "Windows" PC before. COnclusion: Card works both in camera > > an in "Windows" PC. > > Correct, it's not an unused card. It's been put in the camera, > recorded on, and then put in a windows system to transfer images. Okay, so that's the configuration to replicate. > > So the camera seems (!) to initialize cards as NTFS (strange, > > but surely possible), but also understands FAT. > > That seems to be the case. > Since ntfs-3g doesn't seem to like the camera-generated NTFS > filesystem, it seems my best option is to try to format with > the FAT it understands. Fully agree. NTFS seems to be the wrong thing (but gpart reports it). Just a stupid question: Have you tried "newfs_msdosfs -A -F 32 /dev/da0"? I mean, without the gpart part? Could that work? > > All you need to do now is to replicate _that_ formatting. > > The output shows "FAT (32 bit)", and the partitioning also > > looks reasonable. You should be able to create this either > > with gpart + newfs_msdosfs (should be quite standard today), > > or the traditional way with fdisk + newfs_msdosfs (archaic, > > but should also still work). > > Tried the following: > > # gpart create -s MBR /dev/da0 > da0 created > # gpart show -l da0 > => 63 120944577 da0 MBR (58G) > 63 120944577 - free - (58G) > # gpart add -t fat32 -a 4K /dev/da0 > da0s1 added > # gpart show -l /dev/da0 > => 63 120944577 da0 MBR (58G) > 63 1 - free - (512B) > 64 120944576 1 (null) (58G) > # newfs_msdos -F 32 -A /dev/da0s1 > /dev/da0s1: 120885440 sectors in 1888835 FAT32 clusters (32768 bytes/cluster) > BytesPerSec=512 SecPerClust=64 ResSectors=46 FATs=2 Media=0xf0 > SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120944576 > FATsecs=14761 RootCluster=2 FSInfo=1 Backup=2 > # mount -t msdosfs /dev/da0s1 /mnt/memstick > mount_msdosfs: /dev/da0s1: Invalid argument > > Obviously I'm missing something? You could see if -F 12 or -F 16 changes something. Another option is to use traditional fdisk instead of gpart... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Mon Mar 16 23:37:32 2020 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 ACDA0273A00 for ; Mon, 16 Mar 2020 23:37:32 +0000 (UTC) (envelope-from claude.buisson1@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) (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 48hCQL3VdJz4V7b for ; Mon, 16 Mar 2020 23:37:30 +0000 (UTC) (envelope-from claude.buisson1@free.fr) Received: from localhost (unknown [IPv6:2a01:cb19:823a:b300:201:2eff:fe93:abf1]) (Authenticated sender: claude.buisson1) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 09D452003BE for ; Tue, 17 Mar 2020 00:37:21 +0100 (CET) Subject: Re: SD card formatting To: freebsd-questions@freebsd.org References: From: Claude Buisson Message-ID: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> Date: Tue, 17 Mar 2020 00:37:21 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48hCQL3VdJz4V7b X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of claude.buisson1@free.fr has no SPF policy when checking 2a01:e0c:1:1599::11) smtp.mailfrom=claude.buisson1@free.fr X-Spamd-Result: default: False [2.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[free.fr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.95)[0.946,0]; TO_DN_NONE(0.00)[]; IP_SCORE(0.00)[ip: (4.18), ipnet: 2a01:e00::/26(-3.24), asn: 12322(-1.61), country: FR(0.00)]; NEURAL_SPAM_LONG(0.55)[0.554,0]; DMARC_NA(0.00)[free.fr]; R_SPF_NA(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[free.fr]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR]; 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: Mon, 16 Mar 2020 23:37:32 -0000 On 2020-03-15 22:39, Gary Aitken wrote: > 11.3-RELEASE-p6 GENERIC  amd64 > > I'm having trouble reading SD cards formatted in my camera (Olympus > EM1-MkII) > or on a Win 7 system.  When attempting to mount, I get the following: > > $ mount -t msdosfs /dev/da0s1 /mnt/memstick > mount_msdosfs: /dev/da0s1: Invalid argument > $ mount -t ntfs /dev/da0s1 /mnt/memstick > mount: /dev/da0s1: Operation not supported by device > > Cards used without formatting *usually* seem to work. > > If I look at the cards which don't mount using gpart, I see: > > Card formatted in camera: > $ gpart show -p /dev/da0 > =>       63  120944577    da0  MBR  (58G) >          63      32705         - free -  (16M) >       32768  120911872  da0s1  ntfs  [active]  (58G) > $ gpart show -r /dev/da0 > =>       63  120944577  da0  MBR  (58G) >          63      32705       - free -  (16M) >       32768  120911872    1  7  [active]  (58G) > > If I look at cards that I know I can mount I see the following: > > $ gpart show -p da0 > =>      63  30375873    da0  MBR  (14G) >         63      8129         - free -  (4.0M) >       8192  15118336  da0s1  fat32lba  (7.2G) >   15126528  15249408         - free -  (7.3G) > $ gpart show -r /dev/da0 > =>      63  30375873  da0  MBR  (14G) >         63      8129       - free -  (4.0M) >       8192  15118336    1  12  (7.2G) >   15126528  15249408       - free -  (7.3G) > > or: > > $ gpart show -p /dev/da0 > =>       1  15633407    da0  MBR  (7.5G) >          1        31         - free -  (16K) >         32  15633376  da0s1  fat32  (7.5G) > $ gpart show -r /dev/da0 > =>       1  15633407  da0  MBR  (7.5G) >          1        31       - free -  (16K) >         32  15633376    1  11  (7.5G) > > I tried reformatting as follows: > > # gpart delete -i 1 da0 > da0s1 deleted > # gpart add -i 1 -a 4M -t "\!11" da0 > da0s1 added > # gpart show -r da0 > =>       63  120944577  da0  MBR  (58G) >          63       8129       - free -  (4.0M) >        8192  120930304    1  11  (58G) >   120938496       6144       - free -  (3.0M) > # newfs_msdos -F 32 /dev/da0s1 > /dev/da0s1: 120900736 sectors in 1889074 FAT32 clusters (32768 > bytes/cluster) > BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 > SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120930304 > FATsecs=14759 RootCluster=2 FSInfo=1 Backup=2 > > If I put this card in the camera, I get an error ("Card Error") > If I again format the card in the camera, I can't mount it. > > I need to reformat these cards so I can use them in the camera and on > freebsd, and apparently neither the camera nor win7 does that, so... > What's the right way to lay out, format, and create a file system on an > SD card so it is usable by cameras and windoze? > > Thanks, > > Gary > _______________________________________________ > 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" Your card with a capacity > 32GB must be formatted as exFAT The partition type seen by gpart is the same as NTFS man gpart ... ntfs A partition that contains a NTFS or exFAT filesystem see also Bug 244461 CBu From owner-freebsd-questions@freebsd.org Tue Mar 17 01:53:37 2020 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 D08AE27648D for ; Tue, 17 Mar 2020 01:53:37 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hGRM181Vz3RH1 for ; Tue, 17 Mar 2020 01:53:34 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02H1rR1R016370; Mon, 16 Mar 2020 19:53:27 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon Cc: FreeBSD Mailing List References: <20200316000029.a6ba47c9.freebsd@edvax.de> <90f83226-b557-98c4-749b-81d9dbd795c3@dreamchaser.org> <20200316090538.27b1ecb1.freebsd@edvax.de> <3b552229-fe07-941b-2000-56036f15c0a8@dreamchaser.org> <20200316210849.7de243db.freebsd@edvax.de> From: Gary Aitken Message-ID: <2ab824c2-abb7-8870-d884-27c3ec66e2d6@dreamchaser.org> Date: Mon, 16 Mar 2020 19:52:00 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200316210849.7de243db.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 16 Mar 2020 19:53:28 -0600 (MDT) X-Rspamd-Queue-Id: 48hGRM181Vz3RH1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Tue, 17 Mar 2020 01:53:37 -0000 On 3/16/20 2:08 PM, Polytropon wrote: > On Mon, 16 Mar 2020 12:36:25 -0600, Gary Aitken wrote: >> On 3/16/20 2:05 AM, Polytropon wrote: >>> On Sun, 15 Mar 2020 19:06:22 -0600, Gary Aitken wrote: >>>> On 3/15/20 5:00 PM, Polytropon wrote: >>>>> On Sun, 15 Mar 2020 15:39:33 -0600, Gary Aitken wrote: >>>>>> 11.3-RELEASE-p6 GENERIC amd64 >>>>>> >>>>>> I'm having trouble reading SD cards formatted in my camera (Olympus >>>>>> EM1-MkII) or on a Win 7 system. >>>>> >>>>> What filesystem is in use? For cards, it's typically FAT. >>>>> >>>>> >>>>> >>>>>> When attempting to mount, I get the following: >>>>>> >>>>>> $ mount -t msdosfs /dev/da0s1 /mnt/memstick mount_msdosfs: >>>>>> /dev/da0s1: Invalid argument $ mount -t ntfs /dev/da0s1 >>>>>> /mnt/memstick mount: /dev/da0s1: Operation not supported by device >>>>>> >>>>>> Cards used without formatting *usually* seem to work. >>>>> >>>>> So those are preformatted (sometimes sold this way, sometimes >>>>> initialized when first used in a camera). >>>>> >>>>> >>>>> >>>>>> If I look at the cards which don't mount using gpart, I see: >>>>>> >>>>>> Card formatted in camera: >>>>>> $ gpart show -p /dev/da0 >>>>>> => 63 120944577 da0 MBR (58G) >>>>>> 63 32705 - free - (16M) >>>>>> 32768 120911872 da0s1 ntfs [active] (58G) >>>>> ^^^^ >>>>> >>>>> It seems that the card has been accidentally formatted with NTFS. In >>>>> most cases, cameras cannot use that. If you want to mount it on >>>>> FreeBSD, use ntfs-3g. >>>> >>>> As stated above, this is a card formatted _in the camera_. So the >>>> camera can read it fine. The problem is fbsd can't mount it. >>> >>> >From the program output presented, it seems that you're >>> trying to mount a NTFS partition using the FAT mount option, >>> which will not work. Try ntfs-3g (needs to be installed; >>> mount_ntfs is no longer part of the OS). >> >> Ah, that's a help, thanks. >> Ugh: >> >> # ntfs-3g /dev/da0s1 /mnt/memstick >> NTFS signature is missing. >> # ntfs-3g.probe --readonly /dev/da0s1 >> NTFS signature is missing. >> # file -r - > /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0x7, active, >> start-CHS (0x2,10,9), end-CHS (0x3ff,254,63), startsector 32768, >> 124702720 sectors >> # file -r - < /dev/da0s1 >> /dev/stdin: DOS/MBR boot sector > > You can install ""libfsntfs" and use its identification tool > to see what you really have here. If the NTFS signature is > missing, the filesystem either is heavily damaged (and in > that case, it's strange to see the "Windows" PC and camera > being able to use it), ot, it's _not_ a NTFS filesystem, > and some partitioning data is terribly misleading. Ugh. Apparently it's a strange beast: # fsntfsinfo -v /dev/da0 fsntfsinfo 20191221 Unable to open: /dev/da0. libcfile_file_read_buffer_with_error_code: unable to read from file with error: Invalid argument libcfile_file_read_buffer: unable to read from file. libbfio_file_read_buffer: unable to read from file: /dev/da0. libbfio_file_range_io_handle_read_buffer: unable to read from file IO handle. libbfio_handle_read_buffer: unable to read from handle. libfsntfs_check_volume_signature_file_io_handle: unable to read signature. info_handle_open_input: unable to check volume signature. /dev/da0s1 gives same result However, I just discovered this: According to https://en.wikipedia.org/wiki/File_Allocation_Table#FAT12 under the section exFAT: exFAT is intended for use on flash drives (such as SDXC and Memory Stick XC), where FAT32 is otherwise used. Microsoft's GUI and command-line format utilities offer it as an alternative to NTFS (and, for smaller partitions, to FAT16B and FAT32). The MBR partition type is 0x07 (the same as used for IFS, HPFS, and NTFS). Logical geometry information located in the VBR is stored in a format not resembling any kind of BPB. So the 0x7 NTFS type may in fact be for exFAT I've now retried formatting the card several different ways on win7 and they all failed at the very end with no useful information I finally got somithing maybe useful with this: format g: /fs:exFAT goes through format process & verifies, then asks for label. When attempting to write label, it fails with Invalid media or track 0 bad I'm leaving town tomorrow for a bit so won't be able to look into this further until I get back. I also need to scrounge up another card to test with. >>>>> Personally, I tend to leave the formatting to the camera which I want >>>>> to use the card in; the camera "knows best" what it can uderstand. >>>>> :-) >>>> >>>> In this case, the camera is not the problem; cards formatted in the camera >>>> are usable by the camera. But they aren't mountable on fbsd. So I can't >>>> transfer the files to fbsd, either from the camera or by inserting the >>>> card in an fbsd usb adapter. >>> >>> Depending on the camera, a USB connection can show up as >>> a mass storage device (leads to /dev/da) or a >>> MTP interface (leads to /dev/ugen). In many cases, >>> the "personality" can be seleted by the menu in the camera. >> >> It shows up as mass storage, /dev/da0 in this case > > So you can access the SD card "through" the camera, but > you'll probably experience the same problem, right? Cards formatted in the camera are usable by the camera and readable on win7; but not mountable/readable on fbsd using either "mount -t msdosfs" or "ntfs-3g". So far, no card formatted by fbsd is usable / recognized by the camera, but as stated above, the card I'm testing with for formatting may be bad. I'm reluctant to try formatting any of the other cards I have for fear or making them unusable; will try to find one I can risk when I get back. >>>> For a card never reformatted (i.e. formatted by the manufacturer, and >>>> used in the camera); this card is usable by the camera and mountable >>>> by fbsd: >>>> >>>> # file -r - < /dev/da0 >>>> /dev/stdin: DOS/MBR boot sector; partition 1 : ID=0xc, active, >>>> start-CHS (0x0,130,3), end-CHS (0x3ff,254,63), startsector 8192, >>>> 31496192 sectors >>>> # file -r - < /dev/da0s1 >>>> /dev/stdin: , code offset 0x0+3, OEM-ID " ", sectors/cluster 64, >>>> reserved sectors 504, Media descriptor 0xf8, sectors/track 63, >>>> heads 255, hidden sectors 8192, sectors 31496192 (volumes > 32 MB), >>>> FAT (32 bit), sectors/FAT 3844, serial number 0x0, unlabeled >>>> # mount_msdosfs /dev/da0s1 /mnt/memstick >>>> # ls /mnt/memstick >>>> DCIM System Volume Information >>> >>> This doesn't actually look like a "mint condition" card. A >>> directory named "DCIM" is typically created by a camera. >>> However, _this_ card is FAT-formatted, and therefore can be >>> mounted with msdosfs as correctly shown above. The directory >>> name "System Volume Information" suggests it has been in a >>> "Windows" PC before. COnclusion: Card works both in camera >>> an in "Windows" PC. >> >> Correct, it's not an unused card. It's been put in the camera, >> recorded on, and then put in a windows system to transfer images. > > Okay, so that's the configuration to replicate. > > > >>> So the camera seems (!) to initialize cards as NTFS (strange, >>> but surely possible), but also understands FAT. >> >> That seems to be the case. >> Since ntfs-3g doesn't seem to like the camera-generated NTFS >> filesystem, it seems my best option is to try to format with >> the FAT it understands. > > Fully agree. NTFS seems to be the wrong thing (but gpart > reports it). > > Just a stupid question: > > Have you tried "newfs_msdosfs -A -F 32 /dev/da0"? > I mean, without the gpart part? Could that work? Doesn't work, camera can't deal with it. >>> All you need to do now is to replicate _that_ formatting. >>> The output shows "FAT (32 bit)", and the partitioning also >>> looks reasonable. You should be able to create this either >>> with gpart + newfs_msdosfs (should be quite standard today), >>> or the traditional way with fdisk + newfs_msdosfs (archaic, >>> but should also still work). >> >> Tried the following: >> >> # gpart create -s MBR /dev/da0 >> da0 created >> # gpart show -l da0 >> => 63 120944577 da0 MBR (58G) >> 63 120944577 - free - (58G) >> # gpart add -t fat32 -a 4K /dev/da0 >> da0s1 added >> # gpart show -l /dev/da0 >> => 63 120944577 da0 MBR (58G) >> 63 1 - free - (512B) >> 64 120944576 1 (null) (58G) >> # newfs_msdos -F 32 -A /dev/da0s1 >> /dev/da0s1: 120885440 sectors in 1888835 FAT32 clusters (32768 bytes/cluster) >> BytesPerSec=512 SecPerClust=64 ResSectors=46 FATs=2 Media=0xf0 >> SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=120944576 >> FATsecs=14761 RootCluster=2 FSInfo=1 Backup=2 >> # mount -t msdosfs /dev/da0s1 /mnt/memstick >> mount_msdosfs: /dev/da0s1: Invalid argument >> >> Obviously I'm missing something? > > You could see if -F 12 or -F 16 changes something. Another > option is to use traditional fdisk instead of gpart... Will hold off until I get another (hopefully good) card. Thanks, Gary From owner-freebsd-questions@freebsd.org Tue Mar 17 04:48:26 2020 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 A6CE1259F7A for ; Tue, 17 Mar 2020 04:48:26 +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 48hLK44p51z41kt for ; Tue, 17 Mar 2020 04:48:24 +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=mfchRMQjp25VDT3pL9GgWwlK4V8ssXB2Ws7RLgY6Fh8=; b=AL8WGkFQmdWT/l/axJRSMnMaYv lUbswDYWUmp3A1R4Ymll2SLN9nYw6wHpzjgPmmUGxAekKAMt3qTvie0sf9gv+vDL1gedYFM4GKGFM wN4Eheqj2D0mf7vBo7yMpNyL1tBKuSurnghUPqTXO5P290zCs9Todpkf8op2gdpB04Uo=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE49N-0005Bq-UG for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 11:48:21 +0700 Date: Tue, 17 Mar 2020 11:48:21 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317044821.GA19098@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" 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 X-Rspamd-Queue-Id: 48hLK44p51z41kt X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=AL8WGkFQ; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.90), 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, 17 Mar 2020 04:48:26 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Christos Chatzaras wrote: >=20 > > 1. On Debian, you can run several instances of php-fpm with different > > PHP versions in them. > >=20 > > 2. On Debian, you can install and run several versions of PostgreSQL > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > infrastructure. > >=20 > > All that from standard packages, without manual compiling and tweaking, > > jails etc, with minimal effort. > >=20 > > Not that FreeBSD could not do that, it just does not do that. Especially > > PHP verions are a great PITA. >=20 > It's not much effort to use jails for these cases. I prefer it this way. Using jails will be especially counterproductive in case of PostgreSQL because you will not be able to do smart things like=20 "pg_update --link --old-datadir XXX --new-datadir YYY". --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecFaVAAoJEA2k8lmbXsY0RvUH/A23YizIz0+cYbSAgN9bHZGE y+BLj3EjLSPrp0uAiMcY36j0obWDSxY78GvI4aLLgnzQVv7b7yIgBkJeZO4usz8W R1kxKC4RjBMhnHYHflAFow2Azoa23cqlse+5Eu0wDokP6G0OxV1gj6DvLUxJhA5z XO1yW6ptd3sTGSb3sY8qcRHv0eO9E5I1GZmlH9XqiDIfu7tw/bkkzkZ6+2Xf4GZD r25mSzeqDIurTgbp4VqOe0OdJpAiOHvMGphE+0SckuFRtYeX3EKOP1MBcV/mmW7c DbaxXikVpC+dqdwsWrt78yF9MAv6zXjt3KjMRBOuq7t44mSZ5D1nxRvFv6RzZKw= =Mklf -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- From owner-freebsd-questions@freebsd.org Tue Mar 17 04:50:23 2020 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 F3A8625A3C5 for ; Tue, 17 Mar 2020 04:50:22 +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 48hLMK38Qjz44qw for ; Tue, 17 Mar 2020 04:50:21 +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=/g0qN0GRWAAvF4nfHqgy+z6JSp3FL0HK6jUb+nGNfGs=; b=dx8EUyKE+UG/SGbykw6dhw/EbN ukB2ARAYxSEl/qy4W3Sroe7ePtbCXKXt/6rTqCA11zLQpvFZlGdaOVcpDJae1IbE4jMt7uEF5trQD f2pcbD4088JJVshSv/wL/mU0tTOSly5lTWHZvOgntN8uah8sisr96VAIiNqT88ozguiA=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE4BH-0005Cz-9x for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 11:50:19 +0700 Date: Tue, 17 Mar 2020 11:50:19 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317045019.GB19098@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <48gymZ079hz1ftWr@baobab.bilink.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: <48gymZ079hz1ftWr@baobab.bilink.it> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hLMK38Qjz44qw X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=dx8EUyKE; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.90), 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, 17 Mar 2020 04:50:23 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Luciano Mannucci wrote: > On Mon, 16 Mar 2020 13:42:32 +0200 > Christos Chatzaras wrote: >=20 > > > Not that FreeBSD could not do that, it just does not do that. Especia= lly > > > PHP verions are a great PITA. =20 > >=20 > > It's not much effort to use jails for these cases. I prefer it this way. > I've installed all the php versions under /opt.=20 Manually, from source?=20 > I just had to create > the needed startup files in /usr/local/etc/rc.d and put the ""enable" > variables in /erc/rc.conf. > Works like a charm... Upgrading too? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecFcLAAoJEA2k8lmbXsY0t6IH/2OAbQ0weh3XMWZeI+McV6oZ vIbWmMM1AhsHGzT7RyglhJv5P8wU6RDUXN+Utp/uELCicEn27bhec86nEYjSwH7h gB1zrKGquz33BAQ9pc3MliWlMDBJT6P9G1oMiuy0bBkDmBL8QEycCrJkTrlipjY2 mmYURubfZQQcnBIwbaEYJ3lTNVNS3eaUZrZHRrPde/pQXl9/T2V0Qq2pVjUn3IfJ sBVKROeN4Rw/MPUuKCRU0jvyKxWvzIagYrJBzSAp1toWHetTNLqV2pYE9v9NOUd1 P9hKZFroOLg4ucJwGqoDVI0cFqwXyxa2ZptnEGNjlmcSBcccdC1FIM/YSMCcDlk= =MxZB -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW-- From owner-freebsd-questions@freebsd.org Tue Mar 17 05:02:28 2020 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 C187B25A9D8 for ; Tue, 17 Mar 2020 05:02:28 +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 48hLdH6yyNz4TRH for ; Tue, 17 Mar 2020 05:02:27 +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=EMYFQ8wwnOznLOa8w8Vqp9ziNjc+du3ma787Qmh6fwk=; b=kW3FkPxFyAeRhdjL3pdImLQ8fr 0z7JI0vE4tfaaQxwxhzf/09k24xr8Vy02hFi/jAqPeaNzVMOaefDQIIpcXgSyGhdeJJJMoEoavf3K KWZ8XpKaoAtXWMMDqH2trZxq68D0iknAc22CInKJ0xuXbBJsLeLuso+Ycilf1+aPvk9Q=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE4N0-0005Gy-Jd for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 12:02:26 +0700 Date: Tue, 17 Mar 2020 12:02:26 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317050226.GC19098@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dkEUBIird37B8yKS" Content-Disposition: inline In-Reply-To: <20200316114638.GD1410@belspo> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hLdH6yyNz4TRH X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=kW3FkPxF; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.985,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.90), 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, 17 Mar 2020 05:02:28 -0000 --dkEUBIird37B8yKS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Julien Cigar wrote: > > >=20 > > > The insanity of systemd is a large part of what convinced me > > > to migrate all my personal machines from GNU/Linux to FreeBSD > > > a couple of years ago. > >=20 > > I've just come across two related things which may convince me to > > migrate some machines from FreeBSD to Debian. > >=20 > > 1. On Debian, you can run several instances of php-fpm with different > > PHP versions in them. > >=20 > > 2. On Debian, you can install and run several versions of PostgreSQL > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > infrastructure. > >=20 > > All that from standard packages, without manual compiling and tweaking, > > jails etc, with minimal effort. >=20 > that's true, but once you setup a dedicated Poudriere machine,=20 I do have a dedicated Poudriere machine. It can *build* different versions and combinations of PHP/whatever (even that not always unless you build separate -z sets with different make.conf files), unfortunately you cannot *install* them simultaneously. > that all > your deployments are happening in jails,=20 *All" deployments in jails is an overkill. Using jails will be especially counterproductive in case of PostgreSQL because you will not be able to do smart things like=20 "pg_update --link --old-datadir XXX --new-datadir YYY". > that you use some CMS (like > SaltStack), and that everything is based on ZFS it's a *lot* easier to > maintain on the long term, and you have a lot of flexibility. I think I don't quite agree with you. Keeping multiple jails in an updated state, and building multiple Poudriere sets (combination of packages) for all your service jails is a huge administrative overhead best avoided when not absolutely necessary. >=20 > I have to deal with some very old (15+ years) shit at work that isn't > updated but has to be accessible (webapps) (don't ask) and thanks to > jails and things like rctl I could stil use that latest -RELEASE while > isolating the old shit in 10.x-RELEASE jails. Try to do that with > Linux.. (I don't say it's impossible but it would require a lot more > work IMHO) That's a different matter when the use of jails is justified. However, for having nice and supported php72 and php73 packages simultaneously you don't need such security measures. After all, FreeBSD has learned to have different versions of Python. PS Debian's pg_*cluster framework rocks! --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --dkEUBIird37B8yKS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecFniAAoJEA2k8lmbXsY0NNsH/R6nmSKMwon9aj1bLSXAGoKQ Esm/ND+w+rdT6hgL/TrTiGUmzFI+hAdZMy9SGCi+P+3Zp+4CzkqydTp4S81Ntzz8 mDoSeohcLeaCmzPVyjJ4Di6HxfNAGa2cPHw/XBHVm8IRT47yawae3njSETcY07/6 Q2IGqyfInzi+3+3VnOo3l90s19uza6MI0bFe1FO7Ryxp6PaA//6GUcCVhAAlVXeS qWLBUQ8r2hJnkONb0/yeoLjVtyxP1DltSKR3djhI9mI858uOIyZMnSfe0W1pvjpk s02tkCqtn4WrrJs2+2iacBHkMWIoQUC/oa2PojB0+naqw5TKfA7Sb02N5AHXv1E= =KHMn -----END PGP SIGNATURE----- --dkEUBIird37B8yKS-- From owner-freebsd-questions@freebsd.org Tue Mar 17 05:05:12 2020 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 B365925AB2D for ; Tue, 17 Mar 2020 05:05:12 +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 48hLhR5pwgz4WtR for ; Tue, 17 Mar 2020 05:05: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=In-Reply-To:Message-ID:Subject:To:From:Date; bh=J3y/gwprs4EGEiDoczBn9v3kctTOlhVwnOYpvOjNbTI=; b=aIlr2ih3UiTqxRM+aM7Cfv1PT7 TCS9Ql2TSNCSUcFw8n5aZTUmwd3rckXvXVo7jQkf6QDcWHy1KsdgDdavA9SPImhbD50xgapxYj+W2 ngCjw129/11dUthJMIHJZjryC4v6wOrhqM70nE85TSQxfNOOFiH+MeS+NX8YKMK4BuOg=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE4Pe-0005Hr-7n for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 12:05:10 +0700 Date: Tue, 17 Mar 2020 12:05:10 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317050510.GD19098@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cHMo6Wbp1wrKhbfi" 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 X-Rspamd-Queue-Id: 48hLhR5pwgz4WtR X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=aIlr2ih3; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), 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, 17 Mar 2020 05:05:12 -0000 --cHMo6Wbp1wrKhbfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ottavio Caruso via freebsd-questions wrote: > > > > I've just come across two related things which may convince me to > > migrate some machines from FreeBSD to Debian. > > > > 1. On Debian, you can run several instances of php-fpm with different > > PHP versions in them. > > > > 2. On Debian, you can install and run several versions of PostgreSQL > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > infrastructure. > > > > All that from standard packages, without manual compiling and tweaking, > > jails etc, with minimal effort. > > > > Not that FreeBSD could not do that, it just does not do that. Especially > > PHP verions are a great PITA. >=20 > Off topic and probably unwelcome, but with pkgsrc you can have > different bootstraps with different parameters, hence different > versions of the same program. Can this be somehow used in FreeBSD? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --cHMo6Wbp1wrKhbfi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecFqGAAoJEA2k8lmbXsY0sssH/jQ+Wb+5ZPqncbPFkVVy2yQC in6WwFQfl3gNxaEoxd4z5Kqd5GgIcmcHb+PVdPmji9F/XHor8yBIxT4niACOO+Br /o1K3iwBllhw0r7iaSOj5fgkkS9FDCPh543bgKevuPzDIfQL7aFF93pQyDlyDZV2 a1mi2xMJFq2vQ5aALbHG8hhtX6x6D85O4AnVA5N61wvuv0LSVaC8sVUzle/MRoJY qwWUVho5bSvzVmpCPFppymEDldymEQWsUEC/4igxbOleJcIpYjFQwwmtgiVo8Zji /fSl9QFKueUZajsj09Y0bS397es02a8UA/+dQHTiL3Ard48FYsq3XY+akz6rZ60= =5bId -----END PGP SIGNATURE----- --cHMo6Wbp1wrKhbfi-- From owner-freebsd-questions@freebsd.org Tue Mar 17 05:29:46 2020 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 3E31D25B127 for ; Tue, 17 Mar 2020 05:29:46 +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 48hMDn0SsQz3QXc for ; Tue, 17 Mar 2020 05:29:44 +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=dKRFTkjwRP6Ejmv6brPauTEDPwknuRE33AUhWFHU/HU=; b=jNsyohBlpVQpYD78QS+hD3loOk qnM36N4b9LWqtEarVkDsZQlx2vZB0Oi0G6GeYumJhvqZvdBKW6E4k/Ak16dg1+99cohrzAxd/ZHOn IH39dXUbaYR8FgTkt49EhHyeQy6SLMjBlGD9aewASPGbSes2yCBYR3L6YqJ2xSo1J0Gs=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jE4nP-0005Po-DB for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 12:29:43 +0700 Date: Tue, 17 Mar 2020 12:29:43 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317052943.GE19098@admin.sibptus.ru> References: <8a9a33b3-4eb1-419c-a9e3-fca4db430619@www.fastmail.com> <20200217194207.rxmcomsn4jvmoc7c@sea-ll-10936> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ryJZkp9/svQ58syV" Content-Disposition: inline In-Reply-To: <20200217194207.rxmcomsn4jvmoc7c@sea-ll-10936> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hMDn0SsQz3QXc X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=jNsyohBl; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), 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, 17 Mar 2020 05:29:46 -0000 --ryJZkp9/svQ58syV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ihor Antonov wrote: [dd] >=20 > Basically docker "image" is just collection of layers.=20 > When you work on the dockerfile and > rebuild it regularly - you don't want to rebuild parts that have not > changed. And so docker came up with the idea of image layers. Each > command in Dockerfile creates a layer. And if you did not touch that > specific line in dockerfile - layer will be re-used > When you are finished - your "image" is just a resulting set of layers. > (overly simplified, but the gist of it)=20 This is what the current FreeBSD jail system is lacking. At best, jail management systems like ezjail offer two layers: the base jail and the overlay jail. This is AFAIK. If someone is better informed please correct me. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ryJZkp9/svQ58syV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecGBHAAoJEA2k8lmbXsY0iz4IAI6rzmbwIgK3nM5fK1TKSwNo rvGHaQ91ZQ4XGggCMvpJQ0pu5NvSKCLHdr3OdkR+6QLHC6EF8RFUfwHLWTVfzbv6 wLsqADdJKYnpAh3xhzlK072yF/BwtKyI8lKFKrBKWHLHnPjXmPGtsL+auS+y9PoO qvMwVPIMuaxF6cgYMiKUt/c/K6qv3vxBfuFAbCeOdMlRaOlznqGeobIc/kVjG+J3 pAq005BkKqN/fpNfEhwF/adQgjLU5t+pd7qcOlLmpuXVfuJ+p5RzdHzfbSn6rvnW 2eg/QjDbw0Lka1uZSKQTW/M2gNH+yA1FwyIiafrvZMb0t/si1gwxpz2nX3DEF58= =nOsq -----END PGP SIGNATURE----- --ryJZkp9/svQ58syV-- From owner-freebsd-questions@freebsd.org Tue Mar 17 06:59:14 2020 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 5C5BE25CB6B for ; Tue, 17 Mar 2020 06:59:14 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic314-22.consmr.mail.ne1.yahoo.com (sonic314-22.consmr.mail.ne1.yahoo.com [66.163.189.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48hPD06mS9z4QLn for ; Tue, 17 Mar 2020 06:59:12 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: VoX3UYIVM1mCP_iKY.6z0OUbXG2R..6ZpfrB4xdYxl.ArbQ78hbIvtgQ5xVn7Sf B3ag3gBJVEpK_rUhNR2t3tsnG5fIIqCwg8MECyc3bhR8YjVJcsCJZAfdh8M.5Pr4N2BXmoBcZdPO 9PROvV3dbU6GM3mUHuhVOXtDjNgEwGJzVcts.c5GdsteJSHrBY6N79G_TOFo7Nzxt9uMybkvuXSQ kBJ.jgFTId_EuAdb2pe6aW4GzEidpW2AXLFq9X6cwLPhwD60Z9F_O4Rt9w6cZzcl78WYipHwFEKz LBmyrXyguAOj.ykdVWoaXrrGcpNieCj0x7oN7baUOuJPid3LTL1pBqN75pSHYFN19Ms7aLmvyT_p Pmp_0.zgqsHwHy_6FoNf6l5zcKir7F68vhsSz9vYteyCDYoUaPZfdODiJYOLY4.mzIrQwK_lnG5F IzUKqSod9HHR6UQd5aWVLH5kwGfOJzuIwUqaChWd6khdiw0LygTpWtFAnttWeafWOGb8hyIHDalQ KKqiNvjSwfuZGIWAp6_Ihgq8Idmni3CpZRshlJrlKnhOMx4gn7wKgG9xzFZJt8KnOW._vafdzlyv fGi9qZSdUBOidZeKx.tKRABilpCDag9AcXAsGfizbKETBnSFx8ktG57xbH6hjE54WoZAD_lE78c9 46O_y5I3JK3svMMtFo9RFz4g6GyIQfuVV6wt03ilQm8d7H1aqXoC_9pPv6D5_dffKjAlNI6AWhBH r.0LA51nsycxa.Mkp3sZK9sR2KWF6NjTjPHBU9kVC0b_BeGUXklQ0FaUpKApM9blT9gkNN76sqW6 DrcYLP5epwhxMIMo3T.ZwOle8KtfTRLxqKXj0Zikx1RxK.rra6ZfjXxTXskEE9b7cQDK0mV6NDtW uPsUQk7RLhf9j9_wHAHMiZw8rB1vlw50YYQ_5b2SAT8x0YeZQZoYk2LC6tkmqQzEpMkHHyEHQBCe 7cC5jOoRm7bHD4PsBQC993EuKhBgD1nIee6rSuBzbR.GPV9DnIa9HYqCKmmtzL3qf_mTBCHj23Ok u.0M98sdv61T1WYaWZmUu_yn.QqugSeeQX8_w9fGRi9s65tR21CwPLGguuid7WVYIv5ulSarvMmG EKfcJ_3_dgZriKvKm4yOvZFzVb62NEszhElL2uoOIoG8BkQaliEYdXe6oDSXtTU4_nolhnDaHgUx DdiDeUwUszD8rpDDf2_L2E1.Sh7IoXDHGXJWx4q6sNuRs6N8.jKJA7CmnyPns3CxNQnaMHhIjylw Tk6GivJ1.xUG6vCFrh9jr5tFYbX0ES0M8IFjW0FgHXLdXj7PziOjpmULeNrc9Zj0PqPmsv9AIP.V seeuLENBNO05lBd6tcfIxdTbT42gA5ncJn5dnhsAj4vRamhMBvIrtDCRjPjyCF3UJzez_m_KAQHV rwRrc_zrWgv0- Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Tue, 17 Mar 2020 06:59:10 +0000 Received: by smtp430.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID d42951e74aeb0cfc93caa8e6f01cd094; Tue, 17 Mar 2020 06:59:09 +0000 (UTC) Received: by mail-pl1-f176.google.com with SMTP id g6so9220657plt.2 for ; Mon, 16 Mar 2020 23:59:08 -0700 (PDT) X-Gm-Message-State: ANhLgQ2Ia7ihwJ+QvvaFMb/ker5F3Y6thuDf73gHzNBI58Ehh5eQzxqS bECN1SPInavkU8RthZAB4b3TPMT6IloDyQbF8zc= X-Google-Smtp-Source: ADFU+vs8aUiVwdU+Eryz3GXiz0BSrQkE0vpMY8SJD7/9PZ+Ulj0bNdoh6nvjhZ1W2PFz4F5Bx9nnnP3IfbXx4ioRFSk= X-Received: by 2002:a17:90b:2309:: with SMTP id mt9mr3663359pjb.80.1584428348271; Mon, 16 Mar 2020 23:59:08 -0700 (PDT) MIME-Version: 1.0 References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200317050510.GD19098@admin.sibptus.ru> In-Reply-To: <20200317050510.GD19098@admin.sibptus.ru> From: Ottavio Caruso Date: Tue, 17 Mar 2020 06:58:50 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15342 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_241) X-Rspamd-Queue-Id: 48hPD06mS9z4QLn X-Spamd-Bar: / X-Spamd-Result: default: False [0.86 / 15.00]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; RWL_MAILSPIKE_NEUTRAL(0.00)[148.189.163.66.rep.mailspike.net : 127.0.0.13]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.96)[0.964,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (5.15), ipnet: 66.163.184.0/21(1.18), asn: 36646(0.94), country: US(-0.05)]; NEURAL_SPAM_LONG(0.60)[0.596,0]; RCVD_IN_DNSWL_NONE(0.00)[148.189.163.66.list.dnswl.org : 127.0.5.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, 17 Mar 2020 06:59:14 -0000 On Tue, 17 Mar 2020 at 05:05, Victor Sudakov wrote: > > Ottavio Caruso via freebsd-questions wrote: > > > > Off topic and probably unwelcome, but with pkgsrc you can have > > different bootstraps with different parameters, hence different > > versions of the same program. > > Can this be somehow used in FreeBSD? Yes, pkgsrc is platform independent. http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/bootstrap/README.FreeBSD http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/bootstrap/README -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Tue Mar 17 08:52:45 2020 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 87E8225F225 for ; Tue, 17 Mar 2020 08:52:45 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 48hRkz5gr4z4Vnp for ; Tue, 17 Mar 2020 08:52:43 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 48hRkx2nTVz1ftWs for ; Tue, 17 Mar 2020 09:52:41 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 48hRkx22VMz1ftWh for ; Tue, 17 Mar 2020 09:52:41 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id 0EC8F4D5B7C for ; Tue, 17 Mar 2020 09:52:41 +0100 (CET) Date: Tue, 17 Mar 2020 09:52:24 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux In-Reply-To: <20200317045019.GB19098@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <48gymZ079hz1ftWr@baobab.bilink.it> <20200317045019.GB19098@admin.sibptus.ru> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <48hRkx22VMz1ftWh@baobab.bilink.it> X-Virus-Scanned: PippoLillo, ClamAV using ClamSMTP X-Rspamd-Queue-Id: 48hRkz5gr4z4Vnp X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of luciano@vespaperitivo.it designates 212.45.144.44 as permitted sender) smtp.mailfrom=luciano@vespaperitivo.it X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.45.144.0/24]; 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(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[vespaperitivo.it]; RCVD_IN_DNSWL_NONE(0.00)[44.144.45.212.list.dnswl.org : 127.0.10.0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8816, ipnet:212.45.128.0/19, country:IT]; IP_SCORE(-2.81)[ip: (-8.07), ipnet: 212.45.128.0/19(-4.03), asn: 8816(-1.96), country: IT(0.03)] 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, 17 Mar 2020 08:52:45 -0000 On Tue, 17 Mar 2020 11:50:19 +0700 Victor Sudakov wrote: > I've installed all the php versions under /opt. > > Manually, from source? Yes. I know it can be done via the ports (I don't remeber the option now), but it becomes a bit nighmarish to upgrade. > > > I just had to create > > the needed startup files in /usr/local/etc/rc.d and put the ""enable" > > variables in /erc/rc.conf. > > Works like a charm... > > Upgrading too? Yep. Once you've setup a working configure build script for each version you want to keep, you just follow the releases on www.php.net. Usually I'm one or two days ahead from the official upgrade. I started the whole circus because I needed php5.X for a customer that had a homemade web app that he didn't manage to run under a more modern php. Once you have a working setup, adding more versions is not that difficult. Cheers, Luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-questions@freebsd.org Tue Mar 17 09:31:30 2020 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 8F07F25FF88 for ; Tue, 17 Mar 2020 09:31:30 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 48hSbg39F2z4XGZ for ; Tue, 17 Mar 2020 09:31:26 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from x1 (unknown [77.109.101.182]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 577851D4FC10; Tue, 17 Mar 2020 10:31:24 +0100 (CET) Date: Tue, 17 Mar 2020 10:31:22 +0100 From: Julien Cigar To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317093122.GB1183@x1> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200317050226.GC19098@admin.sibptus.ru> X-Rspamd-Queue-Id: 48hSbg39F2z4XGZ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=XYX3=5C=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=XYX3=5C=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.633,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.04)[ip: (-9.01), ipnet: 193.191.192.0/19(-4.50), asn: 2611(-1.65), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MID_RHS_NOT_FQDN(0.50)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; 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, 17 Mar 2020 09:31:30 -0000 On Tue, Mar 17, 2020 at 12:02:26PM +0700, Victor Sudakov wrote: > Julien Cigar wrote: > > > > > > > > The insanity of systemd is a large part of what convinced me > > > > to migrate all my personal machines from GNU/Linux to FreeBSD > > > > a couple of years ago. > > > > > > I've just come across two related things which may convince me to > > > migrate some machines from FreeBSD to Debian. > > > > > > 1. On Debian, you can run several instances of php-fpm with different > > > PHP versions in them. > > > > > > 2. On Debian, you can install and run several versions of PostgreSQL > > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > > infrastructure. > > > > > > All that from standard packages, without manual compiling and tweaking, > > > jails etc, with minimal effort. > > > > that's true, but once you setup a dedicated Poudriere machine, > > I do have a dedicated Poudriere machine. It can *build* different > versions and combinations of PHP/whatever (even that not always unless > you build separate -z sets with different make.conf files), > unfortunately you cannot *install* them simultaneously. > > > that all > > your deployments are happening in jails, > > *All" deployments in jails is an overkill. > why? jails are so lightweight and are created almost instantly.. > Using jails will be especially counterproductive in case of PostgreSQL > because you will not be able to do smart things like > "pg_update --link --old-datadir XXX --new-datadir YYY". there are workarounds, see 20190829 un ports/UPDATING for an example. > > > that you use some CMS (like > > SaltStack), and that everything is based on ZFS it's a *lot* easier to > > maintain on the long term, and you have a lot of flexibility. I think > > I don't quite agree with you. Keeping multiple jails in an updated > state, and building multiple Poudriere sets (combination of packages) > for all your service jails is a huge administrative overhead best > avoided when not absolutely necessary. that's what I'm doing here and it's perfectly manageable (with SaltStack).. > > > > > I have to deal with some very old (15+ years) shit at work that isn't > > updated but has to be accessible (webapps) (don't ask) and thanks to > > jails and things like rctl I could stil use that latest -RELEASE while > > isolating the old shit in 10.x-RELEASE jails. Try to do that with > > Linux.. (I don't say it's impossible but it would require a lot more > > work IMHO) > > That's a different matter when the use of jails is justified. However, > for having nice and supported php72 and php73 packages simultaneously > you don't need such security measures. After all, FreeBSD has learned to > have different versions of Python. > > PS Debian's pg_*cluster framework rocks! > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@freebsd.org Tue Mar 17 09:35:10 2020 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 CF39F26046B for ; Tue, 17 Mar 2020 09:35:10 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 48hSgx093Wz4cmr for ; Tue, 17 Mar 2020 09:35:08 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from x1 (unknown [77.109.101.182]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id CD5551D4FC19; Tue, 17 Mar 2020 10:35:07 +0100 (CET) Date: Tue, 17 Mar 2020 10:35:06 +0100 From: Julien Cigar To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317093506.GC1183@x1> References: <8a9a33b3-4eb1-419c-a9e3-fca4db430619@www.fastmail.com> <20200217194207.rxmcomsn4jvmoc7c@sea-ll-10936> <20200317052943.GE19098@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200317052943.GE19098@admin.sibptus.ru> X-Rspamd-Queue-Id: 48hSgx093Wz4cmr X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=XYX3=5C=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=XYX3=5C=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.65)[-0.646,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.04)[ip: (-9.01), ipnet: 193.191.192.0/19(-4.50), asn: 2611(-1.65), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MID_RHS_NOT_FQDN(0.50)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; 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, 17 Mar 2020 09:35:11 -0000 On Tue, Mar 17, 2020 at 12:29:43PM +0700, Victor Sudakov wrote: > Ihor Antonov wrote: > > [dd] > > > > > Basically docker "image" is just collection of layers. > > When you work on the dockerfile and > > rebuild it regularly - you don't want to rebuild parts that have not > > changed. And so docker came up with the idea of image layers. Each > > command in Dockerfile creates a layer. And if you did not touch that > > specific line in dockerfile - layer will be re-used > > When you are finished - your "image" is just a resulting set of layers. > > (overly simplified, but the gist of it) > > This is what the current FreeBSD jail system is lacking. At best, jail > management systems like ezjail offer two layers: the base jail and the > overlay jail. the problem with ezjail is that all your jails need to be the same version. The biggest advantage of using full (thick) jail is that you have fully independent ZFS dataset (or ..) that you can replicate (hot spares) > > This is AFAIK. If someone is better informed please correct me. > > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@freebsd.org Tue Mar 17 13:09:35 2020 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 D7BAC265B8A for ; Tue, 17 Mar 2020 13:09:35 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 48hYRM0Kjjz4GlF for ; Tue, 17 Mar 2020 13:09:34 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.142.235]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 24EAC4E687 for ; Tue, 17 Mar 2020 08:09:34 -0500 (CDT) Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200317044821.GA19098@admin.sibptus.ru> From: Valeri Galtsev Message-ID: <57fa21ef-83d3-7a62-19f6-5475ffa437b2@kicp.uchicago.edu> Date: Tue, 17 Mar 2020 08:09:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200317044821.GA19098@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48hYRM0Kjjz4GlF X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[235.142.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[235.142.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.11)[ip: (0.32), ipnet: 128.135.0.0/16(0.16), asn: 160(0.13), country: US(-0.05)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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, 17 Mar 2020 13:09:35 -0000 On 3/16/20 11:48 PM, Victor Sudakov wrote: > Christos Chatzaras wrote: >> >>> 1. On Debian, you can run several instances of php-fpm with different >>> PHP versions in them. >>> >>> 2. On Debian, you can install and run several versions of PostgreSQL >>> simultaneously thanks to the pg_createcluster/pg_lsclusters/... >>> infrastructure. >>> >>> All that from standard packages, without manual compiling and tweaking, >>> jails etc, with minimal effort. >>> >>> Not that FreeBSD could not do that, it just does not do that. Especially >>> PHP verions are a great PITA. >> >> It's not much effort to use jails for these cases. I prefer it this way. > > Using jails will be especially counterproductive in case of PostgreSQL > because you will not be able to do smart things like > "pg_update --link --old-datadir XXX --new-datadir YYY". > Running postgresql in jails (several instances in jails on several physical machines), never had problem to do update as above. Valeri -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Mar 17 13:45:04 2020 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 3B1C326681A for ; Tue, 17 Mar 2020 13:45: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 48hZDG14y1z3FNd for ; Tue, 17 Mar 2020 13:45:01 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=lToDLKwZFqz3Kou2uwBDHHNaRz/5LK7QPhkcCJNMIqQ=; b=M8TAg403fqFi6XVJ/M8OttSF3X EmkfXPBFTzmUAmXobCPju+ALVodlap/xg6rNXQai8D1zv4WoigzpXFb0I3LFEAo/1y+LeCVQmZsxH KzP0JRZF3foHtWgO5Ekd2GHQFDddsDm8RpcOiE0e7NyEX3tPCGW0Ozrks6cHLg4Wkl5E=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jECWc-0008Ul-M8 for freebsd-questions@freebsd.org; Tue, 17 Mar 2020 20:44:54 +0700 Date: Tue, 17 Mar 2020 20:44:54 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317134454.GA31413@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20200317093122.GB1183@x1> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hZDG14y1z3FNd X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=M8TAg403; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.985,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), 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, 17 Mar 2020 13:45:04 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Julien Cigar wrote: > > > > I've just come across two related things which may convince me to > > > > migrate some machines from FreeBSD to Debian. > > > >=20 > > > > 1. On Debian, you can run several instances of php-fpm with differe= nt > > > > PHP versions in them. > > > >=20 > > > > 2. On Debian, you can install and run several versions of PostgreSQL > > > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > > > infrastructure. > > > >=20 > > > > All that from standard packages, without manual compiling and tweak= ing, > > > > jails etc, with minimal effort. > > >=20 > > > that's true, but once you setup a dedicated Poudriere machine,=20 > >=20 > > I do have a dedicated Poudriere machine. It can *build* different > > versions and combinations of PHP/whatever (even that not always unless > > you build separate -z sets with different make.conf files), > > unfortunately you cannot *install* them simultaneously. > >=20 > > > that all > > > your deployments are happening in jails,=20 > >=20 > > *All" deployments in jails is an overkill. > >=20 >=20 > why? jails are so lightweight and are created almost instantly..=20 But upgraded and updated painfully. I still see nightmares about ezjail on our web-hosting server. However, I've learnt in this thread of new tools emerging: sysutils/{iocage,pot,bastille}. So maybe there is hope yet. >=20 > > Using jails will be especially counterproductive in case of PostgreSQL > > because you will not be able to do smart things like=20 > > "pg_update --link --old-datadir XXX --new-datadir YYY". >=20 > there are workarounds, see 20190829 un ports/UPDATING for an example. You are right, these are provisional workarounds, while in Debian you can *run* different instances of different versions simultaneously, they all will be managed by systemd, started/stopped as regular services etc. > > > that you use some CMS (like > > > SaltStack), and that everything is based on ZFS it's a *lot* easier to > > > maintain on the long term, and you have a lot of flexibility. I think > >=20 > > I don't quite agree with you. Keeping multiple jails in an updated > > state, and building multiple Poudriere sets (combination of packages) > > for all your service jails is a huge administrative overhead best > > avoided when not absolutely necessary. >=20 > that's what I'm doing here and it's perfectly manageable (with=20 > SaltStack).. Is SaltStack something like ansible? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecNRWAAoJEA2k8lmbXsY0vuIIALOHJqY8ClMId1KKLyrl37aY rVd3HT0QdVKUtMukk8e7JofEfYGcf/5QF8+C5LqlwUDQSy2jmesm7zQuWZVQV481 Z4Mws0YPoRJKpel8DfrafZ6v0Jb2U3EvRWzfNfjBt7+FfXKzIWCax7FdOB1S3m7I L90ZIBOdEtSXkJ2JxwNnxSK+o8q6u8w5n9qzyEYQGIivlY8qBzlvqmxArsxhbek8 BDiykuQglkXFwiHjqN98LxZfMDthq04qyx5iaes9gpj6hk0Tydjhbz69Y4Vtgjpc UpfgLPMi1aDcdyJvnSvFs7tFWJRlKzrs4pKaKMER6n4UlXdQERAGvGnhY1btUZ8= =RgiA -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-questions@freebsd.org Tue Mar 17 14:08:17 2020 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 30EDC267568 for ; Tue, 17 Mar 2020 14:08:17 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 48hZl33VcHz4S9X for ; Tue, 17 Mar 2020 14:08:15 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:a234:7404:b14a:f75a:fd91:9429] (unknown [172.58.139.87]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 5108B4E6A9 for ; Tue, 17 Mar 2020 09:08:14 -0500 (CDT) Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1> <20200317134454.GA31413@admin.sibptus.ru> From: Valeri Galtsev Message-ID: <75237e0a-cc0c-511b-0ab6-5c8a6bdcd744@kicp.uchicago.edu> Date: Tue, 17 Mar 2020 09:08:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200317134454.GA31413@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48hZl33VcHz4S9X X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[87.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[87.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.996,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.11)[ip: (0.32), ipnet: 128.135.0.0/16(0.16), asn: 160(0.13), country: US(-0.05)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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, 17 Mar 2020 14:08:17 -0000 On 3/17/20 8:44 AM, Victor Sudakov wrote: > Julien Cigar wrote: >> >> why? jails are so lightweight and are created almost instantly.. > > But upgraded and updated painfully. I still see nightmares about ezjail > on our web-hosting server. I agree with Julien, jails are simple, slim, flexible, and convenient. Easy to update, upgrade, and migrate. I maintain over 3 dozens of jails on several physical machines. Never had any trouble with updates or upgrades. And mind that I build jails "by the book", using ezjail is supposed to be even simpler, I'm baffled why you had problems with these. Just my $0.02 Valeri > > However, I've learnt in this thread of new tools emerging: > sysutils/{iocage,pot,bastille}. So maybe there is hope yet. > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Tue Mar 17 14:10:22 2020 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 C94842677DA for ; Tue, 17 Mar 2020 14:10:22 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 48hZnS5NnDz4Vy4 for ; Tue, 17 Mar 2020 14:10:20 +0000 (UTC) (envelope-from SRS0=XYX3=5C=perdition.city=julien@bebif.be) Received: from x1 (unknown [77.109.101.182]) by orval.bbpf.belspo.be (Postfix) with ESMTPSA id 61B271D4FC19; Tue, 17 Mar 2020 15:10:18 +0100 (CET) Date: Tue, 17 Mar 2020 15:10:16 +0100 From: Julien Cigar To: Victor Sudakov Cc: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200317141016.GF1183@x1> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1> <20200317134454.GA31413@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200317134454.GA31413@admin.sibptus.ru> X-Rspamd-Queue-Id: 48hZnS5NnDz4Vy4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of SRS0=XYX3=5C=perdition.city=julien@bebif.be designates 193.191.208.90 as permitted sender) smtp.mailfrom=SRS0=XYX3=5C=perdition.city=julien@bebif.be X-Spamd-Result: default: False [-4.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.63)[-0.630,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[perdition.city]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.208.191.193.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.04)[ip: (-9.01), ipnet: 193.191.192.0/19(-4.50), asn: 2611(-1.65), country: BE(-0.02)]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; RCVD_NO_TLS_LAST(0.10)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MID_RHS_NOT_FQDN(0.50)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=XYX3=5C=perdition.city=julien@bebif.be]; 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, 17 Mar 2020 14:10:23 -0000 On Tue, Mar 17, 2020 at 08:44:54PM +0700, Victor Sudakov wrote: > Julien Cigar wrote: > > > > > I've just come across two related things which may convince me to > > > > > migrate some machines from FreeBSD to Debian. > > > > > > > > > > 1. On Debian, you can run several instances of php-fpm with different > > > > > PHP versions in them. > > > > > > > > > > 2. On Debian, you can install and run several versions of PostgreSQL > > > > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > > > > infrastructure. > > > > > > > > > > All that from standard packages, without manual compiling and tweaking, > > > > > jails etc, with minimal effort. > > > > > > > > that's true, but once you setup a dedicated Poudriere machine, > > > > > > I do have a dedicated Poudriere machine. It can *build* different > > > versions and combinations of PHP/whatever (even that not always unless > > > you build separate -z sets with different make.conf files), > > > unfortunately you cannot *install* them simultaneously. > > > > > > > that all > > > > your deployments are happening in jails, > > > > > > *All" deployments in jails is an overkill. > > > > > > > why? jails are so lightweight and are created almost instantly.. > > But upgraded and updated painfully. I still see nightmares about ezjail > on our web-hosting server. Yes, ezjail is quite old and should probably not be used nowadays, at least not in new deployments. Now with tons of jails it is impossible to upgrade (I mean from one -RELEASE to another) them manually, and what you should try to achieve is to be able to destroy the jails and re-recreate them with one command, including the application. For that a good practice is to store the generated files on the HOST (or NFS or ...) and nullfs mount the "data dir" in the jail, so that you could rm -rf (or zfs destroy ...) the jail while retaining the data. > > However, I've learnt in this thread of new tools emerging: > sysutils/{iocage,pot,bastille}. So maybe there is hope yet. > I never tried those tools so I can't comment, but it's relatively easy to do that manually and use /etc/jail.conf (I'm using a SaltStack formula for this) > > > > > Using jails will be especially counterproductive in case of PostgreSQL > > > because you will not be able to do smart things like > > > "pg_update --link --old-datadir XXX --new-datadir YYY". > > > > there are workarounds, see 20190829 un ports/UPDATING for an example. > > You are right, these are provisional workarounds, while in Debian you > can *run* different instances of different versions simultaneously, they > all will be managed by systemd, started/stopped as regular services etc. > > > > > that you use some CMS (like > > > > SaltStack), and that everything is based on ZFS it's a *lot* easier to > > > > maintain on the long term, and you have a lot of flexibility. I think > > > > > > I don't quite agree with you. Keeping multiple jails in an updated > > > state, and building multiple Poudriere sets (combination of packages) > > > for all your service jails is a huge administrative overhead best > > > avoided when not absolutely necessary. > > > > that's what I'm doing here and it's perfectly manageable (with > > SaltStack).. > > Is SaltStack something like ansible? > Yes, but slightly different. It is more flexible IMHO and you have a full orchestration layer which works like a charm. You can also fire "events" on the 0MQ bus and "react" with powerful orchestration scripts > -- > Victor Sudakov, VAS4-RIPE, VAS47-RIPN > 2:5005/49@fidonet http://vas.tomsk.ru/ -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@freebsd.org Tue Mar 17 14:30:27 2020 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 1E997268646 for ; Tue, 17 Mar 2020 14:30:27 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (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 48hbDc3hsGz4JmG for ; Tue, 17 Mar 2020 14:30:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPA (Nemesis) id 1M2OEq-1jI2zA0Zxu-003yiA; Tue, 17 Mar 2020 15:30:14 +0100 Date: Tue, 17 Mar 2020 15:30:13 +0100 From: Polytropon To: Claude Buisson Cc: freebsd-questions@freebsd.org, freebsd@dreamchaser.org Subject: Re: SD card formatting Message-Id: <20200317153013.7257bbe1.freebsd@edvax.de> In-Reply-To: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/pOPdyIob4bNmgZz1ZmhdtsZiHai7i/w2lJQSQvTVvUqStegVZg qScb4c7r74tsRwuf16UP5fdP3DRT82NXjjAYn+DP5HlmOS5wPGSzzDA/r0p5UMrLSyXtscp pl9GVNPAfokd7bT/dwuF5AIqWr9Zs8sKkQ7L/taSuNVeSW/eshxDRlKADlFTheUxeKgYoj2 X6TeSFftml8KgsQVwiikw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:5d2myda+TJE=:oqvGcSLW7f5yJHORd7ikY9 wFdRjI5yqLL0UtV+Y3NW+KZN+Sqk5peVFDiH9lOWgGs0s79eSTEHhqRe+JxGs1crziAkX8rbA e7eGinF05az6+tDudfgViJ9xiiwV3NIfReq0jyypZ617dnJMcZQEWvkZqRfCm/5aQSpEYhEB8 s8dlj7VFq18mFCAxLs343R6yHLqUqycnSfSOHxHOI3mtJ789bO66C6mfUESJlGO85c5QT7Lec 9R2PWjxj3nGjBDxJbUM8YRMb8GTF6JjWUnkB875coAfDZMp13orXXHwpOmZDs6apJCIo5ozYK IRPChYX5QrhJrbr5wOJVN4Gdzgo5CezEkjTANeIEIZfQzheXO6dYOwryZEaXNGyDB7VgVKjXS NXd+ETwE5aGzNMx9EvndwXbMrBD7xenfbDD/nMCSM+2HV7xEJoTUlKjR2AqQAy7UmEg9p4jLL cijGmgZw30KAIY4yIGw/tElvXHvbZe/kfwm4XABCWwi1fztPdIB3Iqk5XMXPNyo4Jnie8bDKV P9g+XDxhBt9oevdkOB1DYLE01iJgasmE/E1WG5k2saORqyGzXApAVp3ZwokYNLU/n9G4uh4+S IWVaCbp+gme9Ak5RDm6OOWydjnUvjmpVsASrNPccLRRWMt/b1zz1i6sZeLWiH0D+hWaemzS0c CbyRz4fnvq4Ady5IxX4c1AFtGHQ4Oe8PanHCNHoAK+5c3WpMaRPyURmJP1HxwkXiLdqIRBVY0 IMaRMUBbALqC9Nuzzmj3RvXsSjj8Iu8+LJWB/KhEf6AQmUlAhAmvo65LsVlAbIRjCsx8FxnFv rApw2m9O5rOgdFavPWb5SGSxUdcsq4yq0UfFGSy3zOGB6ysYkOEJ/YzoI4rVmux3d50Orp7 X-Rspamd-Queue-Id: 48hbDc3hsGz4JmG X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.13) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.51 / 15.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)[free.fr]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.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]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.994,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[13.17.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.12)[ip: (-0.45), ipnet: 212.227.0.0/16(-1.12), asn: 8560(2.18), country: DE(-0.02)] 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, 17 Mar 2020 14:30:27 -0000 On Tue, 17 Mar 2020 00:37:21 +0100, Claude Buisson wrote: > On 2020-03-15 22:39, Gary Aitken wrote: > > 11.3-RELEASE-p6 GENERIC=A0 amd64 > >=20 > > I'm having trouble reading SD cards formatted in my camera (Olympus=20 > > EM1-MkII) > > or on a Win 7 system.=A0 When attempting to mount, I get the following: > >=20 > > $ mount -t msdosfs /dev/da0s1 /mnt/memstick > > mount_msdosfs: /dev/da0s1: Invalid argument > > $ mount -t ntfs /dev/da0s1 /mnt/memstick > > mount: /dev/da0s1: Operation not supported by device > >=20 > > Cards used without formatting *usually* seem to work. > >=20 > > If I look at the cards which don't mount using gpart, I see: > >=20 > > Card formatted in camera: > > $ gpart show -p /dev/da0 > > =3D>=A0=A0=A0=A0=A0=A0 63=A0 120944577=A0=A0=A0 da0=A0 MBR=A0 (58G) > > =A0=A0=A0=A0=A0=A0=A0=A0 63=A0=A0=A0=A0=A0 32705=A0=A0=A0=A0=A0=A0=A0= =A0 - free -=A0 (16M) > > =A0=A0=A0=A0=A0 32768=A0 120911872=A0 da0s1=A0 ntfs=A0 [active]=A0 (58= G) > > $ gpart show -r /dev/da0 > > =3D>=A0=A0=A0=A0=A0=A0 63=A0 120944577=A0 da0=A0 MBR=A0 (58G) > > =A0=A0=A0=A0=A0=A0=A0=A0 63=A0=A0=A0=A0=A0 32705=A0=A0=A0=A0=A0=A0 - f= ree -=A0 (16M) > > =A0=A0=A0=A0=A0 32768=A0 120911872=A0=A0=A0 1=A0 7=A0 [active]=A0 (58G) > >=20 > > If I look at cards that I know I can mount I see the following: > >=20 > > $ gpart show -p da0 > > =3D>=A0=A0=A0=A0=A0 63=A0 30375873=A0=A0=A0 da0=A0 MBR=A0 (14G) > > =A0=A0=A0=A0=A0=A0=A0 63=A0=A0=A0=A0=A0 8129=A0=A0=A0=A0=A0=A0=A0=A0 -= free -=A0 (4.0M) > > =A0=A0=A0=A0=A0 8192=A0 15118336=A0 da0s1=A0 fat32lba=A0 (7.2G) > > =A0 15126528=A0 15249408=A0=A0=A0=A0=A0=A0=A0=A0 - free -=A0 (7.3G) > > $ gpart show -r /dev/da0 > > =3D>=A0=A0=A0=A0=A0 63=A0 30375873=A0 da0=A0 MBR=A0 (14G) > > =A0=A0=A0=A0=A0=A0=A0 63=A0=A0=A0=A0=A0 8129=A0=A0=A0=A0=A0=A0 - free = -=A0 (4.0M) > > =A0=A0=A0=A0=A0 8192=A0 15118336=A0=A0=A0 1=A0 12=A0 (7.2G) > > =A0 15126528=A0 15249408=A0=A0=A0=A0=A0=A0 - free -=A0 (7.3G) > >=20 > > or: > >=20 > > $ gpart show -p /dev/da0 > > =3D>=A0=A0=A0=A0=A0=A0 1=A0 15633407=A0=A0=A0 da0=A0 MBR=A0 (7.5G) > > =A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0 31=A0=A0=A0=A0=A0=A0= =A0=A0 - free -=A0 (16K) > > =A0=A0=A0=A0=A0=A0=A0 32=A0 15633376=A0 da0s1=A0 fat32=A0 (7.5G) > > $ gpart show -r /dev/da0 > > =3D>=A0=A0=A0=A0=A0=A0 1=A0 15633407=A0 da0=A0 MBR=A0 (7.5G) > > =A0=A0=A0=A0=A0=A0=A0=A0 1=A0=A0=A0=A0=A0=A0=A0 31=A0=A0=A0=A0=A0=A0 -= free -=A0 (16K) > > =A0=A0=A0=A0=A0=A0=A0 32=A0 15633376=A0=A0=A0 1=A0 11=A0 (7.5G) > >=20 > > I tried reformatting as follows: > >=20 > > # gpart delete -i 1 da0 > > da0s1 deleted > > # gpart add -i 1 -a 4M -t "\!11" da0 > > da0s1 added > > # gpart show -r da0 > > =3D>=A0=A0=A0=A0=A0=A0 63=A0 120944577=A0 da0=A0 MBR=A0 (58G) > > =A0=A0=A0=A0=A0=A0=A0=A0 63=A0=A0=A0=A0=A0=A0 8129=A0=A0=A0=A0=A0=A0 -= free -=A0 (4.0M) > > =A0=A0=A0=A0=A0=A0 8192=A0 120930304=A0=A0=A0 1=A0 11=A0 (58G) > > =A0 120938496=A0=A0=A0=A0=A0=A0 6144=A0=A0=A0=A0=A0=A0 - free -=A0 (3.= 0M) > > # newfs_msdos -F 32 /dev/da0s1 > > /dev/da0s1: 120900736 sectors in 1889074 FAT32 clusters (32768=20 > > bytes/cluster) > > BytesPerSec=3D512 SecPerClust=3D64 ResSectors=3D32 FATs=3D2 Media=3D0xf= 0=20 > > SecPerTrack=3D63 Heads=3D255 HiddenSecs=3D0 HugeSectors=3D120930304=20 > > FATsecs=3D14759 RootCluster=3D2 FSInfo=3D1 Backup=3D2 > >=20 > > If I put this card in the camera, I get an error ("Card Error") > > If I again format the card in the camera, I can't mount it. > >=20 > > I need to reformat these cards so I can use them in the camera and on > > freebsd, and apparently neither the camera nor win7 does that, so... > > What's the right way to lay out, format, and create a file system on an > > SD card so it is usable by cameras and windoze? > >=20 > > Thanks, > >=20 > > Gary > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to=20 > > "freebsd-questions-unsubscribe@freebsd.org" >=20 > Your card with a capacity > 32GB must be formatted as exFAT >=20 > The partition type seen by gpart is the same as NTFS >=20 > man gpart > ... > ntfs A partition that contains a NTFS or exFAT filesystem >=20 > see also Bug 244461 Excellent finding! I think this is the key to a solution. The remaining questions are: 1. How to mount exFAT on FreeBSD? I think I can answer that: A FUSE module is required. Install fusefs-exfat (and maybe exfat-utils) from the sysutils category to get mount.exfat and exfatfsck (if it should be needed). Inegration with /etc/fstab should be no problem. 2. How to initialize a exFAT SD card on FreeBSD? Probably with mkexfatfs from exfat-utils (as mentioned above). --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Mar 17 16:10:05 2020 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 0E5C626A7F2 for ; Tue, 17 Mar 2020 16:10:05 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hdRZ1ybHz46lw for ; Tue, 17 Mar 2020 16:10:01 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02HG9pnk018722; Tue, 17 Mar 2020 10:09:51 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon , Claude Buisson Cc: freebsd-questions@freebsd.org References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> From: Gary Aitken Message-ID: <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> Date: Tue, 17 Mar 2020 10:08:25 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200317153013.7257bbe1.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Tue, 17 Mar 2020 10:09:51 -0600 (MDT) X-Rspamd-Queue-Id: 48hdRZ1ybHz46lw X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.995,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Tue, 17 Mar 2020 16:10:05 -0000 On 3/17/20 8:30 AM, Polytropon wrote: > On Tue, 17 Mar 2020 00:37:21 +0100, Claude Buisson wrote: >> On 2020-03-15 22:39, Gary Aitken wrote: ... >> Your card with a capacity > 32GB must be formatted as exFAT >> >> The partition type seen by gpart is the same as NTFS >> >> man gpart >> ... >> ntfs A partition that contains a NTFS or exFAT filesystem >> >> see also Bug 244461 > > Excellent finding! > > I think this is the key to a solution. The remaining questions are: > > 1. How to mount exFAT on FreeBSD? > > I think I can answer that: A FUSE module is required. Install > fusefs-exfat (and maybe exfat-utils) from the sysutils category > to get mount.exfat and exfatfsck (if it should be needed). > Inegration with /etc/fstab should be no problem. > > 2. How to initialize a exFAT SD card on FreeBSD? > > Probably with mkexfatfs from exfat-utils (as mentioned above). Will try that. However... I've installed a huge amount of stuff from packages, and no package exists for either fusefs-exfat or exfat-utils. If I try to build from ports, I run into a conflict with perl5: ===> Patching for fusefs-exfat-1.2.8 ===> Applying FreeBSD patches for fusefs-exfat-1.2.8 ===> fusefs-exfat-1.2.8 depends on package: autoconf>=2.69 - not found ===> autoconf-2.69_2 Invalid perl5 version 5.30. Is there a way around this other than building everything from ports? except for distfiles, all the directories in my ports tree are 2019-07-04. I *thought* they would be compatible with the installed os and packages. FreeBSD breakaway.dreamchaser.org 11.3-RELEASE-p6 Gary From owner-freebsd-questions@freebsd.org Tue Mar 17 16:39:41 2020 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 EA8F326B3D2 for ; Tue, 17 Mar 2020 16:39:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hf5m6M24z42YB for ; Tue, 17 Mar 2020 16:39:40 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02HGdXNh018788; Tue, 17 Mar 2020 10:39:33 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Subject: Re: SD card formatting From: Gary Aitken To: Polytropon , Claude Buisson Cc: freebsd-questions@freebsd.org Reply-To: freebsd@dreamchaser.org, freebsd@dreamchaser.org References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> Message-ID: Date: Tue, 17 Mar 2020 10:38:06 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Tue, 17 Mar 2020 10:39:33 -0600 (MDT) X-Rspamd-Queue-Id: 48hf5m6M24z42YB X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Tue, 17 Mar 2020 16:39:42 -0000 On 3/17/20 10:08 AM, Gary Aitken wrote: > On 3/17/20 8:30 AM, Polytropon wrote: >> On Tue, 17 Mar 2020 00:37:21 +0100, Claude Buisson wrote: >>> On 2020-03-15 22:39, Gary Aitken wrote: > ... >>> Your card with a capacity > 32GB must be formatted as exFAT >>> >>> The partition type seen by gpart is the same as NTFS >>> >>> man gpart >>>    ... >>>    ntfs      A partition that contains a NTFS or exFAT filesystem >>> >>> see also Bug 244461 >> >> Excellent finding! >> >> I think this is the key to a solution. The remaining questions are: >> >> 1. How to mount exFAT on FreeBSD? >> >> I think I can answer that: A FUSE module is required. Install >> fusefs-exfat (and maybe exfat-utils) from the sysutils category >> to get mount.exfat and exfatfsck (if it should be needed). >> Inegration with /etc/fstab should be no problem. >> >> 2. How to initialize a exFAT SD card on FreeBSD? >> >> Probably with mkexfatfs from exfat-utils (as mentioned above). > > Will try that.  However... > I've installed a huge amount of stuff from packages, and no package > exists for either fusefs-exfat or exfat-utils.  If I try to build > from ports, I run into a conflict with perl5: > > ===>  Patching for fusefs-exfat-1.2.8 > ===>  Applying FreeBSD patches for fusefs-exfat-1.2.8 > ===>   fusefs-exfat-1.2.8 depends on package: autoconf>=2.69 - not found > ===>  autoconf-2.69_2 Invalid perl5 version 5.30. > > Is there a way around this other than building everything from ports? > except for distfiles, all the directories in my ports tree are 2019-07-04. > I *thought* they would be compatible with the installed os and packages. > > FreeBSD breakaway.dreamchaser.org 11.3-RELEASE-p6 hmmm, strange. I did a pkg install of autoconf and automake and they installed ok, was then able to make both fusefs-exfat and exfat-utils. Attempting to mount a known good card formatted in the camera: # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick FUSE exfat 1.2.8 fuse: failed to open fuse device: No such file or directory grrr. # dumpexfat /dev/da0s1 Volume label Volume serial number 0x50478f5b FS version 1.0 Sector size 512 Cluster size 131072 Sectors count 124702720 Free sectors 31074560 Clusters count 486992 Free clusters 121385 First sector 32768 FAT first sector 16384 FAT sectors count 16384 First cluster sector 32768 Root directory cluster 4 Volume state 0x0000 FATs count 1 Drive number 0x80 Allocated space 255% I don't understand the "No such file or directory" error, given that dumpexfat found it. I also don't understand the allocated space number... Gary From owner-freebsd-questions@freebsd.org Tue Mar 17 16:48:41 2020 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 9925826B78D for ; Tue, 17 Mar 2020 16:48:41 +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 48hfJ71kJWz4Qh7 for ; Tue, 17 Mar 2020 16:48:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MkIAB-1jgwJJ0izp-00kdvL; Tue, 17 Mar 2020 17:48:28 +0100 Date: Tue, 17 Mar 2020 17:48:27 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: SD card formatting Message-Id: <20200317174827.d6fd1548.freebsd@edvax.de> In-Reply-To: References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.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:H5E8kAYx7CmU5TFzWpPHonQPFl0vf3n0LR5UR4uD7wuefDAyPI/ 010boMeq4GkxxfNL+gAjym99AsZPg5uTsT+FWYxr3YTW5sTUUpyuxfVHSuE+7pqP9g5YQ/s ixvIeSfmvOMci9dRlIkanZgwMSCu7kz9OKgmRv5pMRdyhi9cdASj90kgvt0XN0XsrT1xj0P 07GEy97RZXFoHndGUAwyg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:uT8qBK4lLpY=:PUcJLM+YXYcvLW2gn0NQi1 2Sw+NXTe+jXssne+pZ3VLcYZDjvpslL6zXL5vExlRImEgcp9pA99JRmPOuGvse+LEcoRUy5cI ntvmb4t74g4oOwwfDS+rKAWukU0mO6Xdwc16yO/9pps5SHHqdGLL4tkLYJY7p/m6Ne5xZjZOQ ytJDSv8Aadg9xA16VR9ebkj0LtcVQh8IcnRREt6m8jXyGdFfbaDw73YTaa7C09ILcVWbfsrKE SF29wx9mLkXrcvrIrU/y077dKGcmiqPfZmPNN++hXCgd51iOhaRM63msrmycUaF2KNyJVjqSb 701EB+PPj7YHkxDRsFdVzniWdGZb5YKPThKLDsYBJAtgAf7BMojMGQXdwgrVewOBQGJsTxrWC 4hG4VQ+42YN4lhysvD+UOMlZU3b7ZkZoVBToOX76g2FqBtx5y0hC1Bf1zUT5OEk1Cf55ha3bv YGvXAkI77JRzCxPJLFL6O24JUzd/fWFHhwDkS9iGpAvPsfBkEHs2Ieo71zswLlHsC+9Z8jw6Q xA+dbYng1R4b6A6gM8KhpbtumAQCwR+q6Jjuy+w2f7uyiMnUJlXQEMQJCPjMriUg+vMZAlNa/ z18SxNMC4bg4cOL7Irm6V8OxyJPfVRikAVGn4M8Kq722kvffeNGeCt93fThzQIiH0XWJXirQv n7yXEGmwMuU/53kAGUBW29EAvCtJo4B1iVSFNX5LNvGDAZRU3M0P1Bwnk7LtS8R25XedC6sPD U4t4HCY9Kmz+OngrBPSkUvWS2KTYzMx1Mnder0G0MsbR+NyTY6CvVddFSRyBC94G802nrCsOL /+0pGLszY5ZtaTRObIFXqMqRkpnW9kb2bi2b9QDcNkVhXH/yxbHaLmHuZV3C6ugC1yhpucU X-Rspamd-Queue-Id: 48hfJ71kJWz4Qh7 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 [4.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.41)[ip: (-0.49), ipnet: 217.72.192.0/20(0.37), asn: 8560(2.18), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,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]; RCVD_TLS_LAST(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, 17 Mar 2020 16:48:41 -0000 On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: > hmmm, strange. > I did a pkg install of autoconf and automake and they installed ok, > was then able to make both fusefs-exfat and exfat-utils. > > Attempting to mount a known good card formatted in the camera: > > # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > FUSE exfat 1.2.8 > fuse: failed to open fuse device: No such file or directory > > grrr. > > # dumpexfat /dev/da0s1 > Volume label > Volume serial number 0x50478f5b > FS version 1.0 > Sector size 512 > Cluster size 131072 > Sectors count 124702720 > Free sectors 31074560 > Clusters count 486992 > Free clusters 121385 > First sector 32768 > FAT first sector 16384 > FAT sectors count 16384 > First cluster sector 32768 > Root directory cluster 4 > Volume state 0x0000 > FATs count 1 > Drive number 0x80 > Allocated space 255% > > I don't understand the "No such file or directory" error, given that > dumpexfat found it. > I also don't understand the allocated space number... You need to enable FUSE functionality in /boot/loader.conf: fuse_enable="YES" And in /etc/rc.conf: fusefs_enable="YES" The "No such file or directory" probably refers to something missing for FUSE to work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Mar 17 17:48:53 2020 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 DEF2E26D037 for ; Tue, 17 Mar 2020 17:48:53 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hgdc0RGsz3ChR for ; Tue, 17 Mar 2020 17:48:51 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02HHmjJq018927; Tue, 17 Mar 2020 11:48:46 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon Cc: freebsd-questions@freebsd.org References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> <20200317174827.d6fd1548.freebsd@edvax.de> From: Gary Aitken Message-ID: <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> Date: Tue, 17 Mar 2020 11:47:15 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200317174827.d6fd1548.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Tue, 17 Mar 2020 11:48:46 -0600 (MDT) X-Rspamd-Queue-Id: 48hgdc0RGsz3ChR X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.51 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.989,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Tue, 17 Mar 2020 17:48:53 -0000 On 3/17/20 10:48 AM, Polytropon wrote: > On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: >> hmmm, strange. >> I did a pkg install of autoconf and automake and they installed ok, >> was then able to make both fusefs-exfat and exfat-utils. >> >> Attempting to mount a known good card formatted in the camera: >> >> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick >> FUSE exfat 1.2.8 >> fuse: failed to open fuse device: No such file or directory >> >> grrr. >> >> # dumpexfat /dev/da0s1 >> Volume label >> Volume serial number 0x50478f5b >> FS version 1.0 >> Sector size 512 >> Cluster size 131072 >> Sectors count 124702720 >> Free sectors 31074560 >> Clusters count 486992 >> Free clusters 121385 >> First sector 32768 >> FAT first sector 16384 >> FAT sectors count 16384 >> First cluster sector 32768 >> Root directory cluster 4 >> Volume state 0x0000 >> FATs count 1 >> Drive number 0x80 >> Allocated space 255% >> >> I don't understand the "No such file or directory" error, given that >> dumpexfat found it. >> I also don't understand the allocated space number... > > You need to enable FUSE functionality in /boot/loader.conf: > > fuse_enable="YES" > > And in /etc/rc.conf: > > fusefs_enable="YES" > > The "No such file or directory" probably refers to something > missing for FUSE to work. I added fuse_enable="YES" to /boot/loader.conf.local and fusefs_enable="YES" in /etc/rc.conf Then rebooted. Should "fuse" show up in a sysctl -a? # sysctl -a | grep -i fuse shows nothing # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick FUSE exfat 1.2.8 fuse: failed to open fuse device: No such file or directory # dumpexfat /dev/da0s1 Volume label Volume serial number 0x50478f5b FS version 1.0 Sector size 512 Cluster size 131072 Sectors count 124702720 Free sectors 31073792 Clusters count 486992 Free clusters 121382 First sector 32768 FAT first sector 16384 FAT sectors count 16384 First cluster sector 32768 Root directory cluster 4 Volume state 0x0000 FATs count 1 Drive number 0x80 Allocated space 75% # ls -dl /dev/da0* crw-rw---- 1 root operator 0x9a Mar 17 11:26 /dev/da0 crw-rw---- 1 root operator 0x9b Mar 17 11:26 /dev/da0s1 # gpart show -r /dev/da0 => 63 124735425 da0 MBR (59G) 63 32705 - free - (16M) 32768 124702720 1 7 [active] (59G) If I put the SD card in a win7 system it says it is an exFAT filesys, so at least we're on the right track. From owner-freebsd-questions@freebsd.org Tue Mar 17 19:08:31 2020 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 11A342700D3 for ; Tue, 17 Mar 2020 19:08:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hjPS40MPz4d2m for ; Tue, 17 Mar 2020 19:08:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MOiLv-1ivxeA2ytj-00QFuq; Tue, 17 Mar 2020 20:08:17 +0100 Date: Tue, 17 Mar 2020 20:08:16 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: SD card formatting Message-Id: <20200317200816.bb09a7d4.freebsd@edvax.de> In-Reply-To: <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> <20200317174827.d6fd1548.freebsd@edvax.de> <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.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:KBRfMIc8lUowvJ8LrO6+ExsXgeKNNT5pEEjsFFzf3NC4OIfN4Pv SP7ajB56JiN4VSBBpLQTkZOK5MPQpDlPorNYOoRZPyoYHRx3V0lR5eL8Aj1dtk3nCpLpRjK s+y1a5aUk31UTQs5zb90FpqrxNi6fAmL9V9ISeKv/15UM1MvtS6f3UFGp/ATt+N/3hZtaHZ njpkSCEWWG+lXf8EK2sLA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Cxf0e8nxzmo=:s6Vi+CGjo2wCP+jfLnZb71 HCY8adh6WY3YjO+o/mfS2taOQB0SkSDGfOF0jtzIuVfxrksGyef7fgOhCHzqUy3OBao2GDcyy 9iUKS0Tkmv3VxdUhvowVh9g25LXIhBjkrRp3ay4j4WM0MIqBntWCxEjnf3CDABTawcIXYBVYp eSACdA7TmcBwzV10HgO8VeZFCjEdVospSof2I8O71Wwn+3qbutYbpZcnjuwTZBuOhKJs3hsIB kuRgaZftB6ro4XP8GPHGyJojoKKcGAK0vFkEJtb7DryxX2aCycBC78v5Wd+YuxbOO8qgHZncn ObnX5JfN7XsEYFF7CkDTZt/Vfl/WkiA6FJiMKdm+vkjp3whqe8s89ASKYEZTpZvYRrQ+LkrMf 3BBNcceLsgT42AagdegnSltgrNwZkTKJXHmsFEa+6y9aXotloZcR1HE1IC4ZSxky35ikde2O5 6XjwFoumGQ66f0M2hWeeYvaVPjpU/iIM7gUYB9UpWWDNpVXPxRpt6htRVLyf2oqHNG2LwXijU 24sPcM4HLzYwwXlqkyRXhsC1/3vK82Jr4XKIv/cRpqw/jxTuoovqrQCpltr6VTc5J4pGgi4lQ VO6bkIcu89hyynPKq+IZ5984gL642VD+3Z50r6wSOqTYpLjP0R66MXtPYbaw4WFyKfFqPGes1 OlpYnLGoR2EDCxadTYoLzSFhqKpHWNrBWE7pCW/nkLcuXH440/XE3qeRaJ8/XOFFxRCPLcWSl qZEMxsxlJ2ok+mEkRWo/Fq54UJdyCgFxcY3ryXMOC5osMhaeDXH/yMQeIVPzA1O06K49E9WS1 1PA8wsCR7EJnCGNmxrBzId23/CWXOhcMEbX8CqboBI4XW5oUqZ2yGMi7NJF4og8CflRY0vZ X-Rspamd-Queue-Id: 48hjPS40MPz4d2m X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [5.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.61)[ip: (1.99), ipnet: 212.227.0.0/16(-1.12), asn: 8560(2.18), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(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, 17 Mar 2020 19:08:31 -0000 On Tue, 17 Mar 2020 11:47:15 -0600, Gary Aitken wrote: > On 3/17/20 10:48 AM, Polytropon wrote: > > On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: > >> hmmm, strange. > >> I did a pkg install of autoconf and automake and they installed ok, > >> was then able to make both fusefs-exfat and exfat-utils. > >> > >> Attempting to mount a known good card formatted in the camera: > >> > >> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > >> FUSE exfat 1.2.8 > >> fuse: failed to open fuse device: No such file or directory > >> > >> grrr. > >> > >> # dumpexfat /dev/da0s1 > >> Volume label > >> Volume serial number 0x50478f5b > >> FS version 1.0 > >> Sector size 512 > >> Cluster size 131072 > >> Sectors count 124702720 > >> Free sectors 31074560 > >> Clusters count 486992 > >> Free clusters 121385 > >> First sector 32768 > >> FAT first sector 16384 > >> FAT sectors count 16384 > >> First cluster sector 32768 > >> Root directory cluster 4 > >> Volume state 0x0000 > >> FATs count 1 > >> Drive number 0x80 > >> Allocated space 255% > >> > >> I don't understand the "No such file or directory" error, given that > >> dumpexfat found it. > >> I also don't understand the allocated space number... > > > > You need to enable FUSE functionality in /boot/loader.conf: > > > > fuse_enable="YES" > > > > And in /etc/rc.conf: > > > > fusefs_enable="YES" > > > > The "No such file or directory" probably refers to something > > missing for FUSE to work. > > I added > fuse_enable="YES" > to /boot/loader.conf.local > and > fusefs_enable="YES" > in /etc/rc.conf > Then rebooted. That should be okay. > Should "fuse" show up in a sysctl -a? Yes. > # sysctl -a | grep -i fuse > shows nothing That's the problem. In kldstat output, you should see a fuse.ko module, and the sysctl command should also show various entries related to fuse (vfs.fuse.*). > # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > FUSE exfat 1.2.8 > fuse: failed to open fuse device: No such file or directory FUSE still isn't running. > # ls -dl /dev/da0* > crw-rw---- 1 root operator 0x9a Mar 17 11:26 /dev/da0 > crw-rw---- 1 root operator 0x9b Mar 17 11:26 /dev/da0s1 > # gpart show -r /dev/da0 > => 63 124735425 da0 MBR (59G) > 63 32705 - free - (16M) > 32768 124702720 1 7 [active] (59G) > > If I put the SD card in a win7 system it says it is an exFAT filesys, > so at least we're on the right track. Definitely. Now it's just a matter of getting FUSE running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Mar 17 20:29:32 2020 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 E6763271BC2 for ; Tue, 17 Mar 2020 20:29:32 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48hlBz6Dwpz4R8C for ; Tue, 17 Mar 2020 20:29:31 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 02HKTJ5N019312; Tue, 17 Mar 2020 14:29:19 -0600 (MDT) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: SD card formatting To: Polytropon Cc: freebsd-questions@freebsd.org References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> <20200317174827.d6fd1548.freebsd@edvax.de> <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> <20200317200816.bb09a7d4.freebsd@edvax.de> From: Gary Aitken Message-ID: <881c9c3c-8714-6775-c999-e9ab44fb144a@dreamchaser.org> Date: Tue, 17 Mar 2020 14:27:49 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200317200816.bb09a7d4.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Tue, 17 Mar 2020 14:29:19 -0600 (MDT) X-Rspamd-Queue-Id: 48hlBz6Dwpz4R8C X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.51 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.22)[ip: (-8.45), ipnet: 66.109.128.0/19(-4.23), asn: 21947(-3.38), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(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: Tue, 17 Mar 2020 20:29:33 -0000 On 3/17/20 1:08 PM, Polytropon wrote: > On Tue, 17 Mar 2020 11:47:15 -0600, Gary Aitken wrote: >> On 3/17/20 10:48 AM, Polytropon wrote: >>> On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: >>>> hmmm, strange. >>>> I did a pkg install of autoconf and automake and they installed ok, >>>> was then able to make both fusefs-exfat and exfat-utils. >>>> >>>> Attempting to mount a known good card formatted in the camera: >>>> >>>> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick >>>> FUSE exfat 1.2.8 >>>> fuse: failed to open fuse device: No such file or directory >>>> >>>> grrr. >>>> >>>> # dumpexfat /dev/da0s1 >>>> Volume label >>>> Volume serial number 0x50478f5b >>>> FS version 1.0 >>>> Sector size 512 >>>> Cluster size 131072 >>>> Sectors count 124702720 >>>> Free sectors 31074560 >>>> Clusters count 486992 >>>> Free clusters 121385 >>>> First sector 32768 >>>> FAT first sector 16384 >>>> FAT sectors count 16384 >>>> First cluster sector 32768 >>>> Root directory cluster 4 >>>> Volume state 0x0000 >>>> FATs count 1 >>>> Drive number 0x80 >>>> Allocated space 255% >>>> >>>> I don't understand the "No such file or directory" error, given that >>>> dumpexfat found it. >>>> I also don't understand the allocated space number... >>> >>> You need to enable FUSE functionality in /boot/loader.conf: >>> >>> fuse_enable="YES" >>> >>> And in /etc/rc.conf: >>> >>> fusefs_enable="YES" >>> >>> The "No such file or directory" probably refers to something >>> missing for FUSE to work. >> >> I added >> fuse_enable="YES" >> to /boot/loader.conf.local >> and >> fusefs_enable="YES" >> in /etc/rc.conf >> Then rebooted. > > That should be okay. > > > >> Should "fuse" show up in a sysctl -a? > > Yes. > > > >> # sysctl -a | grep -i fuse >> shows nothing > > That's the problem. In kldstat output, you should see a fuse.ko > module, and the sysctl command should also show various entries > related to fuse (vfs.fuse.*). > > > >> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick >> FUSE exfat 1.2.8 >> fuse: failed to open fuse device: No such file or directory > > FUSE still isn't running. > > >> # ls -dl /dev/da0* >> crw-rw---- 1 root operator 0x9a Mar 17 11:26 /dev/da0 >> crw-rw---- 1 root operator 0x9b Mar 17 11:26 /dev/da0s1 >> # gpart show -r /dev/da0 >> => 63 124735425 da0 MBR (59G) >> 63 32705 - free - (16M) >> 32768 124702720 1 7 [active] (59G) >> >> If I put the SD card in a win7 system it says it is an exFAT filesys, >> so at least we're on the right track. > > Definitely. Now it's just a matter of getting FUSE running. Hooray! I used kldload to get it loaded and can now, finally, mount the SD card formatted in the camera. A little search showed the loader.conf directive may be fuse_load="YES" instead of fuse_enable="YES" but I haven't rebooted yet to test. Thanks a bazillion From owner-freebsd-questions@freebsd.org Tue Mar 17 21:33:23 2020 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 B23BC2730C8 for ; Tue, 17 Mar 2020 21:33:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (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 48hmcd4LKSz4cN7 for ; Tue, 17 Mar 2020 21:33:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1M1HqM-1jH4iy1PNS-002oIH; Tue, 17 Mar 2020 22:33:10 +0100 Date: Tue, 17 Mar 2020 22:33:09 +0100 From: Polytropon To: freebsd@dreamchaser.org Cc: freebsd-questions@freebsd.org Subject: Re: SD card formatting Message-Id: <20200317223309.d8c29fc5.freebsd@edvax.de> In-Reply-To: <881c9c3c-8714-6775-c999-e9ab44fb144a@dreamchaser.org> References: <8a95e209-52f1-6873-9500-9e1bdd826e18@free.fr> <20200317153013.7257bbe1.freebsd@edvax.de> <5ff4694f-15a3-27f3-8ec8-14fd172c91ad@dreamchaser.org> <20200317174827.d6fd1548.freebsd@edvax.de> <3a844384-2f37-f911-a6ab-eb66dad48c8c@dreamchaser.org> <20200317200816.bb09a7d4.freebsd@edvax.de> <881c9c3c-8714-6775-c999-e9ab44fb144a@dreamchaser.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:0lj+WZccHKGml+TooJ+aoRlaqrAZtB8gIqibnBMUXSmEK/pteeK 9jXaCvOKzSn+7nFHWDeXZaPXfyEluWq3lfJQZUFD2At9Vyh52efK5tsAXWHoJxWmDyO4R7u 3TaU04wWV6uqCW60WkPpOYHQicxs55I0n2AIvhPGTJZWJT8nKcPUbm6gjZC7TK9bWCt4VXw utJ1tmb6e0nygjY9zhgyQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ljJNye5Vkf0=:mPsUAVFb+ALiTbSjyUXlXd QGBeLFZbV81XIedhqSWZoCE2KwaI03V3xXiDnodV4Cq82jU+aChB/j55rrxjWc2tQFAvYsm3p lpQZy0QZuLEHh+Xj+sW2ElBAoh3x0QvOPyd9Sg+Zgls6ectay0JX7Z9tsfKNn5qHC+dWCydFw NsRvQ0SY8skMmpk5FLgVMUODsoagVc023GfAY25BFAceyH2dOmfDWgdB77lI9iHcqd/+BpKb8 8sj/YSl3inzyaPyKj8qz6XFGgIhwQ/GswkFrYcb7iAiofa5da6dOhtaBw2GZ2987YK6Ki1M/A AnNKauOwCT+oYgqWgWdgMtCCFbPq4lst95V2IU/e/Hm+kUfn3b3JF0eznXw81CIEk+ggrn4sY /R946rqOE/nQGT4a3/qSRHkzH/0WGTI9DitQxcN4GqTbqNApFq30dZYy1T2d9HT6mgXlk0NE4 ptP1nM8naTfHjn1t0+gdO4IarllGUszZw36ZAFtTKY+jwlK7c99Xrnooeur/efQFwJ7N+XYmn 2A1Jq77WkLMmMhJuOLwpkCFcxac31FqXrpC2dOjcli6Nnt4IFLmM1mrkOevsZnqmOcqaH27pH Bly2VfMTp5Cq0KSaTdZnZb0UB/OU6m9c4OHVB/MhzK/rWRKmafORYqFG8/pCDtcyZyZz0TgAt DVZoI8rCHHcXW6sgWIJSyLfPvTzK9ecB2uumFNY085y7NxKuekEilr+aVRnBZO4kkx+q2zv1Q oiPT3Eq+PTL14txu1kD5obhweGaTppoeaBLEiPFY1Zq3uOVxFt3hBW4AbH57TMZSbCDAc8lca jnGeFRAvuyQiIbXe+y5n/qX/Bi6bZIg8TGoNZlY+xRJOqbDoeN0cdawSgsrrxz/HzagGXDl X-Rspamd-Queue-Id: 48hmcd4LKSz4cN7 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.86 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.46)[ip: (1.27), ipnet: 212.227.0.0/16(-1.12), asn: 8560(2.18), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.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)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(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, 17 Mar 2020 21:33:23 -0000 On Tue, 17 Mar 2020 14:27:49 -0600, Gary Aitken wrote: > On 3/17/20 1:08 PM, Polytropon wrote: > > On Tue, 17 Mar 2020 11:47:15 -0600, Gary Aitken wrote: > >> On 3/17/20 10:48 AM, Polytropon wrote: > >>> On Tue, 17 Mar 2020 10:38:06 -0600, Gary Aitken wrote: > >>>> hmmm, strange. > >>>> I did a pkg install of autoconf and automake and they installed ok, > >>>> was then able to make both fusefs-exfat and exfat-utils. > >>>> > >>>> Attempting to mount a known good card formatted in the camera: > >>>> > >>>> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > >>>> FUSE exfat 1.2.8 > >>>> fuse: failed to open fuse device: No such file or directory > >>>> > >>>> grrr. > >>>> > >>>> # dumpexfat /dev/da0s1 > >>>> Volume label > >>>> Volume serial number 0x50478f5b > >>>> FS version 1.0 > >>>> Sector size 512 > >>>> Cluster size 131072 > >>>> Sectors count 124702720 > >>>> Free sectors 31074560 > >>>> Clusters count 486992 > >>>> Free clusters 121385 > >>>> First sector 32768 > >>>> FAT first sector 16384 > >>>> FAT sectors count 16384 > >>>> First cluster sector 32768 > >>>> Root directory cluster 4 > >>>> Volume state 0x0000 > >>>> FATs count 1 > >>>> Drive number 0x80 > >>>> Allocated space 255% > >>>> > >>>> I don't understand the "No such file or directory" error, given that > >>>> dumpexfat found it. > >>>> I also don't understand the allocated space number... > >>> > >>> You need to enable FUSE functionality in /boot/loader.conf: > >>> > >>> fuse_enable="YES" > >>> > >>> And in /etc/rc.conf: > >>> > >>> fusefs_enable="YES" > >>> > >>> The "No such file or directory" probably refers to something > >>> missing for FUSE to work. > >> > >> I added > >> fuse_enable="YES" > >> to /boot/loader.conf.local > >> and > >> fusefs_enable="YES" > >> in /etc/rc.conf > >> Then rebooted. > > > > That should be okay. > > > > > > > >> Should "fuse" show up in a sysctl -a? > > > > Yes. > > > > > > > >> # sysctl -a | grep -i fuse > >> shows nothing > > > > That's the problem. In kldstat output, you should see a fuse.ko > > module, and the sysctl command should also show various entries > > related to fuse (vfs.fuse.*). > > > > > > > >> # mount.exfat -d -o ro /dev/da0s1 /mnt/memstick > >> FUSE exfat 1.2.8 > >> fuse: failed to open fuse device: No such file or directory > > > > FUSE still isn't running. > > > > > >> # ls -dl /dev/da0* > >> crw-rw---- 1 root operator 0x9a Mar 17 11:26 /dev/da0 > >> crw-rw---- 1 root operator 0x9b Mar 17 11:26 /dev/da0s1 > >> # gpart show -r /dev/da0 > >> => 63 124735425 da0 MBR (59G) > >> 63 32705 - free - (16M) > >> 32768 124702720 1 7 [active] (59G) > >> > >> If I put the SD card in a win7 system it says it is an exFAT filesys, > >> so at least we're on the right track. > > > > Definitely. Now it's just a matter of getting FUSE running. > > Hooray! I used kldload to get it loaded and can now, finally, > mount the SD card formatted in the camera. A little search showed > the loader.conf directive may be > fuse_load="YES" > instead of > fuse_enable="YES" > but I haven't rebooted yet to test. Correct - I didn't copypasta it, I typed it in, and made the mistake of "confusion by conformity"; sorry. ;-) It should work now as intended. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Tue Mar 17 23:19:42 2020 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 F32B027536D for ; Tue, 17 Mar 2020 23:19:41 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (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 48hpzJ2SL2z3KVJ for ; Tue, 17 Mar 2020 23:19:40 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id B523A110222 for ; Tue, 17 Mar 2020 18:19:32 -0500 (CDT) Received: by mail.geeks.org (Postfix, from userid 1003) id 905C311021B; Tue, 17 Mar 2020 18:19:32 -0500 (CDT) Date: Tue, 17 Mar 2020 18:19:32 -0500 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Re: poudriere, bind and libxml2-dev Message-ID: <20200317231932.GA12692@geeks.org> References: <20200316190107.GA3339@foucry.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200316190107.GA3339@foucry.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 48hpzJ2SL2z3KVJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-0.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.31)[-0.310,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; 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.22)[-0.219,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[geeks.org]; IP_SCORE(0.48)[ipnet: 204.153.244.0/22(-1.28), asn: 7753(3.72), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; 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: Tue, 17 Mar 2020 23:19:42 -0000 On Mon, Mar 16, 2020 at 08:01:07PM +0100, Jacques Foucry via freebsd-questions wrote: > I would like too use the statistics channel of bind. > > I use a poudriere in order to compile my own packages, as many of us. > > The bind doc is clear, named need both libxml2 And libxml2-dev: > > https://kb.isc.org/docs/aa-00769 > > I try to remove all the options of bind in order to be sure to have libxml2-dev > (poudriere option -r -p xxx dns/bind911 then poudriere option -p xxx > dns/bin911), but no chance. libxml2-dev is not include. libxml2-dev is a Linuxism. Typically on Linux the package without -dev includes just the library object, while the -dev includes the headers needed to compile with it. On FreeBSD, typically the packages (ie. textproc/libxml2) contains both. According to Freshports, https://www.freshports.org/dns/bind914/ the BIND9.14 package (which is the one you _really_ ought to be using, although it is the same for 9.11), builds with libxml2 automatically, no extra configuration options required. So, it should be ready to go for what you need out of the box? If you needed JSON, you would need to configure that lib in with the options. From owner-freebsd-questions@freebsd.org Wed Mar 18 05:42:56 2020 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 18B4C27D2F9 for ; Wed, 18 Mar 2020 05:42: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 48hzTV3wScz4H9H for ; Wed, 18 Mar 2020 05:42:54 +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=E+F+ztKcqoMnqdilgv0T1ORGHfe8owUhgXcSN3laW5E=; b=inrnmSiKIzAgnmvhgwddwUxAcw u8FLfLos+zMT/B+a1+XN3ESkcmXuuMS9wQHjFQg/3p599ftI5bePnjoyPYx0/7cKWI+rgNzsSjH4R 79eW6csncFviKyrnAZUjfSy3s9v/hLjlqO3Zb8DN9+Ga9y/paF4gKgwkd4f6ZNZLI5w0=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jERTg-000EU1-3n for freebsd-questions@freebsd.org; Wed, 18 Mar 2020 12:42:52 +0700 Date: Wed, 18 Mar 2020 12:42:52 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200318054252.GA55645@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200317044821.GA19098@admin.sibptus.ru> <57fa21ef-83d3-7a62-19f6-5475ffa437b2@kicp.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <57fa21ef-83d3-7a62-19f6-5475ffa437b2@kicp.uchicago.edu> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hzTV3wScz4H9H X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=inrnmSiK; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), 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: Wed, 18 Mar 2020 05:42:56 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Valeri Galtsev wrote: > > >=20 > > > > 1. On Debian, you can run several instances of php-fpm with differe= nt > > > > PHP versions in them. > > > >=20 > > > > 2. On Debian, you can install and run several versions of PostgreSQL > > > > simultaneously thanks to the pg_createcluster/pg_lsclusters/... > > > > infrastructure. > > > >=20 > > > > All that from standard packages, without manual compiling and tweak= ing, > > > > jails etc, with minimal effort. > > > >=20 > > > > Not that FreeBSD could not do that, it just does not do that. Espec= ially > > > > PHP verions are a great PITA. > > >=20 > > > It's not much effort to use jails for these cases. I prefer it this w= ay. > >=20 > > Using jails will be especially counterproductive in case of PostgreSQL > > because you will not be able to do smart things like > > "pg_update --link --old-datadir XXX --new-datadir YYY". > >=20 > Running postgresql in jails (several instances in jails on several physic= al > machines), never had problem to do update as above. Do you mean "--link" works across filesystems/jails/physical machines? Can't believe this. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecbTcAAoJEA2k8lmbXsY0IZAH/0DT5s5915pgDCNvaggOWSTi P9oFcCVyFJ5TJ8vCB/Hk68MmFSMLJfbIb1KpekebdwB/jvQfF0Y/SM/mEg3tQxxL LfzLeMEx1hW2BkdQko6R13b/p8UcKajsONOrZ13uYRpXnOIPmDoDOZKToyqA1Ufl tXWFsFzKBRvzkiDq2IG3dq2L9xuGDdgjeVtBJeaW4ZBeWMV/g9D0wXEO+d2Ogxat qD/wJj3OE7s3g7qh4xel3LryQsGuUPlkah65tl1NCMAjtr6sAgG7mJUEQ/FA/ILm 2DRXEn28iqBmPpT8NX6gV86MQYfOUgt7FyQKtoP0O23sznIUC+NpvWNswmXvRsQ= =RmDR -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- From owner-freebsd-questions@freebsd.org Wed Mar 18 05:47:39 2020 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 766B227D5B5 for ; Wed, 18 Mar 2020 05:47:39 +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 48hzZy4Zy8z4TJj for ; Wed, 18 Mar 2020 05:47:38 +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=lqcVHxKMjp5T76Rkuk5cwk9eSahy+aMLL6ag/CVxvMs=; b=eT7Qeo6SlyQCwmilW06zVzuRfA iWdj35egqO+O3t6HQhx61fSBX2GpGfocIWO9NGiBuebt+5xsOkI26lhgK3eECTfCmX+AeGFp/gASm +oth6PHqqAfsIHzHsUJXiQWPflzYW7mFQmM70TY8giy8dzot8JMBEfZprRwWbSl3+dFk=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jERYG-000EVt-Sj for freebsd-questions@freebsd.org; Wed, 18 Mar 2020 12:47:36 +0700 Date: Wed, 18 Mar 2020 12:47:36 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Technological advantages over Linux Message-ID: <20200318054736.GB55645@admin.sibptus.ru> References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1> <20200317134454.GA31413@admin.sibptus.ru> <75237e0a-cc0c-511b-0ab6-5c8a6bdcd744@kicp.uchicago.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SkvwRMAIpAhPCcCJ" Content-Disposition: inline In-Reply-To: <75237e0a-cc0c-511b-0ab6-5c8a6bdcd744@kicp.uchicago.edu> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48hzZy4Zy8z4TJj X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=eT7Qeo6S; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.986,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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), 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: Wed, 18 Mar 2020 05:47:39 -0000 --SkvwRMAIpAhPCcCJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Valeri Galtsev wrote: > > >=20 > > > why? jails are so lightweight and are created almost instantly.. > >=20 > > But upgraded and updated painfully. I still see nightmares about ezjail > > on our web-hosting server. >=20 > I agree with Julien, jails are simple, slim, flexible, and convenient. Ea= sy > to update, upgrade, and migrate. I maintain over 3 dozens of jails on > several physical machines. Never had any trouble with updates or upgrades. > And mind that I build jails "by the book", using ezjail is supposed to be > even simpler, I'm baffled why you had problems with these. >=20 How do you update/upgrade a) base system and b) packages on those jails "by the book"? Please share. Is this "freebsd-update -b /jails/jail1" and "pkg -j jail1 upgrade" in thick provisioned jails (for each jail)? Or something more clever? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --SkvwRMAIpAhPCcCJ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecbX4AAoJEA2k8lmbXsY0tjoH/if+bV1Hh9B3x+yxoSbCH9JK BgFQmbA0Gf00f3FlHA2Tsgmm7oJ/xcKjH/Ar/j0p2x8VxxXPC+dILLm7DWojk6eT +zw+o5aIrLhQE1AOPbE6s8CPNU4rzKefoiEjHAPwc8RClahe20vxHQC6QRMl+6kE JsAlw3mX5/4yvPuYl2lkofo7pB43gYakk05a1g472uovIDeIesjRjM0rjr99/ehQ KKIzq3XD4WzDJuDp/Z6qrUEny2VmhJkb9OB/R5SAGzhzxks/l6pd+VFExiyrReVr 0I9mysT1nI409Iuhh+acFG6pyG2mKIiSo+yhsyaB/m6EP1kCDjxG3DXdxqylv1w= =aj6R -----END PGP SIGNATURE----- --SkvwRMAIpAhPCcCJ-- From owner-freebsd-questions@freebsd.org Wed Mar 18 13:38:17 2020 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 8AAF626029C for ; Wed, 18 Mar 2020 13:38:17 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 48jB1z3nLZz4XwV for ; Wed, 18 Mar 2020 13:38:15 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [192.168.43.113] (unknown [172.58.139.236]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id D27D94E657 for ; Wed, 18 Mar 2020 08:38:13 -0500 (CDT) Subject: Re: Technological advantages over Linux To: freebsd-questions@freebsd.org References: <20200215141238.GY1879@aurora.gregv.net> <20200316110246.GB95052@admin.sibptus.ru> <20200316114638.GD1410@belspo> <20200317050226.GC19098@admin.sibptus.ru> <20200317093122.GB1183@x1> <20200317134454.GA31413@admin.sibptus.ru> <75237e0a-cc0c-511b-0ab6-5c8a6bdcd744@kicp.uchicago.edu> <20200318054736.GB55645@admin.sibptus.ru> From: Valeri Galtsev Message-ID: <4c47472e-9479-592d-1477-626d2e05df2a@kicp.uchicago.edu> Date: Wed, 18 Mar 2020 08:38:12 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200318054736.GB55645@admin.sibptus.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48jB1z3nLZz4XwV X-Spamd-Bar: +++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [7.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; RECEIVED_SPAMHAUS_PBL(0.00)[236.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[236.139.58.172.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.4]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(0.99)[0.990,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.11)[ip: (0.31), ipnet: 128.135.0.0/16(0.16), asn: 160(0.12), country: US(-0.05)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes 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, 18 Mar 2020 13:38:17 -0000 On 3/18/20 12:47 AM, Victor Sudakov wrote: > Valeri Galtsev wrote: >>>> >>>> why? jails are so lightweight and are created almost instantly.. >>> >>> But upgraded and updated painfully. I still see nightmares about ezjail >>> on our web-hosting server. >> >> I agree with Julien, jails are simple, slim, flexible, and convenient. Easy >> to update, upgrade, and migrate. I maintain over 3 dozens of jails on >> several physical machines. Never had any trouble with updates or upgrades. >> And mind that I build jails "by the book", using ezjail is supposed to be >> even simpler, I'm baffled why you had problems with these. >> > > How do you update/upgrade a) base system and b) packages on those jails > "by the book"? Please share. By saying "by the book" I meat following: https://www.freebsd.org/doc/handbook/jails.html Base in my case is in /jail/mroot and nullfs mounted to root locations of jails: /jail/[jailname] Update base of all jails: freebsd-update -b /jail/mroot fetch freebsd-update -b /jail/mroot install Upgrade base: follow handbook and make base for new version, say, in /jail/mroot-new Shut down jails one at a time, and unmount/ remount to new base, stat jail, jexec into that and do pkg update pkg upgrade -f # and restart services or jail - as on real system Update/upgrade packages: jexec into each jail and do it as you do on real system. It is some work, but some necessary works never constituted nightmare in my book. If you want easier way to go back in case of upgrade, you can duplicate "s" (see the handbook for what it is) before doing pkg update/upgrade. Incidentally, all that is described in more detail in the handbook. I hope, this helps. Valeri > > Is this "freebsd-update -b /jails/jail1" and "pkg -j jail1 upgrade" in > thick provisioned jails (for each jail)? Or something more clever? > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Wed Mar 18 15:16:05 2020 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 89C9A262E5B; Wed, 18 Mar 2020 15:16: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 48jDBr1ry7z43S7; Wed, 18 Mar 2020 15:16: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=Message-ID:Subject:To:From:Date:In-Reply-To; bh=dTL+STWUqyF7B3+ZmowC4TSkj/rpTevJ4yccOsO6cOA=; b=PnFR1LasAfca90HgDnUBMicTEl jD2CcRFKCPq3Rdw7tjNsHP61QBkjErsTbZMUt7VyowT4JFZdLlH0G1ei2hd7pr99kwBG/bHevcDnj KH+Ub1zkd9XOWVTlmDlca4cNU5fH6b/1FBFqTQRDKMqd2RSN82FqA5dL9IzJeKBwTyuA=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEaQG-000Gz4-EM; Wed, 18 Mar 2020 22:15:56 +0700 Date: Wed, 18 Mar 2020 22:15:56 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Cc: freebsd-net@freebsd.org Subject: IPv6 in jails Message-ID: <20200318151556.GA64871@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jDBr1ry7z43S7 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=PnFR1Las; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.979,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]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; 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: Wed, 18 Mar 2020 15:16:05 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Is IPv6 in jails supposed to work? Does not work for me, what am I doing wrong? Here is a test jail: test4 {=20 path =3D /d02/jails/test4 ; mount.devfs; ip4 =3D new; ip6 =3D new; ip4.addr =3D 192.168.4.204/24; ip6.addr =3D 2001:470:ecba:3::4/64; host.hostname =3D test4.vas.sibptus.ru ; interface =3D re1 ; allow.raw_sockets =3D true ; exec.start =3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown"; } However when I look from inside the jail, I see the daemons listening only on IPv4: root@test4:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS = =20 root sendmail 17178 3 tcp4 192.168.4.204:25 *:* root sshd 17175 3 tcp4 192.168.4.204:22 *:* root syslogd 17110 5 udp4 192.168.4.204:514 *:* If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not available inside the jail). --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecjssAAoJEA2k8lmbXsY00J4H+wdUu662JaOYQBHyt1d6ioDE QRjKaBQPJXP0OEvZhH1PfyShiPSCYTpLyi1QTTE9xAbd8WoZ4Crn7VSjZIgY2+/y 4eR6eR8hlXLOS+ZwqSqJhlTdwhKoZrR2DLmD7N54vZOCZbEqp+LHSl4O3YvTPyx9 TzUioH93sNxNFRODV+3C5ibJbaNIvpPDV866tqLCL+uZQJe513vugsjUEY+gVcdE qGNCoTcMLMxjqTLOVXN0bCjGDERNej5gW1q/TawVpk7PTIEIJrHqvKCqRNlomEot XvjQoCwiwDr2cn3skBktvAwqfV+PgObgoZOG1L9sOU1QSx6uochA+m7OFaVPEZo= =V3cQ -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-questions@freebsd.org Wed Mar 18 15:35:46 2020 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 38125263757 for ; Wed, 18 Mar 2020 15:35:46 +0000 (UTC) (envelope-from 4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48jDdW6bg2z3PQk for ; Wed, 18 Mar 2020 15:35:43 +0000 (UTC) (envelope-from 4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584545744; x=1587137744; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=tBgXcmyrB57JVVztcMEzo/Qug67y5lOLN+a3s/KAj8w=; b=uzIUVfPTlAW7nEOnSglmW7+OwsyUgOwoW0OO4UCempvgGTqpuY5NWUxZVgFrmbm0AZFrH9hDu6O3pvAoRzrNQZbAtytvEVMlN9hlX/1Dybv+vY9QWO6mHkzJy9cUbiAYVFi5gdRREqsNAd/FrV5KdRNDQl6oowUuHQL1st0SYIE= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDA3N2FmNmMuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.sg.in.socketlabs.com (r3.sg.in.socketlabs.com [142.0.179.13]) by mxsg2.email-od.com with ESMTP; Wed, 18 Mar 2020 11:35:38 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Wed, 18 Mar 2020 11:35:37 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jEajH-000Frf-OB; Wed, 18 Mar 2020 15:35:35 +0000 Date: Wed, 18 Mar 2020 15:35:35 +0000 From: Steve O'Hara-Smith To: Victor Sudakov Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-Id: <20200318153535.1a91d84f145e634594e6aca7@sohara.org> In-Reply-To: <20200318151556.GA64871@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48jDdW6bg2z3PQk X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=uzIUVfPT; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com X-Spamd-Result: default: False [1.79 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[sohara.org]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.87)[0.866,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_SPAM_LONG(0.53)[0.528,0]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c0000077af6c.3c6503bf8eaafcc31ed82c7fb0777ab6@email-od.com]; 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: Wed, 18 Mar 2020 15:35:46 -0000 On Wed, 18 Mar 2020 22:15:56 +0700 Victor Sudakov wrote: > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > available inside the jail). Having the host listening on an address will stop any jails from being able to listen on that address. You need to stop the host services listening on the jail's IPv6 address. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Wed Mar 18 15:35:47 2020 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 9E158263764; Wed, 18 Mar 2020 15:35: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 48jDdZ38xQz3PVM; Wed, 18 Mar 2020 15:35: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=D/4BCSUmmgSytvpw4imz6/5mp1g3nXUZsM0vJi0gB+w=; b=aYsubMipX9rBRtODWU9KowKBMv p+NkIUrKbAfIyp/0Kky1b2Bs3kKG6Ka/kG8SOREVKUZm+YkdNevwD8XDMi5Lnw5GXwYj5QkcaXsQq WXBG05msC7Ls0vTncOR2FxqRA6I4gMhYTxWk6DuiTJW8LK0i2t012x0kCIse+BLQs4Vc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEajQ-000H82-Um; Wed, 18 Mar 2020 22:35:44 +0700 Date: Wed, 18 Mar 2020 22:35:44 +0700 From: Victor Sudakov To: "Bjoern A. Zeeb" Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200318153544.GA65497@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <069AA173-29F1-4F9F-B7D6-31BF2C559C17@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <069AA173-29F1-4F9F-B7D6-31BF2C559C17@lists.zabbadoz.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jDdZ38xQz3PVM X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=aYsubMip; 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.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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: Wed, 18 Mar 2020 15:35:47 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bjoern A. Zeeb wrote: > >=20 > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > >=20 > > Here is a test jail: > >=20 > > test4 { > > path =3D /d02/jails/test4 ; > > mount.devfs; > > ip4 =3D new; > > ip6 =3D new; > > ip4.addr =3D 192.168.4.204/24; > > ip6.addr =3D 2001:470:ecba:3::4/64; >=20 > I usually do something like this: >=20 > ip6.addr +=3D "lo0|2001:db8:1234:5678::ef/128"; >=20 > to add the single address out of a /64 to the loopback interface on the h= ost > and then pass it through to the jail. The /64 however is actually routed= to > my host so might not work if you have the /64 on the physical interface. But the same syntax for IPv4 (192.168.4.204/24) works fine! The address 192.168.4.204 is successfully assigned to the jail. >=20 > Given it is a jail without vnet you cannot assign a /64 to the jail, you > want to just specify the address usually (plainly or as /128). Why is that? I can assign an IPv4 /24 to the jail but cannot assign an IPv6= /64 ? The prefix length should be irrelevant, as it is irrelevant in the IPv4 case. >=20 > > host.hostname =3D test4.vas.sibptus.ru ; > > interface =3D re1 ; > > allow.raw_sockets =3D true ; > > exec.start =3D "/bin/sh /etc/rc"; > > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > > } > >=20 > > However when I look from inside the jail, I see the daemons listening > > only on IPv4: > >=20 > > root@test4:/ # sockstat -l > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > > ADDRESS > > root sendmail 17178 3 tcp4 192.168.4.204:25 *:* > > root sshd 17175 3 tcp4 192.168.4.204:22 *:* > > root syslogd 17110 5 udp4 192.168.4.204:514 *:* > >=20 > > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > > available inside the jail). >=20 > One thing to check first is ifconfig inside the jail does see the address? Yes, it does: root@test4:/ # ifconfig re1 re1: flags=3D8843 metric 0 mtu 1500 description: Inside options=3D8209b ether c4:12:f5:33:c9:7c inet 192.168.4.204/24 broadcast 192.168.4.255 inet6 2001:470:ecba:3::4/64 media: Ethernet autoselect (none) status: no carrier nd6 options=3D21 root@test4:/ #=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecj/QAAoJEA2k8lmbXsY0m8YH/ij3ft/MAARs0Mnl+MPCWAFu 9yPOQXoLTsyHVx9Pvfp7YXHFEUwjoHx8e3+9jLkKMCy3O1aLi95Ztn344YWISdl/ DTpQFiromtWflvkeIf8obzhHrVEzOMBEWnYX340rQ/UFDc+Z2ya++7MuIU9Czac7 0qRe+b6owGWR6Jfn/GgRXYPuEoKMvxT6cnQJSbdsTKRw6a1tfeVMNvKzIcz0AhBp DeJoX7f5CNKNoPlwEMsM2ZsrgAryAv9aT+tuLnZtsgt62FBtUxyb1Dp/4gEozW/Z f1ngQ7RI/sFVgG9IFrqKVZixWmSJHPeDeUBivRw1EfLooLblJ9drg2TSRBO8dAc= =O2Nl -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-questions@freebsd.org Wed Mar 18 15:40:53 2020 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 A5659263D01; Wed, 18 Mar 2020 15:40:53 +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 48jDlS0yPjz43gt; Wed, 18 Mar 2020 15:40: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=rfZSVsItrAEkKlI87KnkvASudWbhiGuiCRoGc1gKhT4=; b=iin3erXUyKGiC/vCCcYHSuBI/d Wh4AW2IHqNeom9ih3+wWoslSDwuqROQSEdxBQmSzmrgFOirWQLz8V+F2x8Be+hNbtQzDQZm74Q0Zj ahkLRNvwW8w2FDQE5yvKXJTTrBj/Le1pmiWl9h/qHszxIlxls9kIGeWBNH3VzMRIxkfM=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEaoL-000HBR-L5; Wed, 18 Mar 2020 22:40:49 +0700 Date: Wed, 18 Mar 2020 22:40:49 +0700 From: Victor Sudakov To: Steve O'Hara-Smith Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200318154049.GC65497@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <20200318153535.1a91d84f145e634594e6aca7@sohara.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline In-Reply-To: <20200318153535.1a91d84f145e634594e6aca7@sohara.org> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jDlS0yPjz43gt X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=iin3erXU; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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: Wed, 18 Mar 2020 15:40:53 -0000 --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Steve O'Hara-Smith wrote: > On Wed, 18 Mar 2020 22:15:56 +0700 > Victor Sudakov wrote: >=20 > > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > > available inside the jail). >=20 > Having the host listening on an address will stop any jails from > being able to listen on that address. You need to stop the host services > listening on the jail's IPv6 address. I don't understand you. What's the difference between=20 "ip4.addr =3D 192.168.4.204/24" and "ip6.addr =3D 2001:470:ecba:3::4/64"=20 in this configuration? Should be none. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --iFRdW5/EC4oqxDHL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeckEBAAoJEA2k8lmbXsY055QH/2TfM8i2ud8ThZMY/0FuJdoZ r2ccLrB8fgkH9m/T36uiZgTiw9Bk/L2EiRebrSdxdsoKFJ5KFOWg5/5GkJhDe48X aD+rYxTvmooE2xnoSs/e7EdPyKEeBhAMDkXEHnWj8dMKim1Aw2FZGMTvmg9gMNx3 FCl6KKo61ixPZ7A1RrtckXYeyJTPf4ReMgd0SA96h3eD5wujerIiLGD9AeYuQ7oL 787E1shMD2K4EX1kvHhdkYrHe9u7jcRM42N3fFfEU0z8x30vyL1QuR+y8rXUBV7Z nb59jh08oXJjwjq3BD5tABNAcXzVjAI07f7S1rYTNN9B7s0agE/EPTpgoqenkS4= =dL9q -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL-- From owner-freebsd-questions@freebsd.org Wed Mar 18 15:50:51 2020 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 F200D2642E0; Wed, 18 Mar 2020 15:50:50 +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 48jDyw489dz4SNp; Wed, 18 Mar 2020 15:50:48 +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=VK/aCTDanYbNnlNriB/N6OeeLzdIBIgg1Ec7uBmvt1U=; b=Usad63Pdtaex73tIpDwX5cLSwl ZhmuXQ1DTf1E25crGPAZROEoF5ImRDGZZpenf20Vcp8mMj/W2A0BFJIjV6PGKC0iATuJPdl0bPGwD 5UjzArIbAAARBSv7aue2yS4CMtnWe8Siiw7fkfk/PkICQ4LliaJdyaKFavZQJVOg0EbQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEaxy-000HGB-Rc; Wed, 18 Mar 2020 22:50:46 +0700 Date: Wed, 18 Mar 2020 22:50:46 +0700 From: Victor Sudakov To: Miroslav Lachman <000.fbsd@quip.cz> Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200318155046.GD65497@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hoZxPH4CaxYzWscb" Content-Disposition: inline In-Reply-To: <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jDyw489dz4SNp X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Usad63Pd; 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.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.975,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.91), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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: Wed, 18 Mar 2020 15:50:51 -0000 --hoZxPH4CaxYzWscb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Miroslav Lachman wrote: > Victor Sudakov wrote on 2020/03/18 16:15: > >=20 > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > >=20 > > Here is a test jail: > >=20 > > test4 { > > path =3D /d02/jails/test4 ; > > mount.devfs; > > ip4 =3D new; > > ip6 =3D new; > > ip4.addr =3D 192.168.4.204/24; > > ip6.addr =3D 2001:470:ecba:3::4/64; > > host.hostname =3D test4.vas.sibptus.ru ; > > interface =3D re1 ; > > allow.raw_sockets =3D true ; > > exec.start =3D "/bin/sh /etc/rc"; > > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > > } > >=20 > > However when I look from inside the jail, I see the daemons listening > > only on IPv4: > >=20 > > root@test4:/ # sockstat -l > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRE= SS > > root sendmail 17178 3 tcp4 192.168.4.204:25 *:* > > root sshd 17175 3 tcp4 192.168.4.204:22 *:* > > root syslogd 17110 5 udp4 192.168.4.204:514 *:* > >=20 > > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > > available inside the jail). >=20 > If sshd in the host is configured to listen on all available interfaces a= nd > addresses (the default) then it will catch your jails IP too. Why is it not catching the 192.168.4.204 address then?=20 > You must configure sshd in the host to listen only on hosts IP and then y= ou > will connect to the jails sshd. OK, I've stopped the sshd on the host entirely, and restarted the jails. Why am I still not seeing the jailed sshd listening on tcp6? root@test4:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 17995 3 tcp4 192.168.4.204:25 *:* root sshd 17992 3 tcp4 192.168.4.204:22 *:* root syslogd 17927 5 udp4 192.168.4.204:514 *:* root syslogd 17927 6 dgram /var/run/log root syslogd 17927 7 dgram /var/run/logpriv root@test4:/ #=20 Your theory is probably incorrect. >=20 > What is you sshd_config in the host and in the jail?=20 The sshd on the host has been stopped now. The sshd_config in the jail is the FreeBSD default one. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --hoZxPH4CaxYzWscb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeckNWAAoJEA2k8lmbXsY0GlcH/1w2bskTWY3duh53t9LvX93I +im9ZQI0Tj69tTFARZHID/moLOm5SaVfveMrWhOx63cljxOPmQ2ehwoteGLOPqBy lL30FEo0oLfFDP43Il287QlZMoqS/VrBwBLJrIYNqymjkY3Jc0OXtTqWRvSr5RT+ AUveXx5OOETjFHyeAKxsl4ALk+cgWPI2rdduTbaiKjmuVsyuskOIitnc/3SLhy3H nYt8iAYAdnt1qSGmjdjuH93N8fi1YCFuWve1FEuevT2VF13KvSYYFpJEAm1b9ZGe DQV7RJIH3TFCCa5/FuPZMs1yDhbEY1LqoJHNydGMUUa/sEu+/OiJ1+Z1ZDcW02g= =E7MI -----END PGP SIGNATURE----- --hoZxPH4CaxYzWscb-- From owner-freebsd-questions@freebsd.org Wed Mar 18 15:58:46 2020 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 E4A8E2646EE; Wed, 18 Mar 2020 15:58:46 +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 48jF854Bbgz3J7P; Wed, 18 Mar 2020 15:58:45 +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=KzBDw5YvZI5rrxObsxyC1efZh5x6afXl3mMmh60xiGI=; b=VrvNPUj9Gz3Rel5VjQCEt5AubE JuPVRqpPkmxe8P9FWaAkKEfJUbynBzRVyV7iiKyPZHGI3SdCF15hdE5NeMqItsjacQfLvKyP0lZRS VU6tFIZX+5x4t8qJuAQBXn2vaP5TUTJZVoM7RXa28ePsLgLl8sg1KXLRutjVl+9htqwc=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEb5f-000HK6-OI; Wed, 18 Mar 2020 22:58:43 +0700 Date: Wed, 18 Mar 2020 22:58:43 +0700 From: Victor Sudakov To: "Bjoern A. Zeeb" Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200318155843.GA66451@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <069AA173-29F1-4F9F-B7D6-31BF2C559C17@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <069AA173-29F1-4F9F-B7D6-31BF2C559C17@lists.zabbadoz.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jF854Bbgz3J7P X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=VrvNPUj9; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.92), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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: Wed, 18 Mar 2020 15:58:47 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bjoern A. Zeeb wrote: > >=20 > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? > >=20 > > Here is a test jail: > >=20 > > test4 { > > path =3D /d02/jails/test4 ; > > mount.devfs; > > ip4 =3D new; > > ip6 =3D new; > > ip4.addr =3D 192.168.4.204/24; > > ip6.addr =3D 2001:470:ecba:3::4/64; >=20 > I usually do something like this: >=20 > ip6.addr +=3D "lo0|2001:db8:1234:5678::ef/128"; >=20 > to add the single address out of a /64 to the loopback interface on the h= ost > and then pass it through to the jail. The /64 however is actually routed= to > my host so might not work if you have the /64 on the physical interface. >=20 > Given it is a jail without vnet you cannot assign a /64 to the jail, you > want to just specify the address usually (plainly or as /128). Bjoern, I've just changed "ip6.addr =3D 2001:470:ecba:3::4/64" to "ip6.addr =3D 2001:470:ecba:3::4/128" per your advice, and restarted the jails, without any visible result. The daemons inside still listen only on tcp4: root@test4:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS = =20 root sendmail 18711 3 tcp4 192.168.4.204:25 *:* root sshd 18708 3 tcp4 192.168.4.204:22 *:* root syslogd 18643 5 udp4 192.168.4.204:514 *:* root syslogd 18643 6 dgram /var/run/log root syslogd 18643 7 dgram /var/run/logpriv root@test4:/ #=20 >=20 > One thing to check first is ifconfig inside the jail does see the > address? Still does, but no use: root@test4:/ # ifconfig re1 re1: flags=3D8843 metric 0 mtu 1500 description: Inside options=3D8209b ether c4:12:f5:33:c9:7c inet 192.168.4.204/24 broadcast 192.168.4.255 inet6 2001:470:ecba:3::4/128 media: Ethernet autoselect (none) status: no carrier nd6 options=3D21 root@test4:/ #=20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeckUzAAoJEA2k8lmbXsY0P6gIAK+R6dUgrUEKSv8Jpx6PvOdG 8es9bieElW2jqt2XI0/uH8Rt2AtQuS/Jtq90AKxDETolFN+8PWS8u9kT3agrXi/Q qrp60W5LQ1rVmeSoKgRW8JU6fmiZGeLZd6+/ZkUvimwQ1rA1uLqNnLRFpGGqNlMk VMRjkvcUnh4A4CqJHm2QetfeDhvVrQW6Pmp+qzwFKbg0uL7MRzfaIcqx4L8RrI5t LF6W6udZF+zF9dl0B+pTdmv3rjqC4AUzLbQ5Zkdiu52xElBvGIL10XlL6R8RDB0k hrlvW7nbDvc49zL5huhyaeDQgoyxtvK1mHqiEN1hfaTjNG5Kz/E+Qdjp2sYZPcU= =QZ6h -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- From owner-freebsd-questions@freebsd.org Wed Mar 18 16:48:43 2020 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 1F307265E71; Wed, 18 Mar 2020 16:48:43 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from boulangerie.foucry.net (boulangerie.foucry.net [62.210.131.96]) (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 48jGFh6prMz4gKc; Wed, 18 Mar 2020 16:48:40 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from tamanoir.foucry.net (localhost [127.0.0.1]) by boulangerie.foucry.net (Postfix) with ESMTP id 221515C92F; Wed, 18 Mar 2020 17:48:39 +0100 (CET) X-Virus-Scanned: amavisd-new at foucry.net Received: from boulangerie.foucry.net ([127.0.0.1]) by tamanoir.foucry.net (mail.foucry.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OT9KKpTeW2Iq; Wed, 18 Mar 2020 17:48:38 +0100 (CET) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by boulangerie.foucry.net (Postfix) with ESMTPSA id 0AB895C92E; Wed, 18 Mar 2020 17:48:38 +0100 (CET) Received: from foucry.net (mithril.foucry.net [127.0.0.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 mithril.localdomain (Postfix) with ESMTPS id 919622045B; Wed, 18 Mar 2020 17:48:37 +0100 (CET) Date: Wed, 18 Mar 2020 17:48:36 +0100 From: Jacques Foucry To: Victor Sudakov Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200318164836.GO25617@foucry.net> Mail-Followup-To: Victor Sudakov , freebsd-questions@freebsd.org, freebsd-net@freebsd.org References: <20200318151556.GA64871@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WBsA/oQW3eTA3LlM" Content-Disposition: inline In-Reply-To: <20200318151556.GA64871@admin.sibptus.ru> X-Rspamd-Queue-Id: 48jGFh6prMz4gKc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; IP_SCORE(-0.65)[ip: (-4.69), ipnet: 62.210.0.0/16(1.01), asn: 12876(0.41), country: FR(0.00)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_MEDIUM(0.00)[0.002,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,reject]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:12876, ipnet:62.210.0.0/16, country:FR]; TAGGED_FROM(0.00)[freebsd]; 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: Wed, 18 Mar 2020 16:48:43 -0000 --WBsA/oQW3eTA3LlM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le mercredi 18 mars 2020 =E0 22:15:56 (+0700), Victor Sudakov =E0 =E9crit: > Dear Colleagues, Hello Victor, >=20 > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > wrong? Suppose to work, and work for me. >=20 > Here is a test jail: >=20 > test4 {=20 > path =3D /d02/jails/test4 ; > mount.devfs; > ip4 =3D new; > ip6 =3D new; > ip4.addr =3D 192.168.4.204/24; > ip6.addr =3D 2001:470:ecba:3::4/64; > host.hostname =3D test4.vas.sibptus.ru ; > interface =3D re1 ; > allow.raw_sockets =3D true ; > exec.start =3D "/bin/sh /etc/rc"; > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > } Well there is a difference between your config and mine: ip6.addr=3D"em0|2a01:4f9:4a:1fd8::16/64"; In my config there is the interface to use (em0 in my case, re1 should be in yours) >=20 > However when I look from inside the jail, I see the daemons listening > only on IPv4: >=20 > root@test4:/ # sockstat -l > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS= =20 > root sendmail 17178 3 tcp4 192.168.4.204:25 *:* > root sshd 17175 3 tcp4 192.168.4.204:22 *:* > root syslogd 17110 5 udp4 192.168.4.204:514 *:* >=20 > If I "ssh 2001:470:ecba:3::4" from outside, I get into the host instead > of the jail (because 2001:470:ecba:3::4 *is* assigned to re1, but not > available inside the jail). Hope my small experience can help you. --=20 Jacques Foucry --WBsA/oQW3eTA3LlM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEAREIAB0WIQRd29C9s3PtOgNIX2tkcaT/7DX1XwUCXnJQ5AAKCRBkcaT/7DX1 X3f9AQCW6HReI88HfgHdKpGHxZGJax+txDbgcmWJEzv+oaYn3gD+I9iaz7011d7z GSvQfy1AmpRrgAVF81AER+XphppPLJw= =VyTr -----END PGP SIGNATURE----- --WBsA/oQW3eTA3LlM-- From owner-freebsd-questions@freebsd.org Thu Mar 19 02:14:37 2020 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 0396327674F; Thu, 19 Mar 2020 02:14:37 +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 48jVpg34qBz42JP; Thu, 19 Mar 2020 02:14:34 +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=gHSiFGKcwzszI4eF00LfrKbOwxu9nvmLjFbDvsnwa8c=; b=L+qh1LxAl46LjUW4LsDUvNZbXu Jfmy4y4N6a1+3IoaJV2bOdDoZ9OjUwkplsjgE4VSRsI+YqaBZb6XI1mhSf/892tzftq7jU9i7Om+m sXtE+5FhpOs7GKBwLhtez8SM5fl4hXIHORXq28A0Uav2ZvuZiQMfoqqAX4VN/1TF5pCM=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEkhc-000L9l-GK; Thu, 19 Mar 2020 09:14:32 +0700 Date: Thu, 19 Mar 2020 09:14:32 +0700 From: Victor Sudakov To: "Bjoern A. Zeeb" Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200319021432.GA80800@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> <20200318155046.GD65497@admin.sibptus.ru> <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jVpg34qBz42JP X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=L+qh1LxA; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.983,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.92), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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, 19 Mar 2020 02:14:37 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bjoern A. Zeeb wrote: > On 18 Mar 2020, at 15:50, Victor Sudakov wrote: >=20 > > > If sshd in the host is configured to listen on all available > > > interfaces and > > > addresses (the default) then it will catch your jails IP too. > >=20 > > Why is it not catching the 192.168.4.204 address then? > >=20 > > > You must configure sshd in the host to listen only on hosts IP and > > > then you > > > will connect to the jails sshd. > >=20 > > OK, I've stopped the sshd on the host entirely, and restarted the jails. > > Why am I still not seeing the jailed sshd listening on tcp6? >=20 > Can you check the logfile inside the jail and see if it complains? It turns out it does: Mar 19 08:52:35 test4 sshd[27210]: error: Bind to port 22 on :: failed: Can= 't assign requested address. >=20 > Can you then do a jexec test4 and run service sshd restart and see if it > starts working? =20 It turns out it does: root@test4:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 28249 3 tcp4 192.168.4.204:25 *:* root sshd 28246 3 tcp6 2001:470:ecba:3::4:22 *:* root sshd 28246 4 tcp4 192.168.4.204:22 *:* root syslogd 28181 5 udp4 192.168.4.204:514 *:* root syslogd 28181 6 dgram /var/run/log root syslogd 28181 7 dgram /var/run/logpriv same with other daemons: root@test4:/ # service syslogd restart Stopping syslogd. Waiting for PIDS: 28181. Starting syslogd. root@test4:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root syslogd 28678 5 udp6 2001:470:ecba:3::4:514 *:* root syslogd 28678 6 udp4 192.168.4.204:514 *:* root syslogd 28678 7 dgram /var/run/log root syslogd 28678 8 dgram /var/run/logpriv > If it does, can you add a >=20 > exec.start +=3D "sleep 2 "; >=20 > to your config=20 OK, I've added it to the configs of 3 experimental jails. > and see if your problem goes away? =20 It goes away partially (only for sshd in 2 of the 3 available jails), and not for syslogd in any of the 3 available jails. Restarting the daemons =66rom within the jail fixes the problem. An example from a problem jail: root@vas:~ # jexec test5 root@test5:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sendmail 29495 3 tcp4 192.168.4.205:25 *:* root sshd 29492 3 tcp4 192.168.4.205:22 *:* root syslogd 29427 5 udp4 192.168.4.205:514 *:* root syslogd 29427 6 dgram /var/run/log root syslogd 29427 7 dgram /var/run/logpriv root@test5:/ # service sshd restart Performing sanity check on sshd configuration. Stopping sshd. Waiting for PIDS: 29492, 29492. Performing sanity check on sshd configuration. Starting sshd. root@test5:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root sshd 29838 3 tcp6 2001:470:ecba:3::5:22 *:* root sshd 29838 4 tcp4 192.168.4.205:22 *:* root sendmail 29495 3 tcp4 192.168.4.205:25 *:* root syslogd 29427 5 udp4 192.168.4.205:514 *:* root syslogd 29427 6 dgram /var/run/log root syslogd 29427 7 dgram /var/run/logpriv root@test5:/ # service syslogd restart Stopping syslogd. Waiting for PIDS: 29427. Starting syslogd. root@test5:/ # sockstat -l USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root syslogd 29858 5 udp6 2001:470:ecba:3::5:514 *:* root syslogd 29858 6 udp4 192.168.4.205:514 *:* root syslogd 29858 7 dgram /var/run/log root syslogd 29858 8 dgram /var/run/logpriv root sshd 29838 3 tcp6 2001:470:ecba:3::5:22 *:* root sshd 29838 4 tcp4 192.168.4.205:22 *:* root cron 29502 5 dgram (not connected) smmsp sendmail 29498 3 dgram (not connected) root sendmail 29495 3 tcp4 192.168.4.205:25 *:* root sendmail 29495 4 dgram (not connected) root@test5:/ # > If it does, the reason is > that you configure an IPv6 address to an interface and DUD has not yet > completed by the time sshd or other daemons start. Giving it the 2 secon= ds > avoids this problem and the address is usable at that time. There is obviously a race somewhere, but the 2 second sleep does not eliminate it entirely. Thank you for the hint in the right direction, what would you suggest further? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJectWIAAoJEA2k8lmbXsY0LDMIALFPHZlhI4OfgmY1vHwL+H3P 0qV8xv1Am6a4+K0aQ4+UYWSv9ekrSPcQn2jp7X1war6rFkC04bX7oK55teLZgkBT nFVm9mW6QbmD8ePId8YLZ5Qi0eVdpZY5GG+eW0igZAT07rt7gLHe0xju/AKOmUAe BHl4QHIdF4jVSB45G+/bTqojEz1HPes8RK21hnEMQAqFJCiognfovHk+ugCYDgYq RLxq5XkqM+Ebw76TcX/PkVCkgTlKz6+8ho0yPdzBocuoWHgyQNIqJ3x+1GBpF55O 9eRdc+Fd0K6ef2c0kQG5eVqestvVYuyfxaWLi5vYWSqlIccl43prIcoka72z0Ec= =TdIl -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From owner-freebsd-questions@freebsd.org Thu Mar 19 02:22:27 2020 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 7D72A276F39; Thu, 19 Mar 2020 02:22:27 +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 48jVzk1M1Pz4JNh; Thu, 19 Mar 2020 02:22:25 +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=gYCYPFEu70L00BJvO1P2TuH+rGnzUtih2OnRN+aWKbI=; b=UFIy+GtdScB+yXyvLlaBuX/Urw 4weLm+q24A9HTsabnhg7Nd8YZEswW9st7J19Zqh48OcI2OTO4aExr6Jp/v5K3m7F2P1bJLlkqF9VX fceXH9gY7x4sbsHtKHPN/Hsy2htazeEZr0c6MttdF4sBjtMavbQDV6sYzvJ51kekDY70=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEkpE-000LBo-B7; Thu, 19 Mar 2020 09:22:24 +0700 Date: Thu, 19 Mar 2020 09:22:24 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200319022224.GB80800@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <20200318164836.GO25617@foucry.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lEGEL1/lMxI0MVQ2" Content-Disposition: inline In-Reply-To: <20200318164836.GO25617@foucry.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jVzk1M1Pz4JNh X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=UFIy+Gtd; 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.44 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.977,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]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.92), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; 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, 19 Mar 2020 02:22:27 -0000 --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jacques Foucry wrote: >=20 > >=20 > > Is IPv6 in jails supposed to work? Does not work for me, what am I doing > > wrong? >=20 > Suppose to work, and work for me. > >=20 > > Here is a test jail: > >=20 > > test4 {=20 > > path =3D /d02/jails/test4 ; > > mount.devfs; > > ip4 =3D new; > > ip6 =3D new; > > ip4.addr =3D 192.168.4.204/24; > > ip6.addr =3D 2001:470:ecba:3::4/64; > > host.hostname =3D test4.vas.sibptus.ru ; > > interface =3D re1 ; > > allow.raw_sockets =3D true ; > > exec.start =3D "/bin/sh /etc/rc"; > > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > > } >=20 >=20 > Well there is a difference between your config and mine: >=20 > ip6.addr=3D"em0|2a01:4f9:4a:1fd8::16/64"; >=20 > In my config there is the interface to use (em0 in my case, re1 should be= in > yours) I have a more generic "interface =3D re1" statement, but replacing it with ip6.addr =3D "re1|2001:470:ecba:3::4" did not produce any effect on the jailed daemons. Of course the IPv6 address is present on re1 in both cases (my syntax and your syntax). When the jail is stopped, the address goes away. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJectdgAAoJEA2k8lmbXsY0MrcIAIOFYa/VorAia25ilVXaQEWp dSnCcgznS0/UzmZoR1shW13u3M+t2LwZ8X7048IQspTb8tS8PhBN7Mg+/+PGM92P TyQkwZmkOsFYud/2Jt6Y+lvmWzikzdAw5ADPkirRELdTQ/BbWUfiRuGRYMEJY3iE WU1/H5NUfgFBRCOp6PUJtA2pbGImoZNh4f8/lPUBpeGRfIk5nejg6OeytFXUpGKb c4B+QwtPrSJowRcF1N2yMVU07FH0CfqReSEOSYDFWW78zUyZvZDyy6QWn/H+XkLD ZcBA+sfPTrpL9iUQKruTntdACvivQSRoMBwj4aEBGrpBada9HGqSfJSWLCWuWHw= =gMoW -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2-- From owner-freebsd-questions@freebsd.org Thu Mar 19 07:01:11 2020 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 A52DF27D3A9; Thu, 19 Mar 2020 07:01:11 +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 48jd9L19XCz3yCk; Thu, 19 Mar 2020 07:01:09 +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=SrrWQ/adiIMbShlh5jcsTiA/DPdG9GQeWNdp3olMuOc=; b=Z8CkS4fEqIDPmD3Mcd+nFYVthz jPFWAvqAWMxKatYpXrk9ObkvnTV2ZW5dZ4h8stHtawYE5J+uRzPGAYTnz8DfGKToeOM2NCu28adVW 7i1mch9AWClAuWXi9aPDMpKyziYYuuduF+vtiGm+SDRxk7wDg9pWdqL8fx4NenRcvnUQ=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEpAx-000MRZ-Nr; Thu, 19 Mar 2020 14:01:07 +0700 Date: Thu, 19 Mar 2020 14:01:07 +0700 From: Victor Sudakov To: Jacques Foucry Cc: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200319070107.GA86122@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <20200318164836.GO25617@foucry.net> <20200319022224.GB80800@admin.sibptus.ru> <20200319065514.GQ25617@foucry.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <20200319065514.GQ25617@foucry.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jd9L19XCz3yCk X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Z8CkS4fE; 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.43 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.92), 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: Thu, 19 Mar 2020 07:01:11 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jacques Foucry wrote: > > >=20 > > > >=20 > > > > Is IPv6 in jails supposed to work? Does not work for me, what am I = doing > > > > wrong? > > >=20 > > > Suppose to work, and work for me. > > > >=20 > > > > Here is a test jail: > > > >=20 > > > > test4 {=20 > > > > path =3D /d02/jails/test4 ; > > > > mount.devfs; > > > > ip4 =3D new; > > > > ip6 =3D new; > > > > ip4.addr =3D 192.168.4.204/24; > > > > ip6.addr =3D 2001:470:ecba:3::4/64; > > > > host.hostname =3D test4.vas.sibptus.ru ; > > > > interface =3D re1 ; > > > > allow.raw_sockets =3D true ; > > > > exec.start =3D "/bin/sh /etc/rc"; > > > > exec.stop =3D "/bin/sh /etc/rc.shutdown"; > > > > } > > >=20 > > >=20 > > > Well there is a difference between your config and mine: > > >=20 > > > ip6.addr=3D"em0|2a01:4f9:4a:1fd8::16/64"; > > >=20 > > > In my config there is the interface to use (em0 in my case, re1 shoul= d be in > > > yours) > >=20 > > I have a more generic "interface =3D re1" statement, but replacing it w= ith > > ip6.addr =3D "re1|2001:470:ecba:3::4" did not produce any effect on the > > jailed daemons. > >=20 > > Of course the IPv6 address is present on re1 in both cases (my > > syntax and your syntax). When the jail is stopped, the address goes > > away. >=20 > Did you try to declare the IPv6 as an alias in=20 > /etc/rc.conf file? >=20 > # Jail Mail > ifconfig_em0_alias4=3D"inet6 2a01:4f9:4a:1fd8::17 prefixlen 64" No, I'd prefer for these addresses to be handled by the jail infrastructure. That is, I want an address to appear when the corresponding jail goes up, and to disapper when the jail is shut down. >=20 > Restarting the network stack will make ip persistent and I hope usable by= your > jail. >=20 I don't want it persistent. If a jail is shut down but its address persists, it can have undesirable consequences of it suddenly pointing at the host system. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJecxizAAoJEA2k8lmbXsY00xgH+gNZEBMynxv8LI+YTCqkzMbL 2tWPkoQyVrEnwBTKk6M51m0L8V/ZWhwOIGuNclZwpupFVaUZyeqzGm5y/1ib6ok5 dxNnGINsATz/ilule82e6TDzIFY04wDqo6b0ZfTpWiYLH0ixBF8hKWZzELt0eNuc 2WQYsHb8SgG3GJ4ro4jeXhK+rUxZXkn7VHl80BU0zqjdXWZuyM8Co9bKfXv8Dcj7 ah5na3//wS3uJfXs/3jU6qD77LUv2iMjZNi1C3vcxnoEuSvAnoxxwXGa88f9WsxJ 8mepSNdSQJMuXk0apQjs77c0iK7d96UQHfuIRABGPn1UYF1BAVkSW9B2hdyoEWc= =xZqU -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-questions@freebsd.org Thu Mar 19 14:01:36 2020 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 2FECE26111D; Thu, 19 Mar 2020 14:01:36 +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 48jpVQ5wXxz45f8; Thu, 19 Mar 2020 14:01:34 +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=vTgUg3MgEK5fLIv5X2bS62bPWK4N0X2e5Q2R+bBVVCo=; b=JBOEHFsMn9QQmnSh7AH65ylHmg bVat+l5g44cZhgBxFSw5CRGRiKRkJqGOyex5UpY/4z7a4xLMeYou8TCb22XC90k41dcqAPB4H3eTD f55giLSywo+ohNVWOU/oR9k/hkKqpiqdO3eaAoUVs/dgNJ9eAUwlGBaB2RDzj/0XK6Gs=; Received: from vas by admin.sibptus.ru with local (Exim 4.93.0.4 (FreeBSD)) (envelope-from ) id 1jEvjo-000OUQ-Dt; Thu, 19 Mar 2020 21:01:32 +0700 Date: Thu, 19 Mar 2020 21:01:32 +0700 From: Victor Sudakov To: "Bjoern A. Zeeb" Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-net@freebsd.org, freebsd-questions@freebsd.org Subject: Re: IPv6 in jails Message-ID: <20200319140132.GA93947@admin.sibptus.ru> References: <20200318151556.GA64871@admin.sibptus.ru> <2dd539ed-0ee3-079b-27b2-28126056c69a@quip.cz> <20200318155046.GD65497@admin.sibptus.ru> <4CA69535-0F6C-40FC-83CF-5000FD728C2D@lists.zabbadoz.net> <20200319021432.GA80800@admin.sibptus.ru> <01EF7656-4F8A-4075-A0B4-27E8AB17B516@lists.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <01EF7656-4F8A-4075-A0B4-27E8AB17B516@lists.zabbadoz.net> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 48jpVQ5wXxz45f8 X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=JBOEHFsM; 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.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; IP_SCORE(-3.36)[ip: (-9.89), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-1.93), country: US(-0.05)]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(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)[]; 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, 19 Mar 2020 14:01:36 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Bjoern A. Zeeb wrote: >=20 > > > If it does, can you add a > > >=20 > > > exec.start +=3D "sleep 2 "; > > >=20 > > > to your config > >=20 > > OK, I've added it to the configs of 3 experimental jails. > >=20 > > > and see if your problem goes away? > >=20 > > It goes away partially (only for sshd in 2 of the 3 available jails), > > and > > not for syslogd in any of the 3 available jails. Restarting the daemons > > from within the jail fixes the problem. An example from a problem jail: > >=20 > .. > >=20 > > > If it does, the reason is > > > that you configure an IPv6 address to an interface and DUD has not > > > yet > > > completed by the time sshd or other daemons start. Giving it the 2 What is "DUD" BTW? > > > seconds > > > avoids this problem and the address is usable at that time. > >=20 > > There is obviously a race somewhere, but the 2 second sleep does not > > eliminate it entirely. >=20 > Well not so much of a race but than a =E2=80=9Cgap=E2=80=9D. >=20 > The point is you are configuring an address on the base system and the ja= il > knows nothing about it so it=E2=80=99ll simply start the daemons. Normal= ly the > startup scripts would do the right thing. >=20 > I don=E2=80=99t think =E2=80=9Cpolluting=E2=80=9D jail(8) with logic to c= heck that the addresses > become available or not is a good idea. However I agree that it should > automatically do the right thing somehow .. >=20 >=20 >=20 > > Thank you for the hint in the right direction, what would you suggest > > further? >=20 > If you make it 3 seconds, does it deterministically work then? Not quite: https://termbin.com/arvb syslogd sometimes remains deprived of the IPv6 address. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJec3s8AAoJEA2k8lmbXsY0Od0IAK0+xmWkuH/uazuRTSVKr9VI +XHfx9+tThzPE0MlrPBwJJ0x0Mj+HbI9RxYxQlmCRXkNoNQ2oIca5KmEjSHlnr+p cka9T025H2mJ//SP53i8ZFB8+kVlj4z6nsE+X0eJBuah0dhmdrAP/p7oWWgpPRYq mqwagg814XAWNXzWfZZ8LDtlgjVszY2L29khNojAk9Ao87slowlJ8j+BPCKrF30Y WPiHUTlW8hVmogsKB6q+bdNg6ePqAoG9GbyM4UF6tHrEQH9M0RwpS1lDSkTNZdTj amgRXlQFcS8IuPUIlFntTuJdtFvFGN0z2ZncFEHjsHKbcCQce6BnQs1TjEBnm0M= =+OwQ -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT-- From owner-freebsd-questions@freebsd.org Thu Mar 19 22:20:28 2020 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 17E8D2724E9 for ; Thu, 19 Mar 2020 22:20:28 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) 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 48k1Z11czxz3C1l for ; Thu, 19 Mar 2020 22:20:25 +0000 (UTC) (envelope-from jguojun@gmail.com) Received: by mail-ot1-x32f.google.com with SMTP id k26so4178977otr.2 for ; Thu, 19 Mar 2020 15:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=qPfG6uVm/3He+KqbWEIohud+KGnqUbjy1UQDLFfCEwc=; b=p7TW9pw/4OKc3u6AuX8ibaZ35tj3RCMhJ6FHDgIerwa2xLl2tHSKhN/b6oDMgBslRh etrXXRvP/TZLYYCPuV44qiKd6rlIFON2nboR69iBFldtkyid9EldNcFtIiXgwPZFDrO3 3je3tPcBoIgkKymv1bN3unJFmnCPnEuMT+OkcrIppyZVges+vDyw8YnJoTyNd0Ou8GzB cfzChrmwGe3XTSPw+sIuvjkIGc+48SSbxjOsVmnsmlpnW7ZK+yHwMbpFdaHuStNDcmBX oAM2l9j6CU/V6p50b1p0uEswme6WRwCM1SeUUCsLJhd45npmJonk71mMyghMLWq9KYeO reAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=qPfG6uVm/3He+KqbWEIohud+KGnqUbjy1UQDLFfCEwc=; b=LFwOJKuqTVh80CZo61kLHWiyv8yn9Qs9v4jlWvQ/ZPieAL7nBC5EGOS+Zp89A0f6AA ccP5mmBJGwEP9qymDD9ztwzKXkZaNTbCPvbVd5Vm0HHNiXLZC8Wz0DxPKREUqhbbKHoL KHXPc0B31RPub/WLdKGjGJghZY9nFObwoQ+zs6G7ehnTAWlFUN7FaF1n9ZiUpMH/1uux qrKXAEvyJeF5Cvi5i8hIZzRiKF/6qHrHdWKHUM5IJYNalzaZ9+i0hbn9OQlnpuzrPsPP b8lZddGifLnGF4aXG3d7indQ3D2p8VIvT1ncwT5CuDpEzec83PdVns6ZQv3kRt8wYuG1 XOvg== X-Gm-Message-State: ANhLgQ0EC3eSldU8M1IkcQosFHU8tHz2KhvdvWW7h2QXU+E1s0y9spMt 3acd+C+oj8hmmM1w/X+selgUyGk= X-Google-Smtp-Source: ADFU+vuSz+1WxJHF3mY6KbKUaB5hKvsX8vWHjLnu7+AIGYE8rZoBV3rcCyUgH2PHGTVxbGroPT7sAg== X-Received: by 2002:a05:6830:4b1:: with SMTP id l17mr4218023otd.275.1584656423436; Thu, 19 Mar 2020 15:20:23 -0700 (PDT) Received: from [192.168.1.82] (162-239-0-170.lightspeed.sntcca.sbcglobal.net. [162.239.0.170]) by smtp.gmail.com with ESMTPSA id 90sm1249251otv.5.2020.03.19.15.20.22 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Mar 2020 15:20:22 -0700 (PDT) To: "freebsd-questions@freebsd.org" From: "Jin Guojun[VFF]" Subject: FreeBSD gdb does not allow to control running threads Message-ID: <817c175e-a892-a4df-87d3-4016393efc34@gmail.com> Date: Thu, 19 Mar 2020 15:20:17 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48k1Z11czxz3C1l X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=p7TW9pw/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jguojun@gmail.com designates 2607:f8b0:4864:20::32f as permitted sender) smtp.mailfrom=jguojun@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(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:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-7.89), ipnet: 2607:f8b0::/32(-1.85), asn: 15169(-1.64), 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]; 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)[-0.996,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[f.2.3.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)[]; 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, 19 Mar 2020 22:20:28 -0000 I am using GNU gdb 6.1.1 [FreeBSD], and it does not allow to set scheduler-locking. gdb) show scheduler-locking Mode for locking scheduler during execution is "off". (gdb) set scheduler-locking on Target 'freebsd-threads' cannot support this command. Is any reason this feature is disabled? -Jin From owner-freebsd-questions@freebsd.org Fri Mar 20 09:16:45 2020 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 D1C882600D3 for ; Fri, 20 Mar 2020 09:16:45 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (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 48kJ7J4RMGz3GD3 for ; Fri, 20 Mar 2020 09:16:44 +0000 (UTC) (envelope-from ole@free.de) Received: from bard (x2f4242c.dyn.telefonica.de [2.244.36.44]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.free.de (Postfix) with ESMTPSA id E1C0C9CD26; Fri, 20 Mar 2020 10:16:41 +0100 (CET) Date: Fri, 20 Mar 2020 10:16:37 +0100 From: Ole To: freebsd-questions@freebsd.org Subject: [solved] Re: Bhyve: virtio-net very slow with FreeBSD 12.0 Host Message-ID: <20200320101637.29ca7ef0.ole@free.de> In-Reply-To: <20190205150522.635b9e34.ole@free.de> References: <20190205150522.635b9e34.ole@free.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/oOiWO0fwRl7PKGCOa3fN4BB"; protocol="application/pgp-signature" X-Rspamd-Queue-Id: 48kJ7J4RMGz3GD3 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ole@free.de designates 91.204.6.103 as permitted sender) smtp.mailfrom=ole@free.de X-Spamd-Result: default: False [-7.03 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.93)[-0.935,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[free.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.98)[-0.981,0]; IP_SCORE(-3.71)[ip: (-9.76), ipnet: 91.204.4.0/22(-4.88), asn: 31371(-3.90), country: DE(-0.02)]; RCVD_IN_DNSWL_NONE(0.00)[103.6.204.91.list.dnswl.org : 127.0.10.0]; MID_CONTAINS_FROM(1.00)[]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[44.36.244.2.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:31371, ipnet:91.204.4.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; 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: Fri, 20 Mar 2020 09:16:45 -0000 --Sig_/oOiWO0fwRl7PKGCOa3fN4BB Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, just for the record: There is also a Bug Report documenting this https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242894 It seems, there is a Bug in the hardware vlan tag processing.=20 I can solve the problem if I configure the interface with -vlanhwtag on the host before starting the rest. (via rc.conf) Thanks to Mike who gave me this hint Ole=20 Tue, 5 Feb 2019 15:05:22 +0100 - Ole : > Hello, >=20 > I discovered that virtio-net very slow with FreeBSD 12.0 Host. And > with very slow I mean 16 kBit/s. >=20 > I can't exclude that there is a problem in my setup. But I created two > very similar setups. One with FreeBSD 11.2 and one with 12.0. The > server with 11.2 has no problem. >=20 > Either I do something really wrong or there is a Bug in the > virtio-net. >=20 >=20 > Both Servers are connected to a switch, the IPs of the VMs are in the > vlan 4030. The Bhyve VMs are mangaed by vm-bhyve (master from > github).=20 >=20 > Bridges are created by rc.conf: >=20 > # Vlans > vlans_em0=3D"030" > ifconfig_em0_4030=3D"mtu 1400 up" >=20 > # Bridges > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm em0.4030 mtu 1400 up" >=20 > switch definition: >=20 > switch_list=3D"vm-net" > type_vm-net=3D"manual" > bridge_vm-net=3D"bridge0" >=20 > VM config: >=20 > loader=3D"bhyveload" > cpu=3D7 > memory=3D40G > network0_type=3D"virtio-net" > network0_switch=3D"vm-net" > disk0_type=3D"virtio-blk" > disk0_name=3D"disk0" > disk0_dev=3D"sparse-zvol" >=20 >=20 > vm creation: >=20 > vm create -t test-host -i FreeBSD-12.0-RELEASE-amd64.raw > test-example-com vm start test-example-com >=20 > Network setup (on the VM): >=20 > root@freebsd:~ # ifconfig vtnet0 xx.xx.xx.xx/28 mtu 1400 > root@freebsd:~ # route add default yy.yy.yy.yy >=20 > could someone help me to figure out if this is a Bug, and if yes > where it is? >=20 > Thanks > Ole --Sig_/oOiWO0fwRl7PKGCOa3fN4BB Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE60BGd7KVfL83NXCUJZaRRqjklFAFAl50ifUACgkQJZaRRqjk lFA/CxAAqJj8oNkCyMDcpEU4m8033hOBc1Nxdq3cQng5yJi7vo9ua6+enmp7zG+U y5HCiK/9yAjgUKUEpREea5aPP6siLkkyXPHuZ6eJmqOReczKXyONb2NI39wEye2N bmpK6LLOATy9+jlXewHP14cv059dvzl6XL9sBMy/seZQbwU/mIuOYmVf04699TRK XdjybFqEC16hWjUP9CfpI550m68Gk+qE0OyqRBULIVqu3/GEW8SZTr0ivxnML9K5 7bSadRbOMVT0urxJJWXoEMuWR48d92sUVvuVrFKOEvNOalxJhA4gJ0Mw0xdl5Vsi bHED2iQNaqIIrDZ9cHoVMhuiENCxmzsnbTwbh8qg3hav1TpJXOyp/lKB58YeyreV IjFsv9WEGX/Z04eyFxhA2cjtiJSy7HkAJKL2/U+A0zGhbcVRYdFr2IdH4xMqzttu WR1d9ugZJ4CWA0LtQcMIeGdHctuc2bcexAFtMgPHlwy0Eq1dwX6vu3ka4oKG6zPK NoRvxS0SKWlt/N8sKNEyeRG+T8O43jS01nvzfjYoru9usCMy2ok8e2Qms0SpU53a OoU6eVcHs8VDtQTcw3PCpMLjxFt8RTG3Z8GVbMpJcT/yD1xtsE6EvPdKkYv2y0KV sqkj2Uyt8Z0AYqQDdyBeIoOxsefUcucdCgDWsRFHpZttfc3wFlQ= =vDmn -----END PGP SIGNATURE----- --Sig_/oOiWO0fwRl7PKGCOa3fN4BB-- From owner-freebsd-questions@freebsd.org Fri Mar 20 12:11:16 2020 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 6C0152655C9 for ; Fri, 20 Mar 2020 12:11:16 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 48kN0c5sRPz4Ctx for ; Fri, 20 Mar 2020 12:11:12 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-io1-xd33.google.com with SMTP id y24so5655288ioa.8 for ; Fri, 20 Mar 2020 05:11:12 -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=4fK69e2rHnLHk6mCcBg9IdMXz/AaiTSEXKuv+mGtauM=; b=odtTAA9Nl+sFB/upwKdNE/Ffznsw/rPWUHu3Gn/eJ6dC7YpyN7/LhbFcVvarfdkeFt E4gtf6fdqxXLUE7VnAfkezrWUvoNGMMfpIkTG0nHm3UUrkljEAMvggdpi6EMH/UTFCeS Eb+medRjSU0f/i6HueB5/fbdiZQl15by9ZwGkvU1ThtfFTdH56JQuIL4HUF+nYeGr0ot P/IHAdlaGwP1U6D5dGD+YaVn6qch4ZA+C9pM9+ZbpgJ2wb8+hbjpKMx2RH3RKPctBEcT IywH382v/U6e5RAIC0gkcRRjWJYXss6chUqW6ten5VzlC525DVRlXgXsrBCdC/Cq/5DO c0KA== 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=4fK69e2rHnLHk6mCcBg9IdMXz/AaiTSEXKuv+mGtauM=; b=drcr+Rpg55t0h+DWIreWt8LH6MkIqBN8/WZNShhtkJilw2OOB2hG6Z5ADicpnbQPcO eoVepTxv6daPRK85MH6QZhF3r8TDm343n6CQY3V48PTIFVg4ZZ5SurLGGUTWFZRnYPx5 uR5zEFzWh7D/4xR7L/cNQHsx17NdGRQO9h+CI8G2QorCHstijqBVwKATWfgY9aeG7lb+ 3xPRXfm0ayqr/nQYvoUEOFxlbgBCarIMNlYN9moX1eOQPPFziC9TvDQZoiLnbz4GPUOc TtZRK0PztBvhWkNVR4QdwacG0hg6hee3n+wR8udgSvYrYO5ywFKn3+U0qRUn74weO7o+ 5hrQ== X-Gm-Message-State: ANhLgQ36pWu6Z2SXob46ILlGI5LvIYmvKvVcuQEgRvCyrDL7YYmk+/4v IXrUupHGgsu4Ud7rk2Vjn/uWq90i7hb/sk4qXDHl07R2 X-Google-Smtp-Source: ADFU+vuW1cRN+41pT5MR5IyXzfU0fUUZHDCJ8om7b4KUWzO+X3jCuxLJS1HS6nwT9tm8IAFlSJk9CklMnrd7g7AxMXY= X-Received: by 2002:a02:c792:: with SMTP id n18mr3724392jao.5.1584706269891; Fri, 20 Mar 2020 05:11:09 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:f61a:0:0:0:0:0 with HTTP; Fri, 20 Mar 2020 05:11:09 -0700 (PDT) From: David Mehler Date: Fri, 20 Mar 2020 08:11:09 -0400 Message-ID: Subject: Anyone running FreeBSD 12.x on a Linode Vps? To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48kN0c5sRPz4Ctx X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=odtTAA9N; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::d33 as permitted sender) smtp.mailfrom=davemehler@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[]; 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]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-5.62), ipnet: 2607:f8b0::/32(-1.28), asn: 15169(-1.29), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[3.3.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]; RCVD_COUNT_TWO(0.00)[2]; 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, 20 Mar 2020 12:11:16 -0000 Hello, If anyone is running FreeBSD 12.x for sure or anything in the 11.x branch on a Linode-vps can you write me privately? Thanks. Dave. From owner-freebsd-questions@freebsd.org Fri Mar 20 14:40:15 2020 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 9B97726902E; Fri, 20 Mar 2020 14:40:15 +0000 (UTC) (envelope-from babupalit@gmail.com) Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) (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 48kRJb1kj7z3N9n; Fri, 20 Mar 2020 14:40:15 +0000 (UTC) (envelope-from babupalit@gmail.com) Received: by mail-ot1-x342.google.com with SMTP id e19so6163420otj.7; Fri, 20 Mar 2020 07:40:15 -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=C0BBlLo5NKEYES2/88dE/bqmWYYFQUw8vhfYt7tEClM=; b=in9qgLku5KbTsoXqi+qNSJsDE/Gyy5l62O9YvXaEWb8e+3rQatJKRhOLfX9OG9orMt GRYS80g2puGt9k0okHa6tMOa/NEVbGa14H5gv/Bp3I2He17NXNCtwc4iQpTwfl+X0IJ2 3cUPZzJSNBHe3WyRXUmm7be2hEacwJmK4EYsIOA9mL4EP60abrUeZRs7fhCfd6lPstQw Fna2jVHlgILi60mpmmBFJJ8njIAAK6X04qtmjFnf4NF1w7a14qwTXUAF5x4WuiZDZmOe iQcHEFYL57eSi8QOMrv2+WlKb1RH8pTTRKhwlojHESuW+uIlHw0TTxwyXIi+ajP4GL99 h5aw== 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=C0BBlLo5NKEYES2/88dE/bqmWYYFQUw8vhfYt7tEClM=; b=e/mlHNqZUhZ9JrUQ9itaUY5Kov6bWVdVzXgzdN/e1YXnsVHf65izp9S1BluAhQbQN3 rijoi0PYKu2CxaYOIaKE58McZ9SwNJTshuyne21+lX13ueoA46nfff0/yeo/7natDQGg 9dDj83kbwcFqfOi5OOiVmCG44ykJfQZmTr5/uXIZGYFLPfVj+ya9SBNxLpLakGuvMoiE tFb3/4sKCZRDzMpVhzSlphoW/6vPNnwsNjgY0k/Xc58QsK709zJKx2tcasWJvC7sI6k7 dJDcbrdJX7g60vKYHphXLuEjMxGVUn5Ieb0JsP3tkxB9jR9m8HuOdEl0GqiXXba4lHv0 U7+A== X-Gm-Message-State: ANhLgQ1qZMixBDwV2wPrPzXV0H9FOrwq7WALBTUOI6SbtJZA4nqi3kmw K/jiQqBFECFDSjOOgWV1kHO8NgL9CpHZGMiWViuqv+jj X-Google-Smtp-Source: ADFU+vsAu73irrNS4ryUj/BKHgy9A59G73DlBtLk2mHzswggQPJypHKYuPdiEnnHYgsBfK+g7Bx2Xog/IZlT9r8+0tw= X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr7331035otp.75.1584715214277; Fri, 20 Mar 2020 07:40:14 -0700 (PDT) MIME-Version: 1.0 From: Arpan Palit Date: Fri, 20 Mar 2020 20:10:02 +0530 Message-ID: Subject: How to access a user space file from kernel space in FreeBSD. To: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org X-Rspamd-Queue-Id: 48kRJb1kj7z3N9n X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=in9qgLku; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of babupalit@gmail.com designates 2607:f8b0:4864:20::342 as permitted sender) smtp.mailfrom=babupalit@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; 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_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(0.00)[ip: (1.92), ipnet: 2607:f8b0::/32(-1.20), asn: 15169(-1.24), country: US(-0.05)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.3.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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.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: Fri, 20 Mar 2020 14:40:15 -0000 Hi all, I am working on (kernel)driver ioctl implementation for file read/write, where I need to know what are API's which can expose to read,write and close user space file from kernel space. In general I need to know the answer for the below questions. i). How to open a user space file from driver(kernel space) ? ii). How to create a new user space file from driver(kernel space) ? iii). How to get file parameters like size of the file ? iv). How to read/write the files from the driver(kernel space) ? Thanks & Regards, Arpan Palit From owner-freebsd-questions@freebsd.org Fri Mar 20 17:02:32 2020 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 0C48426CD05 for ; Fri, 20 Mar 2020 17:02:32 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 48kVSl2NWSz4fYd for ; Fri, 20 Mar 2020 17:02:31 +0000 (UTC) (envelope-from dave.mehler@gmail.com) Received: by mail-il1-x12d.google.com with SMTP id m9so6223544ilq.12 for ; Fri, 20 Mar 2020 10:02:31 -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=SfVzQ6ynEORItW3+qU4Ut3ZgBZucTvXnSW8A5ZVNKjA=; b=l0FlyBsrZMpAQoCXauaPMmYtSAKulGLcilb/rZcnHIlwdVm/+zmymEHXgU1OhgrsRx p0QcTJmN0Kvp3BzEeE3qWr9Bb55RNfDLm4iFzc9V/vxM/j/a5qa0+ZFzHZug7Yw57pB2 Dg+CYm8y8MngHbOqPmqSaHYkQMe62ki/1UpUBX2QtlcO4OAB0uHXXovuB4qxEzqHqPJB juLxEUS5d+YBDK9Mn/dGRu8QHkkVBOhKPVqPyoIz/fA/wSyMBWMozX7ijplBYoVUhSq8 DJXBDhnYXdTzMKMxm2Yf4pt6H4ax63WOnW7h1cPTHj2NcFK5wk1u5MCA7VxqSj9BSYx8 ZOlQ== 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=SfVzQ6ynEORItW3+qU4Ut3ZgBZucTvXnSW8A5ZVNKjA=; b=i3lcZFAGeV3cvmjRIq3ey4483pXnUqNc2TeTCmYV6Dvw4ZjSA58BEGsgqOZErq2Dq6 XwThR13wbrL48uSStVJIFQjYvvSF6/d40hqzpjnzQLs2EuIXkR0PAVhu2zCKOlKpOUHZ MPoWFTVjrXpEbUaPo1ExjUntIowcwZKzu9iyS2ENToTyO114Xmdbxka5T5JkXvq3Y3Cg UaIoDsAA43lJFz5xYrWVRHNH495bS9N2BYJsSLxvC5j0IlWsOOoVKHjx0onOITnw3JIa 8tBd/dbNXFuBBvtvYiPHHjZ4b0NsnxMTEjdBvSdGY7B8w2u3NmhSLm5KTQTo8ZCNkUsm HY5w== X-Gm-Message-State: ANhLgQ21qA1opsi7xmG1uE0yxjT+10bmVp43gV2Vm+/xOTFRDNfE4ZmD /UBWNzDvtM/LJEk+CZMANvli6ssYE84k6wxYDjKO9zsS X-Google-Smtp-Source: ADFU+vu96gKjMKrCIYBkq8FAuFwNdI1jIweGR5e0UcIcx1Q23Qm6ldtJfI8mE/vxzg8AFuaKCQ5WfucJK/UP07lYwJ4= X-Received: by 2002:a92:d789:: with SMTP id d9mr9522141iln.301.1584723749848; Fri, 20 Mar 2020 10:02:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:f61a:0:0:0:0:0 with HTTP; Fri, 20 Mar 2020 10:02:29 -0700 (PDT) From: David Mehler Date: Fri, 20 Mar 2020 13:02:29 -0400 Message-ID: Subject: Upgrading Php from 7.3 to 7.4 branch without having to uninstall and reinstall To: freebsd-questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 48kVSl2NWSz4fYd X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=l0FlyBsr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of davemehler@gmail.com designates 2607:f8b0:4864:20::12d as permitted sender) smtp.mailfrom=davemehler@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]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[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: (-8.64), ipnet: 2607:f8b0::/32(-1.14), asn: 15169(-1.19), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[d.2.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]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; 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)[]; 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: Fri, 20 Mar 2020 17:02:32 -0000 Hello, I'm wanting to upgrade my existing php installation which is 7.3.x to 7.4.x. I've seen a lot of ways to do this with packages, but I've got ports of php 7.3* installed in a jail, with custom installation and configuration options set (done during make config). I'd like to now upgrade all that to php 7.4* preferably without having to do an uninstall of everything and a reinstallation of 7.4, as well as having updated libraries when done. In my make.conf on my default_versions line I've got php 7.4 set. I've done a portmaster -Bda --delete-build-only and it says all ports are up to date. Is there a quick way I can pull this off? Thanks. Dave. From owner-freebsd-questions@freebsd.org Fri Mar 20 18:52:28 2020 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 0B82C26FEC7; Fri, 20 Mar 2020 18:52:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48kXvZ2Ljjz3MMQ; Fri, 20 Mar 2020 18:52:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.42.103]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1N1fzM-1jQc6Y2tPE-0120d8; Fri, 20 Mar 2020 19:52:22 +0100 Date: Fri, 20 Mar 2020 19:52:22 +0100 From: Polytropon To: Arpan Palit Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Subject: Re: How to access a user space file from kernel space in FreeBSD. Message-Id: <20200320195222.4a5c5f3a.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:cy1ZhCvKAiMMKh6fPOdCXazKCVI++3nSkv8qUir7PmLspSZKfLc UYT+h5PoCg3IK6Y45EMfYD9fWdeRzABVg2fkHebFyuXTn0W2NbntI88qoLg9wmTi7w96ra4 KwB+9jWxC/6SzpAFudTuFtbn2rtF2BYI3dblGBgGz2vkJPk4JDWnh1AMPZvFxLniN636390 wyFvzx/GYz+U6w8He9Z5g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:MBxZCuWlnAY=:oplfrtW1Z3Kzrj+M2RnbL3 gc5Q/0cEts2F3DJQ1RYP8CjJQaOcpmjug1s1tkXOCWeKw/B/GC4NF8CErrXEYyeBGFTMhJez0 K23qkVGp91TxLedGEXbcyZvd691rUO8P4opPD/ltKF1Ko1jqZP51ESRqRp4+ekzBr1ry9Bnwb TYZ2HTvMIgmpQILgSnqAvvNIwcnosEdmMRfMu0nVYZhpULDdJdlB27ASGzUznVJxQitpgVm41 8yCwAs4a7hbjyPg6lTFxe8/aWL5Vw+lf2IrU39yfv0j0ztXBb/lHUenyggm7jAf4yF3ubQyjg gHFvDYqF9w9uVFhZHpJ3EClel+vnDMr+U3JBrkISEQOaOFd3kZEKd6zkauD73z+czFeMDj2aJ 7yFDpkkKAtbzqeFiAdZUCJmijQa8nlgiKKd9MDQ1h2EjRGFnlMF1rRIxsm7nmydXDwdOrd88x SnWcuk2Fahv5Q3yhTe/E63z4ACm3NhBLkIlwO66/twKKPkKI5V1RoE+WbA4dpO3DmymhDWPX0 oVOiPBrmPneZ2vgU3mlXW0DfKfFL0lKnwZBZDkOvUtl14gEdrrBRRzXz20pPg32t3zfJJw5dh m9ym3xfXnSjNYDXbXZWG/jXnDw7Lw2CdzNVA2sdxzWQ9cQoOIz91+HiYys5EG0ceXS/8Vefkh PYYdanhexeMOVQSKHPfZORKUU9xMnCX9wHIxjSbwGDkUCLxGKPo7XwLgO2BrgHvHvkxR8UzO7 ijcBiCB3oX2gXN0jWgUOQWz3sFn6gwDoBqH9EoAaHf+2xA+dIUNtcvoI07yOHMvA58BXoePlG rXT/9C4IRm78JiiOxhQmS8zNUfnzc6KTyY2aozn+njuiviRrShHVSLpqh0Ljrwnx6FadA10 X-Rspamd-Queue-Id: 48kXvZ2Ljjz3MMQ X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.130) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.99 / 15.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)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[103.42.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)[4]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.986,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[130.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.61)[ip: (1.99), ipnet: 212.227.0.0/16(-1.11), asn: 8560(2.18), country: DE(-0.02)] 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, 20 Mar 2020 18:52:28 -0000 On Fri, 20 Mar 2020 20:10:02 +0530, Arpan Palit wrote: > I am working on (kernel)driver ioctl implementation for file read/write, > where I need to know what are API's which can expose to read,write and > close user space file from kernel space. In general I need to know the > answer for the below questions. > > i). How to open a user space file from driver(kernel space) ? With the open() system call. See "man 2 open" for details. > ii). How to create a new user space file from driver(kernel space) ? With the creat() system call. See "man 2 creat" for details. > iii). How to get file parameters like size of the file ? With the stat() system call. See "man 2 stat" for details. > iv). How to read/write the files from the driver(kernel space) ? With the read() and write() system call. See "man 2 read" and "man 2 write" for details. If you have access to the standard C library (libc) from the driver, you can also use fopen(), fstat(), fread(), fwrite(), fgets(), fputs(), fscanf(), fprintf() et al. for file access. See the corresponding manual pages in section 3. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@freebsd.org Sat Mar 21 04:40:55 2020 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 2327127E685 for ; Sat, 21 Mar 2020 04:40:55 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48knyY64CBz3QW5 for ; Sat, 21 Mar 2020 04:40:53 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 83386138A5E for ; Sat, 21 Mar 2020 04:40:47 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id F0iSGmX38gOS for ; Sat, 21 Mar 2020 04:40:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 4E6EB138A98 for ; Sat, 21 Mar 2020 04:40:47 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 4E6EB138A98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1584765647; bh=WYVqcLe+2wsqyXwH7McZVF8tCQ8qz66oj1cSFSvMn/M=; h=Date:From:To:Message-ID:MIME-Version; b=t/S8MrJpPH5rjme489RkqWGu8PKQ7eo5ZtG4i8Agqk/nNjIdmwJdNfpKCyt/7r8RN JBxgR9VhsGW9xNxMQheSDZoP/hRcEKBqvZ+ByzuoL5sduH+onIHX5ZOxdQ+1KATOII 4jwFHo8Yr7XMqx+cEtIZzf7lVA9RB5VRa9Zne/2zF5TsUQJVpqyomTHSiWqClP9le2 S+RooLD4t9DpLy1jXflBpsdolXepUwhni085+Y1HgWJRETo/crq9zz69hm54ZvNZR6 evslP0rawqkDpd5GX+enArenSk6FfD6bZKM1mNXsHQEQDUyiPs+KJcn4d1CgHQoQQh 6si8pxWJ1JcuQ== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HKeRcVst7Wok for ; Sat, 21 Mar 2020 04:40:47 +0000 (UTC) Received: from localhost (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id ED079138A5E for ; Sat, 21 Mar 2020 04:40:46 +0000 (UTC) Date: Fri, 20 Mar 2020 21:40:44 -0700 From: Ihor Antonov To: freebsd-questions@freebsd.org Subject: NodeJS on FreeBSD Message-ID: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 48knyY64CBz3QW5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=t/S8MrJp; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-5.77 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; RCVD_COUNT_FIVE(0.00)[6]; 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]; URIBL_BLOCKED(0.00)[antonovs.family.multi.uribl.com]; IP_SCORE(-3.35)[ip: (-9.24), ipnet: 100.24.0.0/13(-4.46), asn: 14618(-3.01), country: US(-0.05)]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-0.94)[-0.939,0]; NEURAL_HAM_LONG(-0.98)[-0.981,0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.210.83.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] 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, 21 Mar 2020 04:40:55 -0000 Hello everyone! I have a need to run Javascript (NodeJS 12) application. Does anyone have experience running this on FreeBSD? Does NodeJS perform well/stable on FreeBSD? If so then please share your feedback. Thanks Ihor Antonov From owner-freebsd-questions@freebsd.org Sat Mar 21 04:55:16 2020 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 C2ED927ECD6 for ; Sat, 21 Mar 2020 04:55:16 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (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 48kpH76YGZz46RL for ; Sat, 21 Mar 2020 04:55:15 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: by mail-il1-x130.google.com with SMTP id a6so7916645ilc.4 for ; Fri, 20 Mar 2020 21:55:15 -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=3oXFDr3oWp4gop7JaCOuk/kJWFTaFvecEH7ZsuHCQZ0=; b=aAadW32VnUvOVjQKfIvNB8Md8WObQLkJyM4TLqWlK3fGpLPaTUi8d69u4FpVkiWgnE wP705kQQ/hDUBsXdupoQc1epQsQya7htxOv+AOaSdv3Qty6zOfQryGYJ4+BoYeJVlD3t 7/6kVoHGTNkx77JsIX4HHKIKvt2IharWh2G+uVi6EAL3fuuQQdeJya5CZ4EAgXwMtyDr MuSDCwfNZsHfCiVv9aOg5FluRzGQ3M0oky0EIJS0y+h7Kbmf33mAgsHITvgYoHX00zTZ zUvrP6lqhfR4Gt+czQgaXT/vW8J3JROSJFEBQX+QO69sKL03O62rGj7NWoWKJulbxQf9 07qw== 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=3oXFDr3oWp4gop7JaCOuk/kJWFTaFvecEH7ZsuHCQZ0=; b=hdmrtIXKFHYzv84i8v0D8pLXZhgcteM4DYAvwl3tzJBT8BLKU83Yjsh3S9nhhxSDqa Z7gNChvQ5OyRz5HEDiQb4UsjQMKSHN8qbwvSe3vVbufWLlT+yJu3VpgWDBp1Z2rjfhhn VlSMGjDzA0//g78R5HOFNJAVJ+S06kRxIv5h3m2rOYWcdNohkL57rfSjLvVNsvJF0/cS FeFG9/czrriE03VXs7poUkFBA/YAyrA3FVnKcoUSC2n7bDg9bf4/oE9A7s9yfXmIQ/fD ChFWzqZBBa3hiSaNtoF1CXXP+hgcC57z+bzHfxMZSWwZG17HEgjlMYPyoOFgCUg/Renj FOWA== X-Gm-Message-State: ANhLgQ1VoFdI1PB92huhHzBlL3cQjpFetGsDA/6rDgmVbCSclxiZyquZ 3OgVkToNSNvo9xF8/lJkaAD4n2M2Y9KPHxmWzN1ehONJ X-Google-Smtp-Source: ADFU+vt1D10dlU6xHkboXK0ktyDOT5MA2RX2r/CXTklzhSAVL0eKVT/vZchgpBiz68LyDSTlzpOrU2AIDSQ53A47uzE= X-Received: by 2002:a92:6c0e:: with SMTP id h14mr12371709ilc.81.1584766514497; Fri, 20 Mar 2020 21:55:14 -0700 (PDT) MIME-Version: 1.0 References: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> In-Reply-To: <20200321044044.3p3jjdzedd3nkkuq@sea-ll-10936> From: Aryeh Friedman Date: Sat, 21 Mar 2020 00:55:03 -0400 Message-ID: Subject: Re: NodeJS on FreeBSD To: Ihor Antonov Cc: FreeBSD Mailing List X-Rspamd-Queue-Id: 48kpH76YGZz46RL X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aAadW32V; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryehfriedman@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=aryehfriedman@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]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[0.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; IP_SCORE(0.00)[ip: (-8.43), ipnet: 2607:f8b0::/32(-0.90), asn: 15169(-0.99), country: US(-0.05)]; 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: Sat, 21 Mar 2020 04:55:16 -0000 On Sat, Mar 21, 2020 at 12:42 AM Ihor Antonov wrote: > I have a need to run Javascript (NodeJS 12) application. Does anyone > have experience running this on FreeBSD? Does NodeJS perform well/stable > on FreeBSD? If so then please share your feedback. I use www/node (in ports and version 13) all the time for unit testing JS to be used in browsers and I have seen no issue (have been using it for 4 years now since node 8). My use is rather limited and doesn't include some of the more advanced features/extensions. From owner-freebsd-questions@freebsd.org Sat Mar 21 07:48:52 2020 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 CC3802597C0 for ; Sat, 21 Mar 2020 07:48:52 +0000 (UTC) (envelope-from tommyhp2@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 48kt7R6T6Fz4BdN for ; Sat, 21 Mar 2020 07:48:51 +0000 (UTC) (envelope-from tommyhp2@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id c187so8753833wme.1 for ; Sat, 21 Mar 2020 00:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=1ipCGBV/n/pHhcn8EAX5sQ3aQO048zOofsMTQdAQzDs=; b=PHCLcA8BCtFTo9xjAffOOz92XoWrJf7IXas4V5IP8nZ1gmrxcVPiXU0wz5MrE/SGfw xYZU21O+QSd/z1isLo5bgn6yw/Ti3BPdiJn3rldiIN04qyQSbHBCPSZEho3ClO54ik76 I1nDHI5cIgvbei0rFmWk7zl2w5ovP+/eSe787zMvFOkGsJwIB/p4daaCB3NwkqHO+NCh ARpqwXIUuLpAW0wU4u3OtsAgIZjXC5qGBjA8lFKwM81Le9NOJvlzEcJbl8EQ+J81+DXT FurjMoEcMo01tgOnsDn0ykdVzyYQMjfE9AMrI0QBdoN2ruU/o/WreQMRI1PlCc375gud wbcg== 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=1ipCGBV/n/pHhcn8EAX5sQ3aQO048zOofsMTQdAQzDs=; b=qGhwD4U7PfaQNa9V0SgXiUyKeVZBj7mpDFTI0gWWgLRBoSH0zZq4cqf3ad0LRhU/WP jK9xkaiO5ffapc85roa7JpCeBoVK/PA8Fh9N4cm6NOHT2RAAllAcfUumlT+4JzLDqUU9 EUK6ggfKXvH0O08aYEIuSbXJS63RMaERphzuuI3CVjgOW40eSOeQ7p9Gb2m4cJh1zNmN /EgDLZqiEZGvFd3R0ZJUzw69+ecm/avgGkrwpbMzWUZvoUKOKUDx/UiyS6mPgdzXxxnO wW77KnDGPp0G+rZryIktOMmgVFfK/kgARmBJ3W0cFkJZ04n2CIxoq+prY4NtkmQu78rE Gxrg== X-Gm-Message-State: ANhLgQ1UwM5r4P7evTC3gYGzL/wgjy7U1ZuLwaSwoFWAx2Dh0mDgW8ZH nKSRIt27ZdGWdn5FlGV+Dknl4EpKMO30r9GmCh1QelRx+LA= X-Google-Smtp-Source: ADFU+vv6e75aXrAg6h1CrncF3+EyUHFdyN6WIz+ZB4zaPT3cIlSr0lRTfdCXtSgOKEn1OlnJAdjGvpoAjJvrV/jieOc= X-Received: by 2002:a7b:ce85:: with SMTP id q5mr15600900wmj.83.1584776929901; Sat, 21 Mar 2020 00:48:49 -0700 (PDT) MIME-Version: 1.0 References: <20190205150522.635b9e34.ole@free.de> <20190926141353.55274583.ole@free.de> In-Reply-To: <20190926141353.55274583.ole@free.de> From: Tommy Pham Date: Sat, 21 Mar 2020 00:48:29 -0700 Message-ID: Subject: Re: Bhyve: virtio-net very slow with FreeBSD 12.0 Host To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 48kt7R6T6Fz4BdN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=PHCLcA8B; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of tommyhp2@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=tommyhp2@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.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: (-8.53), ipnet: 2a00:1450::/32(-2.39), asn: 15169(-0.95), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; URIBL_BLOCKED(0.00)[pastebin.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(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)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[3.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.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: Sat, 21 Mar 2020 07:48:52 -0000 Hi Ole, Is the slow performance in the guest? Are you using UEFI? If guest, have you tried the patches in PR 236922? I don't have bhyve in my environment so I don't know what chipset (legacy i440fx or recent Q35) bhyve can emulate. The man pages and wiki didn't specify. The original work for the patches in that PR was done by Brian Venteicher (@FreeBSd) but was not committed to the official source. I just made it into a patch for my personal use and others also. In reviewing the code to make the patch, I noticed there are some changes to network stack. Also, you post the "pciconf -lBbcevV" output of the guest at pastebin? HTH, Tommy On Thu, Sep 26, 2019 at 5:14 AM Ole wrote: > Hello, > > > I want to push this up again. Cause I ran into it again :-( > > I wonder why no one else has a similar problem. I think my setup is > very common. > > I made some tcpdumps during (very slow) package installation inside > the VM. > > tcpdump -i igb0 | grep pkg > tcpdump -i igb0.4030 | grep pkg > tcpdump -i bridge0 | grep pkg > tcpdump -i tap0 | grep pkg > > the very long output is here https://pastebin.com/vM1VFziJ . For me it > looks like very normal TCP traffic. seqs and acks ... > > thanks > Ole > > Tue, 5 Feb 2019 15:05:22 +0100 - Ole : > > > Hello, > > > > I discovered that virtio-net very slow with FreeBSD 12.0 Host. And > > with very slow I mean 16 kBit/s. > > > > I can't exclude that there is a problem in my setup. But I created two > > very similar setups. One with FreeBSD 11.2 and one with 12.0. The > > server with 11.2 has no problem. > > > > Either I do something really wrong or there is a Bug in the > > virtio-net. > > > > > > Both Servers are connected to a switch, the IPs of the VMs are in the > > vlan 4030. The Bhyve VMs are mangaed by vm-bhyve (master from > > github). > > > > Bridges are created by rc.conf: > > > > # Vlans > > vlans_em0="030" > > ifconfig_em0_4030="mtu 1400 up" > > > > # Bridges > > cloned_interfaces="bridge0" > > ifconfig_bridge0="addm em0.4030 mtu 1400 up" > > > > switch definition: > > > > switch_list="vm-net" > > type_vm-net="manual" > > bridge_vm-net="bridge0" > > > > VM config: > > > > loader="bhyveload" > > cpu=7 > > memory=40G > > network0_type="virtio-net" > > network0_switch="vm-net" > > disk0_type="virtio-blk" > > disk0_name="disk0" > > disk0_dev="sparse-zvol" > > > > > > vm creation: > > > > vm create -t test-host -i FreeBSD-12.0-RELEASE-amd64.raw > > test-example-com vm start test-example-com > > > > Network setup (on the VM): > > > > root@freebsd:~ # ifconfig vtnet0 xx.xx.xx.xx/28 mtu 1400 > > root@freebsd:~ # route add default yy.yy.yy.yy > > > > could someone help me to figure out if this is a Bug, and if yes > > where it is? > > > > Thanks > > Ole > > > From owner-freebsd-questions@freebsd.org Sat Mar 21 12:26:11 2020 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 5A2142614BB for ; Sat, 21 Mar 2020 12:26:11 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from mail.nethype.de (mail.nethype.de [5.9.56.24]) (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 48l0HQ4Zlwz4LYS for ; Sat, 21 Mar 2020 12:26:10 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.92) (envelope-from ) id 1jFdCb-002nrc-F2 for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 12:26:09 +0000 Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.92) (envelope-from ) id 1jFdCb-0002ap-AY for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 12:26:09 +0000 Received: from root by cerebro.laendle with local (Exim 4.92) (envelope-from ) id 1jFdCb-0001Zd-7Q for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 13:26:09 +0100 Date: Sat, 21 Mar 2020 13:26:09 +0100 From: Marc Lehmann To: freebsd-questions@freebsd.org Subject: FreeBSD asking contributors to fix their opinions - is it official? Message-ID: <20200321122609.GB5709@schmorp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 48l0HQ4Zlwz4LYS X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=schmorp.de; spf=pass (mx1.freebsd.org: domain of schmorp@schmorp.de designates 5.9.56.24 as permitted sender) smtp.mailfrom=schmorp@schmorp.de X-Spamd-Result: default: False [-4.05 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.965,0]; URIBL_BLOCKED(0.00)[deliantra.net.multi.uribl.com,schmorp.de.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf.schmorp.de:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[schmorp.de,none]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.29)[ip: (-7.57), ipnet: 5.9.0.0/16(-2.32), asn: 24940(-1.55), country: DE(-0.02)] 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, 21 Mar 2020 12:26:11 -0000 Hi! This is a request to clarify official policy of the FreeBSD project with regards to regulating opinions - if this list is not the right list to ask this question, I would be extremely happy if people could direct me ot a more appropriate forum - I didn't find anything that seemed more appropriate, so I am posting to this list. Apologies if this was wrong. Moving along, today, I received a mail[1] by some adamw@freebsd.org, asking me to remove what "FreeBSD" perceives to be personal opinions from my perl module, Canary::Stability[2]. His mail is a bit hard to read, as it makes many claims and practically gives no evidence for them (and most are hard to believe for me, tpo be honest). The only remotely actionably thing seesm to be that I really need to remove these personal opinions. Since he writes as "@freebsd.org" and he claims that... I'd like to strongly urge you to retire Canary::Stability. [...] FreeBSD has had to go to lengths to fix Canary::Stability. If you really are married to the module, can you please [...] remove the personal opinions? If I read this correctly, he is acting in a capacity officially representing FreeBSD in that matter and seems to indicate that the FreeBSD project needs to police what it perceives as personal opinions. In fact, it seems to be the most urgent and pressing matter, as nothing else of substance was written. If true, I would perosnally find this a very sad thing, as I had the utmost respect for the FreeBSD project, always trying my best to make my modules portable to it and using it as one of the platforms I test all my releases on, and Canary::Stability hopefully makes it clear that I take stability very seriously. To me, this sounds rather orwellian, thought police and all, and while I am maybe a bit too sensitive to these things, I don't consider that a bad thing at all in these times of ever decreasing civil liberty. So my questions are: a) Is this (policing opinions and suppressing undesirable opinions) the official stance of the FreeBSD project? b) If yes, is this written down somewhere? I.e. is there a list of rules that projects must fulfill so they don't need any "opinion fixing" by FreeBSD? c) If no, is the FreeBSD project fine with adam going around and asking upstream contributors to police their personal opinions in the name of the project? Thanks a lot for any clarification! [1] http://lists.schmorp.de/pipermail/perl/2020q1/000036.html [2] http://software.schmorp.de/pkg/Canary-Stability.html -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ From owner-freebsd-questions@freebsd.org Sat Mar 21 13:13:16 2020 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 8D3B02628A3 for ; Sat, 21 Mar 2020 13:13:16 +0000 (UTC) (envelope-from 4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48l1Kk1vRbz4CjH for ; Sat, 21 Mar 2020 13:13:13 +0000 (UTC) (envelope-from 4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584796395; x=1587388395; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=oPi/aat/j94NyCHQDPNHdVDnzPICZXvd37G/za+RaE8=; b=wluXxXSJRnGP7Yzgcx2yaBhuPCn9SrnQrifmFW0EAIEIvmUbzy0qwDsASjmgfzBNvnHY5ofUObE6KmyxlYNedRDVYPKQWP3dZTDwwu0xJUK7+YO/0+enr253+dGGD8QzPL/lsvqsDmcydlw0L/Ay0Q68MxOza59cnSvc+YGcDp4= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDBkNDEwODUuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.us-east-1.aws.in.socketlabs.com (r1.us-east-1.aws.in.socketlabs.com [142.0.191.1]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Mar 2020 09:13:11 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.us-east-1.aws.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Mar 2020 09:13:10 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jFdw4-0005Mf-QJ; Sat, 21 Mar 2020 13:13:08 +0000 Date: Sat, 21 Mar 2020 13:13:08 +0000 From: Steve O'Hara-Smith To: Marc Lehmann Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? Message-Id: <20200321131308.a59d3cfec38913369da67b67@sohara.org> In-Reply-To: <20200321122609.GB5709@schmorp.de> References: <20200321122609.GB5709@schmorp.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48l1Kk1vRbz4CjH X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=wluXxXSJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com X-Spamd-Result: default: False [2.72 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; URIBL_BLOCKED(0.00)[email-od.com.multi.uribl.com,stability.pm.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[sohara.org]; NEURAL_SPAM_MEDIUM(0.73)[0.730,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; NEURAL_SPAM_LONG(0.59)[0.593,0]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c00000d41085.13d3a50a6345840190d25c23dd13ce7e@email-od.com]; 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: Sat, 21 Mar 2020 13:13:16 -0000 On Sat, 21 Mar 2020 13:26:09 +0100 Marc Lehmann wrote: > Hi! > > This is a request to clarify official policy of the FreeBSD project with I do not speak for the FreeBSD project, but I've been around since 1.1 days. > regards to regulating opinions - if this list is not the right list to > ask this question, I would be extremely happy if people could direct me > ot a more appropriate forum - I didn't find anything that seemed more > appropriate, so I am posting to this list. Apologies if this was wrong. Not a bad place to start. > Moving along, today, I received a mail[1] by some adamw@freebsd.org, adamw@ does post frequently in various forums - the address is genuine. > asking me to remove what "FreeBSD" perceives to be personal opinions from > my perl module, Canary::Stability[2]. Hmm, there are no patches in the port for that package > FreeBSD has had to go to lengths to fix Canary::Stability. If you > really are married to the module, can you please [...] remove the > personal opinions? There are no patches in the port so 'FreeBSD' has not 'fixed' anything. The only FreeBSD addition appears to be a stub Stability.pm. At any rate it is the port maintainer's responsibility to create patches not 'FreeBSD'. > If I read this correctly, he is acting in a capacity officially > representing FreeBSD in that matter and seems to indicate that the FreeBSD > project needs to police what it perceives as personal opinions. In fact, > it seems to be the most urgent and pressing matter, as nothing else of > substance was written. I think someone is using his address to be a PITA. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Mar 21 13:17:44 2020 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 1A3CD2629FE for ; Sat, 21 Mar 2020 13:17:44 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 48l1Qs45Zrz4KnW for ; Sat, 21 Mar 2020 13:17:41 +0000 (UTC) (envelope-from robbelics@gmail.com) Received: by mail-lf1-f41.google.com with SMTP id t21so6641640lfe.9 for ; Sat, 21 Mar 2020 06:17:41 -0700 (PDT) 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=0iTyCYi5/c+Zz0uk90zIJGO7YuGR+7s5ucuNm0R+ipA=; b=cfuVcgSWQ7VCg0JEHowV/kSKLYxO/LBhSL4AdUSavNvnushf7cfQaXhds4HrbYVNxr 5ja1lAokfz0WqShzGBBxJdXjBF/NngglHoNFn1Px/fMrx3v3G1S7ZEm6eDFyXGS7L5gQ xcds7pGz6G3z2UAcISmvmG7+HuctbMfXh9BKBtJp+zg+gkqiIkiFrD0C7lJHsA/zUjuJ 0xjnTY9K0imyfTOAdIf3NaKTTUJ1qj4Hh+ma7q/6CRqbKmPMcE4Ili9IcBdzr4nPPGM/ kR1pyVhfXTrS8ghfOrfFln7e8sdOdiQgIe6UuNbeWJp8l72RVhGa/E5BwhDUH8K4phw/ VN5w== X-Gm-Message-State: ANhLgQ2ECRruY/qq9gyVIySKIgxvGKVDnzyCQEbEx7HLsxUR83sPuLEE xPrL1fKxqR6fLnx9MxQPXm/4lD7U/ui4OTFWOOfE X-Google-Smtp-Source: ADFU+vshXwq1hlOx3MuXrMmnAQeW93LVc86dcas6y+YsRe2c8ziFBYXxUPKu1+BHnv5eetQSnjypyjzy9M4VMeTNslc= X-Received: by 2002:ac2:57cc:: with SMTP id k12mr6706922lfo.168.1584796658241; Sat, 21 Mar 2020 06:17:38 -0700 (PDT) MIME-Version: 1.0 From: Rob Belics Date: Sat, 21 Mar 2020 08:17:27 -0500 Message-ID: Subject: Re: NodeJS on FreeBSD To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 48l1Qs45Zrz4KnW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=belics.com (policy=none); spf=pass (mx1.freebsd.org: domain of robbelics@gmail.com designates 209.85.167.41 as permitted sender) smtp.mailfrom=robbelics@gmail.com X-Spamd-Result: default: False [-1.72 / 15.00]; ARC_NA(0.00)[]; FAKE_REPLY(1.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[belics.com : SPF not aligned (relaxed), No valid DKIM,none]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,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]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[41.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.82)[ip: (-0.38), ipnet: 209.85.128.0/17(-2.79), asn: 15169(-0.89), country: US(-0.05)]; FORGED_SENDER(0.30)[rob@belics.com,robbelics@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[41.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[rob@belics.com,robbelics@gmail.com]; 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: Sat, 21 Mar 2020 13:17:44 -0000 I was using node from ports for an ecommerce site until just last year without issue. From owner-freebsd-questions@freebsd.org Sat Mar 21 13:50:36 2020 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 9A6B5263286 for ; Sat, 21 Mar 2020 13:50:36 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) Received: from sonic307-56.consmr.mail.ne1.yahoo.com (sonic307-56.consmr.mail.ne1.yahoo.com [66.163.190.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48l28m6bprz3wrN for ; Sat, 21 Mar 2020 13:50:32 +0000 (UTC) (envelope-from pr0f3ss0r1492@yahoo.com) X-YMail-OSG: EqHWKvgVM1lr2iqhkhJLerM9q5y7.UuyOnUf0WAgG_RtUkdLKhuchqd5leNSvum 2Gr7oFDLYMhv3B3pf1IFWjfpUvQWn97aMOSXDt3Nah5J471b9oArIR81EgheWattUPL1zyUzGUvb a8SbFmpaPWyNop8.vCB6UKQJva3qJHRLLt9_1Qv7vI8ZfjFS2YOlH8qD9OGi9GNEJ9M.R1g4C6CP PB4.Gj5T1fIdh0QGcOmIRRVhCO72HCVA.dZF9g0s.0xqL2CucixUv__QFm5x6ctgwZhR6aZofbhe iEQmlN1jBcAk1NajcZoZdbNBXRfUjo0aIO6HCbPxZ3SAUISMsgnwABBKB1rI4WcWhrICxacKV7iT mjnLylCslZpWChLYPAgvqHKlukWBghudG6YLMs_Dl5ImDXMbVg6E3VYGgzHvibBoria8JG8yeBOp 1xYOv8hgMUFiRF6CpynCr8VbfyTghXdHt_sXj_Qxqd3DNXEW2f4ObW7iV4PKdJC6oU6kBNhNT49W cA9hWCwKy6p9kcJ9ke7GMDS5.4._SnRNrEsbMnQNSf.tBb.n4lhBt7poiCdySTiZe9T.0xShHFfR AEs0EaKNJyVEqd7ffew.PfQ2C9vhoS1v_clUQ12is_2uY7jVJ6y3_E1SsnpBYi1aul7ZIH_Vsx.h gP3KP9m_Bk5aTW5Qsu9aop0DJUVtfAQ36fFAvfxGfXMZZ07kF8hXXX6z6VnGE0Za7DMCbKOOayf5 04dG.gAffc98BwNubaDzd8m1u3pK3Qmv9EUO9VWTjx1djoUr8BeRF5HTPsVA84ynr4z52a.GqoMr OxvfgK6a_o_4yJG1tdewKg7VvVn4jGPn24al2hR7hMjWaSZZcp8NVHKyDoLYpjHLE46_t8C_XkNL OFeP8mUtE5HCY7gZl6LA1CKTZUOpFMmqAtqJ0nIbfxI0fragm9sMaGuiy1hg9jqSg7BqcsqbYCP2 H_ps8heLKKnqcdYB8fkpsxfxFK9k3R7ol6NC01uGFN_TVVETIDEcxOEu6QyBnDeU6CkJBwMNG5Ut CdUz5jFJygtZsAwTBJTBlUlsfRWrwFMHCkQXN0Ap43cdnIMuuGkJ8uPbExlO.YNv8y0491nFBVwf Y2OT19jXT35Ea5oe.gR2wNq7tZ.APh_jDqiXSK5mPAPdj1Qljkqyd4iVhfuHEgJaUEInVCVrMU.j GC2zi3DxbmYLplOQU7pgmEJn.o3iADnrXXCJJQjRKEPGiqrPGHy9mZfTgZEWuTR7Frfq0Bp57eYf tlO9znHpU_MBKbdbDxbBZiIi6.uPGUx9wHNpFAedISRiOos1zzPLTwQgEWSrAu4g._Wq3q07hMgE azwmnDKcSvPdUQoD39ZgL0FlVyoFLGZRzc1x8pzQj4miymyWyd.O7JRh0rfc_l00E3PNdKYs3en3 dmUF7mia_MOtaJjnbipgiE6QDkTJNAvUh Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Sat, 21 Mar 2020 13:50:31 +0000 Received: by smtp409.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 784e2c9c12571795ba43c4f0d3cd62e0; Sat, 21 Mar 2020 13:50:27 +0000 (UTC) Received: by mail-pg1-f178.google.com with SMTP id 37so4545177pgm.11 for ; Sat, 21 Mar 2020 06:50:26 -0700 (PDT) X-Gm-Message-State: ANhLgQ3BcuXUFgxPQ8dfInDROCGX8Dtu7FI7Kqj2YzmXnOZUkMofR4FF i60XHOw8Z2rf4h4Rt2+7ep9jZ3VS7t9GCmS2lj0= X-Google-Smtp-Source: ADFU+vucljq/XGpnUukPnQtqP+muo0ajuEr1LkXnN3rcn2V9bfPE/9dvATGYf6C9P93Wm4wLfgL7n19wGJ1k8qvHovk= X-Received: by 2002:a62:1745:: with SMTP id 66mr15538972pfx.291.1584798625865; Sat, 21 Mar 2020 06:50:25 -0700 (PDT) MIME-Version: 1.0 References: <20200321122609.GB5709@schmorp.de> In-Reply-To: <20200321122609.GB5709@schmorp.de> From: Ottavio Caruso Date: Sat, 21 Mar 2020 13:50:09 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? To: Marc Lehmann Cc: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Mailer: WebService/1.1.15511 hermes Apache-HttpAsyncClient/4.1.4 (Java/1.8.0_241) X-Rspamd-Queue-Id: 48l28m6bprz3wrN X-Spamd-Bar: + X-Spamd-Result: default: False [1.95 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,pr0f3ss0r1492@yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; URIBL_BLOCKED(0.00)[schmorp.de.multi.uribl.com]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[schmorp@schmorp.de]; NEURAL_SPAM_MEDIUM(0.80)[0.803,0]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (3.73), ipnet: 66.163.184.0/21(1.17), asn: 36646(0.94), country: US(-0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.84)[0.843,0]; RCVD_IN_DNSWL_NONE(0.00)[31.190.163.66.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[31.190.163.66.rep.mailspike.net : 127.0.0.17] 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, 21 Mar 2020 13:50:36 -0000 On Sat, 21 Mar 2020 at 12:26, Marc Lehmann wrote: > > Hi! > > This is a request to clarify official policy of the FreeBSD project with > regards to regulating opinions - if this list is not the right list to > ask this question, I would be extremely happy if people could direct me > ot a more appropriate forum - I didn't find anything that seemed more > appropriate, so I am posting to this list. Apologies if this was wrong. > > Moving along, today, I received a mail[1] by some adamw@freebsd.org, > asking me to remove what "FreeBSD" perceives to be personal opinions from > my perl module, Canary::Stability[2]. > > His mail is a bit hard to read, as it makes many claims and practically > gives no evidence for them (and most are hard to believe for me, tpo be > honest). The only remotely actionably thing seesm to be that I really need > to remove these personal opinions. > > Since he writes as "@freebsd.org" and he claims that... > > I'd like to strongly urge you to retire Canary::Stability. [...] > > FreeBSD has had to go to lengths to fix Canary::Stability. If you > really are married to the module, can you please [...] remove the > personal opinions? > > If I read this correctly, he is acting in a capacity officially > representing FreeBSD in that matter and seems to indicate that the FreeBSD > project needs to police what it perceives as personal opinions. In fact, > it seems to be the most urgent and pressing matter, as nothing else of > substance was written. > > If true, I would perosnally find this a very sad thing, as I had the > utmost respect for the FreeBSD project, always trying my best to make my > modules portable to it and using it as one of the platforms I test all my > releases on, and Canary::Stability hopefully makes it clear that I take > stability very seriously. > > To me, this sounds rather orwellian, thought police and all, and while I > am maybe a bit too sensitive to these things, I don't consider that a bad > thing at all in these times of ever decreasing civil liberty. > > So my questions are: > > a) Is this (policing opinions and suppressing undesirable opinions) > the official stance of the FreeBSD project? > b) If yes, is this written down somewhere? I.e. is there a list of rules > that projects must fulfill so they don't need any "opinion fixing" by > FreeBSD? > c) If no, is the FreeBSD project fine with adam going around and asking > upstream contributors to police their personal opinions in the name of > the project? > > Thanks a lot for any clarification! > > [1] http://lists.schmorp.de/pipermail/perl/2020q1/000036.html > [2] http://software.schmorp.de/pkg/Canary-Stability.html I'm not affiliated to FreeBSD, but I see nothing wrong in a developer from another project posting onto a public mailing list of another project and voicing his concerns about a particular issue and I see nothing wrong in you posting here and asking for feedback, but at the same time I think you are taking it a bit too personal. I've read [1] and I see nothing that induces to thinking he was speaking on behalf of the whole of FreeBSD. -- Ottavio Caruso From owner-freebsd-questions@freebsd.org Sat Mar 21 14:06:22 2020 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 EF3912637E3 for ; Sat, 21 Mar 2020 14:06:22 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from mail.nethype.de (mail.nethype.de [5.9.56.24]) (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 48l2W1235fz4FP9; Sat, 21 Mar 2020 14:06:20 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.92) (envelope-from ) id 1jFelV-002rOQ-3A; Sat, 21 Mar 2020 14:06:17 +0000 Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.92) (envelope-from ) id 1jFelU-0003YQ-TF; Sat, 21 Mar 2020 14:06:16 +0000 Received: from root by cerebro.laendle with local (Exim 4.92) (envelope-from ) id 1jFelU-0002Li-Sx; Sat, 21 Mar 2020 15:06:16 +0100 Date: Sat, 21 Mar 2020 15:06:16 +0100 From: Marc Lehmann To: Steve O'Hara-Smith Cc: freebsd-questions@freebsd.org, portmgr@freebsd.org Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? Message-ID: <20200321140616.GB5911@schmorp.de> References: <20200321122609.GB5709@schmorp.de> <20200321131308.a59d3cfec38913369da67b67@sohara.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200321131308.a59d3cfec38913369da67b67@sohara.org> OpenPGP: id=904ad2f81fb16978e7536f726dea2ba30bc39eb6; url=http://pgp.schmorp.de/schmorp-pgpkey.txt; preference=signencrypt X-Rspamd-Queue-Id: 48l2W1235fz4FP9 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=schmorp.de; spf=pass (mx1.freebsd.org: domain of schmorp@schmorp.de designates 5.9.56.24 as permitted sender) smtp.mailfrom=schmorp@schmorp.de X-Spamd-Result: default: False [-4.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; URIBL_BLOCKED(0.00)[freshports.org.multi.uribl.com,stability.pm.multi.uribl.com,deliantra.net.multi.uribl.com]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf.schmorp.de:c]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[schmorp.de,none]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.27)[ip: (-7.49), ipnet: 5.9.0.0/16(-2.32), asn: 24940(-1.55), country: DE(-0.02)] 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, 21 Mar 2020 14:06:23 -0000 On Sat, Mar 21, 2020 at 01:13:08PM +0000, Steve O'Hara-Smith wrote: > > regards to regulating opinions - if this list is not the right list to > > ask this question, I would be extremely happy if people could direct me > > ot a more appropriate forum - I didn't find anything that seemed more > > appropriate, so I am posting to this list. Apologies if this was wrong. > > Not a bad place to start. Thanks, adamw since then told me it's the wrong place, though, and portmgr@is the right place for my question (and he indicated that he doesn't intend to clarify any of his claims). > There are no patches in the port so 'FreeBSD' has not 'fixed' > anything. The only FreeBSD addition appears to be a stub Stability.pm. At > any rate it is the port maintainer's responsibility to create patches not > 'FreeBSD'. Maybe that's what he is refering to. I don't know what the stub does, but it seems ot be a rather heavy-handed approach, as the module can already be silenced completely via the PERL_CANARY_STABILITY_DISABLE environment variable (since it's very first version), so this claim: The original Canary::Stability contains system checks that produce warnings that must be ignored (and which would be harmful if acted upon). Seems to be pretty much in line (made-up claims of harmful behaviour and a weird solution to something that is already solved). In any case, disabling any warnings (or, more corretcly any *output*) is fully supported, specifically with regards to downstream distributions, which then take on the responsibility of providing a working combination (i.e. "support responsibility", which is what FreeBSD does anyway by providing a high-quality OS distribution). I'd also like to state that replacing it by a stub, of course, is fine with me, as any compatibilitx checks can be done by the port. Looking at https://www.freshports.org/devel/p5-Canary-Stability/, I find a lot of false/completely made-up claims that seem to be aimed at denigrating my work: it also advises users to switch to an unmaintained fork provided by the author) That's simply made up and the opposite of the truth (I fully maintain that fork, which is used by a number of products). This claim is also made repeateadly. including instructing users to uninstall Perl and install one from 2015 Certainly not what it says. It merely points out when versions are not officially supported by me. Other features of this module include requiring keyboard input. Also not true, there are multiple ways to avoid keyboard input - the standard ExtUtils::MakeMaker method that a lot of CPAN modules use and various environment variables, all designed to be able to automate things. As time goes on, the uselessness of this module only increases. That's at best personal opinion - Canary::Stability is the module that nowadays enables me to contribute perl modules at all. Without it, CPAN wouldn't have AnyEvent, EV, IO::AIO and a lot of other modules - my personal life has increased dramatically since I use it and the amount of user questions about support status that I receive has practically gone to zero. Looking at these commit entries (I didn't see it before), it looks like a port maintainer with a personal vendetta, who is not above smearing FUD on other projects. The worrying aspect is that he claims he is doing it in the name of the FreeBSD project and that the project condones him doing it. > > If I read this correctly, he is acting in a capacity officially > > representing FreeBSD in that matter and seems to indicate that the FreeBSD > > project needs to police what it perceives as personal opinions. In fact, > > it seems to be the most urgent and pressing matter, as nothing else of > > substance was written. > > I think someone is using his address to be a PITA. That's an interesting thought that I didn't think of. However, the fact that the "adamw" user makes similar statements in the ports commit history since 2013 makes this less likely, as someone would have to have taken over his account address for a very long time indeed. Certainly possible, of course. Anyway, thanks for this advice, I will try to act carefully and take this into account. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ From owner-freebsd-questions@freebsd.org Sat Mar 21 14:12:13 2020 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 12ED3263CB9 for ; Sat, 21 Mar 2020 14:12:13 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from mail.nethype.de (mail.nethype.de [5.9.56.24]) (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 48l2dj4z2qz4Mtn for ; Sat, 21 Mar 2020 14:12:09 +0000 (UTC) (envelope-from schmorp@schmorp.de) Received: from [10.0.0.5] (helo=doom.schmorp.de) by mail.nethype.de with esmtp (Exim 4.92) (envelope-from ) id 1jFer5-002rdh-Pf; Sat, 21 Mar 2020 14:12:03 +0000 Received: from [10.0.0.1] (helo=cerebro.laendle) by doom.schmorp.de with esmtp (Exim 4.92) (envelope-from ) id 1jFer5-0003bo-KO; Sat, 21 Mar 2020 14:12:03 +0000 Received: from root by cerebro.laendle with local (Exim 4.92) (envelope-from ) id 1jFer5-0002P0-K4; Sat, 21 Mar 2020 15:12:03 +0100 Date: Sat, 21 Mar 2020 15:12:03 +0100 From: Marc Lehmann To: Ottavio Caruso Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD asking contributors to fix their opinions - is it official? Message-ID: <20200321141203.GC5911@schmorp.de> References: <20200321122609.GB5709@schmorp.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: OpenPGP: id=904ad2f81fb16978e7536f726dea2ba30bc39eb6; url=http://pgp.schmorp.de/schmorp-pgpkey.txt; preference=signencrypt X-Rspamd-Queue-Id: 48l2dj4z2qz4Mtn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=schmorp.de; spf=pass (mx1.freebsd.org: domain of schmorp@schmorp.de designates 5.9.56.24 as permitted sender) smtp.mailfrom=schmorp@schmorp.de X-Spamd-Result: default: False [-4.06 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; URIBL_BLOCKED(0.00)[deliantra.net.multi.uribl.com,freshports.org.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf.schmorp.de:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[schmorp.de,none]; SUBJECT_ENDS_QUESTION(1.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:5.9.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.27)[ip: (-7.49), ipnet: 5.9.0.0/16(-2.32), asn: 24940(-1.55), country: DE(-0.02)] 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, 21 Mar 2020 14:12:13 -0000 On Sat, Mar 21, 2020 at 01:50:09PM +0000, Ottavio Caruso wrote: > I'm not affiliated to FreeBSD, but I see nothing wrong in a developer > from another project posting onto a public mailing list of another > project and voicing his concerns about a particular issue Me neither - I am merely concerned that the particular issue is an unspecified _personal opinion_. I see a lot of wrong in going around and asking people to remove personal opinion in the name of a big Project. This together with the fact that this ports page: https://www.freshports.org/devel/p5-Canary-Stability/ is not only full of personal opinion but, much worse, also of made-up false claims should give you an idea of where we would be heading if we tried to police all that. > same time I think you are taking it a bit too personal. I've read [1] > and I see nothing that induces to thinking he was speaking on behalf > of the whole of FreeBSD. Well, he has since pretty much clarified that he does and that the project is fine with that, so my reading seemed to have been spot on. -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / schmorp@schmorp.de -=====/_/_//_/\_,_/ /_/\_\ From owner-freebsd-questions@freebsd.org Sat Mar 21 16:32:50 2020 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 62D4726680D for ; Sat, 21 Mar 2020 16:32:50 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from boulangerie.foucry.net (boulangerie.foucry.net [62.210.131.96]) (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 48l5ly2zqJz48Nm for ; Sat, 21 Mar 2020 16:32:46 +0000 (UTC) (envelope-from jacques+freebsd@foucry.net) Received: from tamanoir.foucry.net (localhost [127.0.0.1]) by boulangerie.foucry.net (Postfix) with ESMTP id 832CD5E958 for ; Sat, 21 Mar 2020 17:32:44 +0100 (CET) X-Virus-Scanned: amavisd-new at foucry.net Received: from boulangerie.foucry.net ([127.0.0.1]) by tamanoir.foucry.net (mail.foucry.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IBwb5aTKYfuj for ; Sat, 21 Mar 2020 17:32:44 +0100 (CET) Received: from mithril.localdomain (dontpanic.foucry.net [80.67.176.134]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by boulangerie.foucry.net (Postfix) with ESMTPSA id B51A15E957 for ; Sat, 21 Mar 2020 17:32:43 +0100 (CET) Received: from foucry.net (mithril.foucry.net [127.0.0.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 mithril.localdomain (Postfix) with ESMTPS id 496D1200BA for ; Sat, 21 Mar 2020 17:32:43 +0100 (CET) Date: Sat, 21 Mar 2020 17:32:42 +0100 From: Jacques Foucry To: freebsd-questions@freebsd.org Subject: FreeBSD login and solokey (Yubikey clone) Message-ID: <20200321163242.GA39297@foucry.net> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: 48l5ly2zqJz48Nm X-Spamd-Bar: - X-Spamd-Result: default: False [-1.96 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; URIBL_BLOCKED(0.00)[solokeys.com.multi.uribl.com]; 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)[]; NEURAL_SPAM_MEDIUM(0.12)[0.120,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.64)[-0.636,0]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[foucry.net,reject]; IP_SCORE(-0.65)[ip: (-4.67), ipnet: 62.210.0.0/16(1.02), asn: 12876(0.42), country: FR(0.00)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:12876, ipnet:62.210.0.0/16, country:FR]; TAGGED_FROM(0.00)[freebsd]; 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: Sat, 21 Mar 2020 16:32:50 -0000 Hello folks, I brought several month ago two solokeys (https://solokeys.com/) which to be FIDO@ opensource security key. They describe how-to use it to login to facebook or google. To be honest, I don't care about those services. I would like to it as security way to login to my one machine. But I it have a single bit about how-to do that. If some one of you use the same kind of usbkey it will be very nice him/her provide me some advice , Thanks in advance, Take care. -- Jacques Foucry From owner-freebsd-questions@freebsd.org Sat Mar 21 20:41:34 2020 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 7884326B991 for ; Sat, 21 Mar 2020 20:41:34 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lCH14jzVz3FLm for ; Sat, 21 Mar 2020 20:41:33 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id C0DCB138A98 for ; Sat, 21 Mar 2020 20:41:31 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id gXXx8KUeuupk for ; Sat, 21 Mar 2020 20:41:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 86F62138B18 for ; Sat, 21 Mar 2020 20:41:31 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 86F62138B18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1584823291; bh=Q4X13RKJ5Joy2PHNPBAd9CSiHreoLNjcYqINa4hAW6A=; h=Date:From:To:Message-ID:MIME-Version; b=TpWxy0fgi8FXQA1dvnT+nj/rcrLBT8/925kQBm/vLSe3d7oRVgJQZd/FKcE5wb1U8 KIcMRFNCsO5r15aJ/tTOHUCgz5X2uFyg23WCvQHPZWxFGBdvtYMFxraMneprqkLiaO U2NEbWL8Pyze4OuT0uDY9gtoXLtRiKpq/9pBFEjfrhnEA0MlnYbuDFKJF3cR1SwPds AitoK/vKUolWoZ2XsJNpAMx4JJTv/t7kIqPOpawQ/UXeLIeZGAfOfPdPZbeE5Hoj5N bZHX/Sq4j7LDkoz8OHylHzd0xX5enaeP5dlLl/EMc53FDxD/96chjiVrkeTv3S3hSF 7XR5zq/wcUlxw== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id N_wDJqBlQsIT for ; Sat, 21 Mar 2020 20:41:31 +0000 (UTC) Received: from localhost (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 32C59138A98 for ; Sat, 21 Mar 2020 20:41:31 +0000 (UTC) Date: Sat, 21 Mar 2020 13:41:28 -0700 From: Ihor Antonov To: freebsd-questions@freebsd.org Subject: Offline Ports Tree Message-ID: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 48lCH14jzVz3FLm X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=antonovs.family header.s=D65AA412-CB7F-11E9-A561-802C9D403B77 header.b=TpWxy0fg; dmarc=pass (policy=none) header.from=antonovs.family; spf=pass (mx1.freebsd.org: domain of ihor@antonovs.family designates 100.25.240.195 as permitted sender) smtp.mailfrom=ihor@antonovs.family X-Spamd-Result: default: False [-5.85 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[antonovs.family:s=D65AA412-CB7F-11E9-A561-802C9D403B77]; RCVD_COUNT_FIVE(0.00)[6]; 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]; URIBL_BLOCKED(0.00)[antonovs.family.multi.uribl.com]; IP_SCORE(-3.37)[ip: (-9.29), ipnet: 100.24.0.0/13(-4.49), asn: 14618(-3.01), country: US(-0.05)]; DKIM_TRACE(0.00)[antonovs.family:+]; DMARC_POLICY_ALLOW(-0.50)[antonovs.family,none]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14618, ipnet:100.24.0.0/13, country:US]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[79.210.83.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] 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, 21 Mar 2020 20:41:34 -0000 Hi, I am trying to figure out if I can have a fully offline, self-sufficient ports tree. Just the ports tree itself contains instructions how to build things and how to fetch the sources. Is there an automated way download all the source tarballs (and clone all git/svn repos) that ports refer to? The goal is to be able to build ports in an offline environment. Thanks. From owner-freebsd-questions@freebsd.org Sat Mar 21 20:43:15 2020 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 66E0F26BB46 for ; Sat, 21 Mar 2020 20:43:15 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (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 48lCJy3WSNz3GGf for ; Sat, 21 Mar 2020 20:43:14 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f46.google.com with SMTP id l20so10211415wmi.3 for ; Sat, 21 Mar 2020 13:43:14 -0700 (PDT) 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=k5iqV+NKvoUsQkhFxwb5SS7v0LM5J8ILdhpisIc4gtw=; b=r5DhXDyYRJgY84TLTvxxOq8j9dDMKS4b+vtaoCkEA0oKjFLIeT9KIW0IwPQ19/vogk Vodd+FbdtCRPd6nVTHEpDd5knaqht6Or1D5ZzXN/vXq9tlxZglb3dR+E3vKnYGmbsMSG /DL3+OEHwHXmw3/lHCo0Oo2MZQAVnkIfSLC1+kSzX7awifUkcvyu2Lw/df+Qw5GlLLuF 4k5Z5pfT1I2sRi7DvkH+eZNUepECwcS4K03MzRto2Vrjvq8JHFOFSQfM/HKRnxMfEK88 P2zwQ52+qk5juM1/aGf6LJ4oqdtOR1z/F/BtLGHbG0Xs6A7Il94n31x+P9FRYJDLENVy 3AVw== X-Gm-Message-State: ANhLgQ1tH6QldRB1PYIS43PKQaqKfkRWV3YSq+dWNQdbtU5QdTMKbEPS IUoiwPzz/p/6fZHI3Z3HW2cfmlK0 X-Google-Smtp-Source: ADFU+vt2/kFMJV2mTCqZI9RU7yASyB3ye/Sm7iPyu9sEG9h31YX94+pMa+NFHAnz1m5CI+AzzFe5lg== X-Received: by 2002:a1c:b183:: with SMTP id a125mr18285288wmf.46.1584823392666; Sat, 21 Mar 2020 13:43:12 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id r3sm15331517wrm.35.2020.03.21.13.43.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 13:43:12 -0700 (PDT) Subject: Re: Offline Ports Tree To: Ihor Antonov , freebsd-questions@freebsd.org References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: Date: Sat, 21 Mar 2020 21:43:31 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48lCJy3WSNz3GGf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.128.46 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[46.128.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; IP_SCORE(-1.10)[ip: (-1.87), ipnet: 209.85.128.0/17(-2.75), asn: 15169(-0.82), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[46.128.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; 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: Sat, 21 Mar 2020 20:43:15 -0000 On 3/21/20 9:41 PM, Ihor Antonov wrote: > Hi, > > I am trying to figure out if I can have a fully offline, self-sufficient > ports tree. > > Just the ports tree itself contains instructions how to build things > and how to fetch the sources. Is there an automated way download all the > source tarballs (and clone all git/svn repos) that ports refer to? > The goal is to be able to build ports in an offline environment. Isn't make fetch executed in the root directory of the ports tree (e.g., /usr/ports) sufficient? From owner-freebsd-questions@freebsd.org Sat Mar 21 20:56:14 2020 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 96E5626C356 for ; Sat, 21 Mar 2020 20:56:14 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from mail.antonovs.family (mail.antonovs.family [100.25.240.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lCby2wDfz40vF; Sat, 21 Mar 2020 20:56:14 +0000 (UTC) (envelope-from ihor@antonovs.family) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id B8164138A98; Sat, 21 Mar 2020 20:56:12 +0000 (UTC) Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ZJ7xaE9br8Vg; Sat, 21 Mar 2020 20:56:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.antonovs.family (Postfix) with ESMTP id 79A9F138B18; Sat, 21 Mar 2020 20:56:12 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.antonovs.family 79A9F138B18 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonovs.family; s=D65AA412-CB7F-11E9-A561-802C9D403B77; t=1584824172; bh=ONJ7/93gSzqJlET+/7EdINK8WYzGGzypr+MALfQd3zI=; h=Date:From:To:Message-ID:MIME-Version; b=sZWaoMpWO7g/LufnuKy8j2JoQcnM0pA80DVHNcR97zfvFAn247PtgsCd2LvUPtC5j tQIsqDv/6PGJE0CtPw12t1cQAAP1levv5cdHoCoPKFhyADPxTpIMEAkJDOFDieAuQV nqmrkWJnq2eq5ZpcQpHV5yWweD/yWPs4KozKt6UARiC/YhUS6ZggVf0z+DvSmn8WQ7 ekUjsylIKfJHsv+Lkmn8ul8iygYuLFGJ6YWV8AVAXBFUD4ykJRP2YfE3FHG+iAanW2 Uf2D1ssjlry9upntNFOaWr10bjyaZkBLuM3FQMrqXs3ChvJDua+a4CrrVXe3mcBt7g UslKtX/t87bMA== X-Virus-Scanned: amavisd-new at antonovs.family Received: from mail.antonovs.family ([127.0.0.1]) by localhost (mail.antonovs.family [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8RmZVgRRs8Dd; Sat, 21 Mar 2020 20:56:12 +0000 (UTC) Received: from localhost (c-73-83-210-79.hsd1.wa.comcast.net [73.83.210.79]) by mail.antonovs.family (Postfix) with ESMTPSA id 0BC88138A98; Sat, 21 Mar 2020 20:56:11 +0000 (UTC) Date: Sat, 21 Mar 2020 13:56:10 -0700 From: Ihor Antonov To: Mateusz Piotrowski <0mp@freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: Offline Ports Tree Message-ID: <20200321205610.2eafn5flx2h4osz3@sea-ll-10936> References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 48lCby2wDfz40vF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-2.12 / 15.00]; NEURAL_SPAM_MEDIUM(0.88)[0.879,0]; REPLY(-4.00)[]; NEURAL_SPAM_LONG(1.00)[0.997,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: Sat, 21 Mar 2020 20:56:14 -0000 On 2020-03-21 21:43, Mateusz Piotrowski wrote: > On 3/21/20 9:41 PM, Ihor Antonov wrote: > > Hi, > > > > I am trying to figure out if I can have a fully offline, self-sufficient > > ports tree. > > > > Just the ports tree itself contains instructions how to build things > > and how to fetch the sources. Is there an automated way download all the > > source tarballs (and clone all git/svn repos) that ports refer to? > > The goal is to be able to build ports in an offline environment. > Isn't make fetch executed in the root directory of the ports tree (e.g., > /usr/ports) sufficient? It might be, please forgive my ignorance, I don't have much experience with FreeBSD. Thanks! From owner-freebsd-questions@freebsd.org Sat Mar 21 20:59:11 2020 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 93F3C26C53F for ; Sat, 21 Mar 2020 20:59:11 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 48lCgH1hK5z43sR for ; Sat, 21 Mar 2020 20:59:07 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-wm1-f51.google.com with SMTP id 25so10197914wmk.3 for ; Sat, 21 Mar 2020 13:59:07 -0700 (PDT) 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=9UJcDHj+vZ+7uYOlupAd51S3XYYvIApf3R16TwCfA64=; b=fryaWeAx3W2jV8k5TCNBCqmaWxLR6MVn8uSrxPXVbq71Yc1z/OlPmbqnxYj5opkLdY wLLgQj5jYAzE2um3WgE5Sy7mZXj6xlLx6IEIHZH5c8wjoRGLtLaWuTSeMtV8moFQ1cdv evwlWSYOAayTiVAzBBxLkoUuPOr/2iDtOl30jiVQmubkINIdedBOsMRb9TqrGFFJhDc7 dcV8MMHq4JQfkxVeJ7JNhn57fI20abRZtD8feuwCH+KjsqqKI/fzC7QLSOxgMYES0orr Xb1T48rnuuMlTCPqgRkNRRPCP2CgMdGSTz/xLlFpqdAfEwWBDU13Ppvnvm6piaSP5KlR HDZg== X-Gm-Message-State: ANhLgQ3SppipvGzh1ZoOgEds5SS8o9EalliAfwZlNlNJEue/sKOINvbg R2VWoW8cZzhkZ9gcoIhCfwMvrHPa X-Google-Smtp-Source: ADFU+vt3YdUZa+jFt58oZDNd+WAv0YbgYm4foMfmacyoKx0go539QzYw7KZSCXh+P64nRuDCrtVtkQ== X-Received: by 2002:a7b:ce81:: with SMTP id q1mr18656439wmj.156.1584824342703; Sat, 21 Mar 2020 13:59:02 -0700 (PDT) Received: from ?IPv6:2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8? ([2a02:8109:98c0:1bc0:5e5f:67ff:fef4:ffd8]) by smtp.gmail.com with ESMTPSA id u17sm16095159wra.63.2020.03.21.13.59.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Mar 2020 13:59:02 -0700 (PDT) Subject: Re: Offline Ports Tree To: Ihor Antonov Cc: freebsd-questions@freebsd.org References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> <20200321205610.2eafn5flx2h4osz3@sea-ll-10936> From: Mateusz Piotrowski <0mp@FreeBSD.org> Message-ID: <143eb5f3-fb39-e676-c6fa-199bd3b8d27f@FreeBSD.org> Date: Sat, 21 Mar 2020 21:59:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200321205610.2eafn5flx2h4osz3@sea-ll-10936> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 48lCgH1hK5z43sR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mpp302@gmail.com designates 209.85.128.51 as permitted sender) smtp.mailfrom=mpp302@gmail.com X-Spamd-Result: default: False [-3.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; 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)[FreeBSD.org]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[51.128.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; IP_SCORE(-1.14)[ip: (-2.06), ipnet: 209.85.128.0/17(-2.75), asn: 15169(-0.82), country: US(-0.05)]; FORGED_SENDER(0.30)[0mp@FreeBSD.org,mpp302@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[51.128.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[0mp@FreeBSD.org,mpp302@gmail.com]; 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: Sat, 21 Mar 2020 20:59:11 -0000 On 3/21/20 9:56 PM, Ihor Antonov wrote: > On 2020-03-21 21:43, Mateusz Piotrowski wrote: >> On 3/21/20 9:41 PM, Ihor Antonov wrote: >>> I am trying to figure out if I can have a fully offline, self-sufficient >>> ports tree. >> Isn't make fetch executed in the root directory of the ports tree (e.g., >> /usr/ports) sufficient? > It might be, please forgive my ignorance, I don't have much experience > with FreeBSD. No worries :) Have fun! Mateusz From owner-freebsd-questions@freebsd.org Sat Mar 21 21:13:51 2020 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 839BC26CBC7 for ; Sat, 21 Mar 2020 21:13:51 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lD0G2G1Yz4NGT for ; Sat, 21 Mar 2020 21:13:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [188.174.61.151] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1jFlRD-0001fp-L6 for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 22:13:47 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id 02LLDkCW008527 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 21 Mar 2020 22:13:46 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id 02LLDk1X008526 for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 22:13:46 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 21 Mar 2020 22:13:46 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: Offline Ports Tree Message-ID: <20200321211346.GA8475@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.61.151 X-Rspamd-Queue-Id: 48lD0G2G1Yz4NGT X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of guru@unixarea.de has no SPF policy when checking 178.254.4.101) smtp.mailfrom=guru@unixarea.de X-Spamd-Result: default: False [1.28 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RECEIVED_SPAMHAUS_PBL(0.00)[151.61.174.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[unixarea.de.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.41)[0.412,0]; RCPT_COUNT_ONE(0.00)[1]; REPLYTO_EQ_FROM(0.00)[]; DMARC_NA(0.00)[unixarea.de]; NEURAL_SPAM_LONG(0.80)[0.800,0]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; IP_SCORE(-1.23)[ip: (-8.08), ipnet: 178.254.0.0/19(1.00), asn: 42730(0.94), country: DE(-0.02)] 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, 21 Mar 2020 21:13:51 -0000 El día sábado, marzo 21, 2020 a las 09:43:31p. m. +0100, Mateusz Piotrowski escribió: > On 3/21/20 9:41 PM, Ihor Antonov wrote: > > Hi, > > > > I am trying to figure out if I can have a fully offline, self-sufficient > > ports tree. > > > > Just the ports tree itself contains instructions how to build things > > and how to fetch the sources. Is there an automated way download all the > > source tarballs (and clone all git/svn repos) that ports refer to? > > The goal is to be able to build ports in an offline environment. > Isn't make fetch executed in the root directory of the ports tree (e.g., > /usr/ports) sufficient? Wouldn't this not also depend of the defined options for the ports, i.e. which pieces must be download to fill any option? And not to talk about to clear all the hick-ups of fetch for servers not reachable, not existing files, checksum mismatches, etc. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub From owner-freebsd-questions@freebsd.org Sat Mar 21 21:20:57 2020 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 0A92126CE57 for ; Sat, 21 Mar 2020 21:20:57 +0000 (UTC) (envelope-from 4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lD8R46Ftz4Wvc for ; Sat, 21 Mar 2020 21:20:55 +0000 (UTC) (envelope-from 4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1584825656; x=1587417656; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=lainB5hSRJdlXB/uP2Y8f2pI2WDqY9DQJ649jc/GJg8=; b=daDe1Uv61NVSDEv1UY+235hhWrG7zLZTJzMyEvhf0KK4Ca2w0UuyhcL2OxjBvubwQZX21BGE4tNNT4VSC7Z26c1x10MUV78uOctsGJtUR79SyRGf1cxHMBpfCgJCnu3aEVbN615VJjGStm3oQK/llaTS/yt1EqYhRyswqLmqKv4= X-Thread-Info: NDI1MC45Mi4xZDRjMDAwMDBkYjJlZmYuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Mar 2020 17:20:47 -0400 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Sat, 21 Mar 2020 17:20:47 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1jFlXx-0006u1-AE for freebsd-questions@freebsd.org; Sat, 21 Mar 2020 21:20:45 +0000 Date: Sat, 21 Mar 2020 21:20:45 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Offline Ports Tree Message-Id: <20200321212045.874d1f066fa0268785611c14@sohara.org> In-Reply-To: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> References: <20200321204128.lgy5qlnd4m7kb77m@sea-ll-10936> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48lD8R46Ftz4Wvc X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=daDe1Uv6; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com X-Spamd-Result: default: False [1.96 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; URIBL_BLOCKED(0.00)[email-od.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; NEURAL_SPAM_MEDIUM(0.58)[0.578,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.09)[ip: (-0.25), ipnet: 142.0.176.0/22(0.51), asn: 7381(0.26), country: US(-0.05)]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_SPAM_LONG(0.99)[0.988,0]; RCVD_IN_DNSWL_NONE(0.00)[198.176.0.142.list.dnswl.org : 127.0.15.0]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4c00000db2eff.0b2b935a2b19511b8d7c52c63c3eae96@email-od.com]; 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: Sat, 21 Mar 2020 21:20:57 -0000 On Sat, 21 Mar 2020 13:41:28 -0700 Ihor Antonov wrote: > Hi, > > I am trying to figure out if I can have a fully offline, self-sufficient > ports tree. > > Just the ports tree itself contains instructions how to build things > and how to fetch the sources. Is there an automated way download all the > source tarballs (and clone all git/svn repos) that ports refer to? > The goal is to be able to build ports in an offline environment. You could clone the distfiles directory from one of the ftp mirrors and set MASTER_SITE_OVERRIDE to point at your clone. That should cover most if not all of the ports. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Sat Mar 21 22:37:08 2020 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 4866A26E8F1 for ; Sat, 21 Mar 2020 22:37:08 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic309-14.consmr.mail.bf2.yahoo.com (sonic309-14.consmr.mail.bf2.yahoo.com [74.6.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lFrL4Mtpz41CY for ; Sat, 21 Mar 2020 22:37:06 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: Flg5x24VM1mmPaKkwwe65fdSOHflnPKgJiNjpesZ9NvHr3VSuQjhUwCHVyieJh7 T21JD08tuvR1gIJw_WsLeLNvO0wDxLZNT3pNjZrj6IWqmIk.oup.rCTALuzEdcfDiXuxM4oji7KX c1MlefuhcAS3TAsdXo_W9yJwMqQ3kF9_buKUNZJYrXNVuhNT6n6bKYxJWSAULCp6kW3NloH1s42J 2BwVHJRahQAB4R7_PzxJg76Hn5KeykL6DK1ff2W1vRbZMTh.wQ6i1nYE6XJVB3wI9OfXcW.LJabj HtpdvMYYXxh3Habe7gmNC3xD.CMNaOyYINhkEHiIpTijgx5LlGdwokR9hyjb7ApA9Pal1TmkFlbR dW4I6oq31zHd7_FS2jIXTFhBF.GUZcaV8Q4qH.IuLD0kAcZVjYCLq07_rjjc8ff2f8ICoCJyMUjG btEY.YGaEqUlnCcpeYhYULU3VJWipUG3Ou.amp2SlXzucflXJFMZJ4ZpWXQFEh9lSv9nvf.u96SZ dh4gU1it2YhQ4o333fJpXcwE0QDwSuACAOhOj8Vsv9dZQz45IVfQEzip1tCjzrOF3rGfKrKcRo7M Gq8NrlKrkuOLNfXXlSw5lyGDkQ.8waXIBCIcEjVZ444Ld.71V4pIMb0cX8EnH.nGj3sjDUpHiGPf yEgc8a4hHINCH7XAkU9tDovO.b5sZ9gIbR_XegNX1JYgLtKYuxxk64AfyVKA7_57vCaIlV_1GBeN vGDRUpYjhQck.3SFPOaZgnWpBrRAPtaPZMRgVVeCZn6vnCsYcWS1h62wEMn0V.ff0jvDzZxPV5.z ylpQMVygSFYuvDuJaJnuWINuGXktuUt2.TNP1bTPtZW35OGPTbuqWqt.hoDXgK6Ws.NcgxhfHR_m xZJC72WBo6HWDzvsckLM_YTL8jOEHYfTabvMoz3ysHfAG.v3jOwCvZgwRs8ThThpss.OluDWmV4n 49CYdumFaKUg135l20iRWmOU5PtOodqRmdlzTZvbZ6l5qbarL4ezopWpwnDyNN3ptl5Ha.sOitD7 .QD9Q5gdmQYeT_mykdMr_leEmGU5pnaBSdQC32UvyW1u2Qcd7shibOY1F_PWF6WJnXjrgJUniSWU uq_1eTWwP8HNauRtahDow1DHYklqa15beidthSrZai00oT2EzJS5HPR6QrcRZ.rJoL92ffmOf9uT yDdNaarKTQTTqQFkwCzLdJKcbImJ8CppFJb0_uolTFInJrcvA7vH6SIBHbQXteFXDC_VJpcOR3Qr .oC_zUODxH4R8hfbpElTnST7zg2Ahn6KQHsAgnTeouzw8rI_Z65XlUGBugCDYed55SS.Syohtels neMoRKPe22tgonapbDAm3JAwrOiv.xnhs1X7o8QDlIw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Sat, 21 Mar 2020 22:37:05 +0000 Received: by smtp416.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 786b5706400bd3f6c7396810f0f5b13f; Sat, 21 Mar 2020 22:37:04 +0000 (UTC) Date: Sat, 21 Mar 2020 18:37:03 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Subject: sane crashes Message-Id: <20200321183703.9566f2b45dd4193a51381291@aim.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> X-Rspamd-Queue-Id: 48lFrL4Mtpz41CY X-Spamd-Bar: + X-Spamd-Result: default: False [1.47 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21]; FREEMAIL_FROM(0.00)[aim.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[aim.com:+]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; URIBL_BLOCKED(0.00)[aim.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.28), ipnet: 74.6.128.0/21(1.29), asn: 26101(1.03), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.97)[0.967,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; RCVD_IN_DNSWL_NONE(0.00)[124.129.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[124.129.6.74.rep.mailspike.net : 127.0.0.17]; 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, 21 Mar 2020 22:37:08 -0000 I am having some problems using sane for scanning. My version of FreeBSD: FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 My version of sane: happy$ scanimage -V scanimage (sane-backends) 1.0.29; backend version 1.0.29 I have tried multiple approaches to get things working: The scanner is an HP so I set the URI and tried: happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37" Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. Abort trap (core dumped) Next try: happy$ scanimage -L Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. Abort trap Recompile minus Avahi: happy$ scanimage -L device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one Maybe this will help the next person. Vlad From owner-freebsd-questions@freebsd.org Sat Mar 21 22:43:11 2020 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 D002026EBA2 for ; Sat, 21 Mar 2020 22:43:11 +0000 (UTC) (envelope-from dvoich@aim.com) Received: from sonic304-10.consmr.mail.bf2.yahoo.com (sonic304-10.consmr.mail.bf2.yahoo.com [74.6.128.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48lFzM1gJVz47FR for ; Sat, 21 Mar 2020 22:43:10 +0000 (UTC) (envelope-from dvoich@aim.com) X-YMail-OSG: rtPZGcIVM1mXnVF84.8spL_FaiihEqqJcRsuIxNOugXE7UtD6NBAomXJrdv367D J1ZPCOCQhRljrtkw5KIkn4puPiPG5GKR.SKt4Nrkfay.pSxSVEn9s2luBwDGQxsd4qV3eEHf.HIM kbFQ4QlNOEfvniN0MIo8L.IlhikuOwUUpViqoRh5l3NfWzZKE99aR0VX3f1QX4euAhmhgdKHOCOF HzLphxOSvXALSxtq3KVsLwnTUGx4lwiWo6lw4c_FgjjdjRBFkwNeBktOinypJHcBo5qmailWPS3Z ivP.JAVC3jcBNQC4EFibR0fU5evTZgm9VXL2UychvPz9GSGFzB.jLhrFnugnni137hfAvWc15uEF 08GG3jLjaiGnyq8xcJKKv_TgT0L48e3wLDu6PTbxtQ2A0VTc0A6BVwOKlQ5hZBfbsQ.yXdT2dpR0 c1B7SZzXRU.11gquods43BvGt2dHDTuRQ0LmBXHCHytlJq9qIfmlbSBBfM6B3.535sw6a4.HvRpU 4wpiG3fmBEikns3F.O77nnbM0kURtlZnI.OBzEZXiCz411tI448o16bF9TB_th0bJK.sQxZgQ1Jt fGlvsPpyx_ozBK6sfLsVyUwilMHRJcspi7NMw5Pmu3kR5U2kgDk.gsrQ6YVT_rPqf8DxYQ4oW5Zi Cty3jUcNg1DTIV8gxNqXNg3sWPUBJbON6EYLX.VzSQUKvkoczZp51Eb6OHAMnfH56hU0bfgoy3Qe CnQUM2oIVv1zJvcL1r18pRLdEZJSOBZrne4u.lcYBE5tFSYUJRedr4xgPFv1JuPgUWn7_qXTtqNA iYcDooWcdwuQsPjCv7FgJsLlu1XhaMlrm10l.46PnSxjIMbYkFFdE3gvn8uSvWevcxHTF5uDzyu9 gqfqL_Acdb4ADGpHD_zbOmEOss7ztgadkucLkwG9FyqZ9dE8O0zD2Hj.UF2C0ygxjgTVj5du5cKm h7gNH7kwqKI9z6D50Ekgnrc6mdr6EQVv.Fj47hhjP4j8P8uzzrtSqJv78XujQjMo0B1KbB2PurqV mHWUMvUTrsf7nz7P5d7GkEemKj4L7f8cujivlYET8XDxbMtPOjyp8AhIhwpGErdorZ_QlH87U8M4 iBCXD.8bxqdOWD.dLtMtTExAUsQiGAOlbcSBqzz2vEwERmK8WLYuZTjGOwexIp.nnFac4M9OqJ0v wHRh4e_Tp1L4054HZBCIFOKv2mM1jfmSfhJ0ldTkEokgZLqLXJMwGXkythITn3u6QjZmkF1OuX5m fYYalS0Gw7l9kRTwIQyaHCaOvKI1uIyTZ0daTqrCM3pUrbkhnH9nJ2SNZvlZrv_RMf3P4iBpaR5Y hcLLxAe8OoDV6Nzo.PJd6_dpXF0gBVGJJuYbkkmsGniDW0SaGjhSRLGf6GekrRQw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Sat, 21 Mar 2020 22:43:10 +0000 Received: by smtp402.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ed559acad19acfe44ce8aa7b172fdce8; Sat, 21 Mar 2020 22:43:09 +0000 (UTC) Date: Sat, 21 Mar 2020 18:43:07 -0400 From: "Vlad D. Markov" To: freebsd-questions@freebsd.org Cc: "Vlad D. Markov" Subject: Re: sane crashes Message-Id: <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> In-Reply-To: <20200321183703.9566f2b45dd4193a51381291@aim.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48lFzM1gJVz47FR X-Spamd-Bar: + X-Spamd-Result: default: False [1.41 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:74.6.128.0/21:c]; FREEMAIL_FROM(0.00)[aim.com]; MV_CASE(0.50)[]; DKIM_TRACE(0.00)[aim.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[aim.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[aim.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[aim.com:s=a2048]; URIBL_BLOCKED(0.00)[aim.com.multi.uribl.com]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (3.78), ipnet: 74.6.128.0/21(1.29), asn: 26101(1.03), country: US(-0.05)]; NEURAL_SPAM_MEDIUM(0.92)[0.919,0]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.995,0]; RCVD_IN_DNSWL_NONE(0.00)[33.128.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[33.128.6.74.rep.mailspike.net : 127.0.0.17]; FREEMAIL_CC(0.00)[aim.com]; 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, 21 Mar 2020 22:43:11 -0000 On Sat, 21 Mar 2020 18:37:03 -0400 "Vlad D. Markov via freebsd-questions" wrote: > > I am having some problems using sane for scanning. > > My version of FreeBSD: > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 > > My version of sane: > happy$ scanimage -V > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > I have tried multiple approaches to get things working: > > The scanner is an HP so I set the URI and tried: > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37" > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > Abort trap (core dumped) > > Next try: > > happy$ scanimage -L > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > Abort trap > > Recompile minus Avahi: > happy$ scanimage -L > device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one > > Maybe this will help the next person. > > Vlad > Jumped the gun here. The last method also has an issue when doing a scan: happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3311. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace