From nobody Mon Oct 18 17:14:45 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C4205180D8A5 for ; Mon, 18 Oct 2021 17:14:50 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4HY3Qd5Ll0z4t25 for ; Mon, 18 Oct 2021 17:14:49 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7EA823201D2E for ; Mon, 18 Oct 2021 13:14:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 18 Oct 2021 13:14:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=Al4QarOzxzlSLqLJ2Gk2sQMStt1 U1/t/KxTbLJPV31I=; b=DekrnZZdJPsWaT4Ki39+Re9TWLNHNM736Qd0ESToT7C YzZFc1ksuWRRIHlHqxGM6w2Bo6asvOkOpdl7SisqdPxCgavlxxROZcf+BfPyr1q/ 2WUvhGqDmw+PqFgfhJnwQKaPlXb/fg+3sfEvqGKaDpcOxTgSAnBkwOb2+PWlxBpO YlLNmrCbu1PUlLbAqZ7v8ThXAl72NPXteP2ciNiWpFCQ3GRTdTK/Dlemax5hkMOt zEyR7TEa76GcOzU1evF8ZGzVUB/OmIU8lA81sR9iDAulukln8Sg07BMo4pE/4bJ8 Z0PO4/CdUfu40CejCL395wN6gWp0pbx/1OZ7r/GYzVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Al4Qar OzxzlSLqLJ2Gk2sQMStt1U1/t/KxTbLJPV31I=; b=f1cDmJ5PrQ4fVEh5reEeyS ji0V4RwWJBgUser3moX4dc/43/eLqSFzxsXE1GUCLaZlhmb/DEFL8CRuHV0gbNED Iqy24SQjL2a0b1eQF07YPKv4t/7ARIXh7hlE0qxI/7ZdY+JS4p5GSmerIxQJPkOz ZOyRbaQ1tbzyVAxrQAwZAc09nMyjqaaQDnAGZJxDo0+5jeMdj/fUi27A27zoQn17 EjGtnluf4I32RXSkI/mc8yO3PDwzm1ZDdXjXPLTEeHwuAe7z/Tak8xBTfmyDta4n fPjqS2EOQnm6xojWqvOu6JWUPj861al1TRdZk1yllTLuPReoZiIUi3knXNqRfR3A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvtddguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecuggftrfgrthhtvghrnheptdehiefgvddufeekkedvtdefvd ettddtkeduvdegveelffdtkeffudejvdfhudetnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvg ht X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 18 Oct 2021 13:14:47 -0400 (EDT) Date: Mon, 18 Oct 2021 18:14:45 +0100 From: tech-lists To: questions@freebsd.org Subject: Re: cannot receive mountpoint property on data/backup/home/foo/bar: permission denied Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UUZu6kEZclziUFWm" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4HY3Qd5Ll0z4t25 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm3 header.b=DekrnZZd; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=f1cDmJ5P; dmarc=none; spf=none (mx1.freebsd.org: domain of tech-lists@zyxst.net has no SPF policy when checking 64.147.123.24) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-4.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm3,messagingengine.com:s=fm1]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.24:from]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_SPAM_LONG(1.00)[1.000]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N --UUZu6kEZclziUFWm Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 14, 2021 at 12:45:19PM -0700, David Christensen wrote: >Have you checked the 'mountpoint' properties on the source and on the >receiver? Yes. On both, mountpoint is "-" (without the quotes) >Taking the idea one step further -- dump all of the properties to a file >on the sender, do the same on the receiver, and then diff(1) the files. done - there are differences because the paths are different. I used % zfs get -r all snapshotname >Same as above for the pool properties. > >Have you tried replicating from the receiver? not been able to do these two yet due to time constraints >Have you tried reproducing the issue with a 13.0-RELEASE sender and/or >receiver? not with 13.0-RELEASE. Both systems in this context are recent stable/13. It seems, from what I can gather so far, it's a harmless notification [1].= =20 I'm just checking though. I don't actually *want* it mounted, at least not = right now. [1] i know i don't know enough about zfs (OpenZFS) to be certain --=20 J. --UUZu6kEZclziUFWm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmFtq3wACgkQs8o7QhFz NAUu7w/8CsRZ6AQllhRCxvWE9aew5tOEKSyJKWCFHCDvsteBtA+z7cLU2iRVRSOX 4ul+D+5hV9pbEDTxjC765YRSFCnr0tw+7KHliSt1MfZl2bvkMKivrfNLh4Nipn9v AnqtsMY2gp+vOPFP/vml/kvleu/+fmiyWxyoC7gMklw3uXMmtsUrpA/Nu+06HHl+ xE4UVhIYxbIdWiEdKKqQx0bO8RR+9hcCeswN9VWghsImvmXj1AlfYUVSNBWiz814 2+HOm7H9+plGoO8YAwau0m7wdy57SwUW+Ige3fCHOGgXtjoU/EksuTC109UwNX68 6jlRDiWqWixlVxXDEwAInp1qdX8lN/r/tLfniWZkKtdFepO7C+fcwccAz4swaBxq FiB5hoVjKtjrJWx72siEeTY5gglwVbshexBUmrROFxdliWb7K8D8chLUIQmI8A7k xQPivbUuNPAPXKmbTSBFLa2mAwt71YYjErYVSc+TysoJV1HT3Eez1Vc44oSgwk28 Sq+9Fdh48jiMe1/9b4ghb9fGSKWHEdPGOCyz8qczg9J4UAfg1FFeiQZBwozK8hIq VG5lID+0tlvnbDnakCroTL+Qg+xk+YVEuLt23UcquxAnrNx9ylISFntTWgojpJsA cFdD4pc8rBuEiT9bEbheyrEg1P8w9fnud4+PZ/9vuG+HKKaZ7MM= =FqQZ -----END PGP SIGNATURE----- --UUZu6kEZclziUFWm-- From nobody Mon Oct 18 18:08:30 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CD6431805B36 for ; Mon, 18 Oct 2021 18:08:33 +0000 (UTC) (envelope-from nrhuff+fbq@nrhuff.com) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 4HY4cc6rStz3hDZ for ; Mon, 18 Oct 2021 18:08:32 +0000 (UTC) (envelope-from nrhuff+fbq@nrhuff.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CC5303201C78 for ; Mon, 18 Oct 2021 14:08:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 18 Oct 2021 14:08:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nrhuff.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=LzL91QhPxzxDceu2nXryJgykU3ZraIBQZUaxHgEyXa8=; b=J8YTb4AV WxBJ9IvPdQPujjG84IT5nlft6o3ijXyBbN7zEAn8t7KpSSYBKcQefFiw8AilU49+ oz7fMpi9Qty0WYbm6FayxKmfxQcqzdEYScBQucNLJUDpyH+lw5KUSp1F2PzmtEuG lPyl5md3xqc6BtSGh/jptFGqQICuaEdxM3povADZdeb1/w+fKqwmnktZHx974JRS JYjDl1ImAdHgLqx6SI+eyP1A1Tpd7Hv8fIr4TASK3PF/hN3ivzth6RvoOtaVq+Gf dX3u64yCHUvWL3HPXwTXkGFQb/gF03dITcvBr6QlQPAJwxnsa8DG3o0AkErvUXHk dB/Upptt5uSJtw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=LzL91QhPxzxDceu2nXryJgykU3Zra IBQZUaxHgEyXa8=; b=eSlKPt2BBaomPwmKT/IFsjShjkQSN+prnbAERVIYCKYYX DpkaxFdBFqrZz7uoYpKt2gR3K39LQpomn9r5bgbiXZLThtsF6ed4p4uDVcgRxSlL r7xP5ModnQx6MfkMLziyB7HHzrOISEDq25i62vor5C4Dy0feKTpgiGmHqEj2QVmr yDIwmZvbGxafzYMzCRPVfQG/riDiWBDCy4/CQvpfaM2eEfWVrfzsZRYGL3FWA9y/ bMMJfpq2aY+mWbYxuTdShnyj7JpebWv1oG4lJ86dI8QGVNABAzgwTudeu7kysKce CFvajmVrbKUXUg+2N7hCBp2+fGZ9fVB8D92i4A+Kw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddvtddguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepnhhrhhhufhhfodhfsghqsehnrhhhuhhffhdrtghomhenucggtffr rghtthgvrhhnpeeiteejieefgfeuhedvfedtffeuteehjeelfeekheeiuedvgeevgfduge etjeefieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehnrhhhuhhffhdofhgsqhesnhhrhhhufhhfrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 18 Oct 2021 14:08:31 -0400 (EDT) From: nrhuff+fbq@nrhuff.com To: freebsd-questions@freebsd.org Subject: IPv6 bridge routing issue on boot Date: Mon, 18 Oct 2021 12:08:30 -0600 Message-ID: <87pms2nr35.fsf@discord.nrhuff.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4HY4cc6rStz3hDZ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nrhuff.com header.s=fm2 header.b=J8YTb4AV; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=eSlKPt2B; dmarc=none; spf=pass (mx1.freebsd.org: domain of nrhuff@nrhuff.com designates 64.147.123.24 as permitted sender) smtp.mailfrom=nrhuff@nrhuff.com X-Spamd-Result: default: False [-0.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[nrhuff.com:s=fm2,messagingengine.com:s=fm1]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.24:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.24]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.704]; DKIM_TRACE(0.00)[nrhuff.com:+,messagingengine.com:+]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_NO_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_NA(0.00)[nrhuff.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; TAGGED_FROM(0.00)[fbq]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.24:from] X-ThisMailContainsUnwantedMimeParts: N I am running into some weird behavior with bridge devices and IPv6 on Boot. I have a system with three bridge devices 2 of which get IPv6 addresses from DHCPv6 and one that is statically assigned. The two bridges that are configured by dhcpd function fine. The bridge that is statically addressed comes up, but the directly connected network route doesn't get added. # uname -a FreeBSD router 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 #0: Tue Aug 24 07:33:27 UTC 2021 root@amd64-builder.daemonology.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 # ifconfig -a -g bridge bridge0: flags=8843 metric 0 mtu 1500 ether 58:9c:fc:10:ff:d5 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::17bf:5f9b:57c1:8d65%bridge0 prefixlen 64 scopeid 0x6 inet6 xxxx:xxxx:4b7f:2100::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: igb3 flags=143 ifmaxaddr 0 port 4 priority 128 path cost 2000000 member: igb2 flags=143 ifmaxaddr 0 port 3 priority 128 path cost 2000000 member: igb1 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 2000000 groups: bridge nd6 options=1 jailpub: flags=8843 metric 0 mtu 1500 ether 58:9c:fc:10:ff:b1 inet6 fe80::b559:d5ee:5947:4033%jailpub prefixlen 64 scopeid 0x7 inet6 xxxx:xxxx:4b7f:2101::1 prefixlen 64 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: vwpuba flags=143 ifmaxaddr 0 port 9 priority 128 path cost 2000 groups: bridge nd6 options=1 jailpriv: flags=8843 metric 0 mtu 1500 ether 58:9c:fc:10:a3:14 inet6 fd09:fce8:b9e8:7d96::1 prefixlen 64 inet6 fe80::5a9c:fcff:fe10:a314%jailpriv prefixlen 64 scopeid 0x8 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: vwpriva flags=143 ifmaxaddr 0 port 11 priority 128 path cost 2000 groups: bridge nd6 options=21 # netstat -6 -r -n Routing tables Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 default fe80::201:5cff:fe95:4e46%igb0 UG igb0 ::1 link#5 UHS lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 xxxx:xxxx:4002:300::/64 fe80::201:5cff:fe95:4e46%igb0 UG igb0 xxxx:xxxx:4002:300:b971:8222:f615:cdbb link#1 UHS lo0 xxxx:xxxx:4b7f:2100::/64 link#6 U bridge0 xxxx:xxxx:4b7f:2100::/56 ::1 UGR lo0 xxxx:xxxx:4b7f:2100::1 link#6 UHS lo0 xxxx:xxxx:4b7f:2101::/64 link#7 U jailpub xxxx:xxxx:4b7f:2101::1 link#7 UHS lo0 fd09:fce8:b9e8:7d96::1 link#8 UHS lo0 fe80::/10 ::1 UGRS lo0 fe80::%igb0/64 link#1 U igb0 fe80::2e0:67ff:fe23:2878%igb0 link#1 UHS lo0 fe80::%lo0/64 link#5 U lo0 fe80::1%lo0 link#5 UHS lo0 fe80::%bridge0/64 link#6 U bridge0 fe80::17bf:5f9b:57c1:8d65%bridge0 link#6 UHS lo0 fe80::%jailpub/64 link#7 U jailpub fe80::b559:d5ee:5947:4033%jailpub link#7 UHS lo0 fe80::%jailpriv/64 link#8 U jailpriv fe80::5a9c:fcff:fe10:a314%jailpriv link#8 UHS lo0 ff02::/16 ::1 UGRS lo0 Both jailpub and jailpriv have /64 routes. There is no route for fd09:fce8:b9e8:7d96::/64. If I do # /etc/rc.d/netif restart jailpriv # netstat -rn6 Routing tables Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 default fe80::201:5cff:fe95:4e46%igb0 UG igb0 ::1 link#5 UHS lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2600:6c67:4002:300::/64 fe80::201:5cff:fe95:4e46%igb0 UG igb0 2600:6c67:4002:300:b971:8222:f615:cdbb link#1 UHS lo0 2600:6c67:4b7f:2100::/64 link#6 U bridge0 2600:6c67:4b7f:2100::/56 ::1 UGR lo0 2600:6c67:4b7f:2100::1 link#6 UHS lo0 2600:6c67:4b7f:2101::/64 link#7 U jailpub 2600:6c67:4b7f:2101::1 link#7 UHS lo0 fd09:fce8:b9e8:7d96::/64 link#8 U jailpriv fd09:fce8:b9e8:7d96::1 link#8 UHS lo0 fe80::/10 ::1 UGRS lo0 fe80::%igb0/64 link#1 U igb0 fe80::2e0:67ff:fe23:2878%igb0 link#1 UHS lo0 fe80::%lo0/64 link#5 U lo0 fe80::1%lo0 link#5 UHS lo0 fe80::%bridge0/64 link#6 U bridge0 fe80::17bf:5f9b:57c1:8d65%bridge0 link#6 UHS lo0 fe80::%jailpub/64 link#7 U jailpub fe80::b559:d5ee:5947:4033%jailpub link#7 UHS lo0 fe80::%jailpriv/64 link#8 U jailpriv fe80::5a9c:fcff:fe10:a314%jailpriv link#8 UHS lo0 ff02::/16 ::1 UGRS lo0 This route fd09:fce8:b9e8:7d96::/64 link#8 U jailpriv shows up and everything works. My /etc/rc.conf contains dhclient_program="/usr/local/sbin/dhcpcd" ifconfig_igb0="DHCP" ifconfig_igb0_ipv6="up" ifconfig_igb1="up" ifconfig_igb2="up" ifconfig_igb3="up" cloned_interfaces="bridge0 bridge1 bridge2 epair0 epair1" ifconfig_bridge0="inet 192.168.1.1 netmask 255.255.255.0 addm igb1 addm igb2 addm igb3 up" ifconfig_bridge1="up" ifconfig_bridge1_name="jailpub" ifconfig_bridge2_name="jailpriv" ifconfig_epair0a_name="vwpuba" ifconfig_epair0b_name="vwpubb" ifconfig_epair1a_name="vwpriva" ifconfig_epair1b_name="vwprivb" ifconfig_vwpriva="up" ifconfig_vwpuba="up" ifconfig_jailpub="addm vwpuba up" ifconfig_jailpriv="addm vwpriva up" ifconfig_jailpriv_ipv6="inet6 fd09:fce8:b9e8:7d96::1/64 auto_linklocal" Has anyone seen this and am I doing something wrong or is this a bug. Figured I should check before filing a bug report. From nobody Mon Oct 18 18:13:14 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A035118092C9 for ; Mon, 18 Oct 2021 18:13:32 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY4kM652Wz3kgp for ; Mon, 18 Oct 2021 18:13:31 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id y3so43136599wrl.1 for ; Mon, 18 Oct 2021 11:13:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=lEfMEHvgUA6KgiYeTe4wx94Ec2BESAtnON5MbsuUcmY=; b=GLoKscVKpHK8J9EqWewAaXYzb0i89W7sPSrfsVsh2xjp/ARGAquUMEldR19MW8xZat 9RkxxX/IcGSOL/2e/PNyGapzRJ4F29rPC4WMScoewcgHylvPr1xnk3sLjn+KJ1EUYP0h O4qiXU96tcBOeTdVLUVdR+9aMVW5baI5CGlJHF4ofMymSuq7mIxUBw7y9l9sQO9TO2Ql EkeOeNVlq+Ivu7tYK0nBEzE+uR9NFSWw2lLWQ5WbB1ofi3AFQTL6FVlKLKWQgw3xSmTe WXTqf80+wBN+WxhtNcl5B5ZtljfSEn0rwWKEsWnerXmxIzZQ79qsKT2JHiX61Kt9a2mv dOlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lEfMEHvgUA6KgiYeTe4wx94Ec2BESAtnON5MbsuUcmY=; b=Dai60KOd7LqqWlbWOrNXJdCfPpadecThW1CZ1QR452cj41EIZcwAJ285VstZEizDDF 0Sd5XWrnsBI6KvmtmK4v4CRTQi9RbZRD+Wo2tpVSpNGYyEqPvamIUndW7eGdnkgaLP1q opcumvFjwVuVPpFFBUr+vmKKbhpMsctxGKiio/MN5NxyF2X+32lxxCj6W/I2YIre03W0 qQNpKl+WugT50jSorzyD7hrmq5T5JDetJeQ8KlhuXanTBLMNAAUNQnwOj/wjk4rz1tNW 4mpcQ8vE8BMz0eR9QvlyI4hZDs2oCDIJddpipj8rLM6LxlF7zK422W2O6IxClb3IfOJn 8FPg== X-Gm-Message-State: AOAM532JrH1rersE0Qdwwiy6MuCjGF4AC47KCwGXvfFsO66kbA8RRqfw wIklHbZF2y6qK2BUsgFQaX5VWdnw59TzpjGzUt8HeowC X-Google-Smtp-Source: ABdhPJwIzTXO0iPTnA9K83OvwVPeFUuY0eRco/M0gyLT1n1Cy2ymkYEbqM6P9ZeBxxVSQaSFxKLU/7pre+6lRPw4Kqc= X-Received: by 2002:a05:6000:1563:: with SMTP id 3mr37312042wrz.20.1634580810506; Mon, 18 Oct 2021 11:13:30 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Kevin Oberman Date: Mon, 18 Oct 2021 11:13:14 -0700 Message-ID: Subject: tunefs(8) changes don't stick To: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000091261705cea480d2" X-Rspamd-Queue-Id: 4HY4kM652Wz3kgp X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=GLoKscVK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [0.30 / 15.00]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; NEURAL_SPAM_LONG(1.00)[1.000]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --00000000000091261705cea480d2 Content-Type: text/plain; charset="UTF-8" I have a UFS file system on a GPT formatted SSD. I assume that trim is a desirable flag, but, even though I have tried to set it and it appears set after the 'tunefs -t', after my next boot it reverts to disabled. Similarly, changing the volume name (tunefs -L name) also reverts to its old value. Any idea what could cause this? Should I consider the -A option? The warning on that is quite strong, but for those changes, I don't see an issue with it. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --00000000000091261705cea480d2-- From nobody Mon Oct 18 18:44:27 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 180AD1817211 for ; Mon, 18 Oct 2021 18:44:30 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY5Q52KyMz3vdf for ; Mon, 18 Oct 2021 18:44:29 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-ed1-x530.google.com with SMTP id w14so3006191edv.11 for ; Mon, 18 Oct 2021 11:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=pnmlXKbR4h+0lD7IMwKC1YBvRjjHBSFBBMhfYWKBbvo=; b=RS9gRo9ZNMjXq66HcDsiFumI3U2oIiwTNcIdY9ksqo6fgIOJ2Fj0s29lX3qo8lDNbK Oiq1a/lhB3D0FCeGHlmfh478VGt2qq0E0FLVjOLDwbwTXf2KLdXo39Exiy3R48MdLkBV c4k7Rp2pRrazzaO1cBBnTnYTSJClgl7fpg8c16Rq6afvjaWP9WLjiLmBS8ra9e2Pk80i kpCyrMDlZ3Oe9zE/jhmBtu/MvfaKRc6cPp8fzV+/cshAGwrPu6K+xvGO8fFjhlzgxuro weHjuHZyDYo85NbtAe/kLzCadXTlUe35uVzGZTGu9VCJrRkMm2BMQ3iewMiF0bbShRHR y8DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=pnmlXKbR4h+0lD7IMwKC1YBvRjjHBSFBBMhfYWKBbvo=; b=bJdAm2Ad53Gx3s/lJkkGdbkMJfH5FfTDv9bMc54ACOYlxib+MAstcYwm+h3cUwJvPS i5DTkSeg1OXjWjoTAntA5fxeaK3GdbkuhDPFMpD3MaHoPdD/AftrvN2JYIBTD48N/SY7 TOyKYP/LeOgZPpvIc39mgwt2lPG9JPg8H6QPdzlFcPT5oxW3XYt9E36VPTNL8WG6GldT HsP5kT+hlqjcxH7eR8jHUQyPZwNudXw8Xib9ddZlc01rZMplh2iCfdnUUQX/j8YN9Hjz WzMGfJMLm/KEYbRlU447mzLkobLo4LgSoTIOmBo7I9QTZr+R+gRPZIOUwvuOj05n9FsZ M3mg== X-Gm-Message-State: AOAM532yFAYu5eqG1cehb93wl8HHKg3uKr53CAs5poucD+geE78snchs 3fls7hkiVUOJbWg/a+V6WV1Rmte+OqMlrQ== X-Google-Smtp-Source: ABdhPJwmYKS9Ug8XkFPURDaB6MQHe2KbBtiDBujuibSKTvSupFI8r0Ql6c+oZPHaiBFZDrOVljzWPg== X-Received: by 2002:aa7:cb03:: with SMTP id s3mr47000820edt.334.1634582667800; Mon, 18 Oct 2021 11:44:27 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id v15sm10246138edi.89.2021.10.18.11.44.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Oct 2021 11:44:27 -0700 (PDT) Message-ID: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> Date: Mon, 18 Oct 2021 19:44:27 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: tunefs(8) changes don't stick Content-Language: en-GB To: questions@freebsd.org References: From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HY5Q52KyMz3vdf X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=RS9gRo9Z; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::530 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [0.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; NEURAL_HAM_MEDIUM(-0.12)[-0.125]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::530:from]; NEURAL_SPAM_SHORT(1.00)[0.998]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N On 18/10/2021 19:13, Kevin Oberman wrote: > I have a UFS file system on a GPT formatted SSD. I assume that trim is a > desirable flag, but, even though I have tried to set it and it appears set > after the 'tunefs -t', after my next boot it reverts to disabled. > Similarly, changing the volume name (tunefs -L name) also reverts to its > old value. > > Any idea what could cause this? Should I consider the -A option? The > warning on that is quite strong, but for those changes, I don't see an > issue with it. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > What's the overview? tunefs -p … From nobody Mon Oct 18 19:28:59 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id BB62B1800FE3 for ; Mon, 18 Oct 2021 19:29:19 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY6Pn3Vm3z4lrn for ; Mon, 18 Oct 2021 19:29:17 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id z77-20020a1c7e50000000b0030db7b70b6bso244577wmc.1 for ; Mon, 18 Oct 2021 12:29:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=x6asvrIjLXqzMsEkMU62SYMj4HXLn1HVKN88l+10dKg=; b=ZQpOYvRQLQXutCAlf+tRpqqiDcrqkR7zu2T/RKeiwHF4eugmlkB82Kr736ziLu7Hdu 01oAd/VarlnH+ajQ+MoBSxY5IHuacFHqiTwJ3kEVp4ZZj5VRzyFObQipO3Gz2c2e/AVI WDwtF1XrPPrVNHPWcVx1qNh0WchHC3CCgVcdFYjm3QdHPO6NKi0jcDTwkNnd+rytIpSo o6UJKJuB5c92f/d9AHujKIc7UEOtWWR12yWdxHejqEsXI9MslwDN1o3sRqOzM9qHjzwL Da982PAUqfPHS+BQfxGZg7AACM+qUcf3/QWn7P7wqMuYPUZc+ACUH453OMC+ye6AAlfO iQrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=x6asvrIjLXqzMsEkMU62SYMj4HXLn1HVKN88l+10dKg=; b=0luRtmQ9tUqCtxYs3xbVG74qKTvpUXEVhmm7LjulPxXa+Bl3IYwgqXW0gX4TX3rDAe P+lfapITRwiVwt4mp8drAFQx7J95Vj76rFZlbZE82ajpBc9j6aCM4oEyf+A6Nj8GXOOf yqWuw30CQX4yqXTVbJs/JlbhetaSnwcz9PTIVB+K87FTx9vAhldE7H7AKQTgHKnSjNJw xHdYEf6ZOZdFaW60qgE5+y7O+Mu5XVqYQ4sZsVjF4K80WHP/WPZXVXZcGaat3Vd3DnvV dODBxOlmGwP+r2NH8s6Mt7TXJq6EFT1DDdkSDfksV9chqxakDfV9gON0uxWAuF+Ae4l1 Mv6Q== X-Gm-Message-State: AOAM532fVvw6sOWIHWiJsM/gGIU2RKU8kXlVhxtVfdJEUzceVy182vl4 bhz98W0i+gOE3kCIkyJw9i3LbfHayshVOCYBQgf2q5pa X-Google-Smtp-Source: ABdhPJyinB2kdH9I9FmqcEy68I3F84yZBc80gt+HTMTlGVHuA+ZWd6i9uwJxdWA8vp3E9GjQQvrw7frIU2/+/95R1K4= X-Received: by 2002:a05:600c:1d1f:: with SMTP id l31mr927854wms.44.1634585355964; Mon, 18 Oct 2021 12:29:15 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Kevin Oberman Date: Mon, 18 Oct 2021 12:28:59 -0700 Message-ID: Subject: Re: tunefs(8) changes don't stick To: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000007f55c905cea58fe6" X-Rspamd-Queue-Id: 4HY6Pn3Vm3z4lrn X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ZQpOYvRQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [2.28 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_SPAM_MEDIUM(0.98)[0.981]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::333:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; NEURAL_SPAM_LONG(1.00)[1.000]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --0000000000007f55c905cea58fe6 Content-Type: text/plain; charset="UTF-8" A small update. As soon as I make the vilum R/W, it reverts to both the old trim and volume name values. I am assuming that I want TRIM enabled on an SSD volume. I do get a message when enabling TRIM of "issue TRIM command". Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 On Mon, Oct 18, 2021 at 11:13 AM Kevin Oberman wrote: > I have a UFS file system on a GPT formatted SSD. I assume that trim is a > desirable flag, but, even though I have tried to set it and it appears set > after the 'tunefs -t', after my next boot it reverts to disabled. > Similarly, changing the volume name (tunefs -L name) also reverts to its > old value. > > Any idea what could cause this? Should I consider the -A option? The > warning on that is quite strong, but for those changes, I don't see an > issue with it. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > --0000000000007f55c905cea58fe6-- From nobody Mon Oct 18 19:30:27 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3BC131801F36 for ; Mon, 18 Oct 2021 19:30:52 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY6Rb5kwQz4nWt for ; Mon, 18 Oct 2021 19:30:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wm1-x330.google.com with SMTP id b189-20020a1c1bc6000000b0030da052dd4fso904183wmb.3 for ; Mon, 18 Oct 2021 12:30:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JqepCJY/zGkpEywMHELS7MlJAkw7xuOq3waO9fKccw8=; b=jEIJ4/i5d6npVNNvtYJ2txJQCOwwYunj7iUMLDZe/uOFOsMUxzbYHr6NOsUcuZXicg TW7xV4ynpk93nAzTPWQgkYRvKOXpERwXkzgkMh7z/U3/u0i0mGfx0NStEieI8RhHhUNa qkYEj9RbQbcvPP69C7OId8G7qcoKG0NcOcH6v9nRp+IGHRq3iL23ciGyzwQy7L+SfSws Br4R3OJbBbvi6eMA4VYhfooKiJTpvj6LwChkmWE8WLCoFHVPhqudTRPRlCr8KglqFwFY rN2wrLgNm/Ec993jse4UD75nSIgikEenn+LPjqwBLmikzKZGd4R36+qNeguWobGWUSi4 PWZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JqepCJY/zGkpEywMHELS7MlJAkw7xuOq3waO9fKccw8=; b=odohDkUMqwyMUuky72P//8klMYXJWbOSEtywvghxuVCy4nptc7E53FvDaumHirQw4z VCBoVHrGKUcZ7pGqcjypbgciiXwd0pVU5tn+vjmYw1TGbNmsi7ej/1Qpus5SgYAMq75C iLva3E7cVs2WNiOPcVLliyx0Ac13GzJHPiNMiXDPGL1vg08H7liXJFudaLsTaHvaezSa DTWobyKEPvvJ9BBUKx68pmeYOo5duhO5PbIls/bAIDP4vxRChsau7Z1QcDvPDKs3/Kao whhXXTuf4v3hMnj7U9FBp0lgU/wBlKzmq7vVga1LlBWpk0rAL8uot4sbaBZXQZkyAjyW OQJw== X-Gm-Message-State: AOAM532OGBmcmQvLuVJZpa5su72669gpD/JrYOXJts4ZabCVQuCxO9eU y1Dy+tLeTsBvIb340Yrv+qSjebpG99QEjI0kwQG7ReLK40k= X-Google-Smtp-Source: ABdhPJzDlwtB/iA4Qff8iIIIHlCv3T1oYIKErM5JRTZILSQOROctycxIxo9Tf5UFNBI6iEmubUQhWjnQuPSNAmfgX4I= X-Received: by 2002:a7b:cf29:: with SMTP id m9mr960650wmg.64.1634585443995; Mon, 18 Oct 2021 12:30:43 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> In-Reply-To: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> From: Kevin Oberman Date: Mon, 18 Oct 2021 12:30:27 -0700 Message-ID: Subject: Re: tunefs(8) changes don't stick To: Graham Perrin Cc: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000be94e005cea5947d" X-Rspamd-Queue-Id: 4HY6Rb5kwQz4nWt X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000be94e005cea5947d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2021 at 11:44 AM Graham Perrin wrote: > On 18/10/2021 19:13, Kevin Oberman wrote: > > I have a UFS file system on a GPT formatted SSD. I assume that trim is = a > > desirable flag, but, even though I have tried to set it and it appears > set > > after the 'tunefs -t', after my next boot it reverts to disabled. > > Similarly, changing the volume name (tunefs -L name) also reverts to it= s > > old value. > > > > Any idea what could cause this? Should I consider the -A option? The > > warning on that is quite strong, but for those changes, I don't see an > > issue with it. > > -- > > Kevin Oberman, Part time kid herder and retired Network Engineer > > E-mail: rkoberman@gmail.com > > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > > > What's the overview? > > tunefs -p =E2=80=A6 > # tunefs -p /dev/nvd0p3 tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) disabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6400 tunefs: optimization preference: (-o) time tunefs: volume label: (-L) FreeBSD -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000be94e005cea5947d-- From nobody Mon Oct 18 19:55:24 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6DCDF180E847 for ; Mon, 18 Oct 2021 19:55:25 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY6zx2P42z3FD4 for ; Mon, 18 Oct 2021 19:55:25 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id a25so3589101edx.8 for ; Mon, 18 Oct 2021 12:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=FdLVd7I1ixpHkUv7QsQpfTHpkH1d5UIEjYqc92BDbA0=; b=kx5anMfhAg3/vQj3ivYNqV9Oyyu9JYkgUv6xrlX6yUl6M9a7OAfe0qh/Ahopa3NHTI rROsmlwibvtm174NU2Chr3MnxtFj3B3/TCKpVD8OYt58IiVgwhiETXngS5QLX20KyKAc bgbgrU/2cub7n+BQxdyXxjfCdyNEG9vGhOcaDfTDPioUzPoUV3eeNIo5vB0IGH6ek10b Bw7FUNQuQ6mmt4Ff+RTeMOKXuswOkILqF7ssT70fJrFyz7X5Dymm1LIiy/gRO+F/Mouf 1chN1S5tAGgtZMTLnyGbZX14Q36kSTn1woshHOoneAt8icHBjUwKPm7O+yAGJDnFnMew eNlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=FdLVd7I1ixpHkUv7QsQpfTHpkH1d5UIEjYqc92BDbA0=; b=Hv7RC6jlanr6rCoTxrFf3ks2mGodGkxFzyAvyW0CoKUe0vzGJO0O9hhN7kaUyTZPYR CXaI4LP8ZiXsmb6s8+EkFgScTY4Rf6Pbe6Ui0TotPMe40rNjr+gd6eVsX6GuwKzv5J8k OSNH/FFDGjJUzTx3c3PX+LXfk77NmnMwRVwhC96MvkX1LCYOLyvnP+ZLrncqbWkW6fRa uVUBVTT6L+ZlmKB902ATY7ODDLOrL9XYs2lzaiTdfqiOSMhCsHihqxojFCHvQ46uRWwM dzdRMlhg+ZmW7aLkSGN+G82VNRka+0XztTvntVp8qI8r27qhCrGvJhYN9pnQzgiv1Vg6 +qUw== X-Gm-Message-State: AOAM531e6fI+khkc8/s88GAuIynKLLhQSh5YulDZtBng47j8NiNWsYcK xLhA8vezK0F9Lk0stwnkz+6n95MpjmOhlg== X-Google-Smtp-Source: ABdhPJy3BpsSwrY5OBcfkjLYBVsYd2hz6YjppDUaqBC1taWQ/z5KjJ0foonDpMWHVtGRJs9a42+rKg== X-Received: by 2002:a17:906:fc11:: with SMTP id ov17mr32049301ejb.249.1634586924350; Mon, 18 Oct 2021 12:55:24 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id h9sm9187619ejy.108.2021.10.18.12.55.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Oct 2021 12:55:23 -0700 (PDT) Message-ID: <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> Date: Mon, 18 Oct 2021 20:55:24 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: tunefs(8) changes don't stick Content-Language: en-GB To: Kevin Oberman Cc: "freebsd-questions@freebsd.org" References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> From: Graham Perrin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HY6zx2P42z3FD4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On 18/10/2021 20:30, Kevin Oberman wrote: … > # tunefs -p /dev/nvd0p3 > tunefs: POSIX.1e ACLs: (-a)  disabled > tunefs: NFSv4 ACLs: (-N) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n)                                 enabled > tunefs: soft update journaling: (-j) disabled … Probably an obvious question (sorry), are the changes made in single user mode? If you attempt to enable soft update journaling, does it succeed (at the time of the attempt)? From nobody Mon Oct 18 21:01:08 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B216D180D9DA for ; Mon, 18 Oct 2021 21:01:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HY8S54Rm6z3qZs for ; Mon, 18 Oct 2021 21:01:25 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id k7so43496404wrd.13 for ; Mon, 18 Oct 2021 14:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7ifCU5bzNdivf5s9D5dP0CHfG7CvjM7MO+K9zZfzqzU=; b=QzFxefOeysCWCVAVbYi1evyqRRGCA9f3BiNjevZH4/oN7186XHRiMnukQYWWN4SZRc YNXuuTKxKwfrzKqatSgef1hNvcRXROaMYwuBRacCryCbFmBHj2KQILRUHQzuTVP70DWQ cgh7X/1MMTrPvzkVNZvPIgNycdo5xOy0I8ynokJ84Xkmbi6yYx46Gotqqt7KPwRSbujb i6WHmAKvi30/MQvttzwlfIgQ+sBfuhfzRZmsl5lL2p0q0CaakY7ex3C4nLqHH+0OJawr dOs8gehZzDhSMGw2ogakwkr2Kel6nnWPQXpDsEwplqsXWiUC1IxhUdgnCEoRCXuXSBvg YDAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7ifCU5bzNdivf5s9D5dP0CHfG7CvjM7MO+K9zZfzqzU=; b=I0+3NW1BSx4jXWiqwmNxTwTMOd9+964D8ak0r43RtO7Q4KfycPPWOZPSy5ulWrmgI8 SzyjdIv/Cd/8uVstf41s5n2NFv2fVvkNb4TWKI+vAuMBOlkdJ12Zn/ajOYezhBCg9zI7 di9OQoC30ITtnn+VqKDXPO5VLyLMMicDnfqiOJnZBM8z7KK1yVrCDZfxS25kDWFIoVID Ty++S3LYXjNrL7SRs1f+3prWTNq1auNLkQVhJ6tEfsa8KScOKUC3L229diEaHzrJxo0n qqBKxwMJJ89L0iTd+bV5sOxAYoygOnBccJd9BFBIncGOSMMHAay1I+oEPh1Ra9fI2d+V mI4g== X-Gm-Message-State: AOAM530E4wyvAbtF+SIlFo71D4ERRi35xLcXjXC8MemnD8mr47+dkfA5 bOgjtQI9GXwcXlLm01X/hMW9MFNp96oaZsfHJOR+FuuriXE= X-Google-Smtp-Source: ABdhPJyW6DX7v8bbjcUXpvd4dcZRqA78lqQoXTc8oqdWGC36Vvee2oPg240ZUOuoTsIN37zmabjpLfrmNQ+iUx1megU= X-Received: by 2002:a05:6000:1449:: with SMTP id v9mr39372341wrx.137.1634590884720; Mon, 18 Oct 2021 14:01:24 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> In-Reply-To: <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> From: Kevin Oberman Date: Mon, 18 Oct 2021 14:01:08 -0700 Message-ID: Subject: Re: tunefs(8) changes don't stick To: Graham Perrin Cc: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000009748005cea6d951" X-Rspamd-Queue-Id: 4HY8S54Rm6z3qZs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --00000000000009748005cea6d951 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2021 at 12:55 PM Graham Perrin wrote: > On 18/10/2021 20:30, Kevin Oberman wrote: > > =E2=80=A6 > > # tunefs -p /dev/nvd0p3 > > tunefs: POSIX.1e ACLs: (-a) disabled > > tunefs: NFSv4 ACLs: (-N) disabled > > tunefs: MAC multilabel: (-l) disabled > > tunefs: soft updates: (-n) enabled > > tunefs: soft update journaling: (-j) disabled > > =E2=80=A6 > > Probably an obvious question (sorry), are the changes made in single > user mode? > > If you attempt to enable soft update journaling, does it succeed (at the > time of the attempt)? > All changes are made in single-user mode. Other than foot-shooting mode, I don't think that you can do much with tunefs(8) unless it's read-only. I may not have mentioned this, but nvd0p3 is my root. Against better judgement, root, usr, and var are all on this partition. Also, though I would not think it relevant, it is EFI boot. The system is a slightly over one year old Lenovo L-15 (Intel) running 13-STABLE/13-n246941-20f96f21556. The SSD is an NVMe PCIe Gen3x4 M.2 512GB from Sabrent. It was added to the system three months ago. I thought I had TRIM enabled, but discovered it was not last week when I tried changing the volume label. Don't care much about the label, but I really want TRIM. I enabled SUJ. It failed until I deleted the old /.sujournal file left over from the initial install. It then succeeded. When I set the volume to rw, it was gone as was TRIM. No .sujournal was created. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --00000000000009748005cea6d951-- From nobody Mon Oct 18 22:43:32 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2901217F0D68 for ; Mon, 18 Oct 2021 22:43:51 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYBkG3CDVz4pDT for ; Mon, 18 Oct 2021 22:43:50 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id v17so44019529wrv.9 for ; Mon, 18 Oct 2021 15:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kt0IsmDxDVWNTb4YJ/6rWvwHND+spvBPEOrkp3KffmU=; b=nbqNbNiTXzoDmBPZBLfQJhDgJak+uMty1QCSngKUahIRw6qC7YhBSmm5Zzv5Y//N/R ztgfBYQ3/xRKsKMJFxXCYN0qnVEHhTvZ9VGQdPucrM7re0WF0Jogp/p2DkjGccmlTpep fF2fhB0tQ1kVFURo9xQy5JNJ895gJrbvg/1ClT1fTBn80XREPxF6dcUkMUGZfl43/Ou5 KCL3Is7hTCE+JEmdGOSVLsePZreQkfXDlKLcTzATxn6Ey9YjOU2yTKLQfHaOX/UOXxiJ ci9rDLPNaUPqQHW9oUyPzAnhFYf7shW0ClXccQp4wzlgI6+yzZh/K2+FQKpC1Tlkl6tB gwkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kt0IsmDxDVWNTb4YJ/6rWvwHND+spvBPEOrkp3KffmU=; b=Nc8HenPFnQ8y0UTtz8h6an0KGVl4UqNCC3ASn3zYnEDcGuPzcoUh5rcZutnmkXkmAw orxzAwz7qrOCRH+2E5SSFKkEG8s22YvOq7vT6zhX2wFaEB52oUJRfZhfUq2UKj0nZfDJ cK7QJ+uftBtQcSiNdSE8wijKgAtQekAENGrEoghJ17UyjDIukhilR1jcHwl0KKJRj2T0 wRNTeHnJQVsiR5N8fNmNUNMQKdBDvVr4Sjsgq27BwHtMBmP6CwN0Ba7JBfOkaXBLbtoT U3HB8BsBnqxZyB8n626GoQfYtKVQKgihqNNB1Z4ONZhd97QUbgRP6MSCWQxRJbkexI/H BgvA== X-Gm-Message-State: AOAM530VcweQkHvNVdBHx0EbuVo8lyRxzcPD9ewB2yCL1LqzXlwOdizY 7xl0y1brTK6FYZv+vCqaIhi683EH7MblXdMUtUaW1L+FbG4= X-Google-Smtp-Source: ABdhPJyQ/CxcVxYkuMfOq+WumpmBZK45kWwUxLXlB4OsxyxdzyqxNpCtF8EA8MG+D2sUrHFX6dwTIuJEX4cINfL4kFs= X-Received: by 2002:a05:6000:1449:: with SMTP id v9mr39951348wrx.137.1634597029462; Mon, 18 Oct 2021 15:43:49 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> In-Reply-To: From: Kevin Oberman Date: Mon, 18 Oct 2021 15:43:32 -0700 Message-ID: Subject: Re: tunefs(8) changes don't stick To: Graham Perrin Cc: "freebsd-questions@freebsd.org" Content-Type: multipart/alternative; boundary="0000000000004ac43e05cea84713" X-Rspamd-Queue-Id: 4HYBkG3CDVz4pDT X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=nbqNbNiT; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-1.70 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --0000000000004ac43e05cea84713 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2021 at 2:01 PM Kevin Oberman wrote: > On Mon, Oct 18, 2021 at 12:55 PM Graham Perrin > wrote: > >> On 18/10/2021 20:30, Kevin Oberman wrote: >> >> =E2=80=A6 >> > # tunefs -p /dev/nvd0p3 >> > tunefs: POSIX.1e ACLs: (-a) disabled >> > tunefs: NFSv4 ACLs: (-N) disabled >> > tunefs: MAC multilabel: (-l) disabled >> > tunefs: soft updates: (-n) enabled >> > tunefs: soft update journaling: (-j) disabled >> >> =E2=80=A6 >> >> Probably an obvious question (sorry), are the changes made in single >> user mode? >> >> If you attempt to enable soft update journaling, does it succeed (at the >> time of the attempt)? >> > All changes are made in single-user mode. Other than foot-shooting mode, = I > don't think that you can do much with tunefs(8) unless it's read-only. I > may not have mentioned this, but nvd0p3 is my root. Against better > judgement, root, usr, and var are all on this partition. Also, though I > would not think it relevant, it is EFI boot. > > The system is a slightly over one year old Lenovo L-15 (Intel) running > 13-STABLE/13-n246941-20f96f21556. The SSD is an NVMe PCIe Gen3x4 M.2 512G= B > from Sabrent. It was added to the system three months ago. I thought I ha= d > TRIM enabled, but discovered it was not last week when I tried changing t= he > volume label. Don't care much about the label, but I really want TRIM. > > I enabled SUJ. It failed until I deleted the old /.sujournal file left > over from the initial install. It then succeeded. When I set the volume t= o > rw, it was gone as was TRIM. No .sujournal was created. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > I suspect that this problem is Bug 113912 . While that bu= g only references -L, I suspect that it applies to any tunefs(8) modification to the root partition. While I suspect that enabling foot-shooting mode might work around it, I think it's a serious issue. The bug was originally submitted in 2007 and had never been touched since other than a sweep of pre-2014 bug reports. At least documentation of the bug should be done in the man page. With the default install to a single partition, this could be biting a lot of people without being noticed. I'll boot from my newest 13-RELEASE thumb drive and see if that works around it. (My bet is "YES", dollars to donuts.) -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --0000000000004ac43e05cea84713-- From nobody Mon Oct 18 23:18:03 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C345A17FFC5F for ; Mon, 18 Oct 2021 23:18:18 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYCV14cvGz3F8c for ; Mon, 18 Oct 2021 23:18:17 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1634599088; bh=CT3PAc5zwjCOcVkgxBEOtR2EhReZfCI/T6kerHmNrBM=; h=Received:Subject:To:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding; b=E7fFTQKB+cp2xaiMvKkPeAHBM4x+oUGLAngzSM6qNPKrfZIcyc6gqWr8I8n7rHO9M WEZ+fxpJWb01F67IagUWA8pOBeyuMVvZbVFdDUnOEnKCsCHVV3sTuNIwfHoUHSrGRH S8fXSS4kbQxxCym/LXd3lZg+2HOi33JuQY/qJcENVni0MEYm3dafpeIgHmb3odjUyX UDyj1iimjBrgNibNVF/wewV+QZTFZNm/FVt7Gy/yNe0lpJzrebPxwNNJyZtP6wV7ul Gm9Bh5MTw6S69Z9hX0ukJRHETE7gwmzrUesasQ7fP7WUimx++PnameJkgVNdFPg1yr TPalKf2+RnFjY1jlK+YFrPD5JULNfoua0wJOmj4riYEfCKoNpDklGG06uTg77FMq4u j3wzpsIbCad9z9f6ttufzFjePVJtWrFbQ64rIhbRxWcgQKnfgvg7UFagO9qNS2zXmo kVyDqtcg8fKqfFRydkmzc5ixUpdOoEMk0GLEnpYHpok2TdAbvPJQ4rervrrMPIwkWj rnXY6ZEp7Oo5BR5Qo6XdddPQHNC4vHpVm1VKWYtfsZJgJGJdfUZkutJHi3c2DyKaU6 f5ClqKE0qEM6C83YOOOz+f/0KZKqJ64xTniys6SvGFaEBiBBDq1TLNLbYYq3BONeUH E/H4W0RxtRK3V5pkdOQQKYfc= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 18 Oct 2021 16:18:08 -0700 Subject: Re: cannot receive mountpoint property on data/backup/home/foo/bar: permission denied To: questions@freebsd.org References: From: David Christensen Message-ID: <7469350b-3276-6807-2cd9-5b2801b18ece@holgerdanske.com> Date: Mon, 18 Oct 2021 16:18:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4HYCV14cvGz3F8c X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=E7fFTQKB; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-1.00)[-0.997]; NEURAL_SPAM_SHORT(0.99)[0.990]; DKIM_TRACE(0.00)[holgerdanske.com:+]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; NEURAL_SPAM_LONG(1.00)[1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 10/18/21 10:14 AM, tech-lists wrote: > On Thu, Oct 14, 2021 at 12:45:19PM -0700, David Christensen wrote: > >> Have you checked the 'mountpoint' properties on the source and on the >> receiver? > > Yes. On both, mountpoint is "-" (without the quotes) > >> Taking the idea one step further -- dump all of the properties to a file >> on the sender, do the same on the receiver, and then diff(1) the files. > > done - there are differences because the paths are different. I used > > % zfs get -r all snapshotname You want to look at the filesystem mountpoint property, not the snapshot mountpoint property. See the example I posted on 10/14/21 12:45 PM, If the output is too noisy, use the zfs list -t filesystem option. As for path differences, use Perl, etc., to neutralize the expected -- e.g. data/home on the source and data/backup/home on the destination: # zfs get -r all data | perl -pe 's/data\/home/FOO/' > src.out # ssh remote.system zfs get -r all data | perl -pe 's/data\/backup\/home/FOO/' > dst.out Use use diff --ignore-all-blanks to ignore whitespace changes. Look at the output for more expected changes and/or things you do not care about. Keep adding stages until all expected changes are eliminated. Either you will end up with nothing or with unexpected changes -- which might the cause of the warning. >> Same as above for the pool properties. >> >> Have you tried replicating from the receiver? > > not been able to do these two yet due to time constraints > >> Have you tried reproducing the issue with a 13.0-RELEASE sender and/or >> receiver? > > not with 13.0-RELEASE. Both systems in this context are recent > stable/13. > > It seems, from what I can gather so far, it's a harmless notification > [1]. I'm just checking though. I don't actually *want* it mounted, at > least not right > now. > > [1] i know i don't know enough about zfs (OpenZFS) to be certain As this is for backups, I would have a strong urge to identify and eliminate the cause(s) of any and all warnings. David From nobody Tue Oct 19 00:10:38 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 32A9317F6141 for ; Tue, 19 Oct 2021 00:10:42 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYDfT53sTz3jxG for ; Tue, 19 Oct 2021 00:10:41 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-ed1-x52e.google.com with SMTP id t16so5862916eds.9 for ; Mon, 18 Oct 2021 17:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=Q6Oy91csZzSgCahFj6X/vqH+yXeedUYHdjuhGVLWLR0=; b=GpXEM+6LAw0DA5XR61fWCLUtpLanaBK2sIXRXSZ0atV8Md5OqUj9YpqM2mbzNv7gnE G/xZm3Spre30rWnPDkawL8ZgGnR6u+HKD4WSyrz5SKZALt3yJezMB3KrZPCpOCsQd/Gg 3sE3nBbNUNDetYZrpfcx78cVOvfCzdO1XxCuewzvwBiKUZ1mYFKNPYR+JdeuJj4ibGfZ cvm/U4Q/9ZnqsnolRq+/IqojmXYFbzOcpbYajocxmWqlvDTdStfcPgXasNsZWvk4HhkY RYLOt/k8/hxcbJTPu2zCCdWE8ogGsKIB8hvCiNMWg5f9AH/FLf5ITmXrV9O/9AZJNZqP S1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=Q6Oy91csZzSgCahFj6X/vqH+yXeedUYHdjuhGVLWLR0=; b=8H/It/yuwMxrqejTcraceEakoHA7F7trOhrw49hgSbIFKiMUamzDAzth1y7R1rT3zQ t7PNMawnVH9vxfXV55FoE26Km8tkixz7INigsicIjPYDN3DENFHkEzTEmWD2NjL1f7/D n/xYL4f2pfE5TYWKpFin1iU0W21iUzxERbsF7P0o+D3cPmCnujLhb8ZTlDsJL9Fm4+pJ Xe0Zx+5jclPzL7hEPKGBHQe1x7QR3Pkheg3oTD1wK+EZrZ8cpphbXB8F/9WCaikbc1gy MFrbYrgyZtuHMVpnh4LXxtp245Zib35CKn81i8Fx4vZobdsrLG0nWMmzC9yV+xq8Nfjf wdsA== X-Gm-Message-State: AOAM530PZZ4ZjEZHjSTDuW4iMgbwm8exCEDOcJTjkTnlWKUJqRfXau59 EHKmLuG5NroIMJJ4HodtKPmddF+ZkQBO4w== X-Google-Smtp-Source: ABdhPJy0imgGbCVJqluBFydFT5FslqOnTKThYZePf3wI0ZERTRzjnjoEG+w0IkVVtNUui4d9f/885A== X-Received: by 2002:a50:9e43:: with SMTP id z61mr3536537ede.278.1634602239732; Mon, 18 Oct 2021 17:10:39 -0700 (PDT) Received: from ?IPV6:2001:470:1f1c:a0::2? (tunnel642390-pt.tunnel.tserv1.lon2.ipv6.he.net. [2001:470:1f1c:a0::2]) by smtp.gmail.com with ESMTPSA id h18sm9456825ejt.29.2021.10.18.17.10.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Oct 2021 17:10:39 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------VH2mx0QpLlgXlgP1DJQiEALN" Message-ID: <97d3a7d3-993b-563c-bb34-594f2e775c93@gmail.com> Date: Tue, 19 Oct 2021 01:10:38 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: tunefs(8) changes don't stick Content-Language: en-GB To: FreeBSD questions References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> From: Graham Perrin In-Reply-To: X-Rspamd-Queue-Id: 4HYDfT53sTz3jxG X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=GpXEM+6L; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::52e as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [1.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.56)[-0.555]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52e:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------VH2mx0QpLlgXlgP1DJQiEALN Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 18/10/2021 23:43, Kevin Oberman wrote: … > Isuspect that this problem is Bug 113912 > . While that > bug only references -L, I suspect that it applies to any tunefs(8) > modification to the root partition. … As far as I can tell, tunefs -j enable – does work as expected for / – but not with FreeBSD-provided disk images for FreeBSD 13.0-RELEASE and 13.0-STABLE Tested so far: AMD64 .vhd files only. I assume that .qcow2, .raw and .vmdk files are similarly affected. --------------VH2mx0QpLlgXlgP1DJQiEALN-- From nobody Tue Oct 19 00:58:11 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 01EC0180906F for ; Tue, 19 Oct 2021 00:58:29 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYFjc6416z3vwn for ; Tue, 19 Oct 2021 00:58:28 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-wm1-x333.google.com with SMTP id m42so10246281wms.2 for ; Mon, 18 Oct 2021 17:58:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zbop/DorxzN3v1MJtlapDIykQZgUe6oyM6yTA0RtU9A=; b=EWJiADdQL9FWJ2ZaPVK8VBOoEnyuI1m5kiK7j6tpJaKt4nrHE2Fyayzy60iBaQtbiV rbNRR4+zZMa3gLPAGQqx4HwojnrUx5m4wF89Z/ACzya0uwFf90XYy41MtD5+q7AWiD7u g/KrknxwHipZFbYP1awdhLsOYyTUFxHizX0A79LRdp4LgjMB0K8vpaBYpTEHy78OlDX+ ktUxyDW+pKk8yD0R26BqiDDcxcTjqtoMvhW4YETqP5FJ6OQ/Yr4aKxNowbwTHzKi3ihh IS+XSH7iL70vFHUScCz07YvlenGANNQN8yi5Ng6RILysmOyt9myyPHXYOt3bQ8go16zs j31g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zbop/DorxzN3v1MJtlapDIykQZgUe6oyM6yTA0RtU9A=; b=rEA9sMAv/6QiOgk06whmDIYxGDRJG4ZO6TeIZWl46FjvnY4lXSHDAnkqeUIUGGw0w2 ISMWLGNrS/BMTLI+/vc3FICbBGv511Y/vHdhB/VVYtHUpn67L2Ij2izsLy1QMzRTp6c7 v31vPwtY5UioSgPciZFuS8n4gbbn3yoOUrOofvUyTOAY3Q5s24C8n0xpwyUrOmS6N9PU 5vgB7H88t7gzm3SQuSq6UxNVYyBXvvwTmXjGIsjf87O9bg8AO+IwTZ6WX8ZMNtoGCXCD K/yMtiX7ow2NvFLrHtLXAUJScQDMIwy1JMPinW/9J6DBzBvEqBsXtcZ1gK+ompz5Fp9a MIpw== X-Gm-Message-State: AOAM5300ZslAtHtGn3XbQywQ6gfuMKUxLxRAgSTt8yiYaQDUV69UHyRk GdD4NGs0ifNZk9M3fHrw+oQaJvE+U8HEFD/rlCw= X-Google-Smtp-Source: ABdhPJx9lpGXd2Q8MUKhEtF4QfazmLlDetr7Y7lFH8dbpGoIljtjJa8WLRCznWpW8hWawX64q61tI0U3En8u3uClvuc= X-Received: by 2002:a1c:4d06:: with SMTP id o6mr2486506wmh.137.1634605107828; Mon, 18 Oct 2021 17:58:27 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <0700be88-52f7-eb08-a37e-4fc56fcafe1a@gmail.com> <6e5aab14-bee3-c6f4-67ef-6d60395808fc@gmail.com> <97d3a7d3-993b-563c-bb34-594f2e775c93@gmail.com> In-Reply-To: <97d3a7d3-993b-563c-bb34-594f2e775c93@gmail.com> From: Kevin Oberman Date: Mon, 18 Oct 2021 17:58:11 -0700 Message-ID: Subject: Re: tunefs(8) changes don't stick To: Graham Perrin Cc: FreeBSD questions Content-Type: multipart/alternative; boundary="000000000000ccdbc305ceaa2800" X-Rspamd-Queue-Id: 4HYFjc6416z3vwn X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000ccdbc305ceaa2800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 18, 2021 at 5:11 PM Graham Perrin wrote: > On 18/10/2021 23:43, Kevin Oberman wrote: > > =E2=80=A6 > > Isuspect that this problem is Bug 113912 > > . While tha= t > > bug only references -L, I suspect that it applies to any tunefs(8) > > modification to the root partition. =E2=80=A6 > > > As far as I can tell, > > tunefs -j enable > > =E2=80=93 does work as expected for > > / > > =E2=80=93 but not with FreeBSD-provided disk images for FreeBSD 13.0-RELE= ASE and > 13.0-STABLE > > > > > Tested so far: AMD64 .vhd files only. I assume that .qcow2, .raw and > .vmdk files are similarly affected. > I have successfully updated the volume to TRIM by booting the install disk. Everything I changed is working fine. I did an "fsck_ffs -E" to deal with the 4 months I ran on the SSD without TRIM. Can't explain why "tunefs -j enable" worked for you and not for me. Every tunable setting I tried appeared to work when I did a 'tunefs -p', but went back to the prior state when I mounted the disk RW (mount -u /). I'll admit that I have no idea how being a VM might impact things, but it seems possible. My case is on bare metal. When trying to use tunefs on my boot disk, I never received any error or warning. The changes just vanished. I might ask imp@ about this. He's pretty expert on the boot process. I'll update the ticket as well. Thanks, Graham, for the help that led me to look at the right place. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000ccdbc305ceaa2800-- From nobody Wed Oct 20 10:51:18 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 180A61809F71 for ; Wed, 20 Oct 2021 10:50:49 +0000 (UTC) (envelope-from henrix@camandro.org) Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (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 4HZ6pc0ZF8z4qL1 for ; Wed, 20 Oct 2021 10:50:48 +0000 (UTC) (envelope-from henrix@camandro.org) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4HZ6pS0YxNzQkgs for ; Wed, 20 Oct 2021 12:50:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Date: Wed, 20 Oct 2021 11:51:18 +0100 From: =?iso-8859-1?Q?Lu=EDs?= Henriques To: freebsd-questions@freebsd.org Subject: zfs: backup unencrypted datasets into encrypted datasets Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HZ6pc0ZF8z4qL1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of henrix@camandro.org designates 80.241.56.172 as permitted sender) smtp.mailfrom=henrix@camandro.org X-Spamd-Result: default: False [-2.84 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:80.241.56.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.995]; RCVD_IN_DNSWL_LOW(-0.10)[80.241.56.172:from]; DMARC_NA(0.00)[camandro.org]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:199118, ipnet:80.241.56.0/21, country:DE]; RCVD_COUNT_TWO(0.00)[2]; R_MIXED_CHARSET(0.56)[subject]; RWL_MAILSPIKE_POSSIBLE(0.00)[80.241.56.172:from] X-ThisMailContainsUnwantedMimeParts: N Hi! I'm sending this question to this mailing-list after not getting any feedback on the freebsd forums. Hopefully I'll have more lucky here. This is probably a trivial question, but I'm failing to figure it out myself after reading a lot of documentation. I've my laptop running an up-to-date 13.0-RELEASE, with zfs on top of geli. So, datasets are *not* encrypted, but encryption is done on the lower level. I've a single snapshot in my home dataset: # zfs list -t snapshot zroot/usr/home NAME USED AVAIL REFER MOUNTPOINT zroot/usr/home@2021-10-19_13h50 2.87M - 13.3G which I'd like to backup into my external USB drive, which is zfs as well, but not using geli (as I'd like to share it with other non-freebsd computer). Thus, I've create the following in my external drive: # zfs create -o encryption=on -o keyformat=passphrase backups/root # zfs create -o encryption=on backups/root/orpheus-home When I try to send my snapshot, here's what I see: # zfs send -v -R zroot/usr/home@2021-10-19_13h50 | zfs recv -x encryption backups/root/orpheus-home full send of zroot/usr/home@2021-10-19_13h50 estimated size is XXXG total estimated size is XXXG cannot receive new filesystem stream: destination 'backups/root/orpheus-home' exists must specify -F to overwrite it warning: cannot send 'zroot/usr/home@2021-10-19_13h50': signal received Ok, let me try to use the suggested option: # zfs send -v -R zroot/usr/home@2021-10-19_13h50 | zfs recv -F -x encryption backups/root/orpheus-home full send of zroot/usr/home@2021-10-19_13h50 estimated size is XXXG total estimated size is XXXG cannot receive new filesystem stream: zfs receive -F cannot be used to destroy an encrypted filesystem or overwrite an unencrypted one with an encrypted one warning: cannot send 'zroot/usr/home@2021-10-19_13h50': signal received I've tried to use "-o keyformat=raw -o keylocation=file://..." instead of "-x encryption" on the received size (after changing the key format, of course), but the result is exactly the same. And I'm puzzled, with no idea where to go from here. Is this a limitation of zfs, or is this zfs just telling me I'm doing something really stupid? Thanks for any hint that would help me sorting this out. Cheers, -- Luís From nobody Thu Oct 21 23:09:15 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E86217F2EF1 for ; Thu, 21 Oct 2021 23:09:19 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hb38D5xx9z4sdK for ; Thu, 21 Oct 2021 23:09:16 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id daDbmoNLfps7PdhBUmVchu; Thu, 21 Oct 2021 23:09:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1634857756; bh=WyoS/EDDuKGHu2uSlXJoKgzzsLso5LeWuKF5VHZTbm8=; h=Date:From:To:Cc:Subject; b=hVGlVDJY788Orw8D3UARPmZqjz7cP1sh/Sax7rwEWy+bWmCjX4Xq3miqy/js/tnmP USoyCIHGV9RiULq8u539+oOMNi9npF1LUq0UWYUPfK/v1fPDdRXYLqV6wU/7RWnrIM eXcLNCLqmhdJfD/T0uBGBn1DjfrlSuMNazGW8D7EamnzPgI43IO2K9Liqg43HKvwTZ uKIUXUcdsdKbpPj+9H5WH+w1zLJ1Q1sCONGNJejr8mLDe9UY8QcOqNGBUsh1N0Eobo NCpmqk6jDyu72JX4uJHrzIbP+C8Qsj7K4p3e9Ja6DXB1t6aJ1Kw/TXYAMoXYUpVkhn nokqygq/bcYoQ== Received: from cds220.dcs.int.inet ([64.59.134.6]) by cmsmtp with ESMTP id dhBTmRZjVgxGidhBTm7nOl; Thu, 21 Oct 2021 23:09:16 +0000 X-Authority-Analysis: v=2.4 cv=SqLzVNC0 c=1 sm=1 tr=0 ts=6171f31c a=9zdlX7M534QhL7mOrorEvQ==:117 a=FKkrIqjQGGEA:10 a=on0NmgUIp3IA:10 a=IkcTkHD0fZMA:10 a=Eju8ZfVQlTlNrscCucwA:9 a=QEXdDO2ut3YA:10 Date: Thu, 21 Oct 2021 17:09:15 -0600 (MDT) From: Dale Scott To: freebsd-questions Cc: dalescott@shaw.ca Message-ID: <116710303.120952109.1634857755619.JavaMail.zimbra@shaw.ca> Subject: share Mercurial repo's in user home directory List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [162.223.103.50, 162.223.103.50] X-Mailer: Zimbra 8.8.15_GA_4125 (ZimbraWebClient - GC94 (Win)/8.8.15_GA_4059) Thread-Index: prLTi5G7yCuJnE57CXwlvhoUlYCPmQ== Thread-Topic: share Mercurial repo's in user home directory X-CMAE-Envelope: MS4xfBqxVHFa8R1Kj4c7PF9+3U6iYALFc+NeJzf3GfJz9hsuqAJE9BCq/4GqTLCIdseA1WlovtCc2/isZ3Tjv8yGcvyD9nrzWfiU+Z0lA4p3/z2KcsCFR0UJ 2a5ffC+gh2EcUAME2A0VM0gPqDGHNB7fH9Gs9NzZAIvHKn4YxKUkgbBO3IPphHYM+MlYqPKvvJBMc6E9y4+HByHwJb5AfTzz47JVS/mbubOnREHZ1HcjrQFF X-Rspamd-Queue-Id: 4Hb38D5xx9z4sdK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=shaw.ca header.s=s20180605 header.b=hVGlVDJY; dmarc=pass (policy=none) header.from=shaw.ca; spf=pass (mx1.freebsd.org: domain of dalescott@shaw.ca designates 3.97.99.33 as permitted sender) smtp.mailfrom=dalescott@shaw.ca X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[shaw.ca:s=s20180605]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:3.97.99.32/31]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(0.00)[3.97.99.33:from]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[shaw.ca:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[shaw.ca,none]; RCVD_IN_DNSWL_NONE(0.00)[3.97.99.33:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[shaw.ca:dkim] X-ThisMailContainsUnwantedMimeParts: N This is not directly related to FreeBSD.... is it possible to share a Mercurial repository with remote users simply by putting it in a user directory and the remote users specifying the ssh protocol in their hg clone, pull, push... commands? I successfully do this now with git for a small number of users. I created a new system user and put headless git repos in the new user's home directory, then added a public ssh key for each developer to the new user's authorized_keys file. Remote users access the git repos in the home directory by simply using the ssh syntax with git clone, pull and push (and authenticate using their private key). Does this also work with Mercurial? Thanks, Dale From nobody Fri Oct 22 09:40:57 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9AAB0180768A for ; Fri, 22 Oct 2021 09:41:05 +0000 (UTC) (envelope-from gray@nxg.name) Received: from smtp72.iad3b.emailsrvr.com (smtp72.iad3b.emailsrvr.com [146.20.161.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HbK9F45Qhz4kg0 for ; Fri, 22 Oct 2021 09:41:05 +0000 (UTC) (envelope-from gray@nxg.name) X-Auth-ID: gray@nxg.name Received: by smtp2.relay.iad3b.emailsrvr.com (Authenticated sender: gray-AT-nxg.name) with ESMTPSA id EDEFB20083; Fri, 22 Oct 2021 05:40:58 -0400 (EDT) From: Norman Gray To: Dale Scott Cc: freebsd-questions Subject: Re: share Mercurial repo's in user home directory Date: Fri, 22 Oct 2021 10:40:57 +0100 X-Mailer: MailMate (1.14r5818) Message-ID: <2C8C7BF1-AA56-4CD5-884B-7795457665DA@nxg.name> In-Reply-To: <116710303.120952109.1634857755619.JavaMail.zimbra@shaw.ca> References: <116710303.120952109.1634857755619.JavaMail.zimbra@shaw.ca> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Classification-ID: 303e7275-1656-4c40-a05f-49995df226f2-1-1 X-Rspamd-Queue-Id: 4HbK9F45Qhz4kg0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Dale, hello. On 22 Oct 2021, at 0:09, Dale Scott wrote: > This is not directly related to FreeBSD.... is it possible to share a = Mercurial repository with remote users simply by putting it in a user dir= ectory and the remote users specifying the ssh protocol in their hg clone= , pull, push... commands? Yes, this works fine. I do this in a couple of different variants. > I successfully do this now with git for a small number of users. I cre= ated a new system user and put headless git repos in the new user's home = directory, then added a public ssh key for each developer to the new user= 's authorized_keys file. Remote users access the git repos in the home di= rectory by simply using the ssh syntax with git clone, pull and push (and= authenticate using their private key). > > Does this also work with Mercurial? Do you mean a user 'hg', say, which has in its home directory user1/repo1= , user1/repo2, user2/repo1, and so on? You'd clone those with % hg clone ssh://hg@myhost/user1/repo1 which would result in a directory `repo1/` on the client user's machine, = with that URI retained as the default remote repo for pull and push and f= riends. The one mild gotcha with that syntax is that the directory path = is relative to the home directory of the connecting user 'hg' (as you'd e= xpect), so that if the repos were for some reason elsewhere, you'd specif= y this with ssh://hg@myhost//path/to/repo, with an extra slash indicating= the root directory. You can either do % cd ~hg/user1/repo1 % hg init and push to the above URI, or you can simply copy the .hg/ from an existi= ng repo into place (as you'd expect). That is: there are no surprises he= re, and all of the state in a repo is indeed contained in the .hg file at= the root. The final remark is that you should probably have this remote repo as a '= publishing' repo (which is what happens by default when you do `hg init`)= =2E When you push local revisions to a publishing repo, they are changed= from 'draft' to 'public' phase. One of the nice things about Mercurial is that 'as you'd expect' is a phr= ase that comes up a lot. Best wishes, Norman -- = Norman Gray : https://nxg.me.uk From nobody Sat Oct 23 14:09:33 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DF8FF1807BBA for ; Sat, 23 Oct 2021 14:09:42 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (poseidon.cloudzeeland.nl [82.176.127.71]) (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 "cloudzeeland.nl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hc34j5b5rz4hkb for ; Sat, 23 Oct 2021 14:09:41 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (unknown [10.10.10.36]) by poseidon.cloudzeeland.nl (Postfix) with ESMTP id 8880436B58 for ; Sat, 23 Oct 2021 16:09:33 +0200 (CEST) Received: from [10.10.10.34] (poseidon.cloudzeeland.nl [82.176.127.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by poseidon.cloudzeeland.nl (Postfix) with ESMTPSA id 5D79136C43 for ; Sat, 23 Oct 2021 16:09:33 +0200 (CEST) To: FreeBSD Mailing List From: Jos Chrispijn Subject: @reboot Organization: Userland rocks! Message-ID: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> Date: Sat, 23 Oct 2021 16:09:33 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4Hc34j5b5rz4hkb X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsduser@cloudzeeland.nl designates 82.176.127.71 as permitted sender) smtp.mailfrom=bsduser@cloudzeeland.nl X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cloudzeeland.nl]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15542, ipnet:82.176.0.0/16, country:NL]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I have created a script to be runned afte reboot of my server. Thing is now that if I stop and start a service, the scripts is ran as well. Is there a way of only executing after a total reboot? thanks, Jos From nobody Sat Oct 23 15:45:10 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2C8721811A99 for ; Sat, 23 Oct 2021 16:02:18 +0000 (UTC) (envelope-from carlj@peak.org) Received: from smtp.email-protect.gosecure.net (smtp.email-protect.gosecure.net [208.80.203.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.email-protect.gosecure.net", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hc5Zd258Sz3mnx for ; Sat, 23 Oct 2021 16:02:17 +0000 (UTC) (envelope-from carlj@peak.org) Received: from envoy14.neonova.net ([137.118.58.100]) by smtp.email-protect.gosecure.net ({edfe961e-f1ac-11eb-805c-cd5503bff031}) via TCP (outbound) with ESMTP id 20211023154515109_00003484 for ; Sat, 23 Oct 2021 08:45:15 -0700 X-RC-FROM: X-RC-RCPT: Received: from bay.localnet (unknown [199.58.99.76]) (Authenticated sender: carlj@peak.org) by envoy14.neonova.net (Postfix) with ESMTPA id 4Hc5Bv3dLlz9tH3 for ; Sat, 23 Oct 2021 11:45:11 -0400 (EDT) Received: from carlj by bay.localnet with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1meJCo-000DdW-8J for freebsd-questions@freebsd.org; Sat, 23 Oct 2021 08:45:10 -0700 From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: @reboot References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> Date: Sat, 23 Oct 2021 08:45:10 -0700 In-Reply-To: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> (Jos Chrispijn's message of "Sat, 23 Oct 2021 16:09:33 +0200") Message-ID: <861r4bagop.fsf@bay.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (berkeley-unix) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-MAG-OUTBOUND: greymail.email-protect.gosecure.net@137.118.58.100/32 X-Rspamd-Queue-Id: 4Hc5Zd258Sz3mnx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=peak.org; spf=pass (mx1.freebsd.org: domain of carlj@peak.org designates 208.80.203.3 as permitted sender) smtp.mailfrom=carlj@peak.org X-Spamd-Result: default: False [-3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:208.80.200.0/21]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[peak.org,none]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:14618, ipnet:208.80.202.0/23, country:US]; MIME_TRACE(0.00)[0:+] X-ThisMailContainsUnwantedMimeParts: N Jos Chrispijn writes: > I have created a script to be runned afte reboot of my server. > Thing is now that if I stop and start a service, the scripts is ran as well. > Is there a way of only executing after a total reboot? > I create a lock file in my @reboot script that checks to see if it is an actual reboot. I put it in the beginning of the script and just exit if it isn't a reboot, or create the lock file if it is a reboot. This is what I use: #--------------------- # lock to make sure it doesn't run again if [ ~/data/cron_lock -nt /var/run/boot_time ]; then exit 0 # already run fi mkdir -p ~/data touch ~/data/cron_lock #--------------------- I hope that helps. -- Carl Johnson carlj@peak.org From nobody Sat Oct 23 22:29:09 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4C0211804939 for ; Sat, 23 Oct 2021 22:29:12 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (poseidon.cloudzeeland.nl [82.176.127.71]) (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 "cloudzeeland.nl", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HcG930L80z4q78 for ; Sat, 23 Oct 2021 22:29:10 +0000 (UTC) (envelope-from bsduser@cloudzeeland.nl) Received: from poseidon.cloudzeeland.nl (unknown [10.10.10.36]) by poseidon.cloudzeeland.nl (Postfix) with ESMTP id 629C436CEB for ; Sun, 24 Oct 2021 00:29:09 +0200 (CEST) Received: from [10.10.10.34] (poseidon.cloudzeeland.nl [82.176.127.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by poseidon.cloudzeeland.nl (Postfix) with ESMTPSA id 30ADB36D28 for ; Sun, 24 Oct 2021 00:29:09 +0200 (CEST) Subject: Re: @reboot To: questions@freebsd.org References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> <861r4bagop.fsf@bay.localnet> From: Jos Chrispijn Organization: Userland rocks! Message-ID: <665147be-ddb3-8cbb-2f3b-be9ad01b4d83@cloudzeeland.nl> Date: Sun, 24 Oct 2021 00:29:09 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: <861r4bagop.fsf@bay.localnet> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4HcG930L80z4q78 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsduser@cloudzeeland.nl designates 82.176.127.71 as permitted sender) smtp.mailfrom=bsduser@cloudzeeland.nl X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_DN_NONE(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15542, ipnet:82.176.0.0/16, country:NL]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[cloudzeeland.nl]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_SHORT(1.00)[1.000] X-ThisMailContainsUnwantedMimeParts: N Carl Johnson: > I hope that helps. Thanks, appreciate your help. From nobody Sun Oct 24 01:01:18 2021 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 362CC181B54D for ; Sun, 24 Oct 2021 01:01:40 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) Received: from out2-82.antispamcloud.com (out2-82.antispamcloud.com [185.201.17.82]) (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 4HcKY00phgz4TKj for ; Sun, 24 Oct 2021 01:01:40 +0000 (UTC) (envelope-from freebsd.ed.lists@sumeritec.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=out.niagahoster.com; s=spamexpert; h=Content-Transfer-Encoding:Content-Type :MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date: reply-to:sender:bcc; bh=elb+utIxj8luRbJWuMv5d3HElznxpf860bE0gHCbVsk=; b=0FPsc 57K1JeAQIXl0oCelflrA1L1DTZl5sdtWiwtB0Y3klGKgVp++F6rtBmKkpzN4MUc4DmVTvzghjXnZ4 9K0dHZy1+H36nRXJB/DRBsQNjfvW7FXapEkDFZkvg54qRAuqzGBWqMnLK/rCB4r72e7G9psWhI/Fi KIigDwWPPkgtkbYX4S9HUllG0KBsSYd2KOGIODI+hpqb2DIyTYQsUrQb+aJt0BGEBKLqbZJC0Gzon f9QPD/xCroUyLY3pxr3WW3KlvgRun52wUF5ZF8nqAvrDT6T86kLw4EB7ychVzugFRx54ZDhqnwosC S1RhueIEa2z+ptvsH9NSW/cALuzwQ==; Received: from srv31.niagahoster.com ([153.92.8.106]) by mx180.antispamcloud.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1meRtD-0003gJ-LL; Sun, 24 Oct 2021 03:01:33 +0200 Received: from subs12-223-255-228-89.three.co.id ([223.255.228.89]:48440 helo=Ryzen1.sumeritec.com) by srv31.niagahoster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1meRt2-0006PJ-Ms; Sun, 24 Oct 2021 08:01:22 +0700 Date: Sun, 24 Oct 2021 09:01:18 +0800 From: Erich Dollansky To: Jos Chrispijn Cc: FreeBSD Mailing List Subject: Re: @reboot Message-ID: <20211024010118.51d58ca8.freebsd.ed.lists@sumeritec.com> In-Reply-To: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AuthUser: freebsd.ed.lists@sumeritec.com X-Originating-IP: 153.92.8.106 X-Spampanel-Domain: out.niagahoster.com X-Spampanel-Username: niaga X-Spampanel-Outgoing-Class: unsure X-Spampanel-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5x5bAH3hTUiZv2z7qjtJLNGBBELOxj0mKeAxX9dkir9Lr8n oBQDdzFRvvDLvDPhEixPn80h/zgmm3YGKysUhZZsPumU89c8OaxcWLmp7ynpEmZmBvi6ox91GPvI FwYKFgXasE0yYSwoSJtDBJTXEF44t7IORUa7evQsr/ntUGxooIkB1/R4ar1CYVgFKOoJD16wiENb w85OtwguPdNZG9uQCKexY4BWuQxLOqm6WuDwoXLygXOVkPNIUxkwIQkqpff0E4nK5kv7XiCaZhPt 2WP8kVWClPVvbW5lVyQanRxw5ud0QvwhtcGlGIx8/jlbPvzwqpAuqEoOhX1QxpoHNiuP+33E9lw4 HgJYHlGSL1AlftfsPev7LNp/T0V6wcNiJWH6ZboosCGGDrdx/yGEn66Rd024Qhts6UdAYUfCmOB0 qGrLhMVo7s5rC/i1xA6nwvG8Ksk+aedMfNWSnJswrtlN7YqI6iNDb2gNv39eJDIfdbn+5FY8K+oe jUVpj+PmS0cL/03cezCGtD7ZsauNAbLOqxDxmlH700A/Jk2J5uVcm/3gd+l72wbgtVNbK0+FcXAa mUdylUIKhf3z2GAHxH7IIYFuywwGsts1PBb5zWM8BECo+JOGkiaeGXCyjYjp6+kCTCCCW4Q1hWbQ 5UoIfnBoAmFHHaGt9l3Z22/oRSJhNxoo+BZjbAYEwnbbOD4JudYbiMZAQxhG3bjncNLibR4L0o38 BCnyOltGtqKRVefJJJFOkzACPXKrav1HDhYCvv8kCmsEEa/v+f5zknhe67xyYbEdjmlBa2Wk3wf2 giziMlz1pRXWhjh9fdbl44I0Df323IznyJ4OGFMl9dmclsyECSOIVMSrmMBmctGW7iImKDng8v7d 6dWQmmPNH/74NoY2AD9u+nF6eKoEMp0v7owZ03BI6roj8+TYHuwI4YGN9NLbxK3nXrcuQr/has0s d64A49yCa1fqGCxpXxkHtPSjePQ44lqMDpyryPGheI8wLsJwCTsIHmCarFKjfmeYeNGoM0pOgvbF CaqvXm81A7xJ X-Report-Abuse-To: spam@quarantine10.antispamcloud.com X-Rspamd-Queue-Id: 4HcKY00phgz4TKj X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi, On Sat, 23 Oct 2021 16:09:33 +0200 Jos Chrispijn wrote: > I have created a script to be runned afte reboot of my server. > Thing is now that if I stop and start a service, the scripts is ran > as well. Is there a way of only executing after a total reboot? > > thanks, Jos > you can also run the script as a service itself. It will require one entry in '/etc/rd.conf' to start it at boot time. You can then manually start the script if required. Erich From nobody Sun Oct 24 01:25:08 2021 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 760E317F763E for ; Sun, 24 Oct 2021 01:27:34 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HcL6q5D1yz4cfT for ; Sun, 24 Oct 2021 01:27:31 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 19O1PHa5003381 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 24 Oct 2021 12:25:18 +1100 (AEDT) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1635038718; x=1635643519; bh=aiWDnGLG9r7oEZpo+e5KfroVGvXMSWwtxEJT+eAj0bk=; h=Message-ID:Date:Subject:To:From; b=Cl1UC87wKXRoV3GRNw4c75iJeYUk4QvUsRfIJs2Xp2kIkf4pRNr2qUJWwpr8hMGYn j0MRoRhx+rdnmomec+WPGE7sx5WppR347Xbi+NaVKLHxBW1z5GU9tAs+k/10fokmEG dz0x275kMeQ/b3w3UYEMjAETstcRwGsHU/OZLHwP8Wnl0Ex6hMjra X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Message-ID: <9530031c-08dd-255f-25ae-24cecb7b3cfd@heuristicsystems.com.au> Date: Sun, 24 Oct 2021 12:25:08 +1100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: @reboot Content-Language: en-GB To: questions@freebsd.org References: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> From: Dewayne Geraghty In-Reply-To: <224ff1f8-8ad2-3e5c-f7ed-17805c073ada@cloudzeeland.nl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4HcL6q5D1yz4cfT X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=Cl1UC87w; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-4.20 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; HAS_XAW(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; DMARC_NA(0.00)[heuristicsystems.com.au]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 24/10/2021 1:09 am, Jos Chrispijn wrote: > I have created a script to be runned afte reboot of my server. > Thing is now that if I stop and start a service, the scripts is ran as > well. > Is there a way of only executing after a total reboot? > > thanks, Jos > You might have missed the crontab option @reboot, see man 5 crontab It works reliably.  I use it this way @reboot root    /bin/sleep 10 && /root/bin/reboot.sh > /tmp/reboot.log