[BUG] sysctl.present broken in FreeBSD
See original GitHub issue ID: security.jail.sysvipc_allowed
Function: sysctl.present
Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/salt/state.py", line 2154, in call
*cdata["args"], **cdata["kwargs"]
File "/usr/local/lib/python3.7/site-packages/salt/loader.py", line 2085, in wrapper
return f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/salt/states/sysctl.py", line 117, in present
update = __salt__["sysctl.persist"](name, value, config, ignore)
TypeError: persist() takes from 2 to 3 positional arguments but 4 were given
Looks like it was broken by this https://github.com/saltstack/salt/pull/55719 since the author of that commit didn’t do any testing or review on any platform other than linux.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:13 (12 by maintainers)
Top Results From Across the Web
247627 – sysutils/py-salt: sysctl.present broken
Revert upstream PR that broke sysctl.persist on FreeBSD (12.40 KB, patch) 2020-06-29 21:32 UTC, Alan Somers, koobs: maintainer-approval+
Read more >197695 – Fix broken KERN_PROC_FILEDESC sysctl
Bug 197695 - Fix broken KERN_PROC_FILEDESC sysctl ... a method of retrieving a current canonical path for a currently open file descriptor.
Read more >230498 – Fatal trap 12: page fault while in kernel mode in ...
We have seen a repeatable kernel panic that seems to originate from a sysctl route table dump (as used in netstat -r) This...
Read more >11.16 Using and Debugging FreeBSD ACPI
The ACPI driver has a very flexible debugging facility. It allows you to specify a set of subsystems as well as the level...
Read more >freebsd-bugs
Dec 8 bugzilla-noreply@fr [Bug 268241] broken handling of icmp needfrag ... Nov 29 bugzilla-noreply@fr [Bug 267169] Build of recent -CURRENT fails with ext ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Well, if it were me I’d revert the whole of the patch that broke it so that author could rewrite it a safe way without assuming that Linux is the only operating system. I don’t understand why this feature would be added at all to the generic sysctl.py codebase. What problem did it solve, why does it exist, what does it do?
That’s an untenable situation. Separately maintaining that change will be maintenance-intensive. Why won’t you simply revert the change that introduced the breakage?