https://github.com/saltstack/salt/issues/57826 Not sure the quickest way to hack a fix for this. Maybe adding a dummy param here: https://github.com/saltstack/salt/blob/master/salt/modules/freebsd_sysctl.py#L138
Created attachment 216049 [details] Revert upstream PR that broke sysctl.persist on FreeBSD Luckily, PR 55719 reverts cleanly, without any merge conflicts. The attached patch completely reverts it from the port. I tested it by applying state in my environment.
Alan, thank you for submitting it, to be honest I don't see any reason to commit it right now as I'm going to revert this patch in upstream so new bugfix release will contain it pretty soon. What do you think?
(In reply to Kirill Ponomarev from comment #2) It's just a matter of timing; if you apply my patch Salt will work today. If not, then we have to wait on upstream.
The bugfix upstream is not tagged for 3001.1 so I think the patch really should be applied.
Could we get this merged please. 3002 is where this upstream bug fix will land and that's targeted for November.
A commit references this bug: Author: asomers Date: Sat Aug 8 23:44:33 UTC 2020 New revision: 544532 URL: https://svnweb.freebsd.org/changeset/ports/544532 Log: sysutils/py-salt: revert upstream PR 55719 Salt PR 55719 changed the signature of Linux's sysctl.persist function, without changing it for any other OS. Widespread breakage is the result. Revert that PR until upstream fixes it. PR: 247627 Reported by: ari@ish.com.au Approved by: 0mp (ports) Approved by: christer.edwards@gmail.com (maintainer timeout) MFH: 2020Q3 Sponsored by: Axcient Changes: head/sysutils/py-salt/Makefile head/sysutils/py-salt/distinfo
^Triage: Assign to committer resolving Pending MFH
Comment on attachment 216049 [details] Revert upstream PR that broke sysctl.persist on FreeBSD Approved by: 0mp (ports)
This was MFHed by r544709, though it wasn't mentioned in the commit message.