Re: 13.4 and zfs.mount_snapshot for jail

From: Andrea Venturoli <ml_at_netfence.it>
Date: Mon, 30 Sep 2024 08:27:01 UTC
On 9/29/24 17:55, James Gritton wrote:

> This is a regression; check out BUG 274263.

Doh!
I had checked bugzilla and git logs... I'm still amazed at how I can 
fail to find things :)
I had seen the boolean/int change, but failed to get to something concrete.



> There's a small program at https://bz-attachments.freebsd.org/ 
> attachment.cgi?id=253669 that will set zfs.mount_snapshot=1 for the 
> jails named on the command line.  You can run this, after the jails are 
> created without zfs.mount_snapshot.

I just cherry-picked the correction from 13/stable and recompiled the 
kernel :)



> I apologize for the breakage, and hope this band-aid will do for now.

No problem!
I had just upgraded a single machine, for now, and this was not critical 
there.
The important thing is I got this fixed before I start upgrading 
customers' servers.



  Thanks
	av.