There were a hardware problems with klish server for a several days. Now the problems are fixed.
Conservative birq behaviour. The birq on start tries to link IRQs to CPU using current affinity. It doesn't change affinity if IRQ doesn't have affinity to multiply CPUs. It doesn't change IRQ affinity if number of interrupts is 0.
In some cases the OS can't move IRQ to specified CPU. To keep the state consistent the birq analyzes real IRQ affinity on each iteration.
Add new option --load-limit. If the loading of CPU is greater than this limit then no IRQs can't be moved to this CPU. It stabilizes the behaviour on a high load.
Bugfix release. The bug with the null symbol at the end of script was fixed. It's important for some shebangs. The using of Lua as a shabang was broken before this fix.
Bugfix release. The clish plugin is linked to tinyrl now. The klish output (when the enter is pressed) is flushed now.
- Check access attribute for command links.
- Fix bug with empty ini file value parsing.
- Resolve PTYPE for "args" in a right way. Fix segmentation fault.
- Fix lua plugin build.
It's strongly recommended to update klish.
Fix access rights checking. Fix debug mode
The klish-2.0.0 contains many changes. The main ones is plugin subsystem and user defined hooks.
The user can create his own shared library (.so file) with special API and export symbols to use as builtin functions within ACTION. Also shared object can export its own hooks (hook for access, for communication to confd, ...).
The plugin using is controlled by XML files. There are new tags: PLUGIN and HOOK. So to use your own C-based code with klish you don't need to recompile klish. Just create a plugin. See plugin examples in plugin/ dir within klish source tree.
- Tinyrl fix. Don't ignore first slash in parameter.
- Don't inherit service file descriptors while ACTION execution.
- Never show ACTION scripts in ps.
- Add files for buildroot-2014.08
The klish-2.0.0 coming soon.
The "strategy" option was fixed. The Markdown documentation was added.
The printable (PDF) and HTML documentation was added. See the "Documentation" tab.
Also available in: Atom