From nobody Sat Oct 21 10:23:43 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SCHc34mwJz4xpyL for ; Sat, 21 Oct 2023 10:23:47 +0000 (UTC) (envelope-from infoomatic@gmx.at) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SCHc21jmzz3P9P for ; Sat, 21 Oct 2023 10:23:46 +0000 (UTC) (envelope-from infoomatic@gmx.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.at header.s=s31663417 header.b=TIdf1Wp9; spf=pass (mx1.freebsd.org: domain of infoomatic@gmx.at designates 212.227.15.18 as permitted sender) smtp.mailfrom=infoomatic@gmx.at; dmarc=pass (policy=none) header.from=gmx.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.at; s=s31663417; t=1697883824; x=1698488624; i=infoomatic@gmx.at; bh=IHEyrpxcW2x4U2uVdT6AwooeVZelEUE5uNKD+7+frT4=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=TIdf1Wp9grXb8TpKJlXnLxxTqCIe7R7zIOkzsX+Pa/VIWBZwXgjpAXoIQ8wZiknH gy25sIIRlZjlzwj5qkeW+p8lWgeJRwthSnYnwQFvUbf+NZYIriiwn2s3vmeKia9mG FCBYxal7Z7z9NH6C60/RaIP4H6/7xlFE3fgAi6pPfHejnMrL06s8MNWo6UVdBNbTR zJwyVPQqVuF0dqAfhC3r+pqCNkm0PvK1OUd12rfxnKuBdXMrjvvFVoHHNAStL0od1 8haigZWkU1kUiUBNgAYg3fZ2dfBgfw//64f6PwOYuiEpdfmN1A8KurRh5KJFhaDcg cw8ebqrmhlHoZkXvXQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [10.0.1.209] ([178.114.179.147]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zBR-1rWpcJ03j1-01558k for ; Sat, 21 Oct 2023 12:23:44 +0200 Message-ID: <16e56832-4a4b-4bde-a89a-b8f4b4eb30fa@gmx.at> Date: Sat, 21 Oct 2023 12:23:43 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: memory issue - bug? To: questions@freebsd.org References: <475f5d52-26d2-4b92-af22-e57b71ccd0d6@gmx.at> <20231021100955.caf235a95092e8bb6cbc068d@sohara.org> Content-Language: en-US From: infoomatic In-Reply-To: <20231021100955.caf235a95092e8bb6cbc068d@sohara.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:/lkejsnhjulvLRkYAaUHxt1Rhe3YyAtqIVDMuxaSxkH7u4piLD9 bk+MaZd3ma6MC3lwTTPLmEwoxdz4BMcHcV8yljqsXLxCngUwmcjbBq9xgdafhLGUdVuSxRZ 0Sjle+S5yolwOdHR1dt/UYEgfuyR/swM3Lb8ZxJufNRUG3KyUGpzkqwyZ//K6CJqXluQENt L9WE7Cbw/nTWjRL/r755w== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:EB1v2yJXsl8=;j0rSO0bCMO2Thy6sixikcM/BXN3 L0KFAbAlIZ0NHUqwlsRFmkt1JFxtyAjQohQqrkTieHh8RZdkZ2/+0S4wNVOkmVe0RpPLVMRY2 1+u6uyct80CBgVRFPz/xOGo3SxgLOQ62hQqRuDByUm5JyIybLzSRatjh4gWtpKmPY4/1F1wI6 rvO7UWL4WBNdAUx9GorJA4WfkETY2bACABJPfhbJKa0CJLwqUEeyN5PIt0IbxlvVyfuwfmEbJ Wjx6yvw2zFf0l67aW355fVn+/37OUA9SP/XPeMmda+276e0m9tEEIcT2ze0MKioU0GVXEjbp5 aygmAxXrD7SuorWc1UZZ+Lv8boMzHGph2P3WLfVojL5nnVr7tnbp8AsN0Ty9Gezd3QnEseVeN 5oTMmdeeoJ5u8j8T7FixHNiKeQBB/FVUzlvnb0aj2hNSQD/E92QBmyCC4RjxEh5dXH7IHzF8F 0xxK8CaN+QyIZE5t8eyEWgjNfzX7mnbNI1xif+vVcZfgFl+cDKdwBPG/MsaxShUCR4QnjDRS4 oquiHuNxE+UKJG6TGl4n+qduYicF7Tk6hnQOdH6WTYy/rXR1WggNxZv78S+b6G4FxUlzNLaJ4 PvZrh9O/fhIcfxn7eQ3+hv8XvOHDuGALTDPaYc4hOsl1UxZ1SG8LqtEa8f1HEiH7V/KHbWH3b +AO6plNV59Vai1wdW3i1pnVqoTjKz8q9c4OMZvoMQ3hUcmuZqQkXgSXt/zkjEDukEkug1MeNh dh1jrDsXguG12MSIF91S0PaZdbQWgakalbf8tey2tVYDI9rtuWXtJdjvMlXdELFwIcwaskb+F S/l057Nfag77Q+7pUyEn4NdXj/tjAHR/N6VVb+k2ty88f7Pvq6XJvhhrLZ/cEeuLSb3VtpqY5 ZlC4yZAFFIpASKenP4eBIg2JBwPVgBPSr3cOxZGlkK4BgccuPxj7EFemVYgl8+Hc14HfdRB+p Koneu5LDUDlCKSshnvo2O48zenM= X-Spamd-Bar: - X-Spamd-Result: default: False [-1.25 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.976]; NEURAL_SPAM_SHORT(0.71)[0.712]; DMARC_POLICY_ALLOW(-0.50)[gmx.at,none]; R_DKIM_ALLOW(-0.20)[gmx.at:s=s31663417]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/25]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; DKIM_TRACE(0.00)[gmx.at:+]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[gmx.at]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmx.at]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SCHc21jmzz3P9P On 21.10.23 11:09, Steve O'Hara-Smith wrote: > > Are you using a tmpfs for /tmp ? no From nobody Sun Oct 22 15:16:40 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SD2413PzNz4xRgD for ; Sun, 22 Oct 2023 15:17:05 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD23z4lJzz4Np1 for ; Sun, 22 Oct 2023 15:17:03 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm1 header.b=TVAbhLlw; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=JNPf4N8A; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 64.147.123.20 as permitted sender) smtp.mailfrom=dch@skunkwerks.at; dmarc=pass (policy=none) header.from=skunkwerks.at Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id D285B320039A for ; Sun, 22 Oct 2023 11:17:01 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Sun, 22 Oct 2023 11:17:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=1697987821; x=1698074221; bh=y8DXXZrHOFGKVxgNTJ92auJzx LC9O597XLl8FUHjhcw=; b=TVAbhLlwAnL7qD5LEhqaDuhX6UgTJysGheFttZ/0H 940Ha8j0+TcfbQuiPb9agVaoS5KJ+pBPGzVJLt/uodoxnYg7ainexaJgai2te235 0YzuPjyBr4Cx8B5F42O9FvQS4TAqaXT4rMhTO+8XUO5pW13ysQ2GeRhLq57LH4Za 3QlNM1aGsTnrWf7c5/sgz7H9x4cOniT44Ty/hnm45wHIe5W2iIvazuB9PA0GCcPy wkXBTKKXRNY1tuxTFH+FVUS+Q6xeJsFg5R+lGNTLjIcnbsO204GLX7+HAPriOEfr haIliioI+waNMoihEAdaXVCGOsluwulYg0U7DRL6AAifA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697987821; x=1698074221; bh=y8DXXZrHOFGKVxgNTJ92auJzxLC9O597XLl 8FUHjhcw=; b=JNPf4N8AQAcmQy+L0IWNa0OPHz2ErJ32igWLLThBFffy3r3TcKa M095XSgjUnjpOTMevr9Rf9DIFqmtX5MJC7fKJWlVUvccsTZBUjYWi0IdPG8NgmJ/ HJkM0T9uv7eXkNSNh1I1U9X4V0wM+S7fxYOT7d9yO29kC+UPCgqxu6jRhMudwXdD 8NaGawldqZ7MGwVs8thTEK5uKd3CDH7wU+spvRdoet7AFoEkQBx3xUaInG888cOi aE/zOLv6AXqdH3CDUZNGivD/dNOiLAUjPkGi5fE3eloFHRwroHb/LHTbLk2wprP1 AcaFuZodfGZnXbJHUwH5xBRUjSbyI7oSJJA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrkeefgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhesshhk uhhnkhifvghrkhhsrdgrtheqnecuggftrfgrthhtvghrnhepjefgtdfgfeegudeigeelud fghfffuefgheeuudelleeiheduieeufeelueduvdfgnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepuggthhesshhkuhhnkhifvghrkhhsrdgrth X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0219136A0077; Sun, 22 Oct 2023 11:17:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: Date: Sun, 22 Oct 2023 15:16:40 +0000 From: "Dave Cottlehuber" To: freebsd-questions Subject: certctl, self-signed certificates and localhost with nginx, fetch and curl Content-Type: text/plain X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.49 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[skunkwerks.at,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[64.147.123.20:from]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm1,messagingengine.com:s=fm3]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from]; XM_UA_NO_VERSION(0.01)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FREEFALL_USER(0.00)[dch]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SD23z4lJzz4Np1 I'm experimenting with certctl(8) to see if I can get curl and the browser to accept a self-signed certificate, and if I need a local CA as well for this: ``` $ sudo openssl req -newkey rsa:2048 \ -keyout /usr/local/etc/ssl/keys/localhost.key \ -x509 -days 365 -nodes -subj '/CN=localhost' \ -out /usr/local/etc/ssl/certs/localhost.crt ... $ sudo certctl -v trust /usr/local/etc/ssl/certs/localhost.crt $ sudo certctl -v rehash ... Reading ca-root-nss.crt Adding cd8c0d63.1 to trust store Scanning /usr/local/etc/ssl/certs for certificates... Reading localhost.crt Adding ce275665.0 to trust store $ certctl -v list |grep ce275665 ce275665.0 subject=CN = localhost ### failures $ fetch https://localhost/ Certificate verification failed for /CN=localhost 002061F61F310000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/openssl/ssl/statem/statem_clnt.c:1890: fetch: https://localhost/: Authentication error $ curl https://localhost/ curl: (60) SSL certificate problem: self-signed certificate ### success $ curl --cacert /usr/local/etc/ssl/certs/localhost.crt https://localhost/ ... ``` Any idea what I'm doing wrong here? Do I need a proper CA and not just a local cert? BTW nginx config used: ``` # /usr/local/etc/nginx/nginx.conf events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; server { listen 443 ssl; server_name localhost; ssl_certificate /usr/local/etc/ssl/certs/localhost.crt; ssl_certificate_key /usr/local/etc/ssl/keys/localhost.key; location / { root /usr/local/www/nginx; index index.html index.htm; } } } ``` A+ Dave From nobody Sun Oct 22 20:42:13 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SD9HF0tHsz4xp98 for ; Sun, 22 Oct 2023 20:42:17 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD9HD1yQ6z3C1P for ; Sun, 22 Oct 2023 20:42:16 +0000 (UTC) (envelope-from web@umich.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.b=YVPoCbzV; spf=pass (mx1.freebsd.org: domain of web@umich.edu designates 2607:f8b0:4864:20::22b as permitted sender) smtp.mailfrom=web@umich.edu; dmarc=pass (policy=none) header.from=umich.edu Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3b2df2fb611so2044701b6e.0 for ; Sun, 22 Oct 2023 13:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1698007335; x=1698612135; darn=freebsd.org; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=4it5AvV4ZSrpzcGUX4IItR5WCRTgeeSvLzQ6MEidftc=; b=YVPoCbzVSUCNG+Nn5B9r8LrWBfVU2cpdF3652zaKaXmmTM9rCaLgZN5vEpGjATlccr H3qH8f6AGorw8bxqf4yccHQ+DmqLBJZ9jWioMdhqoFWU2BPuAsOUmZsn1R8cGgyysNDN d1xKXof8bVqDu25dMk/934SlfD14vbEsCHYksBf4D1VmSyN9oipaL4JPSYJQamw3NkhU 4HJRAENfgLWJVt2KMFgBpEWrvXpfUY2IKoWrhiEven3Bb6rrie5VV/OXrDcJdCR1Z9Gx rJa0Rv4EjGkWXizG6G/vgG++Qz8YLuDKhyvRmr8+wiL7ibPre2InbItbiV21tfO5bVAh OlTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698007335; x=1698612135; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4it5AvV4ZSrpzcGUX4IItR5WCRTgeeSvLzQ6MEidftc=; b=wpBjH7vKG8yHwzlNAvAL43uO301M1Jwsik5NqFbBSBZJTA5ojG8rrKUukU3xkxtSy/ Kd/zvzY0qbfXKnJSW3G9knc9GJX5AChS22gNGZw+21Drm8ViLd7JdxdmyP6QSAx7hSbY futdftj/nSMohyrsHMiyBxXFD1viAeHW1wtPr/PHkxcJm/dPGQEpmQ6jx2H1G0DBks6Z TPFixYbLRjgEhOzdXiq+4GytUQtE5uJL9a49uR/D4XOg1nKknT4cRr50uKrSbLmVZ4r4 Rx3QjfaVNgxp0y5scqrs94aq/cnXnWoCzOiCuNMthZj/8K+N66Go5NXxno/bHA5q1tyh ZN5A== X-Gm-Message-State: AOJu0YxkavI/EXbpiSHM5if70/69qEXuCGS/GsqAskwCnrtcTuXhUhwm 5ch7PdGhHIl0gphUFCObBQgiXg== X-Google-Smtp-Source: AGHT+IGke+Gksut09lIRFX2y0rG2xA2CXaWC6WkaezFSq9AQYlpuS0qMmDkRRsk5Lch6apmvrFzTFg== X-Received: by 2002:aca:2211:0:b0:3a9:c2fe:335c with SMTP id b17-20020aca2211000000b003a9c2fe335cmr8524423oic.52.1698007335065; Sun, 22 Oct 2023 13:42:15 -0700 (PDT) Received: from localhost (162-232-88-33.lightspeed.livnmi.sbcglobal.net. [162.232.88.33]) by smtp.gmail.com with ESMTPSA id k4-20020a544404000000b003ae53e64549sm1218318oiw.31.2023.10.22.13.42.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Oct 2023 13:42:14 -0700 (PDT) Date: Sun, 22 Oct 2023 16:42:13 -0400 From: William Bulley To: freebsd-ports@freebsd.org Cc: freebsd-questions@freebsd.org, rust@FreeBSD.org Subject: lang/rust fails to build after upgrading Perl to 5.36 Message-ID: <20231022204213.GI668@dell4> Mail-Followup-To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org, rust@FreeBSD.org List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; DWL_DNSWL_MED(-2.00)[umich.edu:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_SERVICE_ACCT(1.00)[]; ENVFROM_SERVICE_ACCT(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[umich.edu,none]; R_DKIM_ALLOW(-0.20)[umich.edu:s=google-2016-06-03]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22b:from]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[umich.edu:+]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SD9HD1yQ6z3C1P In my attempt to upgrade to Perl 5.36 several other ports were affected and had to be rebuilt/reinstalled. One of these was lang/rust -- which failed to build (I can send error strings). However, I decided to try downloading the lang/rust package and work around the build-from-source problems I was having. I did that, and look what happened (note the version of Perl): =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= unix# pwd /usr/ports unix# pkg install lang/rust Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 7 MiB 1.4MB/s 00:05 Processing entries: 100% FreeBSD repository update completed. 34120 packages processed. All repositories are up to date. Updating database digests format: 100% The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: perl5.34: 5.34.1_3 rust: 1.72.0 Number of packages to be installed: 2 The process will require 1 GiB more space. 144 MiB to be downloaded. Proceed with this action? [y/N]: N =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= This defeats updating Perl from 5.34 to 5.36 -- what am I to do? -- William Bulley E-MAIL: web@umich.edu From nobody Sun Oct 22 20:55:46 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SD9Zs43N6z4xpnm for ; Sun, 22 Oct 2023 20:55:49 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SD9Zr5s1Pz3DdK for ; Sun, 22 Oct 2023 20:55:48 +0000 (UTC) (envelope-from web@umich.edu) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=umich.edu header.s=google-2016-06-03 header.b=dOLH5DJg; spf=pass (mx1.freebsd.org: domain of web@umich.edu designates 2607:f8b0:4864:20::b2e as permitted sender) smtp.mailfrom=web@umich.edu; dmarc=pass (policy=none) header.from=umich.edu Received: by mail-yb1-xb2e.google.com with SMTP id 3f1490d57ef6-d865854ef96so2457259276.2 for ; Sun, 22 Oct 2023 13:55:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; t=1698008147; x=1698612947; darn=freebsd.org; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=4it5AvV4ZSrpzcGUX4IItR5WCRTgeeSvLzQ6MEidftc=; b=dOLH5DJgno7VgBSTTRtXJUkgoI8z9DB5qk1Aaeu/M3hXqfCOmPc2OChBD4WDnRuWEA 89aWRxU4V4/fE8L1s4AdEnuMP1aD5BldOkaX1NaeQauFXeSikIMQHKC8A27/wP8FSjGh 0l3lGdrssLuO3QIHexh50o7M84+7Qu17LDaxsZ0mEyYX/MpxH6fGe8nIKI1SwMlyNhak SUHJTCA8jhvUZajbzeqLpJZrQHgcTyoKoH+dUEdWpzNB3IDB8brQN388OHQTN8+AhBGa UzyxqoIYtIMLPQvQ/gh0QjT6SwQ3RZn6wt7uniyl7mozw8bBx11D/v4fo+Kg7TGvtqy4 cz1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698008147; x=1698612947; h=user-agent:content-disposition:mime-version:mail-followup-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4it5AvV4ZSrpzcGUX4IItR5WCRTgeeSvLzQ6MEidftc=; b=Jf6FrAqeqZs7ODUe04Ngjwt65kdjhC8E7cl1ddNGCwkAe1TbvxY8XrvIBYFQXaQvRS 4Tg8CqTT01YET5GwImlym/w4HKe9rXF+WRzqpdr5sMzWtLpFAK8/eQZycGh4WYNEuQq+ 6B79bi4jPvsDr8oX4dHwq+rJv6vm1tUvw/y+XHtFU0vsnDNKaTpHVjLIFggFQ+rHRgxJ WrcJnMHcLZvWIJouSI1hg9yvkU9wT7U3B52nPYdjCsR4jHaqha5IVTG4d+OOPwlzdxNs f7SOQWEK2EOJDSRdnIEW5E6rTRNhDXmHhPHDMnfdGjFcQzGZwjvubzjM/ttPPme+X/RG pfoA== X-Gm-Message-State: AOJu0YxdpSCNQ0Rh6eBlEnGWls7et2WMM4E6E3d1zFHarL8WpxmB4G8+ zNN0ILHtjFcREMNfUsLrqC0UDzDWtfVEova90KChk8z92GZehPySZUMbf2SPfS7UYihXl9RxyxH amglbhOixSVeoex9tLaKZmvIy2mWt9Kl8yYZ7W17s3W81eJm4PnOrHMmjyk17tXOTld9S7rFWsX E= X-Google-Smtp-Source: AGHT+IE/g9VwEgz0TQUNNPQCLCDQAmaWKjeAW+pZYUx49X8jwVjkbQS87cae5Su7dVr9PK50fHkhfQ== X-Received: by 2002:a0d:dd82:0:b0:586:9f6c:4215 with SMTP id g124-20020a0ddd82000000b005869f6c4215mr8841829ywe.33.1698008147491; Sun, 22 Oct 2023 13:55:47 -0700 (PDT) Received: from localhost (162-232-88-33.lightspeed.livnmi.sbcglobal.net. [162.232.88.33]) by smtp.gmail.com with ESMTPSA id w125-20020a817b83000000b0054bfc94a10dsm2576403ywc.47.2023.10.22.13.55.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Oct 2023 13:55:47 -0700 (PDT) Date: Sun, 22 Oct 2023 16:55:46 -0400 From: William Bulley To: freebsd-questions@freebsd.org Cc: rust@FreeBSD.org Subject: lang/rust fails to build from source after upgrading Perl to 5.36 Message-ID: <20231022205546.GK668@dell4> Mail-Followup-To: freebsd-questions@freebsd.org, rust@FreeBSD.org List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; DWL_DNSWL_MED(-2.00)[umich.edu:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; ENVFROM_SERVICE_ACCT(1.00)[]; FROM_SERVICE_ACCT(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[umich.edu,none]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[umich.edu:s=google-2016-06-03]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2e:from]; BLOCKLISTDE_FAIL(0.00)[162.232.88.33:server fail,2607:f8b0:4864:20::b2e:server fail]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[umich.edu:+]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SD9Zr5s1Pz3DdK In my attempt to upgrade to Perl 5.36 several other ports were affected and had to be rebuilt/reinstalled. One of these was lang/rust -- which failed to build (I can send error strings). However, I decided to try downloading the lang/rust package and work around the build-from-source problems I was having. I did that, and look what happened (note the version of Perl): =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= unix# pwd /usr/ports unix# pkg install lang/rust Updating FreeBSD repository catalogue... Fetching meta.conf: 100% 163 B 0.2kB/s 00:01 Fetching packagesite.pkg: 100% 7 MiB 1.4MB/s 00:05 Processing entries: 100% FreeBSD repository update completed. 34120 packages processed. All repositories are up to date. Updating database digests format: 100% The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: perl5.34: 5.34.1_3 rust: 1.72.0 Number of packages to be installed: 2 The process will require 1 GiB more space. 144 MiB to be downloaded. Proceed with this action? [y/N]: N =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= This defeats updating Perl from 5.34 to 5.36 -- what am I to do? -- William Bulley E-MAIL: web@umich.edu From nobody Sun Oct 22 23:20:29 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SDDp80KTrz4xyW6; Sun, 22 Oct 2023 23:20:48 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDDp72rkFz3WtJ; Sun, 22 Oct 2023 23:20:47 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=B1lme6HR; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::112f as permitted sender) smtp.mailfrom=kob6558@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-5a8628e54d4so22294827b3.0; Sun, 22 Oct 2023 16:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698016845; x=1698621645; darn=freebsd.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=5H0FniEqU7eDZGNuX1gQAfu2W/UCSeopboL8aBw8r5A=; b=B1lme6HRY0xuY18SCs+z+mpnLra+M3gx1oMnTWH57K9tK2TN2Ddh0jNoQjrfJ1j3Aj ju2EHY5QXL0tCD4lONMeRU+Up7Wx3X6203zcIty6ms1iVSlyXrk/B5wC/2xBQ/IHXOn8 ZL86+QGzywqJGRiPHKjhxhqB1uqGT0pSIfxufr+OGuMJo69JYez2WfyKmr2OC+EIJVLC HMVfNMgT1l2BW+oJckWlvH1+MeGIprukKTOADCODzrCnV05RyRSkKfTyqa/EIajvcGbg giqhvunnb3rnFwXceVdysx/2gLypfpCW/WWmvNl66c3BZkoOitNaAmZKy3yLeYpN6mwN n31w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698016845; x=1698621645; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5H0FniEqU7eDZGNuX1gQAfu2W/UCSeopboL8aBw8r5A=; b=jH1+VLbTK0xWfocA81MbQlkWxtvnLB28DwTginyn/9T5KteCtKzumhJLn9JM58uYzh Cq7gF1EMRekmAHadcmIXOmxlMPp7GyZuVqF4Nz/sVLPAudqLom7Uundm5TbgEHedIk45 B0uGuNhLkiMj9YDZZxMi5i6q14qVS+ZIDmmaUp6+jF18sl98XR4bCHq4ThsJtHdBk7yB 3TENn8Iz1DA69KehOcT358hzI6CWmIUVvVWpRXOwmOQMTD3coLNyN4gLi4YJlFT9kDwx VCnH224wxhdRy/cqSy7wzSa/onFIkjU9I1xZkZbDiepTY2ym+oAlaYciDNvhwS6vouLY Ebgw== X-Gm-Message-State: AOJu0YzIG8Z4QQTGD2LbKed1B8GYJnLbmBIwG8aaDXC8lejDwDF7bPAJ QBYiYQ2ZbacpBCaw+QcqUEAaXfHXwdZ3kvfDYJY7VEN7Om0= X-Google-Smtp-Source: AGHT+IGERAThKI8gZ7nbsUNo0k+7hm6+K/QqBduZ9B7USMH610inIHsFnh5CF5/bN+gtOQr7TT/4w4J1PpmV5DcdeIs= X-Received: by 2002:a0d:d6c2:0:b0:5a7:fcad:e865 with SMTP id y185-20020a0dd6c2000000b005a7fcade865mr10483234ywd.2.1698016845634; Sun, 22 Oct 2023 16:20:45 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20231022204213.GI668@dell4> In-Reply-To: <20231022204213.GI668@dell4> From: Kevin Oberman Date: Sun, 22 Oct 2023 16:20:29 -0700 Message-ID: Subject: Re: lang/rust fails to build after upgrading Perl to 5.36 To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org, rust@freebsd.org Content-Type: multipart/alternative; boundary="000000000000e821510608565aff" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.79)[-0.794]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org,freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::112f:from]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4SDDp72rkFz3WtJ --000000000000e821510608565aff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Oct 22, 2023 at 1:42=E2=80=AFPM William Bulley wrot= e: > In my attempt to upgrade to Perl 5.36 several other ports were > affected and had to be rebuilt/reinstalled. One of these was > lang/rust -- which failed to build (I can send error strings). > If you used portmaster, there is a problem with the '-f' option. It is unnecessary and results in re-installing many ports that do not use libperl. lang/rust is one. Just re-enter the portmaster command without the '-f'. # portmaster `pkg shlib -qR libperl.so.5.26` The man page for portmaster(8) says that dependencies are reinstalled when '-R' is added to '-f', but just '-f' triggers a reinstall of a port and all of its dependency tree. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000e821510608565aff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Oct 22, 2023 at 1:42=E2= =80=AFPM William Bulley <web@umich.edu<= /a>> wrote:
In my attempt to upgrade to Perl 5.36 several o= ther ports were
affected and had to be rebuilt/reinstalled.=C2=A0 One of these was
lang/rust -- which failed to build (I can send error strings).


The man page for portmaster(8) says that dependencies are reins= talled when '-R' is added to '-f', but just '-f' tr= iggers a reinstall of a port and all of its dependency tree.

--
--000000000000e821510608565aff-- From nobody Mon Oct 23 18:01:37 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SDjgS2Nnyz4yKpD for ; Mon, 23 Oct 2023 18:01:40 +0000 (UTC) (envelope-from arcadellama@posteo.net) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SDjgR11Vgz3ClM for ; Mon, 23 Oct 2023 18:01:39 +0000 (UTC) (envelope-from arcadellama@posteo.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=posteo.net header.s=2017 header.b=Z9unJ2Qj; spf=pass (mx1.freebsd.org: domain of arcadellama@posteo.net designates 185.67.36.65 as permitted sender) smtp.mailfrom=arcadellama@posteo.net; dmarc=pass (policy=none) header.from=posteo.net Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E2BC8240027 for ; Mon, 23 Oct 2023 20:01:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1698084097; bh=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN/XKdLCPjaYaY=; h=MIME-Version:Date:From:To:Subject:Message-ID:From; b=Z9unJ2QjoOEqp5vHovUo+svSWcA9qLZwKtt62xEqx1Nl00NaVthybYJUPsbJcyhmC a5wra8QdYRGdnE8PZpIkIGQ3yy817lyM4JxOk0xJ/zqIwnJIZV38BffvQXLTFgG9Qm J5C1J3MhXUuBnqTRxZAv+4eBwtoVhRpjNU0+mDRsnZPi6cOL7FnOWuGvp3nTP3NUb+ B+Ujt2vfNDtEydZ/eX4UlRNe3gakdreKf1vKHRXBgLrWhYwXNxfLcgO1KQ7btlaaqq 8iJk8vgXbn3/d94EwoubaevIKME1NhaZshLcqYosNcM+BgwTh1KfhbAbjJWYA/To7M CP3Vn1JxqtZ1g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4SDjgP4bTGz6txB for ; Mon, 23 Oct 2023 20:01:37 +0200 (CEST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Mon, 23 Oct 2023 18:01:37 +0000 From: arcadellama@posteo.net To: freebsd-questions@freebsd.org Subject: Unsubscribe Message-ID: <55a429626214907b6fe12dad194925c1@posteo.net> X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.09 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.989]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[posteo.net,none]; RWL_MAILSPIKE_EXCELLENT(-0.40)[185.67.36.65:from]; R_DKIM_ALLOW(-0.20)[posteo.net:s=2017]; RCVD_IN_DNSWL_MED(-0.20)[185.67.36.65:from]; R_SPF_ALLOW(-0.20)[+ip4:185.67.36.0/23:c]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; BLOCKLISTDE_FAIL(0.00)[185.67.36.169:server fail]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_NO_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[posteo.net:+]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8495, ipnet:185.67.36.0/23, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SDjgR11Vgz3ClM From nobody Tue Oct 24 22:06:42 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SFR4755P6z4xZjX for ; Tue, 24 Oct 2023 22:07:03 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFR456hKJz3DZw; Tue, 24 Oct 2023 22:07:01 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=QOOOKlRk; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org; dmarc=pass (policy=none) header.from=gushi.org Received: from smtpclient.apple (vpn-us.f.root-servers.org [149.20.8.9]) (authenticated bits=0) by prime.gushi.org (8.17.2/8.17.2) with ESMTPSA id 39OM6rGh011243 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Oct 2023 22:06:56 GMT (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 39OM6rGh011243 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1698185217; bh=NYw8M8SZb3fVd7mhoi3RrAjF8t+EFCLNRbwh1GlLAtk=; h=From:Date:Subject:Cc:To; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Date:=20T ue,=2024=20Oct=202023=2015:06:42=20-0700|Subject:=20Why=20isn't=20 p5-dbd-Pg=20flavored=20for=20various=20postgres=20versions?|Cc:=20 sunpoet@freebsd.org|To:=20questions@freebsd.org; b=QOOOKlRkL/HtZLNvm5yck2k4SwlWXPTZ0hxVxAXscrJobkGZ1FFeHbJJVBrNA/+sq oAJ+0M7AWmFyD2yil2JxCOc9AkRigOk0MGnJNMaa7c99o2/AKhxrF4c5QWfTqVlHNW YHktTWDwtwQr7S9T22lgWE4L0wiQEfbiXUmUbpdDrXZejAeN4r3MGAjcK6746D8+zz 5JpxK6CGtyN4UAyOknNqmin+jSH7OQaS7WTE4YNvoOH6eY2fjhokJH2AYZzVuEWRiU pwl64lsnCmQmFIy9Cv4+3oliGKNWzjkphgf6FmjuJSUp/0+lHYKZMDwf2xyOl4KuCF yFCG/CtLU9qEQ== X-Authentication-Warning: prime.gushi.org: Host vpn-us.f.root-servers.org [149.20.8.9] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.100.2.1.4\)) Date: Tue, 24 Oct 2023 15:06:42 -0700 Subject: Why isn't p5-dbd-Pg flavored for various postgres versions? Cc: sunpoet@freebsd.org To: questions@freebsd.org Message-Id: <810867E4-B049-4B94-B983-286631E12D15@gushi.org> X-Mailer: Apple Mail (2.3774.100.2.1.4) X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; R_SPF_ALLOW(-0.20)[+mx]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; DKIM_TRACE(0.00)[gushi.org:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4SFR456hKJz3DZw All, I=E2=80=99ve lost another morning to a bad choice made by ports/pkg. Maybe this is a dumb question/rant, but recently, a routine pkg upgrade = of the dayjob=E2=80=99s RT VM (which included an upgrade to perl) = decided to leave me with no ability to connect. After following the = rabbit hole, I hit a database connect error. p5-dbd-pg was still installed, according to pkg, but none of the perl = libraries could find it, because it was in the wrong perl include dir = (/usr/local/lib/perl5/site_perl/mach/5.32/DBD/Pg.pm, when the perl = version was 5.34) Now, postgresql13 is still in pkg, still works, and according to = Freshports indirectly requires postgresql13 (by way of requining libpq), = and it still builds cleanly if you set DEFAULT_VERSIONS+=3Dpgsql=3D13 in = make.conf,=20 But apparently, if you use pkg, and you try to decide you need the perl = driver, you=E2=80=99re boned. But should you attempt to just reinstall = it? Nope. # pkg install p5-DBD-Pg Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (2 conflicting) - postgresql15-client-15.4 conflicts with postgresql13-client-13.12 on = /usr/local/bin/clusterdb - postgresql15-client-15.4 conflicts with postgresql13-client-13.12 on = /usr/local/bin/clusterdb Checking integrity... done (0 conflicting) The following 5 package(s) will be affected (of 0 checked): Installed packages to be REMOVED: postgresql13-client: 13.12 postgresql13-server: 13.12 New packages to be INSTALLED: postgresql15-client: 15.4 Installed packages to be UPGRADED: p5-DBD-Pg: 3.16.0 -> 3.17.0 Installed packages to be REINSTALLED: pkg-1.20.8 =3D=3D=3D Also, I love how it doesn=E2=80=99t offer to upgrade the server as well. = Who needs that thing? So the point of view is apparently =E2=80=9Cyeah, you can install a = whole big postgres server/client, anda big language like perl, and all = the dependencies for something complicated like RT without having a full = ports tree, but if you try to install the tiny little stub that lets = perl talk to that database, HAHA nope." This happened a year ago, too. It=E2=80=99s not freebsd=E2=80=99s fault = that Postgres requires a full dump and restore of all your databases to = do an upgrade (where mysql handles major version upgrades just fine), = but the version bumps should be cognizant of this. My fix for this was *sigh* portsnap fetch updete, cd = /usr/ports/databases/p5-dbd-Pg, make, make deinstall, make = reinstall=E2=80=A6pkg lock p5-dbd-Pg Yes, I know that I should be ready to upgrade to 15 at some point, on = whatever quarterly port boundary it=E2=80=99s decided, =E2=80=9CI guess = that=E2=80=99s when=E2=80=9D, with no advance notice, via the full = stupid dump-and-restore process. I don=E2=80=99t run =E2=80=9Cpkg upgrade=E2=80=9D because I=E2=80=99m = interested in the exercise of debugging the latest ports shenanigans, I = run it because =E2=80=9Cpkg audit=E2=80=9D complains at me about = vulnerable things, and in general it=E2=80=99s good to keep things up to = speed But once in a while, I lose a whole morning to nonsense like this, and = it feels preventable. -Dan From nobody Wed Oct 25 02:40:09 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SFY7R0wqbz4xsVf for ; Wed, 25 Oct 2023 02:40:19 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SFY7N0jfyz3gkd for ; Wed, 25 Oct 2023 02:40:16 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.ait.ac.th header.s=selector1 header.b=isyZ95A6; spf=pass (mx1.freebsd.org: domain of Olivier.Nicole@cs.ait.ac.th designates 192.41.170.16 as permitted sender) smtp.mailfrom=Olivier.Nicole@cs.ait.ac.th; dmarc=pass (policy=none) header.from=cs.ait.ac.th Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 3461589282 for ; Wed, 25 Oct 2023 09:40:11 +0700 (+07) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received:received:received; s= selector1; t=1698201610; x=1700016011; bh=VfLkmAfxU8icti9haaBs2F PxH5W2cCLyQbPIZYMmd4M=; b=isyZ95A6HDzhCMTJCYNkFYPkfdXS7zQAVHmcA9 VzL/o+jmBuHByPy9QPr6gqgDKGHtCIOdN0Arhw/oEphDnZ3KA1jfKbRWu0IeO1+a GkTsdxR0XNeBY68LkghFr1Cdp/NwzVystGgfresO6Zz3XzP8x881LK6c5gkGoclx G2z3M= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id eq8Yw7WMVkYt for ; Wed, 25 Oct 2023 09:40:10 +0700 (+07) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 8996F89281 for ; Wed, 25 Oct 2023 09:40:10 +0700 (+07) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id 39P2e9LD000976; Wed, 25 Oct 2023 09:40:09 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: freebsd-questions@freebsd.org Subject: Kernel module for Proxmox hypervisor Date: Wed, 25 Oct 2023 09:40:09 +0700 Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[cs.ait.ac.th,none]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_IN_DNSWL_MED(-0.20)[192.41.170.16:from]; R_DKIM_ALLOW(-0.20)[cs.ait.ac.th:s=selector1]; MIME_GOOD(-0.10)[text/plain]; BLOCKLISTDE_FAIL(0.00)[192.41.170.5:server fail]; DKIM_TRACE(0.00)[cs.ait.ac.th:+]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4767, ipnet:192.41.170.0/24, country:TH] X-Rspamd-Queue-Id: 4SFY7N0jfyz3gkd Hi, I am wondering if there is a kernel module to install for a FreeBSD virtual machine on a Proxmox hypervisor, something like open-vm-tools for VMware. Thanks in advance, Olivier -- From nobody Thu Oct 26 10:48:06 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SGMvt165Yz4xdtQ for ; Thu, 26 Oct 2023 10:48:10 +0000 (UTC) (envelope-from felix.reichenberger@tuta.io) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.tutanota.de", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGMvs1yFzz3RhG for ; Thu, 26 Oct 2023 10:48:09 +0000 (UTC) (envelope-from felix.reichenberger@tuta.io) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tuta.io header.s=s1 header.b=qpqI1E4B; spf=pass (mx1.freebsd.org: domain of felix.reichenberger@tuta.io designates 81.3.6.165 as permitted sender) smtp.mailfrom=felix.reichenberger@tuta.io; dmarc=pass (policy=quarantine) header.from=tuta.io Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id 7EE6D1060160; Thu, 26 Oct 2023 10:48:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1698317286; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=vu2w7rG0E6pYMgMoDKzHrBrfkiuoDiNvZ1EQSbOGUGc=; b=qpqI1E4BaQjkCpjQaN+L5gBANHz4USn2N01aR0Afu2IZ/gVCoS+QH1lnpMR1BXpB KR5jd12owucxU17kEjFHoI2UOG29hNUmogUv0zJLDGTP7jwmuqBC5P6B0NFZVbmRRGR ztsxCkrlEDPvQ5oPYtefPaqs2jfQspmWQxNGRjUudu4pTQ00lsNU28Mh1nu92dUlUcb pqyunvhzMiub9mH3gEDEoryHmX6eF3ZdxJDomTODw+JzQDSHpfGjXe+cjMsSAf6pKBD I5Oe3pBkso16BEO3nN7P+rLUuk2C6/lPweIb907UsuVpZazMiHwH1f861D3dwnALyey L6y0UmSC+A== Date: Thu, 26 Oct 2023 12:48:06 +0200 (CEST) From: Felix Reichenberger To: Olivier Nicole Cc: Freebsd Questions Message-ID: In-Reply-To: References: Subject: Re: Kernel module for Proxmox hypervisor List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[tuta.io,quarantine]; RWL_MAILSPIKE_EXCELLENT(-0.40)[81.3.6.165:from]; R_DKIM_ALLOW(-0.20)[tuta.io:s=s1]; R_SPF_ALLOW(-0.20)[+ip4:81.3.6.160/28]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:24679, ipnet:81.3.0.0/18, country:DE]; RCPT_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[81.3.6.165:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[tuta.io:+]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4SGMvs1yFzz3RhG X-Spamd-Bar: ---- 25. Okt. 2023, 04:40 von Olivier.Nicole@cs.ait.ac.th: > Hi, > > I am wondering if there is a kernel module to install for a FreeBSD > virtual machine on a Proxmox hypervisor, something like open-vm-tools > for VMware. > > Thanks in advance, > > Olivier > -- > Hi, you can take a loot at qemu-guest-agent (emulators/qemu) Regards From nobody Thu Oct 26 18:33:38 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SGZF92Ld0z4y8C8 for ; Thu, 26 Oct 2023 18:33:49 +0000 (UTC) (envelope-from mirror176@hotmail.com) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn20815.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eab::815]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGZF82PPfz3GrB for ; Thu, 26 Oct 2023 18:33:48 +0000 (UTC) (envelope-from mirror176@hotmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hotmail.com header.s=selector1 header.b=LYBLJbBe; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (mx1.freebsd.org: domain of mirror176@hotmail.com designates 2a01:111:f400:7eab::815 as permitted sender) smtp.mailfrom=mirror176@hotmail.com; dmarc=pass (policy=none) header.from=hotmail.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X5Vu1t5gWbgFMNH7ONOGj5JNxfpD6Gi6BgTdfIqlZDjsqytpG5Y23F4B3cW17ZbK4srZW8F7ari3MkjGTvahLmsxbKzj8sntw4fVNKBHKNX7KQMlCWcI24aQVLOxkO7sQ9mj1J+ySvqk2YISoUZUNwrflq3eERo0d91etUU9DSntUAtRBWsN0ununegHIAmp0EDBLeAoWysgh7zKUxEw3HF3vubShpoqm2W5lQvuVgDQ/PtpH9ar4tmaQrPjNQ3XCClX60eeBxW4ioK+g8ClTfT3Pf0RumjJ/O7fJkrmrwKa3KzZMZAVo5NtVOhqGrGedcqCGOsuZ7xaOQco0kEz5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=D+aI82cFrf8Nm4by6TreOHN1G0p30g9ubd+37p7KFSc=; b=Fpvqy8ZmLAFAauHjmz8kuqAkpeUdxs8ILMCjKqAocRafCttjfGIw9xJsiAd118BVqQSPHSphfjb2aV2HEpOiTokwknp8AA/zBc8Arn70hikj3+0qMBpCENl/tpI6zGjmyqOGTUj0/kvalzmXlQmHEsrKpoAIjJWXYpgjO0CEwxOKbSwBkHDiE+wYbOJBliOWMgqef0dLur+E0DDwBsgyucivLycS/By72OfNAiyBmXfTTGcADA5KmnrsgBCHwW7ycnMjDXTGY6XVMIDURykOFuziwUHeKFgWiA4l+xTL+gUENe4S7yLHa5DcmReE6W8ZrsrF+zq5VH0B/dIi4b0XSw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D+aI82cFrf8Nm4by6TreOHN1G0p30g9ubd+37p7KFSc=; b=LYBLJbBex3UN/cI2BxCahyn3nMRJL3NIdxTQeDLJARuvTlniOGzO/H0nCaQwooE5MH/njAnHrTxPgJ5eQB2ituRI7vMyH4SGo+xEkf0QbCHPOPo8ATV6QgDn06NMaCXI8AQlvGFUl97crJ5sWEYesQvTyQG2ncRGh0dzKTvg/ywAAD01G5bawUO38xecLIQUVfU8mKh8RrzThjqQEXIyBOZI/1Py2DIatlz5QcueasUoiDFiX5iYTfuJamouCZEdW1omgHdIBZzPhfRFTduCLqwWmY34t6KOgSOXKvNSsMdiX9bu3W3j9oqRK03eoBsJM+mrQkyi1dj+QYmLkvTwvA== Received: from CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) by PH7PR11MB7025.namprd11.prod.outlook.com (2603:10b6:510:208::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Thu, 26 Oct 2023 18:33:44 +0000 Received: from CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::a344:ee9f:be69:1aa3]) by CO1PR11MB4770.namprd11.prod.outlook.com ([fe80::a344:ee9f:be69:1aa3%7]) with mapi id 15.20.6933.019; Thu, 26 Oct 2023 18:33:43 +0000 Message-ID: Date: Thu, 26 Oct 2023 11:33:38 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: memory issue - bug? Content-Language: en-US To: questions@freebsd.org References: <475f5d52-26d2-4b92-af22-e57b71ccd0d6@gmx.at> From: "Edward Sanford Sutton, III" In-Reply-To: <475f5d52-26d2-4b92-af22-e57b71ccd0d6@gmx.at> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-TMN: [JrnYiBscq37opN6O2TaAlWIpNaHSjy2W] X-ClientProxiedBy: BL1PR13CA0410.namprd13.prod.outlook.com (2603:10b6:208:2c2::25) To CO1PR11MB4770.namprd11.prod.outlook.com (2603:10b6:303:94::19) X-Microsoft-Original-Message-ID: <864a7f01-50f3-5409-a7a9-082fae0b6ea8@hotmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PR11MB4770:EE_|PH7PR11MB7025:EE_ X-MS-Office365-Filtering-Correlation-Id: c9736d56-b252-4b8d-c14b-08dbd65214eb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DYYXFpc1e8ijHN4dFTtbdBwC4mOXMMJ5p7B2h7Ye/42hnGaPwo9lnczsyFuHC9Mhgg9S+8JpBQRST34n48fNijChhSjH1ljbhieyM3OsHVVqr5D6kg8wEDqPpxe5DaPPWVIn7G7Yay02N/iWVkgPJFdmK3Pv0Q1RVtAz10Wp5bKxaO4jzneoLqlZRAYK2aOUAe2XIS6Db71JgRgdnITYcV+uMYYdtsIBKtAleNzBUv7FN5sAcNil2uW7wFbGUes6WMYG+4VrSDOXbb9CINBBpSikBRJ663YQWILKpiQWXuuVfg/eTgutS42kEkWe/LwwozARXpCI0XOKu8qCVP1e2QoFC3NwJYvR960RM1LB/o00TkZlsjdwVGMUBeJw2//ZFDe8PE2H8w7l2uXBoS+Yts1eHBplqlRLQ6vU/LC0EGS8bEpNKvAoyQNW70mTTbAYNrj7uO4Lpo6pjnBqChyPQF5pVvUMwIGBXRTgdjaM+IvnIm04Fifdqt8oUtVQYetp0PNLVncaOeqiOwbrwviTx5MefDjxu5RbLX5I6wB/7Ywzd8ZwbsrHfJVfFKPlvriR X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bWdvM21mT2VmTkJSTGtTT3NFdGFIb01HdkwrSGhkTC9Va0gxY1E4bk84a2hF?= =?utf-8?B?bnZiTE5FUW1nL0ZDdG5aRW1yQ1ZlRWNMTmUzSXFhd2drNmtOTnp6dzVzQVFp?= =?utf-8?B?OTd2ZVhRbHBBbE1lVnNOblQxcHFmSHB0Nm44YnN1b0Nha05wK2hta1JDM0Fi?= =?utf-8?B?ck5nZXZKQlZVMkxBTmRlUnlPVWxuS0RNRVhIRVo5M2VPWVFlME9INi9WZ2xD?= =?utf-8?B?b1pPTUV1MzE2cFBaL0xRWm9VdXRBejR3RUp2eTBia3ZPeHJIQ3FUZ1U0dkhC?= =?utf-8?B?eWd5Q2tuTktlc3p4UnhLMlFvRHNTVTEwZ1ZDSWtXQmtINmZXY0hEamY5N1hi?= =?utf-8?B?c2dRejV6VkpwTURNb2h6QnoxM1ZaUUE1TEJBQTc4bXVqYzN3S2c0MUJOZHFL?= =?utf-8?B?TDlBVnUxcUtpTmtwbWlpU213Y1hxMGlQY0NkZklNOEF4L3lId1ZCRUM3TFg0?= =?utf-8?B?ZC9ycnpOTE9zSWhxUEZ3RXZiRWlFWVJEbXVUTGxRaWNScXIvRy92aE9zWjln?= =?utf-8?B?Z3lleWEwYll3WDd4N2twaXBQcWlPODJVWitzQnFxU0gxcEpQZXZ4S0d5UkJN?= =?utf-8?B?TlFyejhkRXpNNXA0NkU4eG1BOE5sa1cwQlVrVDJpMkNrcEplVWgyT1FobGU3?= =?utf-8?B?eUhnaFNBZnRsOHJHbGNvT3hQKy9CT0MrS3VRSC9RbXdYa0lLa3NnSHhLNGhh?= =?utf-8?B?T1dPUzFOTitRa1lXQ1lFKzFuMFJCRHhjMzVEa0RxSXhmb21xNVVYdkhBZHll?= =?utf-8?B?a1ZQbXdVUERSaWhRRmNEd2ZZcTJ5TWkyU0swbEtYMlREbXZjQ29LRUJQQWlh?= =?utf-8?B?b2w5cmI2NmVxWGthUGd5RnNzeDJnRTV4ZFB0UTJHSjUzYnlPYlBWbWlrdGJj?= =?utf-8?B?eDYzTGZqdG02SnhnK2NrdU1rOXlNRkI4N1gzSm9qTU8rUDFLcG9zWnV4bDZC?= =?utf-8?B?Yk0yR3U0N1IxSzZTMTdPUzlzK2g0RjFBK0hTZkpmTnVLeUhabXpIemFQZVlz?= =?utf-8?B?ck5pQWh6aTR5Y21wdkszVkxyMmhXa2F0STNRRzZsNE1iUTdhejFXMTErejdR?= =?utf-8?B?V2hiQkxibGxjMHV2SElIcFMxSUNEeFFuS0pLbGM1UGl5VlNjMy9KdVhudHFH?= =?utf-8?B?WFV0RGc0QUZPN0tQZytqQ2dra1hRNWdKMWxodmVYVFl1S2d4cFgwcWJRZFNH?= =?utf-8?B?ZHdBVjRuNEI0WFhYWWN1NXBmbU91Y0xXcTNuOWY3UVJyczh5a2w1K2lxV3RF?= =?utf-8?B?bDlRWDEzQlJQaktycmYra0d3Nk5oU0JZU2dOZ3dDbzA2TTRVTkhzY0FPUmVY?= =?utf-8?B?SC9id3lVb2tEVys4OVpxU2lWRFpINW55Qm9RUytjbm9Na243Wnh4TFUxdUZW?= =?utf-8?B?OGVneVk2WWVPQlRqVmhVeCtQZ251Q21GS3VxM1ZFdEFNbGRpUEM0RFIrUDJW?= =?utf-8?B?Q0FMbkhneXZvN2s4T2xzY0dEZkt5K3hhN1R1N09WUFdxMWoyRmpGbjdWaGxJ?= =?utf-8?B?QXlCTDhJbjIwcEZ0SndXWSszbmRPREhVeVQ3NW5BUHdpNzVUVUZSVFB6L3R0?= =?utf-8?B?TFd3WVdFMmlqZlVuNm9PcEV1ekxhTnlkTDlwQ0tGM0lFZTh1ZnYxTzlGb0o4?= =?utf-8?Q?+H45uPNva7KSQ+pLcPV8BDZ0uD8swsVAdWGF0rbBiXQw=3D?= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-e8f36.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: c9736d56-b252-4b8d-c14b-08dbd65214eb X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB4770.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 18:33:43.4448 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB7025 X-Spamd-Result: default: False [-1.16 / 15.00]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.97)[-0.967]; NEURAL_HAM_SHORT(-0.69)[-0.690]; DMARC_POLICY_ALLOW(-0.50)[hotmail.com,none]; R_DKIM_ALLOW(-0.20)[hotmail.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f400::/48]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[hotmail.com]; DWL_DNSWL_NONE(0.00)[hotmail.com:dkim]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[hotmail.com:+]; FREEMAIL_FROM(0.00)[hotmail.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4SGZF82PPfz3GrB X-Spamd-Bar: - On 10/21/23 01:56, infoomatic wrote: > Hi, > > I have encountered a strange memory issue with my pcengines APU2 > (running 13.2-RELEASE-p4). I use it as a firewall with pf and it acts as > a backup server with an external 4xdisk USB enclosure for a jail running > borg backup. Sometimes I do cache some videos from youtube using yt-dl - > this is where it becomes interesting. The box has 4GB of ram (and in > loader.conf is vfs.zfs.arc_max=268435456 configured), and sometimes > yt-dl needs too much memory, the system runs out of memory. The > following lines pop up in syslog: Your issue sounds like what I had when trying to run without swap (main issue) and had done some other recommended tweaking to have more vnodes for filesystem performance (other crashes/resource exhaustion). Have you tried it without running sysctl customization for zfs or otherwise? any other tweaks being applined in loader.conf or elsewhere? > swap_pager: cannot allocate bio How much swap does the system have? If none, does it still occur with a swap partition (I'd try at least the size of RAM). If you did have swap, any particular strange aspects to it (multiple partitions on different disks or of different size parttitions?) I have my desktop PC with its power button giving an orderly shutdown command to FreeBSD. Pressing that gives a single flicker of hard drive light activity and would 'almost' always shut down the system when in such a state (caused by RAM being used up by poudriere jobs, firefox, or even writing something to allocate too much memory which I used to be able to use to 'flush' zfs cache from it). With 32GB RAM I gave it 32GB swap with better results than none (system being nearly unresponsive once enough RAM was being used up) or too little (4GB swap would normally stay responsive but lead to less sane choices of crashing programs like xorg or nvidia graphics module when other programs were using up too much RAM). > and many lines like > pid 23342 (getty), jid 0, uid 0, was killed: failed to reclaim memory > pid 5935 (tmux), jid 0, uid 1001, was killed: failed to reclaim memory > pid 14258 (top), jid 0, uid 0, was killed: failed to reclaim memory > > When I encounter the out of memory situation, I logged in and inspected > the system. The system was sluggish and it reported that 0-16 MB RAM was > used.,  I saw that only basic system services are running [1]. > Starting top tells me that "Free" memory is ~ 800MB, and constantly > declining: > > Mem: 8816K Active, 11M Inact, 3344M Wired, 548M Free > > top -o res shows me top the process (18 processes: 1 running, 17 > sleeping) occupying the most memory (~3MB): > > 78154 root          1  20    0    14M  3172K CPU3     3   0:00   0.17% top > > I can just watch the systems wired memory going up until everything is > dying. Disabling and re-enabling swap has no effect. Top is killed after > about 2 minutes, and I am kicked out. I can login again shortly after, > but the same situation happens again: Free memory going down and Wired > going up. PF continues to work but I cannot start a backup or any file > operation because they just die after a short while. > > Has someone an idea to debug this ... or a workaround? > > Thanks for sharing your ideas! > > Robert > > > > [1]ps auxwww: > USER     PID  %CPU %MEM   VSZ  RSS TT  STAT STARTED        TIME COMMAND > root      11 198.5  0.0     0   64  -  RNL  Sun18   19955:10.62 [idle] > root       0 101.2  0.1     0 2832  -  DLs  Sun18    7354:27.71 [kernel] > root       5 100.0  0.1     0 2080  -  RL   Sun18    1307:50.45 [zfskern] > root   44547   2.1  0.1 14908 2800  0  S    10:41       0:00.11 bash > root       7   1.0  0.0     0   48  -  DL   Sun18       3:47.38 > [pagedaemon] > robert 42128   0.9  0.1 21508 2112  -  S    10:41       0:00.06 sshd: > robert@pts/0 (sshd) > root   41079   0.7  0.0 21508 1584  -  Ss   10:41       0:00.26 sshd: > robert [priv] (sshd) > root       1   0.0  0.0 11768   36  -  SLs  Sun18       0:02.07 /sbin/init > root       2   0.0  0.0     0   64  -  DL   Sun18       0:00.00 [KTLS] > root       3   0.0  0.0     0   80  -  DL   Sun18       0:00.00 [crypto] > root       4   0.0  0.0     0   32  -  DL   Sun18      86:34.52 [cam] > root       6   0.0  0.0     0   16  -  DL   Sun18       1:28.84 > [rand_harvestq] > root       8   0.0  0.0     0   16  -  DL   Sun18       1:47.46 [vmdaemon] > root       9   0.0  0.0     0   48  -  DL   Sun18       0:19.60 [bufdaemon] > root      10   0.0  0.0     0   16  -  DL   Sun18       0:00.00 [audit] > root      12   0.0  0.0     0  240  -  WL   Sun18      98:16.01 [intr] > root      13   0.0  0.0     0   48  -  DL   Sun18       0:00.92 [geom] > root      14   0.0  0.0     0   16  -  DL   Sun18       0:00.00 > [sequencer 00] > root      15   0.0  0.0     0  160  -  DL   Sun18     126:23.98 [usb] > root      16   0.0  0.0     0   16  -  DL   Sun18       0:12.04 > [acpi_thermal] > root      17   0.0  0.0     0   16  -  DL   Sun18       0:07.64 [vnlru] > root      18   0.0  0.0     0   16  -  DL   Sun18       0:21.84 [syncer] > root      19   0.0  0.0     0   16  -  DL   Sun18       7:37.35 [racctd] > root    1265   0.0  0.0     0   16  -  DL   Sun18     156:54.73 > [g_eli[0] gpt/hd001] > root    1537   0.0  0.0     0   16  -  DL   Sun18     158:36.95 > [g_eli[1] gpt/hd001] > root    1934   0.0  0.0     0   16  -  DL   Sun18     161:37.98 > [g_eli[2] gpt/hd001] > root    2196   0.0  0.0     0   16  -  DL   Sun18     159:34.59 > [g_eli[3] gpt/hd001] > root    3057   0.0  0.0     0   16  -  DL   Sun18     157:32.36 > [g_eli[0] gpt/hd002] > root    3334   0.0  0.0     0   16  -  DL   Sun18     159:15.82 > [g_eli[1] gpt/hd002] > root    3574   0.0  0.0     0   16  -  DL   Sun18       0:00.25 [aiod1] > root    3751   0.0  0.0     0   16  -  DL   Sun18     161:45.95 > [g_eli[2] gpt/hd002] > root    3889   0.0  0.0     0   16  -  DL   Sun18       0:00.24 [aiod2] > root    4138   0.0  0.0     0   16  -  DL   Sun18       0:00.25 [aiod3] > root    4252   0.0  0.0     0   16  -  DL   Sun18     160:35.16 > [g_eli[3] gpt/hd002] > root    4397   0.0  0.0     0   16  -  DL   Sun18       0:00.24 [aiod4] > root    5008   0.0  0.0     0   16  -  DL   Sun18     156:54.76 > [g_eli[0] gpt/hd011] > root    5009   0.0  0.0     0   16  -  DL   Sun18     158:16.99 > [g_eli[1] gpt/hd011] > root    5457   0.0  0.0     0   16  -  DL   Sun18     161:03.34 > [g_eli[2] gpt/hd011] > root    5929   0.0  0.0     0   16  -  DL   Sun18     159:37.17 > [g_eli[3] gpt/hd011] > root    9001   0.0  0.0 21068  328  -  Ss   Sun18       0:00.25 sshd: > /usr/sbin/sshd [listener] 0 of 10-100 startups (sshd) > root   10008   0.0  0.0 12908    4  -  IWs  -           0:00.00 > /usr/sbin/cron -s > root   43429   0.0  0.0     0   16  -  DL   Sun18      11:45.45 [pf purge] > root   78988   0.0  0.0 12868  300  -  Ss   Sun18       0:17.57 > /usr/sbin/syslogd -ss > root   84156   0.0  0.0     0   16  -  DL   Sun18      35:19.32 > [g_eli[0] gpt/hd037] > root   84470   0.0  0.0     0   16  -  DL   Sun18      35:53.31 > [g_eli[1] gpt/hd037] > root   85309   0.0  0.0     0   16  -  DL   Sun18      38:08.91 > [g_eli[2] gpt/hd037] > root   86045   0.0  0.0     0   16  -  DL   Sun18      37:08.59 > [g_eli[3] gpt/hd037] > root   86051   0.0  0.0     0   16  -  DL   Sun18      35:51.55 > [g_eli[0] gpt/hd038] > root   86644   0.0  0.0     0   16  -  DL   Sun18      36:03.03 > [g_eli[1] gpt/hd038] > root   87199   0.0  0.0     0   16  -  DL   Sun18      37:56.77 > [g_eli[2] gpt/hd038] > root   87235   0.0  0.0     0   16  -  DL   Sun18      37:21.79 > [g_eli[3] gpt/hd038] > root   87490   0.0  0.0     0   16  -  DL   Sun18      35:39.81 > [g_eli[0] gpt/hd039] > root   87546   0.0  0.0     0   16  -  DL   Sun18      35:43.55 > [g_eli[1] gpt/hd039] > root   87988   0.0  0.0     0   16  -  DL   Sun18      38:05.54 > [g_eli[2] gpt/hd039] > root   88507   0.0  0.0     0   16  -  DL   Sun18      37:06.09 > [g_eli[3] gpt/hd039] > root   88536   0.0  0.0     0   16  -  DL   Sun18      35:28.86 > [g_eli[0] gpt/hd040] > root   89143   0.0  0.0     0   16  -  DL   Sun18      37:09.63 > [g_eli[1] gpt/hd040] > root   89723   0.0  0.0     0   16  -  DL   Sun18      37:56.60 > [g_eli[2] gpt/hd040] > root   90441   0.0  0.0     0   16  -  DL   Sun18      37:08.54 > [g_eli[3] gpt/hd040] > root   97972   0.0  0.0 12836   36 u0  Is+  10:22       0:00.01 > /usr/libexec/getty 3wire ttyu0 > root   34488   0.0  0.0 12836   36 v0  Is+  10:39       0:00.01 > /usr/libexec/getty Pc ttyv0 > root   97710   0.0  0.0 12836   36 v1  Is+  10:22       0:00.01 > /usr/libexec/getty Pc ttyv1 > root   33736   0.0  0.0 12836   36 v2  Is+  10:38       0:00.02 > /usr/libexec/getty Pc ttyv2 > root      22   0.0  0.0 12836   36 v3  Is+  10:25       0:00.02 > /usr/libexec/getty Pc ttyv3 > root   34562   0.0  0.0 12836   36 v4  Is+  10:39       0:00.01 > /usr/libexec/getty Pc ttyv4 > root   33901   0.0  0.0 12836   36 v5  Is+  10:39       0:00.01 > /usr/libexec/getty Pc ttyv5 > root      20   0.0  0.0 12836   36 v6  Is+  06:06       0:00.01 > /usr/libexec/getty Pc ttyv6 > root      21   0.0  0.0 12836   36 v7  Is+  07:12       0:00.01 > /usr/libexec/getty Pc ttyv7 > robert 42985   0.0  0.0 13580    4  0  SWs  -           0:00.00 -sh (sh) > robert 43832   0.0  0.0 14908    4  0  SW   -           0:00.00 > /usr/local/bin/bash > root   45136   0.0  0.1 13444 2160  0  R+   10:41       0:00.02 ps auxwww > From nobody Thu Oct 26 23:16:09 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SGhWb6TbGz4yP1s for ; Thu, 26 Oct 2023 23:16:43 +0000 (UTC) (envelope-from tom@khubla.com) Received: from mailout.easymail.ca (mailout.easymail.ca [64.68.200.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGhWb4Jvvz4CnT for ; Thu, 26 Oct 2023 23:16:43 +0000 (UTC) (envelope-from tom@khubla.com) Authentication-Results: mx1.freebsd.org; none Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 28768644AF; Thu, 26 Oct 2023 23:16:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KYrDvH6dQUGp; Thu, 26 Oct 2023 23:16:11 +0000 (UTC) Received: from gargamel-2.ascot.khubla.lan (d198-166-24-90.abhsia.telus.net [198.166.24.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 40E98644AC; Thu, 26 Oct 2023 23:16:11 +0000 (UTC) Subject: Re: Kernel module for Proxmox hypervisor To: Felix Reichenberger Cc: Olivier Nicole , Freebsd Questions References: From: Tom Everett Message-ID: <0d80b6ba-7792-a014-64a0-83398b93f2f6@khubla.com> Date: Thu, 26 Oct 2023 17:16:09 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------1903DC435ED39B24E7B16A69" Content-Language: en-US X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16686, ipnet:64.68.200.0/22, country:CA] X-Rspamd-Queue-Id: 4SGhWb4Jvvz4CnT This is a multi-part message in MIME format. --------------1903DC435ED39B24E7B16A69 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit I was just looking at this.  It appears to require this in "/boot/loader.conf" virtio_console_load="YES" Here is the ansible play I use - name: install qemu-guest-agent ansible.builtin.command: cmd: "pkg install -y qemu-guest-agent" - name: add startup line in /etc/rc.conf ansible.builtin.lineinfile: path: '/etc/rc.conf' line: 'qemu_guest_agent_enable="YES"' - name: add config line in /etc/rc.conf ansible.builtin.lineinfile: path: '/etc/rc.conf' line: 'qemu_guest_agent_flags="-d -v -l /var/log/qemu-ga.log"' - name: enable virtio_console_load ansible.builtin.lineinfile: path: /boot/loader.conf line: virtio_console_load="YES" regex: virtio_console_load - name: load virtio_console ansible.builtin.shell: cmd: 'kldload virtio_console' ignore_errors: true - name: start service qemu-guest-agent ansible.builtin.service: name: qemu-guest-agent state: restarted async: 45   poll: 5 > Felix Reichenberger > October 26, 2023 at 4:48 AM > Hi, > > you can take a loot at qemu-guest-agent (emulators/qemu) > > Regards > > Olivier > October 24, 2023 at 8:40 PM > Hi, > > I am wondering if there is a kernel module to install for a FreeBSD > virtual machine on a Proxmox hypervisor, something like open-vm-tools > for VMware. > > Thanks in advance, > > Olivier -- Sent from Postbox --------------1903DC435ED39B24E7B16A69 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I was just looking at this.  It appears to require this in "/boot/loader.conf"

virtio_console_load="YES"

Here is the ansible play I use

- name: install qemu-guest-agent
  ansible.builtin.command:
    cmd: "pkg install -y qemu-guest-agent"

- name: add startup line in /etc/rc.conf
  ansible.builtin.lineinfile:
    path: '/etc/rc.conf'
    line: 'qemu_guest_agent_enable="YES"'

- name: add config line in /etc/rc.conf
  ansible.builtin.lineinfile:
    path: '/etc/rc.conf'
    line: 'qemu_guest_agent_flags="-d -v -l /var/log/qemu-ga.log"'

- name: enable virtio_console_load
  ansible.builtin.lineinfile:
    path: /boot/loader.conf
    line: virtio_console_load="YES"
    regex: virtio_console_load

- name: load virtio_console
  ansible.builtin.shell:
    cmd: 'kldload virtio_console'
  ignore_errors: true

- name: start service qemu-guest-agent
  ansible.builtin.service:
    name: qemu-guest-agent
    state: restarted
  async: 45
  poll: 5


October 26, 2023 at 4:48 AM
Hi,

you can take a loot at qemu-guest-agent (emulators/qemu)

Regards

October 24, 2023 at 8:40 PM
Hi,

I am wondering if there is a kernel module to install for a FreeBSD
virtual machine on a Proxmox hypervisor, something like open-vm-tools
for VMware.

Thanks in advance,

Olivier

--
Sent from Postbox
--------------1903DC435ED39B24E7B16A69-- From nobody Sat Oct 28 21:17:24 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SHsnM1HQJz4y3NQ for ; Sat, 28 Oct 2023 21:17:43 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4SHsnL2zpzz4VHt for ; Sat, 28 Oct 2023 21:17:42 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org; dmarc=none Received: from smtpclient.apple (unknown [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4SHsnB4sWMz2fjV0 for ; Sat, 28 Oct 2023 14:17:34 -0700 (PDT) From: Doug Hardie Content-Type: multipart/alternative; boundary="Apple-Mail=_1487638A-9F7E-4E1C-AAE1-855F464DF067" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: sshd_config Message-Id: <39519569-A25A-448B-A85D-48B047530CF8@sermon-archive.info> Date: Sat, 28 Oct 2023 14:17:24 -0700 To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.700.6) X-Virus-Scanned: clamav-milter 1.1.2 at mail X-Virus-Status: Clean X-Spamd-Result: default: False [-2.53 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; NEURAL_HAM_SHORT(-0.95)[-0.945]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ONCE_RECEIVED(0.10)[]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4SHsnL2zpzz4VHt X-Spamd-Bar: -- --Apple-Mail=_1487638A-9F7E-4E1C-AAE1-855F464DF067 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Where can I find the distributed copy of sshd_config for 14.0-rc? My = sshd_config is modified so freebsd-update does not give me any info on = the changes other than it was changed. Apparently there is at least one = new entry that I need to change. I am wondering if there are more. =20 There used to be a way on the web site to view any source file for a = distribution, but I am not finding that anymore. -- Doug --Apple-Mail=_1487638A-9F7E-4E1C-AAE1-855F464DF067 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii Where can I find the distributed copy of sshd_config for 14.0-rc?  My sshd_config is modified so freebsd-update does not give me any info on the changes other than it was changed.  Apparently there is at least one new entry that I need to change.  I am wondering if there are more.  

There used to be a way on the web site to view any source file for a distribution, but I am not finding that anymore.

-- Doug

--Apple-Mail=_1487638A-9F7E-4E1C-AAE1-855F464DF067--