Skip to content

com.limdm.sysctl (list), com.limdm.kernelmodules (list)

Console: Kernel parameters and Blocked kernel modules.

{"settings": {"vm.swappiness": "10"}}
{"block": ["firewire_core", "thunderbolt"]}
Field Type Rules
settings (sysctl) object of text key as a.b (at least two parts), value up to 200 characters of letters, digits, space and . _ : / -
block (kernelmodules) list of text module names, a-z 0-9 _ -, up to 64 characters

Sysctl settings merge by key (a later item wins), modules as a union. Settings go to /etc/sysctl.d/70-limdm-custom.conf and are loaded with sysctl -p. Keys that make the kernel run a program as root are refused: kernel.modprobe, kernel.core_pattern, kernel.poweroff_cmd, kernel.hotplug, kernel.usermodehelper.* and fs.binfmt_misc.*. Blocked modules get install <module> /bin/false and blacklist <module> in /etc/modprobe.d/70-limdm-custom.conf. Both files are removed when nothing is declared.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.sysctl

Console: Kernel parameters. Kernel parameters (sysctl).

Field Type Meaning Limits
settings map of string Parameters sysctl key and value, for example net.ipv4.ip_forward = 0.
Example payload
{
  "settings": {
    "vm.swappiness": "10"
  }
}

com.limdm.kernelmodules

Console: Blocked kernel modules. Kernel modules that must not load.

Field Type Meaning Limits
block list of string Blocked modules Kernel modules that must not load, for example usb-storage.
Example payload
{
  "block": [
    "firewire_core",
    "thunderbolt"
  ]
}