From nobody Mon Jul 7 01:20:47 2025 X-Original-To: freebsd-current@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 4bb5z61xXCz60sMq for ; Mon, 07 Jul 2025 01:20:50 +0000 (UTC) (envelope-from rebecca@bsdio.com) Received: from fhigh-a5-smtp.messagingengine.com (fhigh-a5-smtp.messagingengine.com [103.168.172.156]) (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 4bb5z53t93z4B7n for ; Mon, 07 Jul 2025 01:20:49 +0000 (UTC) (envelope-from rebecca@bsdio.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdio.com header.s=fm3 header.b=PzuIIzym; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="MxnzEq/e"; spf=pass (mx1.freebsd.org: domain of rebecca@bsdio.com designates 103.168.172.156 as permitted sender) smtp.mailfrom=rebecca@bsdio.com; dmarc=none Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 7C7CD140037E for ; Sun, 6 Jul 2025 21:20:48 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sun, 06 Jul 2025 21:20:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1751851248; x=1751937648; bh=GeCcnIZW3N ukax4eiz7qU9F6ElZgBHXkdYXSPc1eJgE=; b=PzuIIzymHXSGMNl10/gxFi/6IO XZRivvAICLnua1+kNsF9tBjWsCRRNGTDBSDUn0GMebeJ+UeAfyzdooNUygXWTDvA PdeQhwG4xUhdw/9z0eFABqov5hA5zvDpkWdMaLviekA0q6Qeu5IwBWLK5SZmj6+s iH7mllUGgAtYfxcL/HH++PcET1YTaSP7D/vVOttM5QTEf8UFr0itjVdMTsNYffY0 kabDcpfR+2l0ZSvoNLl7nu0Y88NAddBTHoo0nVIF0zxjHW8REi3T75BKgfvl7qxu Qx37UADCcH7Jk1OiAnjmvqPEwoa6Ima/j+dHoIduqo2KNPKYFgcm+uWTjP0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1751851248; x=1751937648; bh=GeCcnIZW3Nukax4eiz7qU9F6ElZgBHXkdYX SPc1eJgE=; b=MxnzEq/efiYXIltYBxJWyUneawCbCzATmSweZ4uYyK6XBMPvvUY cpVF59zniGTamf7sB+W8ss5CAvuFt9ZsdXEjbdwQwQZ5EnMQD92L5/+BdVPFqghF j1jfU1K7wzSPTdD3M1S9Qpn9HAxBK37e/WUf+DI58tr5qqM3oSG77DJzBJYnRf7k H0cHFFLI/Kkg9C4xuW01yPfSfZREUf+p1m0J5+xdvYMGfgXR6iRIqLlUh5+KFA0d 84ephXDRSS9bLm6WZJPi9apfGm9tKO6LzkLrHmJSYXwuf6yF4pogC7+fUcyyGc+R OdnRbKrlI2WWoVtgW72itL4F22xil8ZwaNg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeftdegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfvffhufgtgfesthejredttddvje enucfhrhhomheptfgvsggvtggtrgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdr tghomheqnecuggftrfgrthhtvghrnhepkeegjeefteefudeivddvtdehvdeuleeffffgve eihfelhfekkeegteetvedvledvnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggvtg gtrgessghsughiohdrtghomhdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepfhhrvggvsghsugdqtghurhhrvghnthesfhhrvggvsghsugdroh hrgh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 6 Jul 2025 21:20:47 -0400 (EDT) Message-ID: Date: Sun, 6 Jul 2025 19:20:47 -0600 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: FreeBSD-CURRENT Content-Language: en-US From: Rebecca Cran Subject: Snapshot ISO images disappeared or moved? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-1.30 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.975]; NEURAL_HAM_SHORT(-0.96)[-0.956]; NEURAL_SPAM_LONG(0.23)[0.226]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; R_DKIM_ALLOW(-0.20)[bsdio.com:s=fm3,messagingengine.com:s=fm2]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.156:from]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:151847, ipnet:103.168.172.0/24, country:AU]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[bsdio.com]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[bsdio.com:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4bb5z53t93z4B7n X-Spamd-Bar: - I just went to download the latest 15-CURRENT snapshot from https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/ but it's empty. Have the snapshots been moved somewhere else? -- Rebecca Cran From nobody Mon Jul 7 01:42:18 2025 X-Original-To: freebsd-current@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 4bb6SF2dspz60vqN for ; Mon, 07 Jul 2025 01:42:37 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bb6SF0bpsz3Fvw for ; Mon, 07 Jul 2025 01:42:37 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-ae3703c2a8bso527795466b.0 for ; Sun, 06 Jul 2025 18:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1751852551; x=1752457351; darn=freebsd.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=0Q1XXZspoe5EJ0FhJRk9mLskDcD2pgFvnxsgb3vfmb4=; b=eIYvyV9nRiZ7j0qMfRtPoiBGU+fnMz5RQ/xEakmI1IxYolVJn80c2pl3NdsFFrLQ/C TKdcaFvnWOPVL3x3Cr1wJaIUysTF3tZgduonm5w5Czp7R7Di2Lo/veMRD62JJbzcsefX 7u/tj+U+EQFeuX/WbwIaSBLjjLYjzOOE+uCXGzv3tg+/SDu3zsjq2jXHKwQGgTdN77PB GsuDzOkLfzCurPiZVgT6v8b4ft3j6OxkY74R7K+qfeloONNIwF8AG4Eh07CffM1CLGS/ hldCIkFL5aOLZG5t0OE8LarPDg1Ap96uWQFjY33iGhl/h83L2gKeydUj92j4PPO40lMx thKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751852551; x=1752457351; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0Q1XXZspoe5EJ0FhJRk9mLskDcD2pgFvnxsgb3vfmb4=; b=FJsJikBgRSm144Zjo/Qxky2B9vy1rzy+uuWyjpEn6rlJ6P+tEF2FLvijsVVBSWo9zH i48hg7oWvhsbkpvoEj5Yjv8LziLhGRVYy+gRIbtLurFdRqCEE0Z8aCl9G4k7CkcmGf/z gHCKKG9XMdeU9RBrSBi3ljnSGblj7mPClRC5rGa/Wjpjqx0FGFZezOnBfZzd3czSBtjG yErrSH0nxrcVCR8qCdx6g7/Y7dI36A3FSQcEPqTtNj7AY8lp8zCHrWrPKC1bg9WJJBoH YGo/p4huTBUieEx/QUSQSTEEQDun9lnN0XQF20rEWHg1atLqoZgvA5uX6BwPLU7RZ2KD eJow== X-Forwarded-Encrypted: i=1; AJvYcCVXh/1gePybtxFP+B8zXMlbXdzC9KOb6acXHq0I3VgsDign7RA/AFwT9QsT9V2xRtSiFBrDf0Lp/m0LAaWbzPA=@freebsd.org X-Gm-Message-State: AOJu0YynrrNhGbuDiQ4D0EteQkeDfqGUtLRGYm8LBZmRpKsBMpz4t3j8 pcwi3Jlbx733Pn9yIvNy+aVJ6vouTi4tm+BCnrl4Ae/eTs+plp5PBCc1t5FbPQ== X-Gm-Gg: ASbGncseto+eCMcseReeD3bdiXxtvTpdnahOejzZT+xxqGXvfh9/bqtR40piO86GKFD 7NZVSuyJvvv/2H1M3aN/7tfGvlUWXigRza8H+EvTN+sCmFI58fHVAmYehtW1g02XrB7XY9IrG0g QPunHM0SSs2WYKgXB2uINLXmqhCAeNdBvuZo5zWOqLuRuCJKxbRIkvPDAbn3dt7cKXQCTjO/+aS fgVw1jGUdECa4Xd2GOSh0U7NQNUmYUyjG2qpneD0dYGuyiJLCB+yy8WeiKvmGwEjaQUKJqzuccW uWUq5kLb7HH8qKS6YmWncx7OZwDMIjcs5mKC0b3EkJ2zZq23Hf0m7rWboPCVNJOfCDkdtMtF51b ZnLSm10aKaYYN8vXdKv/i0NX9LsEP7K6Nk+4lThMHW7ABacl46q3/X39nbZQbThrk4jwKxGYt36 2TTfklVOoM X-Google-Smtp-Source: AGHT+IEdBsOsUM8Hx/CsNKDspLp1i1SESWUs1GeadBgMhHRzpWG1h6/FK2kOXaYTVI4kyQus0CTZpQ== X-Received: by 2002:a17:907:72c8:b0:adb:2e9f:5d11 with SMTP id a640c23a62f3a-ae4109d2b79mr668064166b.37.1751852550515; Sun, 06 Jul 2025 18:42:30 -0700 (PDT) Received: from smtpclient.apple (dynamic-046-114-113-240.46.114.pool.telefonica.de. [46.114.113.240]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-ae3f66e7d4asm596806866b.23.2025.07.06.18.42.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 06 Jul 2025 18:42:29 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: Snapshot ISO images disappeared or moved? Date: Mon, 7 Jul 2025 03:42:18 +0200 References: To: Rebecca Cran , freebsd-current@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3826.600.51.1.1) X-Rspamd-Queue-Id: 4bb6SF0bpsz3Fvw 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:15169, ipnet:2a00:1450::/32, country:US] https://download.freebsd.org/snapshots/amd64/amd64/ISO-IMAGES/15.0/ https://download.freebsd.org/snapshots/i386/i386/ISO-IMAGES/15.0/ https://download.freebsd.org/snapshots/powerpc/powerpc/ISO-IMAGES/15.0/ = https://download.freebsd.org/snapshots/powerpc/powerpc64/ISO-IMAGES/15.0/ = https://download.freebsd.org/snapshots/powerpc/powerpc64le/ISO-IMAGES/15.0= / = https://download.freebsd.org/snapshots/powerpc/powerpcspe/ISO-IMAGES/15.0/= https://download.freebsd.org/snapshots/arm/armv7/ISO-IMAGES/15.0/ https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/15.0/ https://download.freebsd.org/snapshots/riscv/riscv64/ISO-IMAGES/15.0/ Regards K. > Am 07.07.2025 um 03:20 schrieb Rebecca Cran : >=20 > I just went to download the latest 15-CURRENT snapshot from = https://download.freebsd.org/snapshots/ISO-IMAGES/15.0/ but it's empty. >=20 > Have the snapshots been moved somewhere else? >=20 >=20 > --=20 > Rebecca Cran >=20 >=20 From nobody Mon Jul 7 09:38:46 2025 X-Original-To: freebsd-current@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 4bbK1m2KxNz61FYg for ; Mon, 07 Jul 2025 09:38:52 +0000 (UTC) (envelope-from cyric@mm.st) Received: from fhigh-b1-smtp.messagingengine.com (fhigh-b1-smtp.messagingengine.com [202.12.124.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbK1k6kkCz3Rtt for ; Mon, 07 Jul 2025 09:38:50 +0000 (UTC) (envelope-from cyric@mm.st) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm2 header.b=E+8mJA+V; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=FBVBBY4W; spf=pass (mx1.freebsd.org: domain of cyric@mm.st designates 202.12.124.152 as permitted sender) smtp.mailfrom=cyric@mm.st; dmarc=pass (policy=none) header.from=mm.st Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id A570F7A01DB for ; Mon, 7 Jul 2025 05:38:49 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 07 Jul 2025 05:38:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1751881129; x=1751967529; bh=GwN3OONxItLIHoYxD6Gn04lEk4sqnB0RSLUj6Zoknfs=; b= E+8mJA+VeSzhh8aYH8Nvt/XOtW+n4r1mz9EvSiSIF2UrVi5z+VuStQdRG7olvleb z+nqaWJ6pvEoKCbwTmRKpIi7/50aSfgq+dJHyJbgVTKokpocNKlOmK47ufKNmbUz lV7wtjnfx1nSOiVV2Zclwielup/jyE8mOaVlAVgayIoO0Pj4iAorieWXmHjfwP8T sACHK4m+fufR9y9zsL0pxX2yweyB4LKHfukDy4IHkZxV5hfgNS+WDaCqXspXqqm2 1pL+cGDuDhrc+KaqexmwJnGe1sO7dlve+NEXkJekkDHqDxYdXvMFDnRO7Qi0qr3p 0Jj7fo9aDmZ7jehfkGbhPw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1751881129; x=1751967529; bh=G wN3OONxItLIHoYxD6Gn04lEk4sqnB0RSLUj6Zoknfs=; b=FBVBBY4WaTr9nRCVR KYPppKoXIbAyocoXnyPMrMIDlZOMQLD6oMUKH5szTSukCUjGcNUlzHMNkRjt85jM oW7Gg5SXdJxDhayNRPEC1kkf1R3kQ5GJELvee/PQ/5Zwy7VHF2g4XSDhXL7Cr8cJ VBWihGvSmiiIaKET8QvUJPcBedr4LsJs8vk4wpiCCW3R0iIItx9ct34QHl8RACIK FsA7QNunN8u1sagKX98In9bfaILv/hLOLHO9K7B4BPnTnmB3Y9xCuhAhT7nXn3Eg blaByxWELgvHC93mnMuUUylTC0mR3Na9mPfiBVwmgHes4XAt2b0fUrwX8+Wu7rgH G+rOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdefudegiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttd dvjeenucfhrhhomheptgihrhhitgesmhhmrdhsthenucggtffrrghtthgvrhhnpeevveel gffgudffgefghfefteffleduhfekgfevledtheefleeftefghefggfeggeenucffohhmrg hinhepfhhrvggvsghsugdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpegthihrihgtsehmmhdrshhtpdhnsggprhgtphhtthhopedupd hmohguvgepshhmthhpohhuthdprhgtphhtthhopehfrhgvvggsshguqdgtuhhrrhgvnhht sehfrhgvvggsshgurdhorhhg X-ME-Proxy: Feedback-ID: icc3648d4:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 7 Jul 2025 05:38:48 -0400 (EDT) Message-ID: <0f528442-3635-4d90-a69a-485a9e905ff2@mm.st> Date: Mon, 7 Jul 2025 16:38:46 +0700 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Snapshot ISO images disappeared or moved? To: freebsd-current@freebsd.org References: Content-Language: en-US From: cyric@mm.st In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.52 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(0.83)[0.826]; NEURAL_SPAM_SHORT(0.79)[0.795]; DMARC_POLICY_ALLOW(-0.50)[mm.st,none]; R_DKIM_ALLOW(-0.20)[mm.st:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:202.12.124.128/27]; RCVD_IN_DNSWL_LOW(-0.10)[202.12.124.152:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[mm.st]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[mm.st]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; ASN(0.00)[asn:151847, ipnet:202.12.124.0/24, country:AU]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NO_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Queue-Id: 4bbK1k6kkCz3Rtt X-Spamd-Bar: / Rebecca Cran wrote: > I just went to download the latest 15-CURRENT snapshot from https:// > download.freebsd.org/snapshots/ISO-IMAGES/15.0/ but it's empty. > > Have the snapshots been moved somewhere else? All downloads are linked on https://www.freebsd.org/where/ page. From nobody Mon Jul 7 10:04:07 2025 X-Original-To: freebsd-current@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 4bbKbR2RhJz61JRm for ; Mon, 07 Jul 2025 10:04:35 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbKbQ3PlHz3cfV for ; Mon, 07 Jul 2025 10:04:34 +0000 (UTC) (envelope-from 6yearold@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=6yearold@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none) Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-e81749142b3so2270258276.3 for ; Mon, 07 Jul 2025 03:04:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751882673; x=1752487473; 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=Pt7XVWREO/ddoQQOwSd96pTs9LTpQNrYsZXcKibr4Uw=; b=wHGJMsQtvRsDcq2QdkMb+9LYFW6c/cCUwcj2f4kOuHgb4d1IOFMSjylDBhnEPP3C8L GkLMUrqdqeAurpXV3iLQVMUZLDU+VCmPmlO/7gvMgqV78UD7e8OP4PxMMoin1sCgWcmA WLbAXDlasbbK2qNHUR1keblcEJ+v5Zmv7BtkBnba5M8Lm8PqDUOu/uOli/miQFGE/45b +0DLzvYvyJTCkxPrD11wcNbH1nIhjZqZeX5WOjGY1zitDjDkJeGWLYIgXoWBoIwr0Nwe 1UTihJ0x1MgQTQiJLYx0gfYjE0xQOlg57ruwyNaIGuVAW1ryAvul8mrxMz90TdO/JzPr GUeQ== X-Gm-Message-State: AOJu0YyRcV0MIRiYh4orb43wq0c3xez3+9Wd/P+rSZSYCMLAfuXSyCqz x9s7TdAKGs5/fuBXzdSmoP1eDV//808K9bdEsf2XlvKddwULYGurgQskPSSc4/oz X-Gm-Gg: ASbGncsvFn1WNnEOQHzQKYe9Av5siztNT4VDIqmB97gwQsVofaV6KG8IVYsA2C/tsBh B9vFLTub3u0TZ/8JVeER9o1iXAzCqn1LOfbOeY0ViXDQ6dS7EhGtTahU08GwzOOWNQjbKHj2xxz 4+9bvyt+AVMeDir1cDA/+W6VA0QMEziwPF7XAc8R1eF6LXuWPpdLNtTkj92ScglslU+4XiZCTCr LNQSZdkuvg6nvVlyVPOSOMng76uxXjm8i90NuKnVcTxzBWZko1yo93cj5IxczgP0aPFF/jBhikZ o82pP7IUfOZw/jqqNoFJ4TpXyTS/e49YsQztq8FTK1tdr+3hLzt+MeEn5aSAQ1ls2apfd6LPwug 1zptqSudG+eVZyO1Z3cu3pTpvhQ== X-Google-Smtp-Source: AGHT+IH8unk9ezGCf0xVj8XXZRe8SWh1trLEo4Pu6AyATct7uHL13heCvZPdpK8rx8l37J9XRzBOeQ== X-Received: by 2002:a05:6902:2185:b0:e82:450e:d7b3 with SMTP id 3f1490d57ef6-e8b3cd9496cmr8982136276.44.1751882673410; Mon, 07 Jul 2025 03:04:33 -0700 (PDT) Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com. [209.85.219.176]) by smtp.gmail.com with ESMTPSA id 3f1490d57ef6-e899c440860sm2543402276.30.2025.07.07.03.04.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Jul 2025 03:04:33 -0700 (PDT) Received: by mail-yb1-f176.google.com with SMTP id 3f1490d57ef6-e897c8ca777so2675859276.2 for ; Mon, 07 Jul 2025 03:04:33 -0700 (PDT) X-Received: by 2002:a05:690c:3502:b0:70e:2d30:43d6 with SMTP id 00721157ae682-7176ccf23famr96906787b3.38.1751882673033; Mon, 07 Jul 2025 03:04:33 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Gleb Popov Date: Mon, 7 Jul 2025 13:04:07 +0300 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXy-q4yM4MDYBs9P6Vksq2o_kjC0Tzc0SItyzmGN8i5qyXXDsfaVEHmixak Message-ID: Subject: Re: Snapshot ISO images disappeared or moved? To: FreeBSD-CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [3.81 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_LONG(1.00)[0.997]; NEURAL_SPAM_MEDIUM(0.94)[0.940]; NEURAL_SPAM_SHORT(0.77)[0.771]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.219.169:from,209.85.219.176:received]; TO_DOM_EQ_FROM_DOM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.219.169:from]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bbKbQ3PlHz3cfV X-Spamd-Bar: +++ Speaking of snapshots, the last CURRENT snapshot dates back to 2025-Jun-26. Anyone know an ETA for a new snapshot build? From nobody Mon Jul 7 11:43:04 2025 X-Original-To: current@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 4bbMn85FFkz61Wjw for ; Mon, 07 Jul 2025 11:43:08 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4bbMn63PkNz3MTD for ; Mon, 07 Jul 2025 11:43:06 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org; dmarc=none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 567Bh4fU020836 for ; Mon, 7 Jul 2025 11:43:04 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 567Bh45B020835 for current@freebsd.org; Mon, 7 Jul 2025 04:43:04 -0700 (PDT) (envelope-from david) Date: Mon, 7 Jul 2025 04:43:04 -0700 From: David Wolfskill To: current@freebsd.org Subject: Something seems a bit odd with pipes after main-n278435-945ba658d803 Message-ID: Mail-Followup-To: David Wolfskill , current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="n9H+jLSfN2S6Ydqw" Content-Disposition: inline X-Spamd-Result: default: False [-2.07 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_SPAM_MEDIUM(0.91)[0.907]; NEURAL_HAM_SHORT(-0.72)[-0.723]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; NEURAL_SPAM_LONG(0.14)[0.145]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; DMARC_NA(0.00)[catwhisker.org]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bbMn63PkNz3MTD X-Spamd-Bar: -- --n9H+jLSfN2S6Ydqw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As "problems" go, this is quite mild -- but it seems rather unexpected, and thus may be an idicator of something not quite going as intended. I am "tracking" head daily; up to main-n278435-945ba658d803 (built Friday, 04 July), pipe behavior seemed ... normal. Yesterday (Sunday, 06 July), running main-n278483-476d2d8f290f, I noticed that running a "tail -F | grep ..." on the build typescript no longer showed "interesting" excerpts of the build... until the build was done (and script had closed the typescript file). Or ... if (from a different terminal/window/...) I run the same "grep" command directly against the typescript file (vs. the "tail -F" pipeline), the earlier one (using "tail -F") "wakes up" & displays the extracted lines up to that point. If there is more to be displayed, it won't be -- unless I re-run a command that reads the file or script closes it. (Running "grep" is not necessary -- I just tried merely running "cat" against it; that also worked to "wake up" the "tail -F" pipeline.) This morning, running main-n278488-afd5bc630930, that behavior (from yesterday) persists. (I wanted to see if the issue persisted before whining about it.) The same hardware running stable/14 behaves as have systems I have run since a couple of decades ago (in that respect). The systems on which I have observed this are each amd64, using files on UFS. Additional information (build logs; dmesg; &c.) is available at https://www.catwhisker.org/~david/FreeBSD/history/ Peace, david --=20 David H. Wolfskill david@catwhisker.org "The whole idea of reciprocal tariffs is if someone's punching me in the face, I'm going to punch myself in the face." -- Warwick McKibbin See https://www.catwhisker.org/~david/publickey.gpg for my public key. --n9H+jLSfN2S6Ydqw Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaGuyyF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5SP1AQC9tShJ1OYY4kh1BXjsx5QBJS5LeSAeoimF4L2MzVe2UwEA2eUPgXLpcFdV 8hVqd5kk9H4kX94FrosHiel7zlZi9ww= =icuA -----END PGP SIGNATURE----- --n9H+jLSfN2S6Ydqw-- From nobody Mon Jul 7 12:36:12 2025 X-Original-To: freebsd-current@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 4bbNyf0mhWz61dBP for ; Mon, 07 Jul 2025 12:36:26 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbNyd3KpTz3ky8 for ; Mon, 07 Jul 2025 12:36:25 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=KkAx9ib3; spf=pass (mx1.freebsd.org: domain of oleg.nauman@gmail.com designates 2607:f8b0:4864:20::1031 as permitted sender) smtp.mailfrom=oleg.nauman@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-313154270bbso3154949a91.2 for ; Mon, 07 Jul 2025 05:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751891783; x=1752496583; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=kvRa1X2A/Lf8w58tVAiS/ZyRzMSqUPreZMlhs5qirlY=; b=KkAx9ib3sN1kcfwdJIztfmSZ1MubxmKLNZS7oIvHnINOtpSvDSKnEu2wgLtjetbWiY j2i979ZhTikX0smNrS3gC0CMYOgXdv+rzT0FhCWab+USlQUqV/+8fFViARyHvsV+ozCR sZ1U8ux5xxDgjYWoJBYWkI/UW3hz8sOjQdNcU6jPKZy+2P3r4HFiXZyliBd/gcOGk4/e VuQ3os+DJWWZA+0kQBKU4Ov5Fb12sYxgVOmlJuKqxrTKNEhdaDY3Y+kAyH9Jo4Z1STiS RvsnqEkXYIrctRv6xbUNc+7HRDxO0dPg16ZTpkOlDCESHpifYOrsz2n9CZ6FQjOAIoX6 rI9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751891783; x=1752496583; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=kvRa1X2A/Lf8w58tVAiS/ZyRzMSqUPreZMlhs5qirlY=; b=c7irXxB36j0ej0j0l0dGF0NOnYgGKWRhtLbUOxVwTcdAWKI01NbtiK3KIMShRsgHUV 3WRGJIkL60gvHxQM6DmYAi5pjGQmeX2hlML9uU8ACVS2tfdOWvVsRBGnSXOZuggqQUpr UVat1tZd+ErmAybNJPo9j7Hu+BPreA6KAiQNuPfrjcA4mbcWB2svYCdO+lBBw/Si66v+ 6hyK0I+r7SuXmZnGF4dJZivab8PMcXrRohzllQd0ohYbsR0yiNZF389Mh3jdkbO7D4OI MoUWFmbq/Fi3Vv3wk73Bg0/E3LpAB1UO6/3thqi4j61fsJotcgGkcYlBf3OyKvq3vJQG 5rOg== X-Gm-Message-State: AOJu0YyB92Z0MEYd7Dwyl5D2bSzJc8RaImbg3Qg1uPuEf9u6SUy99/XB QX+CLhjkYcbta6uCI9P7GiAAuqZIsqPnPUPQPGuz7wGG3c6eqajQ3kZwk9J/PVMXGdK/YLlENFV FKXCGVydlK8hkKAEVwNf8OkcSjE83kvUrZXzw X-Gm-Gg: ASbGncucUyV3q4fUco0GG13xIn+pS70KPcWkzX+/yQQYoBDpuvPSdaC5QhL/fjZM980 jALs/jo22TFnO1Ke0GvtRYMH2nbZfyDXf1rOFcgPu9hDYKuZQn7kVmaFaPOdwU+l7OxT8qxRm8u NHpGiMo4rvOe/U/EJt+l+gAK17Sh6RvSzbBob4DN16Bw== X-Google-Smtp-Source: AGHT+IE6NoOfrABhzBVOvOIqWWsHmsBVxjzhF/ygSzQwYscVF4AWVq6IV9OzYGay01BqnySmaVrrGM/iTwxojVBYLA0= X-Received: by 2002:a17:90a:e7c4:b0:311:e5b2:356b with SMTP id 98e67ed59e1d1-31aac447eb2mr17641232a91.11.1751891783015; Mon, 07 Jul 2025 05:36:23 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Oleg Nauman Date: Mon, 7 Jul 2025 15:36:12 +0300 X-Gm-Features: Ac12FXxhUDHmM26nrsp_Pt_sGuDlA7SgwPBEELx209Y7UjFuD6VKiJaTAOG3kyQ Message-ID: Subject: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-1.15 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.78)[0.780]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(0.07)[0.067]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1031:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bbNyd3KpTz3ky8 X-Spamd-Bar: - I noticed that tail -f /var/log/messages never receive updates if running with recent CURRENT ( afd5bc630930 Sunday Jul 6 ) 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysytem pkg"...,32768) = 2666 (0xa6a) 60092: munmap(0x801403000,297578) = 0 (0x0) 60092: read(3,0x80182c600,32768) = 0 (0x0) 60092: kqueue() = 5 (0x5) 60092: fstatfs(3,{ fstypename=ufs,mntonname=/,mntfromname=/dev/gpt/FreeBSD-UFS,fsid=133a996124e0f956 }) = 0 (0x0) 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 },1,0x0,0,{ 0.000000000 }) = 0 (0x0) 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted system call' <--- killed at this point by me 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted system call' 60092: SIGNAL 2 (SIGINT) code=SI_KERNEL 60095: SIGNAL 2 (SIGINT) code=SI_KERNEL 60095: process killed, signal = 2 60092: process killed, signal = 2 Likely something is wrong with kqueue and/or kevent Thank you From nobody Mon Jul 7 12:51:00 2025 X-Original-To: freebsd-current@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 4bbPJt5zs9z61fCT for ; Mon, 07 Jul 2025 12:52:14 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbPJs5fS3z3qSC for ; Mon, 07 Jul 2025 12:52:13 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 567Cp0bC062465; Mon, 7 Jul 2025 15:51:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 567Cp0bC062465 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 567Cp0Cd062463; Mon, 7 Jul 2025 15:51:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 7 Jul 2025 15:51:00 +0300 From: Konstantin Belousov To: Oleg Nauman Cc: FreeBSD Current , David Wolfskill Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [2.88 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; NEURAL_SPAM_SHORT(0.88)[0.882]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; TAGGED_RCPT(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; R_SPF_SOFTFAIL(0.00)[~all]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; HAS_XAW(0.00)[]; R_DKIM_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4bbPJs5fS3z3qSC X-Spamd-Bar: ++ On Mon, Jul 07, 2025 at 03:36:12PM +0300, Oleg Nauman wrote: > I noticed that > tail -f /var/log/messages never receive updates if running with recent > CURRENT ( afd5bc630930 Sunday Jul 6 ) > > 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: > gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysytem > pkg"...,32768) = 2666 (0xa6a) > 60092: munmap(0x801403000,297578) = 0 (0x0) > 60092: read(3,0x80182c600,32768) = 0 (0x0) > 60092: kqueue() = 5 (0x5) > 60092: fstatfs(3,{ > fstypename=ufs,mntonname=/,mntfromname=/dev/gpt/FreeBSD-UFS,fsid=133a996124e0f956 > }) = 0 (0x0) > 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 > },1,0x0,0,{ 0.000000000 }) = 0 (0x0) > 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted > system call' <--- killed at this point by me > 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted system call' > 60092: SIGNAL 2 (SIGINT) code=SI_KERNEL > 60095: SIGNAL 2 (SIGINT) code=SI_KERNEL > 60095: process killed, signal = 2 > 60092: process killed, signal = 2 > > Likely something is wrong with kqueue and/or kevent Try this diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h index 3ed469bdce6d..2c6947103c94 100644 --- a/sys/sys/vnode.h +++ b/sys/sys/vnode.h @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_args *ap); #define VOP_WRITE_POST(ap, ret) \ noffset = (ap)->a_uio->uio_offset; \ if (noffset > ooffset) { \ - if (VN_KNLIST_EMPTY((ap)->a_vp)) { \ + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { \ VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | \ (noffset > osize ? NOTE_EXTEND : 0)); \ } \ From nobody Mon Jul 7 13:14:22 2025 X-Original-To: freebsd-current@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 4bbPph0HTWz61j1G for ; Mon, 07 Jul 2025 13:14:36 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbPpg4CCmz426B for ; Mon, 07 Jul 2025 13:14:35 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-b3508961d43so2318723a12.3 for ; Mon, 07 Jul 2025 06:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751894073; x=1752498873; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xKBCZXk520ZtQrEF5GUS5ZnKVQTkDaWFCNZX5cLK6LI=; b=TqEYIrgtSE+L9yqlQpjxluQrD6bjojIfRtw/hFwqJIfTbNYlLdbk88jKdL0KBbO3VR 5LlJgK37VL1VuSOyAylEr0K9M6Phd/8nI6d/h9wA2omwVQk38o0xkxsLZlZr79b5suXP o6TqoZNlkEuwIEy3rQ+zWgbf4FCOH3/bTI42qLB+lFyObwXo6DpfksHDUmO0IMMo/1gJ TiSiRsqZtNJjEQWN0UhFtYSwPdSZmJkDqtm3g7O1/CCFMOcFvAlQsZLj3Zmm87P75bh6 gj3sVWXNBiD1Ki+5fY1hFIKI5o3l3NJoiqeFYHD/10Z9vke3lxqb7NCBJbiNo6Uku0OU h9HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751894073; x=1752498873; h=content-transfer-encoding:cc: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=xKBCZXk520ZtQrEF5GUS5ZnKVQTkDaWFCNZX5cLK6LI=; b=R0kp3Z/0gZ/XNpyMad2bvX1c4+rKqJ7uVqOOoRlXQNZPT+6gkPBv/Udf9TKYH/BG6e y91wszjqpe5nsA17TSSEi8muXed8iaDHjltIFei3A8/SMkP5GNHnvoLmig0z85z8esj9 V8UIZYwUcDS8CCuHM+6RtMfuYG+d5fclo3E7jJg//FAYhA3kxKLxYpwjcAWhu/wK0YZa TO6QKhqFi09N2QVtpFLPbXOWjrd4BGEF2pp9ow4NA3pKbGYOtB0HhSqqEhHDQ42y9ZLc tBUMsBo3xVMOnVs+jAfnvubCbDz6a3UuqyRLirLMMsxChZbFc4xnHBtvPrZ3DfFLGekJ iyxQ== X-Gm-Message-State: AOJu0YyWV8A9KMusBWNoLZSJ1JiKNYHqGSXsMK/C9DUh8lCkhPg7gT3B wvrXJDmMm7XCEbc+lO3Ynb4U7W0hzO6gr3sBgjPF0J8m0twv6mIGYw8gduuAEuhMekJ8w6vvKsB seAd4iv6AXuOp5GdPs0Zy8lIE64lX/hY= X-Gm-Gg: ASbGncucQdJyYSXrqrOlDNWV81sg1AqRxj8Okyo983n2sZyWVIO4wOFwmtzVwGRFtsq 7d+2vb1gFNKbalPJv5/s7nkohtJnyPAiFrzzox8G0wDQLeHBTIVZKuWbIGur9PcXmtnFemUZPtI 1FFfkoV/IdcRq6t6DoyNX2kaETxZc7uP4GAWQ+3lIHjg== X-Google-Smtp-Source: AGHT+IHCznW8fil+nC/eerSzoUapq/bSO5OKW0dgkLKAZc0hHatSd6z4/COSgktNStz83PFGtQTOh+RFmvhKj7aiHHw= X-Received: by 2002:a17:90b:388e:b0:313:2adc:b4c4 with SMTP id 98e67ed59e1d1-31aba8d3266mr13391689a91.24.1751894073360; Mon, 07 Jul 2025 06:14:33 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Nauman Date: Mon, 7 Jul 2025 16:14:22 +0300 X-Gm-Features: Ac12FXxOktypKHSmGieO2pbhgn_vp7dRjtOhtBqSd5weWZaD6fXXPLpmSsfWmY0 Message-ID: Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) To: Konstantin Belousov Cc: FreeBSD Current , David Wolfskill Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bbPpg4CCmz426B 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Mon, Jul 7, 2025 at 3:53=E2=80=AFPM Konstantin Belousov wrote: > > On Mon, Jul 07, 2025 at 03:36:12PM +0300, Oleg Nauman wrote: > > I noticed that > > tail -f /var/log/messages never receive updates if running with recent > > CURRENT ( afd5bc630930 Sunday Jul 6 ) > > > > 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: > > gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysytem > > pkg"...,32768) =3D 2666 (0xa6a) > > 60092: munmap(0x801403000,297578) =3D 0 (0x0) > > 60092: read(3,0x80182c600,32768) =3D 0 (0x0) > > 60092: kqueue() =3D 5 (0x5) > > 60092: fstatfs(3,{ > > fstypename=3Dufs,mntonname=3D/,mntfromname=3D/dev/gpt/FreeBSD-UFS,fsid= =3D133a996124e0f956 > > }) =3D 0 (0x0) > > 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 > > },1,0x0,0,{ 0.000000000 }) =3D 0 (0x0) > > 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted > > system call' <--- killed at this point by me > > 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted sys= tem call' > > 60092: SIGNAL 2 (SIGINT) code=3DSI_KERNEL > > 60095: SIGNAL 2 (SIGINT) code=3DSI_KERNEL > > 60095: process killed, signal =3D 2 > > 60092: process killed, signal =3D 2 > > > > Likely something is wrong with kqueue and/or kevent > > Try this > > diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h > index 3ed469bdce6d..2c6947103c94 100644 > --- a/sys/sys/vnode.h > +++ b/sys/sys/vnode.h > @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_args *a= p); > #define VOP_WRITE_POST(ap, ret) = \ > noffset =3D (ap)->a_uio->uio_offset; = \ > if (noffset > ooffset) { \ > - if (VN_KNLIST_EMPTY((ap)->a_vp)) { \ > + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { \ > VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | \ > (noffset > osize ? NOTE_EXTEND : 0)); \ > } \ > Buildworld is running, please give me two hours or so Thank you From nobody Mon Jul 7 13:29:34 2025 X-Original-To: freebsd-current@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 4bbQ925y1yz61kWg for ; Mon, 07 Jul 2025 13:30:30 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbQ910zc0z47Mv for ; Mon, 07 Jul 2025 13:30:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 567DTYGl039897; Mon, 7 Jul 2025 16:29:37 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 567DTYGl039897 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 567DTY74039896; Mon, 7 Jul 2025 16:29:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 7 Jul 2025 16:29:34 +0300 From: Konstantin Belousov To: Oleg Nauman Cc: FreeBSD Current , David Wolfskill Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [2.76 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_SHORT(0.76)[0.760]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; HAS_XAW(0.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bbQ910zc0z47Mv X-Spamd-Bar: ++ On Mon, Jul 07, 2025 at 04:14:22PM +0300, Oleg Nauman wrote: > On Mon, Jul 7, 2025 at 3:53 PM Konstantin Belousov wrote: > > > > On Mon, Jul 07, 2025 at 03:36:12PM +0300, Oleg Nauman wrote: > > > I noticed that > > > tail -f /var/log/messages never receive updates if running with recent > > > CURRENT ( afd5bc630930 Sunday Jul 6 ) > > > > > > 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: > > > gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysytem > > > pkg"...,32768) = 2666 (0xa6a) > > > 60092: munmap(0x801403000,297578) = 0 (0x0) > > > 60092: read(3,0x80182c600,32768) = 0 (0x0) > > > 60092: kqueue() = 5 (0x5) > > > 60092: fstatfs(3,{ > > > fstypename=ufs,mntonname=/,mntfromname=/dev/gpt/FreeBSD-UFS,fsid=133a996124e0f956 > > > }) = 0 (0x0) > > > 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 > > > },1,0x0,0,{ 0.000000000 }) = 0 (0x0) > > > 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted > > > system call' <--- killed at this point by me > > > 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted system call' > > > 60092: SIGNAL 2 (SIGINT) code=SI_KERNEL > > > 60095: SIGNAL 2 (SIGINT) code=SI_KERNEL > > > 60095: process killed, signal = 2 > > > 60092: process killed, signal = 2 > > > > > > Likely something is wrong with kqueue and/or kevent > > > > Try this > > > > diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h > > index 3ed469bdce6d..2c6947103c94 100644 > > --- a/sys/sys/vnode.h > > +++ b/sys/sys/vnode.h > > @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_args *ap); > > #define VOP_WRITE_POST(ap, ret) \ > > noffset = (ap)->a_uio->uio_offset; \ > > if (noffset > ooffset) { \ > > - if (VN_KNLIST_EMPTY((ap)->a_vp)) { \ > > + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { \ > > VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | \ > > (noffset > osize ? NOTE_EXTEND : 0)); \ > > } \ > > > > Buildworld is running, please give me two hours or so World is not relevant, just rebuild the kernel. From nobody Mon Jul 7 13:32:02 2025 X-Original-To: freebsd-current@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 4bbQBs0Mprz61krT for ; Mon, 07 Jul 2025 13:32:05 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (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 4bbQBr1GbLz49ry for ; Mon, 07 Jul 2025 13:32:04 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; none Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 567DW2US023715; Mon, 7 Jul 2025 13:32:02 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 567DW2NA023714; Mon, 7 Jul 2025 06:32:02 -0700 (PDT) (envelope-from david) Date: Mon, 7 Jul 2025 06:32:02 -0700 From: David Wolfskill To: Konstantin Belousov Cc: Oleg Nauman , FreeBSD Current Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) Message-ID: Mail-Followup-To: David Wolfskill , Konstantin Belousov , Oleg Nauman , FreeBSD Current References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IJElJ2NENWxrnFvJ" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4bbQBr1GbLz49ry 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)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US] --IJElJ2NENWxrnFvJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 07, 2025 at 03:51:00PM +0300, Konstantin Belousov wrote: > ... > Try this >=20 > diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h > index 3ed469bdce6d..2c6947103c94 100644 > --- a/sys/sys/vnode.h > +++ b/sys/sys/vnode.h > @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_args *ap); > #define VOP_WRITE_POST(ap, ret) \ > noffset =3D (ap)->a_uio->uio_offset; \ > if (noffset > ooffset) { \ > - if (VN_KNLIST_EMPTY((ap)->a_vp)) { \ > + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { \ > VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | \ > (noffset > osize ? NOTE_EXTEND : 0)); \ > } \ >=20 OK; did that, to sources as of main-n278527-07948e050808, then rebuilt the kernel. Seems to have done the job: this is a dedicated "build machine," so I had a small challenge finding a suitable reproduction, but I saw that /var/log/cron was getting updated every 5 minutes from atrun, so after having booted: freebeast(15.0-C)[5] uname -aUK FreeBSD freebeast.catwhisker.org 15.0-CURRENT FreeBSD 15.0-CURRENT #264 mai= n-n278527-07948e050808-dirty: Mon Jul 7 13:14:31 UTC 2025 root@freebea= st.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1500= 051 1500051 I then: freebeast(15.0-C)[5] sudo tail -F /var/log/cron and after waiting a few minutes, I was gratified to see: Jul 7 06:30:00 freebeast /usr/sbin/cron[2415]: (root) CMD (/usr/libexec/at= run) show up. Seems to be working. :-) Thanks, Konstantin -- and Oleg! :-) Peace, david --=20 David H. Wolfskill david@catwhisker.org "The whole idea of reciprocal tariffs is if someone's punching me in the face, I'm going to punch myself in the face." -- Warwick McKibbin See https://www.catwhisker.org/~david/publickey.gpg for my public key. --IJElJ2NENWxrnFvJ Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCaGvMUl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5Y/PAP9ysP8qDduS63IIBzHJkMH6s73hYri1q0loV1G1a+ahSAD+LZAX6vAkjc3C HPE9eVRm6raW28LKSs0gcI0kxTI9GQ4= =MEaa -----END PGP SIGNATURE----- --IJElJ2NENWxrnFvJ-- From nobody Mon Jul 7 13:42:02 2025 X-Original-To: freebsd-current@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 4bbQQX51Srz61lfs for ; Mon, 07 Jul 2025 13:42:12 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbQQX2cQnz3Gd6 for ; Mon, 07 Jul 2025 13:42:12 +0000 (UTC) (envelope-from markjdb@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-6facc3b9559so53118936d6.0 for ; Mon, 07 Jul 2025 06:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751895726; x=1752500526; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=LHRiBK5vutaL4aE+MkowiDqhDu1S2XvEAHC5A3E+4CQ=; b=RXyaOXuNZOLzf8DqO2itovUMiDIKubiSJ1u0IwSkhEsTNX4qkbUJS6qZ34klOPedYt iVdPtjgmhUcJ3TVGY1EwUafRuZ26T2KYuAidEMXcfgUFfmTcQXsaISGYGF+to94QfWUl JhFt/dTI2ov+o/gYFU6diwuZrXpzYHSfCa+kizadgnaS3lQGhfIqa4VK78xMt/tHbQkY eFJpU0JaeshPifoDGDdh4gFC06F+5+X5fenLN5JTZzWt5vUorsnnl5NZHhuPwM113Q/T UiFoaO6X2GfoMT9gZiWTlvHAfWL/Y/JaAhzojqSe+msNE4B63WcZAN7FzBgNUSoUS23W fGoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751895726; x=1752500526; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LHRiBK5vutaL4aE+MkowiDqhDu1S2XvEAHC5A3E+4CQ=; b=V4qlvf2eFbN1VQ5yHM/EH2Opm24wXEukb7+BrApmC52XI3oSbqwI5Zh6g3VTGCE2zc bLi6rkoGbwfyGGNUTdUg5r941Bhdkqishh7qGT+eqmP6pWhXwY38KPrPDc+HPi57FpO+ rQ40tekxl5z6CzisoR7/ayiHlYep8Fk55UErcG9obtr/mU2Hr6G7iLElaDhJUU6F+d34 +RpCoPHEDp2ftXe0PuKrpl6x7iWKfmlhvlfO9KCi4UyXjVycjw7qS52yzq1laaFyBPiN fjPDBTePtg1XmjbXNtOpqFfUQqHsLuRsdhLRApqAArhtiTMbBLUINuqB7lTuMwn1qLVD 4TFw== X-Forwarded-Encrypted: i=1; AJvYcCVh/OFfNuRG9xf5+zR5IF6WRZeOOymn6D1MRDlifPgFE+HrXB9S1wItM3Ch/dBNJPl1IiNFqpA8V2LA9F4lOv8=@freebsd.org X-Gm-Message-State: AOJu0Yy29d4I9ZlCtVsedpoufU3AFPkdkypIltUK5jOyl8OfpzpV9SBu 0ApsKCVtkac5P2HbpkkLCNeppIpBc29meFpsW/4PpdWjol1Py8pDZvHR X-Gm-Gg: ASbGncvCTeZnMsTUUIrgdQ7VclmgsTNdiM8HxORJ+qUB+jNT8zeS+uussbYOV5saCvy ohMBxayWSchsSFEbv9njem4QK8Jvi6bzgVEvLYk4CXnUQdsl/UxlgaRgAZtIqf47HJeJjBeHInV hRcO6egZBqtJfV8WigXOFkWwRRlNnGP1tLSVrL+FOIWHEDJHaqVHmvVEzK7HLwgxf7SWkyyXvCQ TYbvncnIKisSxi6JNLLJuI6F/y5pmZg5+bLT5iORodthke6BBu/jQnxussvsRGqWAosVtR7qKc5 mWUOg1W8njQzpaGVUmVj2mJgl/Plriu5nES0fsDakw3vlgtbDHpJ/B7XWixwa0hPMe4EKcMwUxU w X-Google-Smtp-Source: AGHT+IFVYI6BgENy96tahRhwFbgc3HZpup15WiOJdnJQZYdFsTziSWMBFYIrfszrLCf+pCZWP8n1rA== X-Received: by 2002:a05:6214:3c8b:b0:6fa:c81a:6234 with SMTP id 6a1803df08f44-702c6d01143mr261535876d6.10.1751895726306; Mon, 07 Jul 2025 06:42:06 -0700 (PDT) Received: from nuc (192-0-220-237.cpe.teksavvy.com. [192.0.220.237]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-702c4ccd617sm58390486d6.44.2025.07.07.06.42.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Jul 2025 06:42:04 -0700 (PDT) Date: Mon, 7 Jul 2025 09:42:02 -0400 From: Mark Johnston To: Konstantin Belousov Cc: Oleg Nauman , FreeBSD Current , David Wolfskill Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4bbQQX2cQnz3Gd6 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)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Mon, Jul 07, 2025 at 03:51:00PM +0300, Konstantin Belousov wrote: > On Mon, Jul 07, 2025 at 03:36:12PM +0300, Oleg Nauman wrote: > > I noticed that > > tail -f /var/log/messages never receive updates if running with recent > > CURRENT ( afd5bc630930 Sunday Jul 6 ) > > > > 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: > > gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysytem > > pkg"...,32768) = 2666 (0xa6a) > > 60092: munmap(0x801403000,297578) = 0 (0x0) > > 60092: read(3,0x80182c600,32768) = 0 (0x0) > > 60092: kqueue() = 5 (0x5) > > 60092: fstatfs(3,{ > > fstypename=ufs,mntonname=/,mntfromname=/dev/gpt/FreeBSD-UFS,fsid=133a996124e0f956 > > }) = 0 (0x0) > > 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 > > },1,0x0,0,{ 0.000000000 }) = 0 (0x0) > > 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted > > system call' <--- killed at this point by me > > 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted system call' > > 60092: SIGNAL 2 (SIGINT) code=SI_KERNEL > > 60095: SIGNAL 2 (SIGINT) code=SI_KERNEL > > 60095: process killed, signal = 2 > > 60092: process killed, signal = 2 > > > > Likely something is wrong with kqueue and/or kevent > > Try this I tested this patch and can confirm that it fixes tail -f. Thank you. > diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h > index 3ed469bdce6d..2c6947103c94 100644 > --- a/sys/sys/vnode.h > +++ b/sys/sys/vnode.h > @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_args *ap); > #define VOP_WRITE_POST(ap, ret) \ > noffset = (ap)->a_uio->uio_offset; \ > if (noffset > ooffset) { \ > - if (VN_KNLIST_EMPTY((ap)->a_vp)) { \ > + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { \ > VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | \ > (noffset > osize ? NOTE_EXTEND : 0)); \ > } \ > From nobody Mon Jul 7 13:54:14 2025 X-Original-To: freebsd-current@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 4bbQhh4Zk6z61n3Y for ; Mon, 07 Jul 2025 13:54:28 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbQhh2ZNXz3NFC for ; Mon, 07 Jul 2025 13:54:28 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-b2c2c762a89so2378325a12.0 for ; Mon, 07 Jul 2025 06:54:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751896466; x=1752501266; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Gyl1pxqmwg8DI/s9u5KpLyQlKc7snDOaZ2m18DoV8mk=; b=RwKkSUO2uRGj4dPLVRy4+3E5q/IVDmL7frslesKnXgjn3N5oWTd9Np2KkmattKDV5Q LZP/zJLxkg4ImyDBwuWE0ZKRkxZK5C6Mro9voulEsltZpxXAIGYsAhuI3FTp+kwUbOiT pzp1LW4jnaLKFUqgWUt2xYiUmqsXWrLAqzPrvNoifKwpgVY5m6SVY09/gQymAilan/IN Nqee2zLQ+S/MN7hH7e653jKlII6Nv9s6YWJbc2X/ruwgbo19oTEf+Fvv7PA97iaYGCx5 fd3HcIAnQPBgqrxDSlRLJkbxYEYehmRoH7HZ16cgQUHWfARbavuJSnt3ez8PWNrttJnC eo/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751896466; x=1752501266; h=content-transfer-encoding:cc: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=Gyl1pxqmwg8DI/s9u5KpLyQlKc7snDOaZ2m18DoV8mk=; b=WAapSAznmiH1zQH3hVxJoCZb7B34ryiklJ2NehuC7WIyQEd/nB176F/dTKQrDNcxfU GgFiTaazIWg+/OUHCRBPHRv37tNgMAmzlTXM9gUHrsmtkuD+2Xe3LwC4CkQryaD6gKsw vYFoUIDEVvYEse+1TdpgBk0S2KxMykgIKNxk2DFVxWx7YxnDVJcte9ExEwblVUJTOuDl u7F73gRescMEhrBj/VlXr3HZWuLeJghlkR7ClY8gKX8mR8fAWV7vJmnaUaemyczGPzaF yFZ1B7RPj4UEiSpvTpVvy3THla/raFv1ppPXHvqZ+B/CjmXRFD0gWkXOKVSL7mLmMtli HSnw== X-Gm-Message-State: AOJu0YzHQLCoaXmSh2/m8dpLoAqdXmzlkLXk1b2aQqRUHz1B9bhUcg37 AsSjKKl6SQPnPzhyhktESTguueBc2DHMrLEn0L18n8qvm/f8Khag4NiNpM3jbaJCGTEl4cDI7if Dak6WrKj8SsQGxj4RiMcVd83y5MtXnNA= X-Gm-Gg: ASbGncsG4nee03RcD4OTAsYaPXHMI4TYJmf1A3MAj54UodQFhqVg+M1qmoVEt0wX5M9 /ipgcOm2JvRLaVi1UW6Q92Qy5LALZu9G/w0nqxKY0D0Z1I13Xaga1knF5Tv9URm0hXOHY4DMb4V Atx3fMANDIJ2+Ltc8fV9FlrH8rWG4iV9sKViGUEMd8Jmb9bR31kO5W X-Google-Smtp-Source: AGHT+IGhR8pR2/ffZUuUM0zrG6xa+jvMUbIISTMqAMdatLDCkgEcIv3oMl66msLMzOB5Hvt0sAF4zJlpFPurJwLnvbU= X-Received: by 2002:a17:90b:560f:b0:311:b005:93d4 with SMTP id 98e67ed59e1d1-31aba8d2697mr12605866a91.25.1751896465845; Mon, 07 Jul 2025 06:54:25 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Nauman Date: Mon, 7 Jul 2025 16:54:14 +0300 X-Gm-Features: Ac12FXwyaErREsace6Es_SJh29ZxIfAiMV8xF5aoJCUqueoNhvJtsMiGjjlwKwU Message-ID: Subject: Re: tail -f is broken in recent CURRENT ( afd5bc630930 Sunday Jul 6 ) To: Konstantin Belousov Cc: FreeBSD Current , David Wolfskill Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bbQhh2ZNXz3NFC 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Mon, Jul 7, 2025 at 4:31=E2=80=AFPM Konstantin Belousov wrote: > > On Mon, Jul 07, 2025 at 04:14:22PM +0300, Oleg Nauman wrote: > > On Mon, Jul 7, 2025 at 3:53=E2=80=AFPM Konstantin Belousov wrote: > > > > > > On Mon, Jul 07, 2025 at 03:36:12PM +0300, Oleg Nauman wrote: > > > > I noticed that > > > > tail -f /var/log/messages never receive updates if running with rec= ent > > > > CURRENT ( afd5bc630930 Sunday Jul 6 ) > > > > > > > > 60092: read(3,"talled\nJul 6 16:59:54 mysystem pkg-static[86368]: > > > > gstreamer1-plugins-mpg123-1.26.2 deinstalled\nJul 6 16:59:57 mysyt= em > > > > pkg"...,32768) =3D 2666 (0xa6a) > > > > 60092: munmap(0x801403000,297578) =3D 0 (0x0) > > > > 60092: read(3,0x80182c600,32768) =3D 0 (0x0) > > > > 60092: kqueue() =3D 5 (0x5) > > > > 60092: fstatfs(3,{ > > > > fstypename=3Dufs,mntonname=3D/,mntfromname=3D/dev/gpt/FreeBSD-UFS,f= sid=3D133a996124e0f956 > > > > }) =3D 0 (0x0) > > > > 60092: kevent(5,{ 3,EVFILT_READ,EV_ADD|EV_ENABLE|EV_CLEAR,0,0,0x0 > > > > },1,0x0,0,{ 0.000000000 }) =3D 0 (0x0) > > > > 60092: kevent(5,0x0,0,0x801814000,1,0x0) ERR#4 'Interrupted > > > > system call' <--- killed at this point by me > > > > 60095: select(7,{ 6 },0x0,0x0,0x0) ERR#4 'Interrupted= system call' > > > > 60092: SIGNAL 2 (SIGINT) code=3DSI_KERNEL > > > > 60095: SIGNAL 2 (SIGINT) code=3DSI_KERNEL > > > > 60095: process killed, signal =3D 2 > > > > 60092: process killed, signal =3D 2 > > > > > > > > Likely something is wrong with kqueue and/or kevent > > > > > > Try this > > > > > > diff --git a/sys/sys/vnode.h b/sys/sys/vnode.h > > > index 3ed469bdce6d..2c6947103c94 100644 > > > --- a/sys/sys/vnode.h > > > +++ b/sys/sys/vnode.h > > > @@ -1032,7 +1032,7 @@ void vop_rename_fail(struct vop_rename_arg= s *ap); > > > #define VOP_WRITE_POST(ap, ret) = \ > > > noffset =3D (ap)->a_uio->uio_offset; = \ > > > if (noffset > ooffset) { = \ > > > - if (VN_KNLIST_EMPTY((ap)->a_vp)) { = \ > > > + if (!VN_KNLIST_EMPTY((ap)->a_vp)) { = \ > > > VFS_KNOTE_LOCKED((ap)->a_vp, NOTE_WRITE | = \ > > > (noffset > osize ? NOTE_EXTEND : 0)); = \ > > > } = \ > > > > > > > Buildworld is running, please give me two hours or so > > World is not relevant, just rebuild the kernel. > Well, I can confirm that patched kernel restore tail -f behavior Thank you From nobody Tue Jul 8 19:37:42 2025 X-Original-To: current@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 4bcBGJ6Jv2z61QTy for ; Tue, 08 Jul 2025 19:37:44 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bcBGJ5LK8z4DQv; Tue, 08 Jul 2025 19:37:44 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752003464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=80YzJh0Nwostedd3QJpG0ZdXnQARMcL3HcLmpZvvyTk=; b=mk1SpNcrKbdkrOT/plcXKgmXEv2me5cKjpnNv9pEdFEt/PLAPtDcKv9znrN0AFyUOBWZ5o Lhyf/GLEPbtfomsp65/t97qmr/z21A6Q91nxiJ2E/WBvYkweSh+gRwH1NMiuYqb0nR4CuL Sj1NLI2H94fNXBdsDu7TazmDwgvp2KV7r6MDyzwiPZT1j3ya1kw2pRjwDkFpDNgJgni+dO eZ5SLXsXKGchCWZzMfiGYZVEEF0DleXth+A8N0hjQoCsjo/+wipKPiT7wM5oUYnOTWIgFy ur4rgr5rWbjQzo5PrBVVWDe6mbN3lgWkOYLb9Pc8UVjCQn40+53ZWYriW5qwkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752003464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=80YzJh0Nwostedd3QJpG0ZdXnQARMcL3HcLmpZvvyTk=; b=Hq6O0vaUzph0sBe26JBACChmPNu9qivFj9Ay0enl/UOFOqyV9OpGIMsEeOAtzStcwZ6luU o6ulA/Vh7u4a7WWQzyW7ZxxYux6VsUD7IXAqIDeapufzjonQ04uwFjtorubVYWBKsIi6NZ m52vLqupS5LCfGW8o8JwN9x8/V3AtaoqjBmNbTqwAJIbGTay7uDJn4XpVdP4rscvi72ghZ 4LFErvDmkOsYGbcv8ktN0WDx4c8HylzAZKDuZoE76T17ETTlyDDwAFqu6Je8wY934/j4yo V2DG3Sr7Pm7dVV4CKOKWHrbSTXRaGNhixKO/cdk6pIm0+437JGCGvVPscZrwdA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752003464; a=rsa-sha256; cv=none; b=rC/QEVyhE5lKdOhcBseLF32wKyFbF2jR8hvVxqiaOWWTl56mF/MnCHaM2SLiDsGGJGU+G4 zvvm46zDjYOc4DfI57LyxOa1dSN5Xb9d5uCeHXjHRFOAb6Np7kbCwcApusN9TY9ouK7EKQ WFEZ1Cv4UDXTR5gYuSrTtjg6IS0gjWyX3/s9dPTW2qz1S8gTh0DnKcT7oWnv3qrMBOnNve KsEsjdNcXaalRsZdg4e6iGtk3QGIfv4w0I0Flp9dvFCIx2PZfCDrIEyCutQgM/JnjwB37N 7csd1p/V2Lp12jLcuqTQDlpl6FiS7jpbXDAvBPKyBHDfRgHcGBDZB0T0Rd/71g== Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bcBGJ3TfczrZK; Tue, 08 Jul 2025 19:37:44 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 3AF557005A; Tue, 08 Jul 2025 21:37:42 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: current@FreeBSD.org Cc: kib@FreeBSD.org, rmacklem@FreeBSD.org Subject: NFS panic in latest main User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 08 Jul 2025 21:37:42 +0200 Message-ID: <86ecuqcw3d.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable With main@72c848089f3b, any attempt by an NFS client to rename a file immediately panics the server: panic: Lock rename not exclusively locked @ /usr/src/sys/kern/vfs_subr.c:58= 78 cpuid =3D 2 time =3D 1752003292 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008dbd3= 890 vpanic() at vpanic+0x136/frame 0xfffffe008dbd39c0 panic() at panic+0x43/frame 0xfffffe008dbd3a20 _lockmgr_assert() at _lockmgr_assert+0x12e/frame 0xfffffe008dbd3a30 vop_rename_pre() at vop_rename_pre+0x12d/frame 0xfffffe008dbd3a70 VOP_RENAME_APV() at VOP_RENAME_APV+0x23/frame 0xfffffe008dbd3a90 nfsvno_rename() at nfsvno_rename+0x3b2/frame 0xfffffe008dbd3bc0 nfsrvd_rename() at nfsrvd_rename+0x5d7/frame 0xfffffe008dbd41c0 nfsrvd_dorpc() at nfsrvd_dorpc+0x1bc/frame 0xfffffe008dbd43d0 nfssvc_program() at nfssvc_program+0x852/frame 0xfffffe008dbd45d0 svc_run_internal() at svc_run_internal+0xaa8/frame 0xfffffe008dbd4700 svc_run() at svc_run+0x280/frame 0xfffffe008dbd4760 nfsrvd_nfsd() at nfsrvd_nfsd+0x3d3/frame 0xfffffe008dbd48c0 nfssvc_nfsd() at nfssvc_nfsd+0x535/frame 0xfffffe008dbd4de0 sys_nfssvc() at sys_nfssvc+0xcc/frame 0xfffffe008dbd4e00 amd64_syscall() at amd64_syscall+0x451/frame 0xfffffe008dbd4f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe008dbd4f30 --- syscall (155, FreeBSD ELF64, nfssvc), rip =3D 0x36a11b2334ea, rsp =3D 0= x36a118def0f8, rbp =3D 0x36a118def390 --- KDB: enter: panic [ thread pid 3473 tid 100319 ] Stopped at kdb_enter+0x33: movq $0,0x9a25d2(%rip) db>=20 It was fine ~5 days ago. I have not attempted to bisect. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Tue Jul 8 19:58:34 2025 X-Original-To: current@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 4bcBkb6Cr0z61RdN for ; Tue, 08 Jul 2025 19:58:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bcBkZ6YDTz3D4C; Tue, 08 Jul 2025 19:58:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 568JwYUC047692; Tue, 8 Jul 2025 22:58:38 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 568JwYUC047692 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 568JwYTa047687; Tue, 8 Jul 2025 22:58:34 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 8 Jul 2025 22:58:34 +0300 From: Konstantin Belousov To: Dag-Erling =?utf-8?B?U23DuHJncmF2?= Cc: current@freebsd.org, rmacklem@freebsd.org Subject: Re: NFS panic in latest main Message-ID: References: <86ecuqcw3d.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <86ecuqcw3d.fsf@ltc.des.dev> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4bcBkZ6YDTz3D4C 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:6939, ipnet:2001:470::/32, country:US] On Tue, Jul 08, 2025 at 09:37:42PM +0200, Dag-Erling Smørgrav wrote: > With main@72c848089f3b, any attempt by an NFS client to rename a file > immediately panics the server: > > panic: Lock rename not exclusively locked @ /usr/src/sys/kern/vfs_subr.c:5878 > > cpuid = 2 > time = 1752003292 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe008dbd3890 > vpanic() at vpanic+0x136/frame 0xfffffe008dbd39c0 > panic() at panic+0x43/frame 0xfffffe008dbd3a20 > _lockmgr_assert() at _lockmgr_assert+0x12e/frame 0xfffffe008dbd3a30 > vop_rename_pre() at vop_rename_pre+0x12d/frame 0xfffffe008dbd3a70 > VOP_RENAME_APV() at VOP_RENAME_APV+0x23/frame 0xfffffe008dbd3a90 > nfsvno_rename() at nfsvno_rename+0x3b2/frame 0xfffffe008dbd3bc0 > nfsrvd_rename() at nfsrvd_rename+0x5d7/frame 0xfffffe008dbd41c0 > nfsrvd_dorpc() at nfsrvd_dorpc+0x1bc/frame 0xfffffe008dbd43d0 > nfssvc_program() at nfssvc_program+0x852/frame 0xfffffe008dbd45d0 > svc_run_internal() at svc_run_internal+0xaa8/frame 0xfffffe008dbd4700 > svc_run() at svc_run+0x280/frame 0xfffffe008dbd4760 > nfsrvd_nfsd() at nfsrvd_nfsd+0x3d3/frame 0xfffffe008dbd48c0 > nfssvc_nfsd() at nfssvc_nfsd+0x535/frame 0xfffffe008dbd4de0 > sys_nfssvc() at sys_nfssvc+0xcc/frame 0xfffffe008dbd4e00 > amd64_syscall() at amd64_syscall+0x451/frame 0xfffffe008dbd4f30 > fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe008dbd4f30 > --- syscall (155, FreeBSD ELF64, nfssvc), rip = 0x36a11b2334ea, rsp = 0x36a118def0f8, rbp = 0x36a118def390 --- > KDB: enter: panic > [ thread pid 3473 tid 100319 ] > Stopped at kdb_enter+0x33: movq $0,0x9a25d2(%rip) > db> > > It was fine ~5 days ago. I have not attempted to bisect. D51211, I did not tested it. From nobody Wed Jul 9 13:19:32 2025 X-Original-To: current@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 4bcdqm0dfDz61f8l for ; Wed, 09 Jul 2025 13:19:48 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bcdqk3yb4z46yY for ; Wed, 09 Jul 2025 13:19:46 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=Z3WwJqg0; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 6F13EA64805 for ; Wed, 09 Jul 2025 13:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1752067170; bh=8VSUtPwgW8v/gF9LdjL7qERYjZiXVIw34fEeh/540vM=; h=Date:From:To:Subject; b=Z3WwJqg09YhZJf2xNF7pt0rTv8l7ANIKNLPNuJHwa5AgI8YGp9VdMclsceRNrRxqk amrUrduwKVC/K/ed8CiLxu4I+btP27CWmUoylC43TjlEVo/pczh2naWrdqbtxpTGA7 pJI13WQFlEQnIWWu4a17mYJ/rOjugrFV/Yw0dwyaOo4RIqcScink3D4LN6tjkKI6Q0 iPQChB70DV75G3ZwIyxNvKCWKeuAbd5Ye5n2P8AwyLlTsOaIJKso/8bya1S1q8eflw oDtqg1fhm7mzyeZA2/4d6QSkDVQv3JIu/IZhSfTeYof7lcTuJWKcLh4u5DpMAPsbKI P2LkyqjZBmE3YPIbBb3MxqfPTGHCrmbZjDJ4xS4jBo35ootEYNho/ftLeaaCSJejRY KxnOJT1w21IbSaT6TsjJFxI5T/9yl68VV5rs4lYVyAvmKlCgRbQus28A3gKKYtnGSP GOFNiguQLMN3z3DnCwvwhX+Ie2jq5o6KxDVKqTjT9D+fqpPl6P6G06vMAWHOd2ZV5L 7Q7IhMLOPXy5dkAqEHQBW56W+lrRwegJlAiGW+rhH3uJfsJ5rvQjFBppP9/0bnkyW6 3DugRdH9mv6H0+abSHAOwbwqhukp+NoP98/3FFSwm7+8plwX+bSBgL9UZn4Ij/jMTR iX9cBxz6aGYb9nvJcUS3Y9tI= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id C3DEC2D029E1 for ; Wed, 9 Jul 2025 13:19:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id L6F2waW4UxN9 for ; Wed, 9 Jul 2025 13:19:32 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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 mail.sbone.de (Postfix) with ESMTPSA id 684802D029D8 for ; Wed, 9 Jul 2025 13:19:32 +0000 (UTC) Date: Wed, 9 Jul 2025 13:19:32 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@freebsd.org Subject: LOR ufs , devfs Message-ID: <29o2063s-07s6-9p8p-r5n5-35o9s1sp274n@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [-1.32 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_SPAM_LONG(0.90)[0.905]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; NEURAL_HAM_MEDIUM(-0.23)[-0.230]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4bcdqk3yb4z46yY X-Spamd-Bar: - During shutdown: lock order reversal: 1st 0xfffff8000159d908 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:2261 2nd 0xfffff80001af0908 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:3384 lock order ufs -> devfs attempted at: #0 0xffffffff80bd9dd1 at witness_checkorder+0xbe1 #1 0xffffffff80b2e071 at lockmgr_xlock+0x51 #2 0xffffffff810febba at VOP_LOCK1_APV+0x2a #3 0xffffffff80c81043 at _vn_lock+0x53 #4 0xffffffff80c6716d at vget_finish+0x4d #5 0xffffffff809df00e at devfs_allocv+0xbe #6 0xffffffff809de713 at devfs_root+0x43 #7 0xffffffff80c6c376 at vfs_cache_root_fallback+0x116 #8 0xffffffff80c6806b at vflush+0x4b #9 0xffffffff809de60e at devfs_unmount+0x3e #10 0xffffffff80c5c749 at dounmount+0x649 #11 0xffffffff80c69811 at vfs_unmountall+0xc1 #12 0xffffffff80c36d1c at bufshutdown+0x32c #13 0xffffffff80b61d33 at kern_reboot+0x703 #14 0xffffffff80b6162c at sys_reboot+0x42c #15 0xffffffff81037279 at amd64_syscall+0x169 #16 0xffffffff8100839b at fast_syscall_common+0xf8 -- Bjoern A. Zeeb r15:7 From nobody Thu Jul 10 07:06:52 2025 X-Original-To: freebsd-current@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 4bd5WH2bKrz61d0D for ; Thu, 10 Jul 2025 07:07:07 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bd5WG3l7nz3RJ0 for ; Thu, 10 Jul 2025 07:07:06 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=ct62LDM2; spf=pass (mx1.freebsd.org: domain of oleg.nauman@gmail.com designates 2607:f8b0:4864:20::102b as permitted sender) smtp.mailfrom=oleg.nauman@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x102b.google.com with SMTP id 98e67ed59e1d1-3121aed2435so729051a91.2 for ; Thu, 10 Jul 2025 00:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752131224; x=1752736024; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vXOjtkGZ18a8G2nd1VO7vLu3OIuFXd2WerGJWmYkb8k=; b=ct62LDM25dGk48zdG+7Nff9bmh3sb0cjmLu7L1LT2OkD220fLFAb9P0Q6AdliWNhcG 4mrz6NrxbeDfLAqp5VArIGq2RS45uMW/vnIUE1cEnRlW83/pMtg1QU47tF6i+pQYLcDf UNhb4HowSR0T3d6g2pFR+mUEhDKh2IeDAFoYak0eYl2cTMIB1ghSwaubFXGdB+9Ys6PD t7sUoquPTjTT322cfQVBOqbxGXgyP8Lt+MM0PfZPQ65UQ3f46SE3r3uEGBRDl8mUqeCL bGywZh7O0ggd6ggOQ8vYOcHSGJreowa704LIILM0ix/MLbvZFgOfGVG+/aBszwCWf/L0 NjKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752131224; x=1752736024; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vXOjtkGZ18a8G2nd1VO7vLu3OIuFXd2WerGJWmYkb8k=; b=EQLHe17gSM3+XPiZc5zl4yXzCNYbAULNJ7tL93GFmtXnm9/OXpvwXnRR/Ml6t/t1v5 hBv5UL8YxCE9u/YdHoKCRSvKQI6iqmCR+P3uAJxYB+B0QBEbDgsC1f13jFq+yhUjXqeB yODMU32TryAr6GyWcDv38yqWjiLvHsBi/7tPdEbKdlrcqk/iFzvxc5exiEubd7eX6LLO aHbwDybj1CJZoMZ6U4YwBzV2McqrOHFxOGx4HfMthkLp4sjaBTeJp/o2SIBzfJXyP6LK UiROlOzD3DNBktZ7nfbI4L8bGitCjbhOJSKvjDGcWMGPMNlCnNG79Ue+tRfQvZ2/APpq GWyg== X-Gm-Message-State: AOJu0Yz8W40kvn/85JTCzbhpFcxv7x5aFc9A8URbIFV4HEM8aGD7mCWJ 7GuwnoSC1eCYylmVuN41KDMuQtRwUNTkULhSWNdyUE2VO/rRWCFemDLD4OB46OE3Uinafb+i3eo bqe97IKbvl5C2BkblzjVQhWhbU5weG1z9o6o0 X-Gm-Gg: ASbGncuBxyISHSULhq4n6yhkenvgAC108lR8UeVGMAFq13rY/AYBC/XeP2utZ8nfJQ2 OV/HOugfTNJ5nBQbL1OkPkKl33xjPYHU/t2I63lWK3t6zN370LXrhi7imzlIej/7PhzdQAPhYE1 wQwqSc6C+Pxsh+QlLcATBSB5VYN1QJySis54im8g== X-Google-Smtp-Source: AGHT+IFMzbWqphkS/jQbBs7s5TBkhcACd0a08ssqd6/iJTRuGpsZhZplxp7L/AA+QQzbLLyGeNZ18/c83eUc8REQLKk= X-Received: by 2002:a17:90b:1d50:b0:311:e8cc:4253 with SMTP id 98e67ed59e1d1-31c2fcc3315mr9497080a91.2.1752131223891; Thu, 10 Jul 2025 00:07:03 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Oleg Nauman Date: Thu, 10 Jul 2025 10:06:52 +0300 X-Gm-Features: Ac12FXzNJI99-9DIje-sbFE4pbScv6Aodml1hPucHTGsilDIaQuzIQHp9fOC1Y4 Message-ID: Subject: Process stuck in unkillable state if operating with inotify To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [0.08 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_SHORT(-0.92)[-0.918]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102b:from]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bd5WG3l7nz3RJ0 X-Spamd-Bar: / I noticed that some processes consume 100% of CPU and unkillable even with kill -9 System info: CURRENT 17f0f75308f2 ( Jul 8 ) amd64 The only meaningful info I was able to collect it is output of procstat -kk, so two examples of call stack for such type of processes: PID TID COMM TDNAME KSTACK 3192 100876 polkitd - _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a kern_inotify_add_watch+0x2be amd64_syscall+0x118 fast_syscall_common+0xf8 3192 100889 polkitd gmain mi_switch+0xbc sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 amd64_syscall+0x118 fast_syscall_common+0xf8 and PID TID COMM TDNAME KSTACK 58129 100829 packagekitd - ffs_lock+0x7d _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a kern_inotify_add_watch+0x2be amd64_syscall+0x118 fast_syscall_common+0xf8 58129 103627 packagekitd pool-spawner mi_switch+0xbc sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _sleep+0x197 umtxq_sleep+0x2c1 do_wait+0x258 __umtx_op_wait_uint_private+0x54 sys__umtx_op+0x7e amd64_syscall+0x118 fast_syscall_common+0xf8 58129 103628 packagekitd gmain mi_switch+0xbc sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 amd64_syscall+0x118 fast_syscall_common+0xf8 58129 103629 packagekitd gdbus mi_switch+0xbc sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 amd64_syscall+0x118 fast_syscall_common+0xf8 Thank you From nobody Thu Jul 10 07:19:14 2025 X-Original-To: freebsd-current@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 4bd5nY1nj8z61dQW for ; Thu, 10 Jul 2025 07:19:29 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bd5nX1Gy3z3VZX for ; Thu, 10 Jul 2025 07:19:28 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 56A7JFuF018698; Thu, 10 Jul 2025 10:19:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 56A7JFuF018698 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 56A7JEwp018697; Thu, 10 Jul 2025 10:19:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 Jul 2025 10:19:14 +0300 From: Konstantin Belousov To: Oleg Nauman Cc: FreeBSD Current Subject: Re: Process stuck in unkillable state if operating with inotify Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [1.03 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(0.99)[0.993]; NEURAL_HAM_SHORT(-0.97)[-0.967]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4bd5nX1Gy3z3VZX X-Spamd-Bar: + On Thu, Jul 10, 2025 at 10:06:52AM +0300, Oleg Nauman wrote: > I noticed that some processes consume 100% of CPU and unkillable even > with kill -9 > System info: CURRENT 17f0f75308f2 ( Jul 8 ) amd64 > > The only meaningful info I was able to collect it is output of > procstat -kk, so two examples of call stack for such type of > processes: > > PID TID COMM TDNAME KSTACK > 3192 100876 polkitd - > _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d > vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a > kern_inotify_add_watch+0x2be amd64_syscall+0x118 > fast_syscall_common+0xf8 > 3192 100889 polkitd gmain mi_switch+0xbc > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > amd64_syscall+0x118 fast_syscall_common+0xf8 > > and > > PID TID COMM TDNAME KSTACK > 58129 100829 packagekitd - ffs_lock+0x7d > _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d > vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a > kern_inotify_add_watch+0x2be amd64_syscall+0x118 > fast_syscall_common+0xf8 > 58129 103627 packagekitd pool-spawner mi_switch+0xbc > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _sleep+0x197 > umtxq_sleep+0x2c1 do_wait+0x258 __umtx_op_wait_uint_private+0x54 > sys__umtx_op+0x7e amd64_syscall+0x118 fast_syscall_common+0xf8 > 58129 103628 packagekitd gmain mi_switch+0xbc > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > amd64_syscall+0x118 fast_syscall_common+0xf8 > 58129 103629 packagekitd gdbus mi_switch+0xbc > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > amd64_syscall+0x118 fast_syscall_common+0xf8 Try D51233. This is a guess, not diagnosis. From nobody Thu Jul 10 08:06:00 2025 X-Original-To: freebsd-current@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 4bd6qb3gCqz61hN8 for ; Thu, 10 Jul 2025 08:06:19 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bd6qb1b7Mz3nSB for ; Thu, 10 Jul 2025 08:06:19 +0000 (UTC) (envelope-from oleg.nauman@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52a.google.com with SMTP id 41be03b00d2f7-b31c84b8052so971441a12.1 for ; Thu, 10 Jul 2025 01:06:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752134772; x=1752739572; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eD8upLHq/s8yCFd7enAjnvKemZSonBmOTRH69ctfwq4=; b=gLGJiPMQZkLJIAOHE9da/AFaT7aAy5nWgpJX4EJxvaJiQ7UhYmvZ3gir0JnGJe8JOm JXDSb9MY7dnmQROU9bDQM66TrLcjefYt/EXqAtT3rU85G+fibyrzFHcLfCnNjJnqOHtz JY+lKlcTWeWe71dVftWzJI7yN21NTZN+qyZp6nSVCPALV2lueJsR78sCuErJJIoACT4k tKmLShuPuqL8SznsrXCcOuQwhaReZK/QtckvCUyl5eyDVF+54oux6LjE9DTwc7xwa7gj UA95m+YvIiz/EPjQ+A8MV06fIecEGB5iSrCaSP8KmkRlwi7gwhSbycXkWbZ6aONGcndy M8pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752134772; x=1752739572; h=content-transfer-encoding:cc: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=eD8upLHq/s8yCFd7enAjnvKemZSonBmOTRH69ctfwq4=; b=qPTf5qiYx7arp7tCbKHsyR37OB/jjg0xwxDjCrNwKAp7z6btUn9HQ9IZkLYgOy/kqZ gEl5d75GV0yFK187nQkJ1tSCQgJ9DmntckyAxYtx7xfUXrw7tZhCkWuK144CpjlgfGa3 G0MpzelBUbOhLpWdxEZfdhQaNg1QTJXXO1Du748ecl6D/riCUV5NIzjMF9Wrdjp3kP3Z qdeCgJGf7MFqnIV3iIqUO/xi3NVVCEBUkrk+twZ3/BCsS1jTgXs2bepjNpxtJihA2nmx a6mMPapQijvjS2NahclMFfBgbf8t0bLS92RsHjOfgfn7NsuPSPP72QdLsTdpE7lxtY81 tg5A== X-Gm-Message-State: AOJu0YyYHxc3AD8WrUok67vDNvHNjacy+ppNT7a/QsVJOIxYcsvf5bck W3IdDnoa/sEl5xZqxzsDHFa+wrdGr2C0o+1zYRCFSL/AfctEyKo1EYYsiDaSEjygjvSUVDZt27S SpuXOQk/JH4NQBztiq6vMh76YWGE68EPmPQ== X-Gm-Gg: ASbGnctyRA88hd6iW97mMYIPr4dMMhb2ByfFrD+J/AeFJ3MkbuaLuJUjJMk7NDNIrqu 80AirhhhNOL6lJUpzzk1Fvr9LUI+ItVe64/MF7DdpybGzMT9NjXqhoEldqzjvfsw/sKqeoDmKa1 /QSwrTHA3lqe0gobBRY9+OfnW6fal3m2WvvHWolg== X-Google-Smtp-Source: AGHT+IEbb5XXJfZ8N3Nr8sP48KNVfOrn0H8GxIWJlpG1/VC++Q+azF9+JUcmi4FRIq18yk8y0PTyXfE7NpO9W08NEeI= X-Received: by 2002:a17:90b:5244:b0:313:17e3:7ae0 with SMTP id 98e67ed59e1d1-31c2fe00220mr6621694a91.34.1752134771879; Thu, 10 Jul 2025 01:06:11 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Oleg Nauman Date: Thu, 10 Jul 2025 11:06:00 +0300 X-Gm-Features: Ac12FXz2GjWmGc8hlhaxuriC1LRuOSednZTUjlXOecsLZB1xEHYsxRRAbAVXcBM Message-ID: Subject: Re: Process stuck in unkillable state if operating with inotify To: Konstantin Belousov Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4bd6qb1b7Mz3nSB 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)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] On Thu, Jul 10, 2025 at 10:20=E2=80=AFAM Konstantin Belousov wrote: > > On Thu, Jul 10, 2025 at 10:06:52AM +0300, Oleg Nauman wrote: > > I noticed that some processes consume 100% of CPU and unkillable even > > with kill -9 > > System info: CURRENT 17f0f75308f2 ( Jul 8 ) amd64 > > > > The only meaningful info I was able to collect it is output of > > procstat -kk, so two examples of call stack for such type of > > processes: > > > > PID TID COMM TDNAME KSTACK > > 3192 100876 polkitd - > > _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d > > vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a > > kern_inotify_add_watch+0x2be amd64_syscall+0x118 > > fast_syscall_common+0xf8 > > 3192 100889 polkitd gmain mi_switch+0xbc > > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > > amd64_syscall+0x118 fast_syscall_common+0xf8 > > > > and > > > > PID TID COMM TDNAME KSTACK > > 58129 100829 packagekitd - ffs_lock+0x7d > > _vn_lock_fallback+0x9e _vn_lock+0x8a vfs_lookup+0x122 namei+0x26d > > vn_inotify_add_watch+0x1b9 VOP_INOTIFY_ADD_WATCH+0x3a > > kern_inotify_add_watch+0x2be amd64_syscall+0x118 > > fast_syscall_common+0xf8 > > 58129 103627 packagekitd pool-spawner mi_switch+0xbc > > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _sleep+0x197 > > umtxq_sleep+0x2c1 do_wait+0x258 __umtx_op_wait_uint_private+0x54 > > sys__umtx_op+0x7e amd64_syscall+0x118 fast_syscall_common+0xf8 > > 58129 103628 packagekitd gmain mi_switch+0xbc > > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > > amd64_syscall+0x118 fast_syscall_common+0xf8 > > 58129 103629 packagekitd gdbus mi_switch+0xbc > > sleepq_catch_signals+0x27d sleepq_wait_sig+0x9 _cv_wait_sig+0xf5 > > seltdwait+0x9a kern_poll_kfds+0x517 kern_poll+0x107 sys_ppoll+0x70 > > amd64_syscall+0x118 fast_syscall_common+0xf8 > > Try D51233. This is a guess, not diagnosis. Yes it is and fixed this issue Thank you > From nobody Thu Jul 10 13:18:48 2025 X-Original-To: current@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 4bdFmN48hNz613BS for ; Thu, 10 Jul 2025 13:19:00 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdFmM06kyz3j10 for ; Thu, 10 Jul 2025 13:18:58 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=K8aUJCSo; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 2EF1BA64805 for ; Thu, 10 Jul 2025 13:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1752153527; bh=0coHAjsk6VyOAKe42rgXYMTeXptArT7Y+h12uBGLW28=; h=Date:From:To:Subject; b=K8aUJCSoztXBdPD9bAcBTmBSVTUaFR3MvIcPEO36y3u0cBkemcigrkTxhFnOypnum mqZNSWpor2x9016eM4WqpM/ObJTMXH9rz0ds5NOa6fu1hLhed/P2gUH7hYNAUKihSn 1mwucLthdOXKFy8qW48a/ZAb0K1mBdmq7h0KrsV5h5GoFa7FP7WtrBjtHGmlAUW4eb 3yM5OsV5yMKnYz7GCT9NstA0bwLf/d1mNjPwkw2fOFT2cxBIw8dqk8DzI3RnBAg9hr ZpyhAuLN+YYq5hAS8OZFUjE5imEfh912KrY13RAgTMNnX1q3v9JtOdwnuGKm9igIo0 FFbrxG83Y4yWR3aDif4a9mmMpA8zZG1CHyK01Ckacv7DzD3zz/wcgOMuMjuLQl3ecE zL7qB0Ry1F6ZEWqD0jqhdbXjJ9Y1XNAU4ycU27TvOSLYxPwy1YsZuODKES7CTiY5eG MK6xRiMpjwQhgL3kf9GudbJElnmce9uNvnMUrWS8HMv1Cm4lEjEAbSwCeYTycfB+aM k2hbFwjL3M5ZXPBcsHVGTOQdZ9ze8u4mC31XXF+4Ztgl/r0QyvDfM48E/objvLmiO1 yK4znWnKfke/M02z+9AVtSjqdAXC6FhnioChKX5ndda+jDlYuB72TrAmMNf8pq9oNH 32GFnElmcySGviLYwrgwCZf4= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id 862022D029E1 for ; Thu, 10 Jul 2025 13:18:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id yM-x6l7C9Dzh for ; Thu, 10 Jul 2025 13:18:49 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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 mail.sbone.de (Postfix) with ESMTPSA id A75FC2D029D8 for ; Thu, 10 Jul 2025 13:18:49 +0000 (UTC) Date: Thu, 10 Jul 2025 13:18:48 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@freebsd.org Subject: sysctl to prevent reboot? Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [0.54 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_SPAM_LONG(0.99)[0.990]; NEURAL_HAM_SHORT(-0.98)[-0.981]; NEURAL_SPAM_MEDIUM(0.54)[0.535]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[current@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4bdFmM06kyz3j10 X-Spamd-Bar: / Hi, I am not sure where but I thought I saw a change fly by which would prevent a shutdpwn -r /reboot (and possibly halt?) from being executed while a sysctl was set. Does anyone have a reference or have I been dreaming? I would find that very helpful for host systems running (multiple) bhyve instances. Happened twice to me recently that I typed reboot in the wrong window and restarted my dev machine entirely rather than a guest. /bz -- Bjoern A. Zeeb r15:7 From nobody Thu Jul 10 13:31:20 2025 X-Original-To: current@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 4bdG374tZDz6148P for ; Thu, 10 Jul 2025 13:31:47 +0000 (UTC) (envelope-from zlei@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdG3655B3z3pjR; Thu, 10 Jul 2025 13:31:46 +0000 (UTC) (envelope-from zlei@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752154306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pVX83xXklV2hqZ0HRJtIpUlx4Djcs01/nqrHnznqZbw=; b=MmvyAxVfv9rjRTLiFmKAiEMy8NlsSbGwmkjZtlNj/qjEIOMUqxl6D+8SQ68N45dh89m4px 3OL28KnHzP1EcbOI3tQ6azfjW/KCNWez0ttOmfv49UYT12l6x0ilRol6bf61X/PXVmRaY1 Ll9Hr8OLZqFs5VaXGxCSV9zKfTtf+zY3Xw7zgK4HpmgtvTtVq+ZDRBxtJHKEcozT+hanVk ct3tdGgtDtXfXP2j4bXNaATWo/HD6cmFnP0p2KyFHRhAb6wmL+LYVtu2fiCpdsXICO54gs ZkghC1V6YtycB/dSPCBP8ypM8y5Qja2AwR8mhdQXMOVVGxH1CTO/6hGJMvCeYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752154306; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pVX83xXklV2hqZ0HRJtIpUlx4Djcs01/nqrHnznqZbw=; b=DGq3lWrl0hNl35Nc5zgQkKFcEUrhTvh651MnuwMdJ2rUoAR6mxX584LjXqCwAkOX/zG4b+ 8Rhlu6cypexCC7U1dZzBqLgGmSu7Xvi2+IzkCCYgBMkle7zsf8DD2xpVKv/JhupuboaLuw aoME2qArNfIqGnSjCGJ76EEyYWcXMUjBliLT0GmmsR+oKAnwf7b2ocX/eWF5EvLmnpE7JD Kfm2F77yDSN3PKlvNuGtRhyQtD9AP+VRdc5F5s/EgPHBvWt+6TG2q9T2QVn8L/3Ig4+lyN SApnOB6CknYoCbkU56wziMYpN1/KV9IpCzGi7gPxJdUVkMr30JpUzMpvOA2Kvw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752154306; a=rsa-sha256; cv=none; b=UhCfWx1hXJDUgsRiDu48tb78CdIU4/RRSF/1QC4jeyKIbgwqaNk5Bcyv9HAL8haWrK24c6 c0ZQUcC/zeUz1OzvNd2+pp54JrsZOrHr6m8gyR/wZNDcBHwstVxWBYI8q5Tb7voBvsOBws 5Tz+OXPL9XLq9cnTpkO9mHPHgKIgnZmKaCiEBHfm3JVVUSGTUMQrUxTuDCT51wuvE6o4sT F45R7YDL9i3RnXNLwyrIEkCdv4nPiMn+U158sjPrDZo8AP18m9is3sFSjAX3SDKYkCCjnO fD1oTtk2/A4o2TAa7KxDgn3j+dsH06vwGgB0ucpYXWK/n1BxhQUlraq5vMx5/g== Received: from smtpclient.apple (unknown [IPv6:2001:19f0:6001:9db:98f0:9fe0:3545:10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: zlei/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bdG333tVszmgZ; Thu, 10 Jul 2025 13:31:43 +0000 (UTC) (envelope-from zlei@FreeBSD.org) From: Zhenlei Huang Message-Id: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_67CE9146-BB61-4044-8616-4AABBA13B925" List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.10\)) Subject: Re: sysctl to prevent reboot? Date: Thu, 10 Jul 2025 21:31:20 +0800 In-Reply-To: Cc: FreeBSD Current , Konstantin Belousov To: "Bjoern A. Zeeb" References: X-Mailer: Apple Mail (2.3696.120.41.1.10) --Apple-Mail=_67CE9146-BB61-4044-8616-4AABBA13B925 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 10, 2025, at 9:18 PM, Bjoern A. Zeeb = wrote: >=20 > Hi, >=20 > I am not sure where but I thought I saw a change fly by which would > prevent a shutdpwn -r /reboot (and possibly halt?) from being executed > while a sysctl was set. >=20 > Does anyone have a reference or have I been dreaming? >=20 > I would find that very helpful for host systems running (multiple) = bhyve > instances. Happened twice to me recently that I typed reboot in the = wrong > window and restarted my dev machine entirely rather than a guest. >=20 > /bz >=20 > --=20 > Bjoern A. Zeeb = r15:7 >=20 Hi Bjoern A, I believe Konstantin's work [1] and [2] are precisely what you need. [1] = https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7afe= 2b87f7e3 = shutdown(8): refuse to run if /var/run/noshutdown is = present [2] = https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef08= 07485c91 = rc.d: Add precious_machine rc.conf knob to create = /var/run/noshutdown Best regards, Zhenlei --Apple-Mail=_67CE9146-BB61-4044-8616-4AABBA13B925 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Jul 10, 2025, at 9:18 PM, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:

Hi,
I am not sure where but I thought I saw a = change fly by which would
prevent a shutdpwn -r /reboot = (and possibly halt?) from being executed
while a sysctl = was set.

Does anyone have a reference or = have I been dreaming?

I would find that = very helpful for host systems running (multiple) bhyve
instances.  Happened twice to me recently that I typed = reboot in the wrong
window and restarted my dev machine = entirely rather than a guest.

/bz

--
Bjoern A. Zeeb =             &n= bsp;           &nbs= p;            =             &n= bsp;  r15:7


Hi Bjoern A,

I believe Konstantin's work [1] and =  [2] are precisely what you need.

[1] https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fd= a2ba58d7afe2b87f7e3   shutdown(8): refuse to run if = /var/run/noshutdown is present
[2] https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a92= 27fcdb6ef0807485c91  rc.d: Add precious_machine rc.conf = knob to create /var/run/noshutdown

Best regards,
Zhenlei

= --Apple-Mail=_67CE9146-BB61-4044-8616-4AABBA13B925-- From nobody Thu Jul 10 13:51:47 2025 X-Original-To: current@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 4bdGVP054Vz6150Y for ; Thu, 10 Jul 2025 13:51:57 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdGVN5ynzz3wVX; Thu, 10 Jul 2025 13:51:56 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 22330A64805; Thu, 10 Jul 2025 13:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1752155506; bh=X2b62geTXLyeMuqOFqxz1Yp5oLpd+REz4CbJTjzeuLI=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=NEyN4gv7TAUnRnDWFtCvhe+pNU5PRA8Kz33DVW5GXaqoz9NJSrGyd5ofEsRZj2W19 1qCsQolaSQkJk/PaIAL2j3QB7nhrl2aZpq3eZSZARiNgmn/V+++V8VTYSpuscSMUSe B3Dw55QI+MHzCBctHJsPusgJV8Q/kzUleTTqK5Vr6RoHYP3DlnERFZ5ulNYwN7q98H 24XDXsgve/ms6erIaUZ/VqAyBzNDuLG/UKsj+JIndlhtVmqClgRZN/rSkCIKIl6i8t nOkX0K1vwgCmzW/zArISafKFj06UXMuXtbUNwDmAVU3T2Z60ax+M2yc0U9sfe4NcJM pTnt6NEBDOPyDLUf/pBL8p48u8ZSq7whmOVWxV0IQwZYjTnI6oRVvwF+tMtiGRWG6e itzwX0IQZlEx/vPYAOBv9IKXyhKEprvy8Zup+kKPc+huzXSWtBF6S6U75CL57JIJi7 t4WKslvH/+l6/BBtZ0CS0K3sObEGtcsVGkLi4+sCZURGg3ycEQfHByVlL3oRzsiqS/ Lc9YPpZ7Kv8P59F0Ueq2hR1QfpEFfoiUV3kD07q00VAkSJYxR5vbYWVyFLIsW7VDEU Sbna58pHzp1eoPDtApaBNnrblw5ViOsxIqomkcl7v3qNcWprBkcFlO8AMmJSnWNU10 cU1C+KVoJn5tN2o/w04Tay2w= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id 773D12D029E1; Thu, 10 Jul 2025 13:51:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id W3VnH1ZY7aRB; Thu, 10 Jul 2025 13:51:48 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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 mail.sbone.de (Postfix) with ESMTPSA id 8E3ED2D029D8; Thu, 10 Jul 2025 13:51:48 +0000 (UTC) Date: Thu, 10 Jul 2025 13:51:47 +0000 (UTC) From: "Bjoern A. Zeeb" To: Zhenlei Huang cc: FreeBSD Current , Konstantin Belousov Subject: Re: sysctl to prevent reboot? In-Reply-To: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> Message-ID: References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4bdGVN5ynzz3wVX 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:3320, ipnet:2003::/19, country:DE] On Thu, 10 Jul 2025, Zhenlei Huang wrote: Hi, > I believe Konstantin's work [1] and [2] are precisely what you need. > > [1] https://cgit.freebsd.org/src/commit/?id=7fb88c20eccc3fd2118fda2ba58d7afe2b87f7e3 shutdown(8): refuse to run if /var/run/noshutdown is present > [2] https://cgit.freebsd.org/src/commit/?id=384d976725a5c29734a9227fcdb6ef0807485c91 rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown Thanks! I was looking in the wrong place. That doesn't catch reboot, does it? For me that's the offending command as I type that at the loader prompt (if I am in the correct window). /bz -- Bjoern A. Zeeb r15:7 From nobody Thu Jul 10 13:59:35 2025 X-Original-To: freebsd-current@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 4bdGgZ5D6Yz615Y9 for ; Thu, 10 Jul 2025 13:59:54 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdGgZ0d2Qz412w; Thu, 10 Jul 2025 13:59:54 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b="ieUtpzT/"; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::534 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-60bf5a08729so1776546a12.0; Thu, 10 Jul 2025 06:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752155988; x=1752760788; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RcI6jVrLEd9TRHUaXiCH+/6w6nlo6VBPu3PJlnweJq8=; b=ieUtpzT/+SCsXv7bT7RPWeJanCQynaddvTVBhDoil4IXSsgHI81MeQbamUA1ahgmKr sCmT5YnmI+4nXTEq5lfjB1JzbiH2h/er7ty0MrSH8Q4MBrn1itr55TNoiorFv3tbm3Jl yQGnKhOa7HIo45phL/1tlID6ZJJZzwQo6om7RlHRU3JiSqzu9DkD916pBFOputFEB8ga UMeNUuNFJu+ZlSoqmFBw6MbFLn9gOmAunbdlKmzEy1a1kDG7qLpQ7XNNnADZl5dJI584 T0pd1KKWw8zyAK+l3LZ7LRgs7UyWD0QRyB4hSVO2tnig/QJ26CuCkrxGM0akEgtUoH8q zqfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752155988; x=1752760788; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RcI6jVrLEd9TRHUaXiCH+/6w6nlo6VBPu3PJlnweJq8=; b=YaKB+UdsOcBfj5L/qt0nIMPhn0Shk+EKnL8YJTPpvjN7xWMaZIloE7flRltvYhc3l3 na52RaxLulR30kTy8Vwv02i72SickWMkxzChyxnDJuCdJUbUDN2lzuv0glTZIVYCpXMD oDHUNZQ8gs5X1z8kl6xw9zKJcbbOgwwIsQbo2WqPYisShLhmJkQiKAz0i4xGIkbZ9tR2 Ws5Qvxlhe1kC3Nd1HdI/7UPki2vktu+Gwz2iScHZkN+e0R8WDsX44KPmgcSQHATrrkqL cpWanntTyJ3v6VwIz0BF5LEKLAOqAWDIQqFyYx/bg1sLbdFdRbq3N488izLuQbXLPeYx Nx/g== X-Forwarded-Encrypted: i=1; AJvYcCUVTDNy3vgbQzvxsCFyzX8Gt/szbSqKvJnNcHzrtCOseTGCE6qMz8Kuo/49YYD7kHLc+mTx@freebsd.org, AJvYcCX957hsYGDDfEOAKBJfOmQNX/8tHLlZU+fvxVsp7v2Cmppc6Qpurj26ORgse81QenheRmE=@freebsd.org X-Gm-Message-State: AOJu0YzQzLCmCfFofG0MRqe9pTNAChFVcIHOnwSnAsJd6eqayJT/AO70 BbL1f7FjSPz7dwIn2BVeSIdPBYIKj2crsIWUmHfzVdeY+aNje2AkLohvv3n1+BXLf8klvEuu0y1 DDS34keySl/hsojLGxth3aLstPwbOYVfK X-Gm-Gg: ASbGncu/Wzgrr6XdzyrVbqTHP3rGeXdyGu1BUIf7p/offwnbVK0hJiMX/N/y3l0jpKj L9ehgQiZcMcKNzYHzd2FrjRDM4YAHyiuWEzai4PeCnhiJF33lEZSMf4dWMkkF/sAeHq1LT26CHy PlsdLFZsIwe2X9FvcaS9/zQG/htSzzqwzCIdeQmpCd4qOu6nQg1jVkPvv7V3eYeMqk4TMlTNL6m X8= X-Google-Smtp-Source: AGHT+IG6NIlkXpv95GuUBBfx8R1kL1gQXf2yEAVpxq6GGqBMetDfDf4gtG+U30MAtua8ka/XS5S8bXzZplS1nZTvz8g= X-Received: by 2002:a05:6402:4404:b0:608:f493:871c with SMTP id 4fb4d7f45d1cf-611c8495fe3mr2632220a12.14.1752155987338; Thu, 10 Jul 2025 06:59:47 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 From: Rick Macklem Date: Thu, 10 Jul 2025 06:59:35 -0700 X-Gm-Features: Ac12FXzCxjG-9vajLTVlCnF-CCufDmDcbTi2E38aXrlXn-6RwT4mt3tksMZqQdk Message-ID: Subject: RFC: Documenting weird case w.r.t. Solaris style extended attr (ZFS) To: FreeBSD CURRENT , Alexander Motin , Konstantin Belousov Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [0.52 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.999]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.48)[-0.480]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; TO_DN_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::534:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bdGgZ0d2Qz412w X-Spamd-Bar: / I've done a series of commits to main to add support for Solaris style extended attributes (which I called named attributes, which is the NFSv4 term for them). ZFS is currently the only local file system that will support them and only if the ZFS property "xattr" is set to "dir". If "zfs set xattr=dir " is done before any user namespace extended attributes are created for files via extattr(2), I think everything makes sense. --> There is one set of extended attributes that are visible through both extattr(2) and named_attribute(7). However, if extattr(2) is used to create user namespace extended attributes when "xattr=sa" and then "xattr" is set to "dir", these extended attributes are only visible to extattr(2) and not named_attribute(7). --> I will note that you can use tar(1) to copy the files and then the extended attributes become visible to named_attribute(7). I do not see any way to avoid this, but it should at least be documented. So, where do you think I should document this? - I could put it in named_attribute(7) as an additional case where the two extended attribute system call mechanisms cannot be used. (I was hesitant, since this is ZFS specific). Does this sound ok, or is there somewhere better to put it? (zfsprops(7) is another possibility, since it already documents "sa" and "dir" values for the "xattr" property.) Thanks in advance for any comments, rick From nobody Thu Jul 10 14:01:57 2025 X-Original-To: current@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 4bdGkK5yG2z615bj for ; Thu, 10 Jul 2025 14:02:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdGkK2105z42m6 for ; Thu, 10 Jul 2025 14:02:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-747fba9f962so951330b3a.0 for ; Thu, 10 Jul 2025 07:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1752156129; x=1752760929; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uvOIqjQZ2ggzaKIU+kbg5izfL/7Yigujt+thTYxM60o=; b=1AiFEw666bTxJYFTHjm57AQH5mBFlHEiap7xl9zA0iBn6Kpk4lHxqweZuw2QvVoFpQ vFb+Ga97iajwMlo5Ltxp0KSWa/wZ416ZaHYAHZ7gKUkDvTqw7ROhhz8swqTPszMOAMwW W/mg6na5gd29J60X5qfFw573p1QgcLF91F0emtsJ7MvWtchFz/vihEVVySWP0nLlw7iX bDaNFmoXCKPb0XyodxeGl1NfB3PF59bJTcksbOxX0JGp0LmiS4aS14jrSGHc5qeYbSTG 30Vs0/gQ0F5x53XPHyb/X9SMFrmZCYbtHA7/XmELrmRkuRHjnWqXnSJ0RXtbPi8hoS+I z2Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752156129; x=1752760929; h=cc: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=uvOIqjQZ2ggzaKIU+kbg5izfL/7Yigujt+thTYxM60o=; b=hD1bW56CszFbql/hMZcPRP2nAXbpaP/RAMxn83FK3Ix466WmnNpXaoHfes+X/RPQmS BaOIATw48+/13rfoZLFOvx/sxfRFhXX0zSbMCm4AMhF1Y/ZW9iH9v1obDWdf4wj5Z/VS xAiCTBhhm8GcNtIA8nQ970ssUK4k66X3VuWbVORSg4wua+o1sJ3gunpWq2kw+QzUTmpf uaDcYHcpVScKStz/UtQ19VTCqfLMkVB/K2waOBhRRLnoXaw76zwSj/77tQWlfa4KEgTp kKvXXDzcnC4fwXPtSebOkv2QJy7GCjFBsGGoU0YRmvi+T4jbqYOl4Zbpb0y34wlFHlPY b15w== X-Forwarded-Encrypted: i=1; AJvYcCWxP+gDQVikjKlc7YFt3fzs3JID6Q0p5VFvz8fQmUnej5xRnDLqtgqiIYe7+zHWsSSZI5x/+LvV@freebsd.org X-Gm-Message-State: AOJu0Yx66VVRZfKUv6kAoIQJ/I+dNI1u0ptH9wdShXzR+22bRu862/e3 Lq8qHGkEOMhaY1NgJAqoYX8Kuf52h3lA6owkbL7QFBI2HScusS/bwlntoh7guzsDDOGbEEPPNDJ XsZWQqybiiF5C4vRUwYxIQFPXFNGdAT22M3I3XkiN/A== X-Gm-Gg: ASbGncvEYDRuE5XhPnOXSTt5kudQ9aqdjY+OjPfXhivXbXQ+hiC4m+kX0ifwLUlaNkv LDgsRO0cRMiiRD0f4IiQaNnxJ9m95/o5tpP3Vb0JDwGJ4V1q3tQMJaxIZ/ftp56EQ7+/AesSuuJ KU8T4TxqKCYEEo319FEkDfJcWhettiMe1rwqpFJh+gKa8L2P/C7rogU2BL7cX41rn6LAmGP72Hz Q== X-Google-Smtp-Source: AGHT+IGYX6h8GNfR7wWcq92U1/sa3Q2G3SjmC6bqAit18tK5SAJ+em1E3OYH48F+AD9jgzqMQLBwlILamgVr1lvd0Ec= X-Received: by 2002:a05:6a21:6e4c:b0:21c:fa68:9da6 with SMTP id adf61e73a8af0-22fc2c0d18amr5798945637.8.1752156129080; Thu, 10 Jul 2025 07:02:09 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Thu, 10 Jul 2025 08:01:57 -0600 X-Gm-Features: Ac12FXxl8VlQ5cuGbzMCPAFTgKhnVVwYImrdWcxGP-KygIYrQJ0cgewQkGi0OY8 Message-ID: Subject: Re: sysctl to prevent reboot? To: "Bjoern A. Zeeb" Cc: Zhenlei Huang , FreeBSD Current , Konstantin Belousov Content-Type: multipart/alternative; boundary="000000000000aa5a79063993a306" X-Rspamd-Queue-Id: 4bdGkK2105z42m6 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:15169, ipnet:2607:f8b0::/32, country:US] --000000000000aa5a79063993a306 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2025, 7:52=E2=80=AFAM Bjoern A. Zeeb wrote: > On Thu, 10 Jul 2025, Zhenlei Huang wrote: > > Hi, > > > I believe Konstantin's work [1] and [2] are precisely what you need. > > > > [1] > https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7af= e2b87f7e3 > < > https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7af= e2b87f7e3> > shutdown(8): refuse to run if /var/run/noshutdown is present > > [2] > https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef0= 807485c91 > < > https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef0= 807485c91> > rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown > > Thanks! I was looking in the wrong place. > > That doesn't catch reboot, does it? For me that's the offending command > as I type that at the loader prompt (if I am in the correct window). > 'alias reboot shurdown -r' has other benefits as well Warner /bz > > -- > Bjoern A. Zeeb r15:7 > > --000000000000aa5a79063993a306 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jul 10, 2025, 7:52=E2=80= =AFAM Bjoern A. Zeeb <= bzeeb-lists@lists.zabbadoz.net> wrote:
On Thu, 10 Jul 2025, Zhenlei Huang wrote:

Hi,

> I believe Konstantin's work [1] and=C2=A0 [2] are precisely what y= ou need.
>
> [1] https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7af= e2b87f7e3 <https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fd= a2ba58d7afe2b87f7e3>=C2=A0 =C2=A0shutdown(8): refuse to run if /var/= run/noshutdown is present
> [2] https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef0= 807485c91 <https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a92= 27fcdb6ef0807485c91>=C2=A0 rc.d: Add precious_machine rc.conf knob t= o create /var/run/noshutdown

Thanks!=C2=A0 I was looking in the wrong place.

That doesn't catch reboot, does it?=C2=A0 For me that's the offendi= ng command
as I type that at the loader prompt (if I am in the correct window).

'al= ias reboot shurdown -r' has other benefits as well

Warner

/bz

--
Bjoern A. Zeeb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0r15:7

--000000000000aa5a79063993a306-- From nobody Thu Jul 10 14:30:17 2025 X-Original-To: current@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 4bdHLx4BD4z6171N for ; Thu, 10 Jul 2025 14:30:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdHLw6RzDz4DYb; Thu, 10 Jul 2025 14:30:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 56AEUIT5031128; Thu, 10 Jul 2025 17:30:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 56AEUIT5031128 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 56AEUH14031127; Thu, 10 Jul 2025 17:30:17 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 Jul 2025 17:30:17 +0300 From: Konstantin Belousov To: "Bjoern A. Zeeb" Cc: Zhenlei Huang , FreeBSD Current Subject: Re: sysctl to prevent reboot? Message-ID: References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Rspamd-Queue-Id: 4bdHLw6RzDz4DYb 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:6939, ipnet:2001:470::/32, country:US] On Thu, Jul 10, 2025 at 01:51:47PM +0000, Bjoern A. Zeeb wrote: > On Thu, 10 Jul 2025, Zhenlei Huang wrote: > > Hi, > > > I believe Konstantin's work [1] and [2] are precisely what you need. > > > > [1] https://cgit.freebsd.org/src/commit/?id=7fb88c20eccc3fd2118fda2ba58d7afe2b87f7e3 shutdown(8): refuse to run if /var/run/noshutdown is present > > [2] https://cgit.freebsd.org/src/commit/?id=384d976725a5c29734a9227fcdb6ef0807485c91 rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown > > Thanks! I was looking in the wrong place. > > That doesn't catch reboot, does it? For me that's the offending command > as I type that at the loader prompt (if I am in the correct window). Reboot is very different from shutdown. I never use it except on nfs-booted crash boxes, so I did not considered. If you think it is useful, I can add the check there too. From nobody Thu Jul 10 14:32:51 2025 X-Original-To: current@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 4bdHPx2LpPz617Fh for ; Thu, 10 Jul 2025 14:33:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdHPx0QKJz4GXm for ; Thu, 10 Jul 2025 14:33:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-b34a71d9208so937250a12.3 for ; Thu, 10 Jul 2025 07:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1752157983; x=1752762783; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+gfoD4DwqU2ySCH7ENTHuE1k16zTtghF1nPa4EMPiNA=; b=AyjVv5hKt13DrsbEzaKOOnHCK8bKFM6VusJL1DZLvd/AjwxnvciI0rrQrV2jVj2tm2 +9brtEEbq8cuEiOxBS2jRTNGDEk3UGZ/Ht/mf2X5Kqb/bkMirAwFEx/f4TJ7oOPR2LYS uI4srv2m9oY011YMI2eK2Nue0oRL8nhim8YT4dbZJJxKyIBXqHX0eE+kEf74AvSD1oUo 7Dvhr0DiBbnKVhgQQSgmkKbUJjoG1w0/9R45UBMgTSt5HJQGWS8Nw/QMlPbedXLZiwDn XEtjqlkCzJgHLEXauhHLHRhgjMQpCPvQ7tlpXDU+ps7P84EYmPAAhbdNtriU9Ed1xuY4 rjjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752157983; x=1752762783; h=cc: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=+gfoD4DwqU2ySCH7ENTHuE1k16zTtghF1nPa4EMPiNA=; b=ktEjPoyF/bbWhKtSIC+hT0u8klB6NgQY3USG9fMZBEt0fyDRrZ7adEpveZFM3QQibf 5cVe/6zQObemwL3U6beP8bUeMFqzGHYIo7VF/6/OydfwLoyckMeY8j7D+4UWF77jMFi/ UyXLElBatSRKcOajR9UeF6x3QvdaBtztF0oBHgbWujue2IB7mEZ/fZeKOqdyEiva/bfp JGSDSUoodEiDl7aknz1PoOqhVqM7uEDHWIB50O5nqndYZu0tBeIOr0h7jrDvu8+UqwxU StnZ9Qn002guHvgEuRJUkRo5lKSZD6ppnlywV0dBJa7/vH+H0JIxXcILJsamsg0KUj3u gj6g== X-Forwarded-Encrypted: i=1; AJvYcCVZX2eVMW4u3HaiF2BpfAZ8vBb3G6TO2yfEKP9dFdpNRbJ7U0hjq/x4NW7/h8cchz5SQYt41jzJ@freebsd.org X-Gm-Message-State: AOJu0YxwuSJlCmO1QakJto0BZiFUznwFMXbvwBR6TFwTcqQIQnBfbaOQ POIQlXAJCR+cT3NnSh/sDoadt5WWTz/4xwgvF1WDEdq9Jwdm1JOEZcYE7QWRAJKaLsoXY4PSPBc vyt0BK5VoVNcwYM3r4d3cVJSMwLsW5dxgruUikY2rv+zUu5ypBIKu+fU= X-Gm-Gg: ASbGnctp3A332otmzrmrkC6M5I8SBI5cWQ6P1inHCEhesgdp3XYmXvPzzV/2KabJsil TNp2rFPKYox9W/ssdEemXH82u4/0QV184JObTS2cQKHBaCXmmRlSA1oim5YMQ6z2vPy7WFKzcjS 5ERkz+diQjNfTnHjif1h8tvQWAWYyDdZtu4SYyDAn35u9+odaiLpVjWMV1e4+RYpCFp7BhlTt/B g== X-Google-Smtp-Source: AGHT+IGJZLiUeklFpgV1iHBdWSsz/D6CyU/4tl0oMbUhLB7LF+uLYi0/5EdofGKKuA6xx2fVkATBEgC2OcOVox4RRqc= X-Received: by 2002:a17:90a:d64e:b0:311:df4b:4b82 with SMTP id 98e67ed59e1d1-31c3ef10c16mr4571371a91.4.1752157982863; Thu, 10 Jul 2025 07:33:02 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> In-Reply-To: From: Warner Losh Date: Thu, 10 Jul 2025 08:32:51 -0600 X-Gm-Features: Ac12FXzwFDBLesH38O03gg3TgEOXqCuFJSvzVmA9voMaGz4snDM_Yu5AXlodVq8 Message-ID: Subject: Re: sysctl to prevent reboot? To: Konstantin Belousov Cc: "Bjoern A. Zeeb" , Zhenlei Huang , FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000028d04c0639941242" X-Rspamd-Queue-Id: 4bdHPx0QKJz4GXm 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:15169, ipnet:2607:f8b0::/32, country:US] --00000000000028d04c0639941242 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2025, 8:30=E2=80=AFAM Konstantin Belousov wrote: > On Thu, Jul 10, 2025 at 01:51:47PM +0000, Bjoern A. Zeeb wrote: > > On Thu, 10 Jul 2025, Zhenlei Huang wrote: > > > > Hi, > > > > > I believe Konstantin's work [1] and [2] are precisely what you need. > > > > > > [1] > https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7af= e2b87f7e3 > < > https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba58d7af= e2b87f7e3> > shutdown(8): refuse to run if /var/run/noshutdown is present > > > [2] > https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef0= 807485c91 > < > https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcdb6ef0= 807485c91> > rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown > > > > Thanks! I was looking in the wrong place. > > > > That doesn't catch reboot, does it? For me that's the offending comman= d > > as I type that at the loader prompt (if I am in the correct window). > > Reboot is very different from shutdown. I never use it except on > nfs-booted > crash boxes, so I did not considered. > > If you think it is useful, I can add the check there too. > There have been other proposals that align reboot better with Linux's behavior, then a special check isn't needed. Warner > --00000000000028d04c0639941242 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jul 10, 2025, 8:30=E2=80= =AFAM Konstantin Belousov <kostik= bel@gmail.com> wrote:
On Thu= , Jul 10, 2025 at 01:51:47PM +0000, Bjoern A. Zeeb wrote:
> On Thu, 10 Jul 2025, Zhenlei Huang wrote:
>
> Hi,
>
> > I believe Konstantin's work [1] and=C2=A0 [2] are precisely w= hat you need.
> >
> > [1] https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fda2ba5= 8d7afe2b87f7e3 <https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd= 2118fda2ba58d7afe2b87f7e3>=C2=A0 =C2=A0shutdown(8): refuse to run if= /var/run/noshutdown is present
> > [2] https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a9227fcd= b6ef0807485c91 <https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29= 734a9227fcdb6ef0807485c91>=C2=A0 rc.d: Add precious_machine rc.conf = knob to create /var/run/noshutdown
>
> Thanks!=C2=A0 I was looking in the wrong place.
>
> That doesn't catch reboot, does it?=C2=A0 For me that's the of= fending command
> as I type that at the loader prompt (if I am in the correct window).
Reboot is very different from shutdown.=C2=A0 I never use it except on nfs-= booted
crash boxes, so I did not considered.

If you think it is useful, I can add the check there too.
<= /div>

There have been ot= her proposals that align reboot better with Linux's behavior, then a sp= ecial check isn't needed.

Warner
--00000000000028d04c0639941242-- From nobody Thu Jul 10 14:38:47 2025 X-Original-To: current@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 4bdHXV2j60z617gX for ; Thu, 10 Jul 2025 14:38:50 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdHXV1nDdz4JmB; Thu, 10 Jul 2025 14:38:50 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 2658AA64805; Thu, 10 Jul 2025 14:38:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1752158325; bh=XMi9V/HdKmpmALxvY5yJD+mTaItPz+AkRXhPvZ6+TdA=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=HK6xVWpA2IwVysTzdztXcPOFbFMsd+0kaBQz8s9SFwCC5nj3fmltRfZQxhIoJtgd1 zcbkmdcrvD9RgntaKWbseV1SvD427pjKeg4eDH1GHsdpEXSfmJPGIUDYwgEg1BffBP SZLb3YgFeIpp3AWWkjMbY+Mcf5s77bOREBwI8yXRvze3Xqk0TG9w8EmhTiDPfCQIoT EhYOfd9OPJxb9Vyrb2YOo9i8t2Xm/TzzRjx7LLrTd2ByrarjqnbkQvx8rlzcIQS3ba BuYgKJ/JpL3VapwiYHXyKiRl8YUHITftEOK/64L9AUZDI6q23rFlAMD4jNgeo1PhIL h249IT79YYGc5qBVKqR7njAH5de/cGpcxA3R70fYJzqyOMSFue8SlENuycl1t3q8Ut 5ANuHc1PF/Cl6xuZrjYdbaxdrXWiK07DzDDIZt4NHczpzSVAhakwHhIvcmdYohGOwZ 6vrRj5z0VCMjlH7WkT+d0NGYCXXVXnRMpxH5WxaTG5Iep6zSnuUF42vwjlvT6sIqO3 QkhiIaF091qG9jknYlR8uS5nYq0scQ48pvb1LIp5fa+e0w++35yOYGIBPjFIvRgNLl KPo+a1rKkMyFwwns2ovW3m/yL9fP8mpdNCSteEHJgZHV6xAZeJQb3AqeMLXnvo2Blv e7LvRelv28ES+NKv3fTr9F5Q= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id 8A5C22D029E1; Thu, 10 Jul 2025 14:38:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id jDbTjSiDx1tw; Thu, 10 Jul 2025 14:38:47 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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 mail.sbone.de (Postfix) with ESMTPSA id 5374C2D029D8; Thu, 10 Jul 2025 14:38:47 +0000 (UTC) Date: Thu, 10 Jul 2025 14:38:47 +0000 (UTC) From: "Bjoern A. Zeeb" To: Warner Losh cc: Konstantin Belousov , Zhenlei Huang , FreeBSD Current Subject: Re: sysctl to prevent reboot? In-Reply-To: Message-ID: <3os2rn9s-17sn-0568-6400-6po56nqnq72q@yvfgf.mnoonqbm.arg> References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1098556516-1181702811-1752158327=:4078" X-Rspamd-Queue-Id: 4bdHXV1nDdz4JmB 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:3320, ipnet:2003::/19, country:DE] This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1098556516-1181702811-1752158327=:4078 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 10 Jul 2025, Warner Losh wrote: > On Thu, Jul 10, 2025, 8:30 AM Konstantin Belousov > wrote: > >> On Thu, Jul 10, 2025 at 01:51:47PM +0000, Bjoern A. Zeeb wrote: >>> On Thu, 10 Jul 2025, Zhenlei Huang wrote: >>> >>> Hi, >>> >>>> I believe Konstantin's work [1] and [2] are precisely what you need. >>>> >>>> [1] >> https://cgit.freebsd.org/src/commit/?id=7fb88c20eccc3fd2118fda2ba58d7afe2b87f7e3 >> < >> https://cgit.freebsd.org/src/commit/?id=7fb88c20eccc3fd2118fda2ba58d7afe2b87f7e3> >> shutdown(8): refuse to run if /var/run/noshutdown is present >>>> [2] >> https://cgit.freebsd.org/src/commit/?id=384d976725a5c29734a9227fcdb6ef0807485c91 >> < >> https://cgit.freebsd.org/src/commit/?id=384d976725a5c29734a9227fcdb6ef0807485c91> >> rc.d: Add precious_machine rc.conf knob to create /var/run/noshutdown >>> >>> Thanks! I was looking in the wrong place. >>> >>> That doesn't catch reboot, does it? For me that's the offending command >>> as I type that at the loader prompt (if I am in the correct window). >> >> Reboot is very different from shutdown. I never use it except on >> nfs-booted >> crash boxes, so I did not considered. >> >> If you think it is useful, I can add the check there too. I don't use it either for the normal OS but it does something (extra bad) if I type it and am not at the loader prompt as I thought I was. > There have been other proposals that align reboot better with Linux's > behavior, then a special check isn't needed. There was a reason I originally thoguth it was a sysctl as that would prevent any applicant binary modifications and probably would even catch a signal to init but whatever it is or will be; catching reboot would be good as that is the bad command from the loader. "reset" thankfully doesn't do any bad ... Using alias feels too fragile to be honest. Anyway; I an help myself now at least; thanks! -- Bjoern A. Zeeb r15:7 --1098556516-1181702811-1752158327=:4078-- From nobody Thu Jul 10 17:54:51 2025 X-Original-To: freebsd-current@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 4bdMtx18GBz61LDR for ; Thu, 10 Jul 2025 17:55:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdMtw0cypz3L1g; Thu, 10 Jul 2025 17:55:03 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 56AHsq12038653; Thu, 10 Jul 2025 20:54:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 56AHsq12038653 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 56AHspk0038652; Thu, 10 Jul 2025 20:54:51 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 10 Jul 2025 20:54:51 +0300 From: Konstantin Belousov To: Rick Macklem Cc: FreeBSD CURRENT , Alexander Motin Subject: Re: RFC: Documenting weird case w.r.t. Solaris style extended attr (ZFS) Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [1.07 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.93)[-0.934]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4bdMtw0cypz3L1g X-Spamd-Bar: + On Thu, Jul 10, 2025 at 06:59:35AM -0700, Rick Macklem wrote: > I've done a series of commits to main to add support for > Solaris style extended attributes (which I called named attributes, > which is the NFSv4 term for them). > > ZFS is currently the only local file system that will support them > and only if the ZFS property "xattr" is set to "dir". > > If "zfs set xattr=dir " is done before any user namespace > extended attributes are created for files via extattr(2), I think > everything makes sense. > --> There is one set of extended attributes that are visible through > both extattr(2) and named_attribute(7). > > However, if extattr(2) is used to create user namespace extended > attributes when "xattr=sa" and then "xattr" is set to "dir", these > extended attributes are only visible to extattr(2) and not > named_attribute(7). > --> I will note that you can use tar(1) to copy the files and then the > extended attributes become visible to named_attribute(7). > I do not see any way to avoid this, but it should at least be documented. > > So, where do you think I should document this? > - I could put it in named_attribute(7) as an additional case where > the two extended attribute system call mechanisms cannot be > used. (I was hesitant, since this is ZFS specific). > Does this sound ok, or is there somewhere better to put it? > (zfsprops(7) is another possibility, since it already documents > "sa" and "dir" values for the "xattr" property.) I do not see why not put it to named_attribute(7) page. We do not have a ban on adding important fs-specific notes in the generic documentation. More, I think it is a proper place to document the details instead of spreading them into corners. BTW, would you consider adding named attrs support to tmpfs? I believe it is useful for tmpfs to be on par with the union of all features of our local filesystems. From nobody Thu Jul 10 18:21:51 2025 X-Original-To: current@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 4bdNVW2rrTz61NS4 for ; Thu, 10 Jul 2025 18:22:27 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mx0a-00273201.pphosted.com (mx0a-00273201.pphosted.com [208.84.65.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.pphosted.com", Issuer "Sectigo RSA Organization Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdNVV2MHlz3Z67; Thu, 10 Jul 2025 18:22:26 +0000 (UTC) (envelope-from sjg@juniper.net) Authentication-Results: mx1.freebsd.org; none Received: from pps.filterd (m0108156.ppops.net [127.0.0.1]) by mx0a-00273201.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 56AIJPTP011718; Thu, 10 Jul 2025 11:22:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h= cc:content-id:content-type:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=PPS1017; bh=n/Bu/HMZ+kYiw Fa/zaYjErCoUYQXGndQAGDaJ6XZ94w=; b=L+kfgu1izXYQ7v2jdeJt297LgAFg4 bP3Wils5bZ0m7OE4Cqmggh0HsQUjMu9TkXq10iQeZLZ9iP7vUBPXdfZIMAqNQ2Z0 1eTSGD9wKdPwQKSzv/ZblA5NJOfmg2+eCJr5ECxFuu+SK/Dq64rdGitJCjgGDXv9 FJu71xJ9tfbGLKA1GtnMgtH948UC2l63vdtsB1KpfSaFoefkQ9ZRDIcR/wtmJIDJ nq8pML+9HzWSINP9gND27iXZR+rEdmnmpc26IWj3RbNJVJhG39RsMiAdqvkc1rUK sfnKq6AKWTuI6xoHaRXOBIdDjrZjbH5P/XXBfW+ZLr6rWe4okVWeYX1ZQ== Received: from bn1pr04cu002.outbound.protection.outlook.com (mail-eastus2azon11020074.outbound.protection.outlook.com [52.101.56.74]) by mx0a-00273201.pphosted.com (PPS) with ESMTPS id 47tjpt806f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 10 Jul 2025 11:22:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Rra9jMnFF5G/gNzYLdF/ynqAuxTqCdJmZRYPtLAlBhRnFjy/IYukatZyAG6M0RLD2zB33kxyiVTBMY8t8Y+RRLakOsec6/lHGjcsa1IUpgq2pl+DTlXm07ilkG9sugl1WeRtn1ZjOGBcvgn7iljxehMhfSr2Pade56QXLFoq6EMZGxcxc9pcXI0bbOExDvGEde4nU2Ct44Djb2VSMU0id4H/41V8SN5c65oBxH3MSnexRQ+dycWDIcjrNMhpICrW+EBaq+KjTI/unW9VeVXtlsVZ/VCbZxOkLIkzAcLgQCLSzTW2p1Do4uxDw/9T3NhYtyBwTtns/8+i7+ouTJn68Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=n/Bu/HMZ+kYiwFa/zaYjErCoUYQXGndQAGDaJ6XZ94w=; b=aNoQbKLDmCIStH8IcjdY/VDJFg4vlMEfyNmCTikirJMoBBepS9LUu/bBfO+0xJDqgSK3Kz6rk8zFg0uUOcbvSqbvMuS+lh8KSmLSqQgx+gKP12CGxn3wQbmoF2yY1r3d4vyT03APDj9RjHyK4szdTMX8wEqQRlJEPJnK7qZW5nJKGgOKqJ0N3cApvGlta5aQaDzGjYB11PxZa/86adsZjOiqOFoWR443jVpUV0u2egOpebK+r/roo/4lBusubottKq6/c1fXByf5LfDItS7In6hMAB7Fv69dIgcmTLsjTTtQLy6L5BYyM/5h66EEDS5t/59buedePsEKK7vN1H+I4A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 66.129.239.14) smtp.rcpttodomain=freebsd.org smtp.mailfrom=juniper.net; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=juniper.net; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n/Bu/HMZ+kYiwFa/zaYjErCoUYQXGndQAGDaJ6XZ94w=; b=LBupPkwe6lsu8gfXIvFp/qZHUwWABY5MEgOVrFior0pk8GyRkNHU0fLDQR0SV6ykYMImkfUl+kvUJ5sxnb2qeH5zobzdW4TQ4mCg1qtyh7yo3fdw50wdJWpNzoEzXD5JOMKwJ91TNW93wb/Kp95E4VabAWHaPPB7Hi2Ppstdkmo= Received: from BLAPR05CA0018.namprd05.prod.outlook.com (2603:10b6:208:36e::13) by DS0PR05MB9797.namprd05.prod.outlook.com (2603:10b6:8:f0::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8901.28; Thu, 10 Jul 2025 18:22:22 +0000 Received: from BL6PEPF0001AB78.namprd02.prod.outlook.com (2603:10b6:208:36e:cafe::84) by BLAPR05CA0018.outlook.office365.com (2603:10b6:208:36e::13) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8943.8 via Frontend Transport; Thu, 10 Jul 2025 18:22:21 +0000 X-MS-Exchange-Authentication-Results: spf=softfail (sender IP is 66.129.239.14) smtp.mailfrom=juniper.net; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.14 as permitted sender) Received: from p-exchfe-eqx-01.jnpr.net (66.129.239.14) by BL6PEPF0001AB78.mail.protection.outlook.com (10.167.242.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8922.22 via Frontend Transport; Thu, 10 Jul 2025 18:22:21 +0000 Received: from p-exchbe-eqx-01.jnpr.net (10.104.9.14) by p-exchfe-eqx-01.jnpr.net (10.104.9.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.14; Thu, 10 Jul 2025 13:22:21 -0500 Received: from kaos.jnpr.net (10.104.20.6) by p-exchbe-eqx-01.jnpr.net (10.104.9.14) with Microsoft SMTP Server id 15.2.1544.14 via Frontend Transport; Thu, 10 Jul 2025 13:22:21 -0500 Received: by kaos.jnpr.net (Postfix, from userid 1377) id 6B190A0E7E; Thu, 10 Jul 2025 11:21:51 -0700 (PDT) Received: from kaos.jnpr.net (localhost [127.0.0.1]) by kaos.jnpr.net (Postfix) with ESMTP id 698DBA0E7D; Thu, 10 Jul 2025 11:21:51 -0700 (PDT) To: Konstantin Belousov CC: "Bjoern A. Zeeb" , Zhenlei Huang , FreeBSD Current , Subject: Re: sysctl to prevent reboot? In-Reply-To: References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> Comments: In-reply-to: Konstantin Belousov message dated "Thu, 10 Jul 2025 17:30:17 +0300." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6+git; nmh 1.8; Emacs 30.1 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16207.1752171711.1@kaos.jnpr.net> Date: Thu, 10 Jul 2025 11:21:51 -0700 Message-ID: <20601.1752171711@kaos.jnpr.net> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB78:EE_|DS0PR05MB9797:EE_ X-MS-Office365-Filtering-Correlation-Id: 162466ab-345f-4996-a82b-08ddbfdeb65c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|82310400026|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?kicFcyi2cc7M1Jt2JiwLdLQVDF5SUCq5D0e3RIzXcb/xSc/p/HwDY9+bcw//?= =?us-ascii?Q?Pv2mnbti2rDWnWQrEAR7PgPiMHa4suU8Um1hJLduExVpw/mjJ0gR5a9++DHx?= =?us-ascii?Q?G/JbDLC9rDcaWKNn7gLg+X+Py8Ha1VIDKu/mYS9N1kSmGuGYcnnEssDJo91w?= =?us-ascii?Q?cZxy6CbunJN3mmNu9V7tcSdNrDlNRfEkq5HxReGkVfGkDNBKbOdaIzl+te72?= =?us-ascii?Q?mVlauUfpX5uvwEpgamX+Hg+4NGl7lvzJ/gdp7SKaJhm8mG4UO27aSvF2Xy0z?= =?us-ascii?Q?ZhBatzOIY5E2c3kr/WJRJvwl01RlCBn9q/XU6mzCJBX/hr6ORF2kbGPTAR1L?= =?us-ascii?Q?8ktOxCGB3KOlYDqDl4W4cIgeKQ2WRhzLzAEx2co9ey9R+o6EIwzZ+0aZLAug?= =?us-ascii?Q?EwV1Rj8Mzg043t10nlDZ2FDpSx66Rq7qXLCpo5q30XM//EvJIdodErpwYJ6W?= =?us-ascii?Q?PRlhuG78hFkgGBEsaasbRpT7zDvSEF6JHfHbvsIacsY+t8Ea2dMrcrfKkpRM?= =?us-ascii?Q?BlZzkDUKnMPTr+x2PLjOUdbrouYAUVXOoVKS967yhh0iCg4hcyOqnJ2vVA8X?= =?us-ascii?Q?A2GrRmnMUpfqUiiDEvc+H8uGDcEFAgb+5NSoeddE1TLy8NXi78GSXY+Q57vx?= =?us-ascii?Q?8Xw/d2bmS6/bb9IU8q1AaSG+b6TxwgEIMSGxUlKDfSgIvSx3WsmXNBgSoGbZ?= =?us-ascii?Q?4tjj6JgPGJ0ov1PygLXHQphKOl9LrlLxGvJ/Nd4L9CwoOUjB4GH27v0pJQ8N?= =?us-ascii?Q?p2axeF9u7f0VEkwpgGzyNq8a0UajsYO6X9PJgDtZWrUOocgbMQC+miC3qZd6?= =?us-ascii?Q?zJCPvkYJo5WkP8MCIx7agFK2G7uFHXnJ9NFxtjU078I5lnqO3ILLpsOI145d?= =?us-ascii?Q?vv67gWZ6XIfSDqk5VfOF8iujHrx0CVQci6eMek5cuXuWlBQiF9pU7xo76oIH?= =?us-ascii?Q?BaDUFNAQ3pHBoySHAj+Al10OFXqUivnvfwOPZUbG8zgV0fddqGzqXwD1gIdr?= =?us-ascii?Q?9LgV18qqIJtKQo252V4sAegPEkL5x00rNwsEwZXZTYmUxUq8vZ9w4HJBCwJN?= =?us-ascii?Q?T9RdwgCqJV8znYsLNRVMs2CH9/BadIGZM3y3NZi38EnWt00SeFfcy82OFCwn?= =?us-ascii?Q?U4JdjQTGYNFJQsPQNTNBLsTi68isbnuB6S8qyt6BxDtFY233RC9Jj+4C8Twm?= =?us-ascii?Q?9Rjg3Znf7Dz93Neah6dhlIQegr+bV7O72NWLeb5HGOceLoSCeJeun7U5ghHo?= =?us-ascii?Q?2d1KlRYCgazVwdH1pnDUc3YOMA+EXxcRmF8ZuTEwobtLivVpBNpWg1B9zBgC?= =?us-ascii?Q?t6Zm7I7ZgwjjsWg0VKc7h6TyualjWc8dx3yw+oOcsPPFAamQ/DIsp6rqW5Ad?= =?us-ascii?Q?L6bTDYMeWjJgHxKRiM8xaPNnUa8yHWz2SFBflV07kwxiZAAcuj7zoo6F0Dnc?= =?us-ascii?Q?c2Bt+KpNRGwC7hxrbyx5NdBNIm6vmZbFScIlLm7Ixqts7IYq4/FtbZIWZ8Yu?= =?us-ascii?Q?Fb405BfAgE6JifXMYAPIySe1hA5VpzvxswNy?= X-Forefront-Antispam-Report: CIP:66.129.239.14;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:p-exchfe-eqx-01.jnpr.net;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014);DIR:OUT;SFP:1102; X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2025 18:22:21.8086 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 162466ab-345f-4996-a82b-08ddbfdeb65c X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4;Ip=[66.129.239.14];Helo=[p-exchfe-eqx-01.jnpr.net] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB78.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR05MB9797 X-Authority-Analysis: v=2.4 cv=XYKJzJ55 c=1 sm=1 tr=0 ts=687004e0 cx=c_pps a=Syn3MuHMyA8lBdxmL2NqkQ==:117 a=f/rncuQqEjTEF/G1odkJ9w==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=h8e1o3o8w34MuCiiGQrqVE4VwXA=:19 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=kj9zAlcOel0A:10 a=Wb1JkmetP80A:10 a=s63m1ICgrNkA:10 a=rhJc5-LppCAA:10 a=pGLkceISAAAA:8 a=c0myFEYAZInwS3sv9eoA:9 a=CjuIK1q_8ugA:10 X-Proofpoint-GUID: P8S-tKmFmWK6kyfG7g5dQcmv-ceEFGrh X-Proofpoint-ORIG-GUID: P8S-tKmFmWK6kyfG7g5dQcmv-ceEFGrh X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzEwMDE1NiBTYWx0ZWRfX5grYtZfXIVc8 lyIGFySe6ZqwMPjOyVGWw9oDaQJqS5lhaxvdSOfn2CezoqRywwwG6XJpMUTNMO1/MJtviQJVH5d JovJddhsecitoAW8UUPR3DK+FeNxBwC/Q9frvXATX3DJ2WtCQ8jJpupNj2D6dwCEnAzahiumH8z N68hvfFryeRQAuZS0yzr4C+pZHiEI2+oWLhJrQSCE+yDaTaQhAbw7/AQ4HrQlBvwHpGdDmJeddF WNxOYdlWUAkUrWRr0p2I+1KNbbXgRJ83cmvbl/rpite5HojAk3XfwUUQITWkAHfrUjGgmMYuZ2a VXxMmGEvmqkrY+T39J/icgg4BPmHzG1wvy8wFDPpNUZsoNO2ieQ6fgY3Glc2JU0fO03e5adIvwC BGr5mv49+Q7rWx9H2+pY2VfuVv3+M30tx/5gyEW6ltu6igoWFj2DqEf1MqV31WPQ/HSzEwNg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-07-10_04,2025-07-09_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=880 adultscore=0 priorityscore=1501 spamscore=0 malwarescore=0 phishscore=0 suspectscore=0 impostorscore=0 clxscore=1011 mlxscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507100156 X-Rspamd-Queue-Id: 4bdNVV2MHlz3Z67 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:26211, ipnet:208.84.65.0/24, country:US] Konstantin Belousov wrote: > > That doesn't catch reboot, does it? For me that's the offending command > > as I type that at the loader prompt (if I am in the correct window). > > Reboot is very different from shutdown. I never use it except on nfs-booted > crash boxes, so I did not considered. The problem Bjoern cites (did myself not that long ago ;-) is where you *think* you are typing 'reboot' or 'shutdown -p' etc at a vm guest - equivalent to "nfs-booted crash box", but infact you are on the vm host - oops. From nobody Fri Jul 11 03:30:31 2025 X-Original-To: current@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 4bdcgK2cwDz61whl for ; Fri, 11 Jul 2025 03:30:53 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdcgK04tbz3vvQ; Fri, 11 Jul 2025 03:30:53 +0000 (UTC) (envelope-from brd@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752204653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J4OtRUpdX2kN5kmhrUb8/FbVXCok3aPDTq35KcZomr0=; b=uE++yfCYc0D/XbIXOiIJ03RVyMSSTSVj7yXMHPxwN3RjcTvkDiN96rM1fzh89iTpJWwGc7 4MsCYAaEnrn4i13PnyY1I+IkUZ7lSZOI1EUIDKS5XQF3PxTXFeikgsnUsY8vtGoyQeuQV6 8cV5fl7XM7QWkQNC5w/HDTcipJnewJtMopLtAsdKpXhhqZWD56XWDt/S8qzNBvcGL5pk61 u0b2CbqEv2F80iDesSif22e6/KARCMjkZa+XMjnTPZuG9SaYIHTLGrIGmh7U5mU+L6VHDZ o9V1Cjuw0IEpJxHJSnn5aiPX/TdNBpzddpne38f+NflcfwwM+texnqSVY+m4Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752204653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J4OtRUpdX2kN5kmhrUb8/FbVXCok3aPDTq35KcZomr0=; b=R4+hpgN0setrTWK/rJx6yzF7b3A/jFi9RkSw5WbfAanpg6raym+bbqzFC3XzCHl3nFZOO+ PU7CoRj/zE+qo+5UAQW9wDKXe5qqDvHW9OYaZj74ggK+2n51HDsu8orvlJ4egDDJh+u0gy GfDx1YjW+mDBunBDDOo6ZeQ3oUpxBrxjqFD8kfKVF5F7XiCqzFDg3XiHm7a5a+qGvhgYPE pGqQ09GMMoFtHb8qlJ7Y++3YnxOVNT8PPN1W73TRPRuUi78MBZenCGf5y8oxYyg+FCUc1s wvBrW50z2ZjHolS883e5YQTOQcGu2f6PrJ6V/NfWaNOxhRjQWZR9omZGUlzpyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752204653; a=rsa-sha256; cv=none; b=MOTc7f+Ir68lDSkg7v3SRtgEqR6XhffEX9LbMd/sO4q2fwlrtwYVtpTTHLu+kSPZy+7l2W vND8fGnz+Gcug7JZ+iYFLPyq5UD5lIdMgJLI3j3X/w3qBtEXRkOn0U1O/wY/gWXngU3ht/ orqVNfQDEqYdrng/1RjqkfxOA1+Sd/QyVS30N3MsI5wKPpC2L7tOH9lLSdavD2U1YoIaBQ 7tR0YiT1QAR3aaUPio6FSv+SihBZOxv28P6vtCSIm9rXDMNLWzJY2xEXsCVS3t2j6t+2W9 Ay+AyR53IDBrcsc9Em3zTYLGyBWi+/+vbDlUyuaNvc0cgec+Vwz/HLnl1ZuMnw== Received: from fauth-a2-smtp.messagingengine.com (fauth-a2-smtp.messagingengine.com [103.168.172.201]) (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) (Authenticated sender: brd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bdcgJ64Bnz14Kk; Fri, 11 Jul 2025 03:30:52 +0000 (UTC) (envelope-from brd@FreeBSD.org) Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfauth.phl.internal (Postfix) with ESMTP id B5070F40068; Thu, 10 Jul 2025 23:30:52 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-02.internal (MEProxy); Thu, 10 Jul 2025 23:30:52 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdegvddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthhqredtredtjeenucfhrhhomhepfdeurhgrugcu ffgrvhhishdfuceosghrugeshfhrvggvuefuffdrohhrgheqnecuggftrfgrthhtvghrnh epudevhfefieevgfeiueekgedvgeeitefgvdeggefgvddvudekjeegkedtieeileetnecu ffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepsghrrgguodhmvghsmhhtphgruhhthhhpvghrshho nhgrlhhithihqdejtdejieefvdefvddqudektdeileeikeekqdgsrhgupeephfhrvggvue fuffdrohhrghessghrrgguuggrvhhishdrihhopdhnsggprhgtphhtthhopeehpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopehimhhpsegsshguihhmphdrtghomhdprhgtph htthhopegtuhhrrhgvnhhtsehfrhgvvggsshgurdhorhhgpdhrtghpthhtohepkhhisges fhhrvggvsghsugdrohhrghdprhgtphhtthhopeiilhgvihesfhhrvggvsghsugdrohhrgh dprhgtphhtthhopegsiigvvggsqdhlihhsthhssehlihhsthhsrdiirggssggrughoiidr nhgvth X-ME-Proxy: Feedback-ID: if7394599:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 812C2700065; Thu, 10 Jul 2025 23:30:52 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 X-ThreadId: T1dd25f0741bbb3be Date: Thu, 10 Jul 2025 21:30:31 -0600 From: "Brad Davis" To: "Warner Losh" , "Bjoern A. Zeeb" Cc: "Zhenlei Huang" , "FreeBSD Current" , "Konstantin Belousov" Message-Id: In-Reply-To: References: <1B1CD603-065D-436F-97D9-DDF65AB7F115@FreeBSD.org> Subject: Re: sysctl to prevent reboot? Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, Jul 10, 2025, at 8:01 AM, Warner Losh wrote: >=20 >=20 > On Thu, Jul 10, 2025, 7:52=E2=80=AFAM Bjoern A. Zeeb wrote: >> On Thu, 10 Jul 2025, Zhenlei Huang wrote: >>=20 >> Hi, >>=20 >> > I believe Konstantin's work [1] and [2] are precisely what you nee= d. >> > >> > [1] https://cgit.freebsd.org/src/commit/?id=3D7fb88c20eccc3fd2118fd= a2ba58d7afe2b87f7e3 shutdown(8): refuse to run if /var/ru= n/noshutdown is present >> > [2] https://cgit.freebsd.org/src/commit/?id=3D384d976725a5c29734a92= 27fcdb6ef0807485c91 rc.d: Add precious_machine rc.conf kno= b to create /var/run/noshutdown >>=20 >> Thanks! I was looking in the wrong place. >>=20 >> That doesn't catch reboot, does it? For me that's the offending comm= and >> as I type that at the loader prompt (if I am in the correct window). >=20 > 'alias reboot shurdown -r' has other benefits as well Please elaborate? Regards, Brad Davis From nobody Fri Jul 11 04:24:04 2025 X-Original-To: current@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 4bddrr4z3Kz620CC for ; Fri, 11 Jul 2025 04:24:12 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:12:4:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 4bddrr20czz3FLG for ; Fri, 11 Jul 2025 04:24:12 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: X-Catflap-Envelope-To: current@FreeBSD.org Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 56B4O4sf053637; Fri, 11 Jul 2025 05:24:04 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 56B4O4UB053636; Fri, 11 Jul 2025 05:24:04 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202507110424.56B4O4UB053636@donotpassgo.dyslexicfish.net> Date: Fri, 11 Jul 2025 05:24:04 +0100 Organization: Dyslexic Fish To: current@FreeBSD.org, bzeeb-lists@lists.zabbadoz.net Subject: Re: sysctl to prevent reboot? References: In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Fri, 11 Jul 2025 05:24:04 +0100 (BST) X-Rspamd-Queue-Id: 4bddrr20czz3FLG 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:20473, ipnet:2001:19f0:7400::/38, country:US] "Bjoern A. Zeeb" wrote: > I would find that very helpful for host systems running (multiple) bhyve > instances. Happened twice to me recently that I typed reboot in the wrong > window and restarted my dev machine entirely rather than a guest. Why not on the main machine, just do: # mv /sbin/reboot /sbin/reboot-really-i-am-sure # mv /rescue/reboot /rescue/reboot-really-i-am-sure For safety, to stop an upgrade bringing reboot back (this would presumably stop any upgrade in its tracks, so think of its use as a last resort to remind you to repeat the process after a rebuild, or that you forget to patch the src config) you could then do: touch /sbin/reboot && chflags schg /sbin/reboot touch /rescue/reboot && chflags schg /rescue/reboot From nobody Fri Jul 11 08:56:04 2025 X-Original-To: current@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 4bdltx280lz613WN for ; Fri, 11 Jul 2025 08:56:25 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx-01.divo.sbone.de (mx-01.divo.sbone.de [IPv6:2003:a:140a:2200:6:594:fffe:19]) (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 ECDSA (prime256v1) client-digest SHA256) (Client CN "mx-01.divo.sbone.de", Issuer "E5" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdltw22bSz3q4c for ; Fri, 11 Jul 2025 08:56:24 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zabbadoz.net header.s=20240622 header.b=c12Frn1S; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2003:a:140a:2200:6:594:fffe:19 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=pass (policy=none) header.from=zabbadoz.net Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx-01.divo.sbone.de (Postfix) with ESMTPS id 83B42A64805 for ; Fri, 11 Jul 2025 08:56:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zabbadoz.net; s=20240622; t=1752224168; bh=/j+vonaCfkjZu0Amo6hTLLD7SFkey3wt3rU8wVe/jRc=; h=Date:From:To:Subject; b=c12Frn1SSgSRrTTjqQmwNbea/3NpDUtslqbKOQtNICtStMpG0aGxCpN7Sde5xG41w rYUsFpA9hxB6Y0hpV5yqbeyuXsLaSzHAlu2xq7IG3InaSVfmKO+otgwf/siQ8GS0ZS JwRpXCMJPQSji0QUvWh+mLgOuhy79TMMfsB9iDVNWPOfX1FtYjT2+HxsEnsCu1ODlK Z4UmvkiFZP0u8nK2YSRXYklIOGBjhoTCRpTUcUz/orVm3Y8thwiwRj0BYYv7BLoH0n kbNNhEgkTKRvj11c46m38XoTY1VljzbV5ewRWqtT9CzWJ7r/XWOQCavZH4W47nEZZI qKouGnGS7lNDQPsGpw0NPmYHvDi0QSFcPnStMGdYhnrVCvXudpfhcPPAa2phXxHqGi q4+JXyzkziqP0Yl9riRioBIWSiUcyRwanbOPmuU9EEqZF02C35ItWXuDRMDlGwEVBa 80HWL19Qs0SAdsXIyEU34gBJc26Z0kZ3YZVE564kMPp4B0KDA2cNrgp3PFKNjftGoI bYWD1ewP6NzTym4rEKXuBODR5XWmshuKuHD+SYZikUxW/VBq1fs7uSO9JcjztoGOKy eKVZ9iohrPa5wV3+JeUAkaFi2HZ2HSLCfy0vEZupMbFLPsK0+laKSAo1eneUhB9muN VbwgYVyG7Q1bG+4y7FV12g4E= Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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 mail.sbone.de (Postfix) with ESMTPS id 048A32D029E1 for ; Fri, 11 Jul 2025 08:56:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id F_GlIKEYsQcV for ; Fri, 11 Jul 2025 08:56:05 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:a66b:b6ff:fe40:39a9]) (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 mail.sbone.de (Postfix) with ESMTPSA id 2352B2D029D8 for ; Fri, 11 Jul 2025 08:56:05 +0000 (UTC) Date: Fri, 11 Jul 2025 08:56:04 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@freebsd.org Subject: panic: mi_switch: switch in a critical section Message-ID: <49s4o954-47r9-1ooq-o536-9o4o95qrqs85@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Result: default: False [0.40 / 15.00]; NEURAL_SPAM_MEDIUM(0.99)[0.994]; NEURAL_SPAM_LONG(0.99)[0.992]; NEURAL_HAM_SHORT(-0.59)[-0.586]; DMARC_POLICY_ALLOW(-0.50)[zabbadoz.net,none]; R_DKIM_ALLOW(-0.20)[zabbadoz.net:s=20240622]; R_SPF_ALLOW(-0.20)[+ip6:2003:a:140a:2200:6:594:fffe:19]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[zabbadoz.net:+] X-Rspamd-Queue-Id: 4bdltw22bSz3q4c X-Spamd-Bar: / # sysctl debug.kdb.enter=1 db> cont panic: mi_switch: switch in a critical section cpuid = 3 time = 1752224052 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007a575d00 vpanic() at vpanic+0x136/frame 0xfffffe007a575e30 panic() at panic+0x43/frame 0xfffffe007a575e90 mi_switch() at mi_switch+0x1b7/frame 0xfffffe007a575eb0 ast_scheduler() at ast_scheduler+0x45/frame 0xfffffe007a575ed0 ast_handler() at ast_handler+0xe8/frame 0xfffffe007a575f10 ast() at ast+0x20/frame 0xfffffe007a575f30 fast_syscall_common() at fast_syscall_common+0x1a2/frame 0xfffffe007a575f30 --- syscall (0, FreeBSD ELF64, syscall), rip = 0x9da5012b7aa, rsp = 0x9da4ce76fd8, rbp = 0x9da4ce77020 --- KDB: enter: panic [ thread pid 62399 tid 100210 ] Stopped at kdb_enter+0x33: movq $0,0x103c492(%rip) -- Bjoern A. Zeeb r15:7 From nobody Fri Jul 11 19:20:34 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with UTF8SMTP id 4bf2Xc3lrTz61kf3; Fri, 11 Jul 2025 19:56:32 +0000 (UTC) (envelope-from dsl@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4bf2Xb6jLwz3rLF; Fri, 11 Jul 2025 19:56:31 +0000 (UTC) (envelope-from dsl@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752263791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=tN+uDe+OkYxhZJ/cx8kWTAIfQK4gFYM6jBvkp5zZilk=; b=oGKqAvRa4yf7WkYvH1UhN9+qOegktkX7VaFtLe0kCqtUhyjBTd5EjQve1o+5v6E/ShQRhd WJSglpPFA2ItFyqz58qfvwIMwx9iuCVOjNTOqvk90qelqmAOHEKGGZQnLoVo3I8RB4qPAJ 1NeUYCdqWrYxCErOTuEwf9gnFtOsk+QiQfWqK8ogmmIpYOt2Rb9onr5v896YKqFlkxK+3a FBxQrbsvUtVREiguB8w/ZVaqBb8sllAFktHxeXETgz0H/hrCY4g6yAvoXLTtED9o2OC9gh i7JH/xq/VF43PxfDjO5E2sJShRmlkY0eWCETQ3ubFo0PttTY3ZqLu3SG9f+xig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752263791; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=tN+uDe+OkYxhZJ/cx8kWTAIfQK4gFYM6jBvkp5zZilk=; b=YFqW259A7FAOkwBhV+9h3jk/8Dosp3fvdqjJDN+h+DF0TV3Ok154J25tkTulQrWtUvvbjT 0y8wK3SEytbYSJj49pfE5aTqD6oIZpWGnIulhK+KHnBzSiFFeLFAu0xJzrPjJkBC0UCzGi Xe5JHyEBGIeGrtJMFQGn0TVTPb3y0kW+daDHQERRf9VE+Q3TtYfYlmBdcatO+4Q18dyxU9 CR+1C0uf59sfI7JE0NCClWrVH1XdYsJpkoKb0fbPKPqRb3GhSnwRa/5Q0RfFWILzsdSHgh ILVbpUrTu4JT11I6q9r4yN7mNNKSPOyIrHtPxuy7F0vuqsMIle4pG1MJX18RsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752263791; a=rsa-sha256; cv=none; b=rydDyLqYly/+JZxXmSnihaelJgr0D4shpjZmm4oJdMXvJRxprEuVH491B/JJ/WXntza9Ov Gf2P+i2FqbmwgJPII4ArNkEoSd86+w1T2D3X5e5JRCamVYzcJgGoKPvfpSixbBpH/5Bowl 96SZ7WILvJNPakaM2M1UM1qc9H0ef1sfS4zhXIDUydhlPiGsVlHzKOzjMyTYncQuPw1thH IHn717SvC6fFRO45C36/crW74PTH+E/kvKfD8y2itJs5L4T2LNfg3ILR/eRm1zKiCW3Szp YndmIB0GSNYvE3resfxO/cXALMD4OvTI8DwoFrhX7/MsM0SoOJye/wlHJE91Tw== Received: from localhost (unknown [91.226.51.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: dsl) by smtp.freebsd.org (Postfix) with UTF8SMTPSA id 4bf2Xb47CRzD2F; Fri, 11 Jul 2025 19:56:31 +0000 (UTC) (envelope-from dsl@FreeBSD.org) User-agent: mu4e 1.8.13; emacs 30.1 From: Dmitry Salychev To: freebsd-arm@freebsd.org Cc: freebsd-current@freebsd.org Subject: CURRENT, AMD GPU and drm-kmod on Honeycomb Date: Fri, 11 Jul 2025 21:20:34 +0200 Message-ID: <865xfyv6vp.fsf@peasant.bootbsd.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain Hi, I'd been running slightly patched drm-510-kmod against CURRENT on Honeycomb with Radeon RX 560 without significant glitches till ~March. With changes like D49572 and D50767, my little patched drm-510-kmod doesn't load anymore complaining about missing linux_kfree_async or vm_page_lock_KBI. I've experimented a bit with partially returning those functions, but "kldload amdgpu" stuck (I wasn't completely sure what I was doing, though). All the other drm-XXX-kmod ports aren't available on aarch64, it seems (I'd be glad to dig deeper to fix this, but not sure where to start, [1] maybe). Is there any way to continue running CURRENT on arm64 with AMD GPU and drm-kmod at the moment? Regards, Dmitry [1] https://lists.freedesktop.org/archives/amd-gfx/2022-October/086009.html -- https://wiki.freebsd.org/DmitrySalychev From nobody Sat Jul 12 00:50:39 2025 X-Original-To: freebsd-current@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 4bf94P20Sgz614xf for ; Sat, 12 Jul 2025 00:51:01 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bf94N246Pz3cCn; Sat, 12 Jul 2025 00:51:00 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=eBFXSwIb; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-ae0df6f5758so466058466b.0; Fri, 11 Jul 2025 17:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752281453; x=1752886253; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RmAPuY11DRHEGWf2fbvjK/+eZei7sVP5tmORsEmLlks=; b=eBFXSwIbTK5i5ImbHgMhBlvq6vS9gjAPXfSRBXlrVgXIzVl4xsSR7iDqBTWGthYuhj xw1KnMZGEALT5BX6j5HSP3t2+uMTWNd5y7nAWqDFsFz5De/CObzPK3y+W5T3v6wAInA+ H2QpjNzsQYIlGAOzWekBsJ1+SLuJjV5HM3krl9XL7WocVJskqgqCMA/DCfY789wrftuo k3503W8AZJiOwulL/nAHj4HqAdzKfdCfGcSAnGnn2UNL8BXMKcoAfqyNnhQuhd6ZAvMI 9nGdyUSVTlt0WJQCaR2+aml86EQmPr4Q6WW7PSrLv8VosnVYfzmht88HD0z2+n7QfqFY eV8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752281453; x=1752886253; h=content-transfer-encoding:cc: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=RmAPuY11DRHEGWf2fbvjK/+eZei7sVP5tmORsEmLlks=; b=dVmFyRsF+TMdF5faZqt3hoyo0zYEq4mQeY3XeTqsDpjPZ4K5z9iwnlxkjcZ4LBx4q5 EyIr4A+w2cC2srZ7V3JCztO++gEkWBJEV7YQL8H5RcxyXklPo96gBCBb2+0nr0AbimuA 7vFju3i3j11sRIBEvCWx71Uu2TF7axN9Rh1MHkZ3GyCFAddopoJsQYNO3azCkGuAfgIN w3FvbJG8OIIRxPBDyTICMBbEeJ7udUP5aynnD2HacKd2c6mLzE8gMoMKLK+zsjfiGg/L kDKXCQEn5vuOHQhg0xUIPvlkfcKiGXp/hwOmdCC9NsuPCmjmXFrFPPQ/7vsATCq/0jy/ GSTA== X-Forwarded-Encrypted: i=1; AJvYcCVplLGAyxC0m7W/XduNbD9jjXJDAaA042q4T0xnDz/7n4mVmBdiy8qKIR/5teeTb6f1Vjg=@freebsd.org X-Gm-Message-State: AOJu0YzJ+pLquyQiw4CN7LgP1yPj3o//HQyDDB9/SO8z5YG64H2FsSRg /JC5aeKQtfz0BCOIIFMQVZekp8X8ID5n89xU5K62aN9YKM9ChDAHUFj/lX0XcPQeQkAsEhFZn8/ W0lNcRyreWIfJc0vJ4PpXx3ufVbYULf75 X-Gm-Gg: ASbGncv06bZDEqYiIeKKIpTXTV+20o/sz+VTsxy+LA1Qu9J6aoI26xGGK7xs7vATJdi Wf6KREEoCPOG9WUqJoYoiZ8qxhtJcBH33YSq3MLeY+w3rasDbMDdaY31wF0oufDNb/FJvsOTHtJ X60aljCvsIUCGRLzdu298/HRf0lJBdDw+u3lWk0o4UY59ZCOdu6Oy1hdJ4lNMWjqXROiyRrtCvo 7RDBR9bZJ1E/Aqm0YJ6j+6pdlga+QToXRdSpuk= X-Google-Smtp-Source: AGHT+IF9WpdnOcwXaBIjbqU5Y0VsKUgjElKT8j/lUMOHIBnviIrcDxbmKHHOgUvP1kb3SNS+EwNA/AcP5GjHbdIqlgk= X-Received: by 2002:a17:907:c897:b0:ade:40cb:2515 with SMTP id a640c23a62f3a-ae6fc40132bmr581823366b.59.1752281452522; Fri, 11 Jul 2025 17:50:52 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Rick Macklem Date: Fri, 11 Jul 2025 17:50:39 -0700 X-Gm-Features: Ac12FXz64uf2HNkQomqmOdWiQnsU6PGCkl9qBx6KvZL12V6AouuKumLUYscANfk Message-ID: Subject: Re: RFC: Documenting weird case w.r.t. Solaris style extended attr (ZFS) To: Konstantin Belousov Cc: FreeBSD CURRENT , Alexander Motin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-2.32 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.989]; NEURAL_HAM_SHORT(-0.88)[-0.876]; NEURAL_SPAM_LONG(0.54)[0.545]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; TAGGED_FROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4bf94N246Pz3cCn X-Spamd-Bar: -- On Thu, Jul 10, 2025 at 10:55=E2=80=AFAM Konstantin Belousov wrote: > > On Thu, Jul 10, 2025 at 06:59:35AM -0700, Rick Macklem wrote: > > I've done a series of commits to main to add support for > > Solaris style extended attributes (which I called named attributes, > > which is the NFSv4 term for them). > > > > ZFS is currently the only local file system that will support them > > and only if the ZFS property "xattr" is set to "dir". > > > > If "zfs set xattr=3Ddir " is done before any user namespace > > extended attributes are created for files via extattr(2), I think > > everything makes sense. > > --> There is one set of extended attributes that are visible through > > both extattr(2) and named_attribute(7). > > > > However, if extattr(2) is used to create user namespace extended > > attributes when "xattr=3Dsa" and then "xattr" is set to "dir", these > > extended attributes are only visible to extattr(2) and not > > named_attribute(7). > > --> I will note that you can use tar(1) to copy the files and then the > > extended attributes become visible to named_attribute(7). > > I do not see any way to avoid this, but it should at least be documente= d. > > > > So, where do you think I should document this? > > - I could put it in named_attribute(7) as an additional case where > > the two extended attribute system call mechanisms cannot be > > used. (I was hesitant, since this is ZFS specific). > > Does this sound ok, or is there somewhere better to put it? > > (zfsprops(7) is another possibility, since it already documents > > "sa" and "dir" values for the "xattr" property.) > > I do not see why not put it to named_attribute(7) page. We do not have a > ban on adding important fs-specific notes in the generic documentation. > More, I think it is a proper place to document the details instead of > spreading them into corners. > > BTW, would you consider adding named attrs support to tmpfs? > I believe it is useful for tmpfs to be on par with the union of > all features of our local filesystems. I'll take a look at tmpfs someday. Probably not in time for 15.0. Thanks for the comments, rick > From nobody Sat Jul 12 18:10:03 2025 X-Original-To: current@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 4bfc7R6Z8kz60w4P for ; Sat, 12 Jul 2025 18:10:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bfc7R0xN2z3H0C for ; Sat, 12 Jul 2025 18:10:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none) Received: from tom.home (kib@localhost [127.0.0.1] (may be forged)) by kib.kiev.ua (8.18.1/8.18.1) with ESMTP id 56CIA48o026432; Sat, 12 Jul 2025 21:10:07 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 56CIA48o026432 Received: (from kostik@localhost) by tom.home (8.18.1/8.18.1/Submit) id 56CIA3rw026431; Sat, 12 Jul 2025 21:10:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 12 Jul 2025 21:10:03 +0300 From: Konstantin Belousov To: "Bjoern A. Zeeb" Cc: current@freebsd.org Subject: Re: panic: mi_switch: switch in a critical section Message-ID: References: <49s4o954-47r9-1ooq-o536-9o4o95qrqs85@yvfgf.mnoonqbm.arg> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49s4o954-47r9-1ooq-o536-9o4o95qrqs85@yvfgf.mnoonqbm.arg> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on tom.home X-Spamd-Result: default: False [3.00 / 15.00]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_SHORT(1.00)[0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; ARC_NA(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MISSING_XM_UA(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; MLMMJ_DEST(0.00)[current@freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_XAW(0.00)[] X-Rspamd-Queue-Id: 4bfc7R0xN2z3H0C X-Spamd-Bar: ++ On Fri, Jul 11, 2025 at 08:56:04AM +0000, Bjoern A. Zeeb wrote: > > # sysctl debug.kdb.enter=1 db> cont > panic: mi_switch: switch in a critical section > cpuid = 3 > time = 1752224052 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007a575d00 > vpanic() at vpanic+0x136/frame 0xfffffe007a575e30 > panic() at panic+0x43/frame 0xfffffe007a575e90 > mi_switch() at mi_switch+0x1b7/frame 0xfffffe007a575eb0 > ast_scheduler() at ast_scheduler+0x45/frame 0xfffffe007a575ed0 > ast_handler() at ast_handler+0xe8/frame 0xfffffe007a575f10 > ast() at ast+0x20/frame 0xfffffe007a575f30 > fast_syscall_common() at fast_syscall_common+0x1a2/frame 0xfffffe007a575f30 > --- syscall (0, FreeBSD ELF64, syscall), rip = 0x9da5012b7aa, rsp = 0x9da4ce76fd8, rbp = 0x9da4ce77020 --- > KDB: enter: panic > [ thread pid 62399 tid 100210 ] > Stopped at kdb_enter+0x33: movq $0,0x103c492(%rip) We manage td->td_critnest with the plain C increments and decrements. This is done both in the top level, and in interrupt handlers (real handlers, not ithreads I mean). In principle, if interrupt handlers always return with the same value of the td_critnest field as entered, it is fine. But if it is not, there is a possibility of loosing updated. I was not able to find a place where such case could occur. Still, out of caution, might be it makes sense to switch to interrupt-safe updates. On x86 it is enough to use INC/DEC instructions, similar to pcb_flags with it OR/AND.