https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275146
Bug ID: 275146
Summary: odd error handling from net.inet.tcp.functions_default
sysctl
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Setting functions_default to a nonexistent entry (because it is not loaded, or
for any other reason) has odd user-facing error behaviour:
# sysctl net.inet.tcp.functions_default=rack
net.inet.tcp.functions_default: freebsd
sysctl: net.inet.tcp.functions_default=rack: No such file or directory
Some other sysctls use EINVAL which at least gives the user an understandable
error:
# sysctl kern.timecounter.hardware=testing
kern.timecounter.hardware: TSC
sysctl: kern.timecounter.hardware=testing: Invalid argument
--
You are receiving this mail because:
You are the assignee for the bug.