tests: allow overriding `mount` for mounting sysfs in the mount NS

On my NixOS, `mount` is a SUID wrapper which fails in a user NS with our
UID mapping, like this:

 Assertion `!(st.st_mode & S_ISUID) || (st.st_uid == geteuid())` in NixOS's wrapper.c failed.

That's because in the created NS, the `/run/wrappers/bin/mount` appears
to be owned by `nobody:nogroup`. Fortunately, there's also the
`/run/current-system/sw/bin/mount` which does not involve any fancy
wrappers. So just let me pass
`-DMOUNT_EXECUTABLE=/run/current-system/sw/bin/mount` in my local build
script.

Bug: https://github.com/NixOS/nixpkgs/issues/42117#issuecomment-974194691
Change-Id: If5c601981c69bc179e5e413cc6692a56db65529d
1 file changed
tree: 91ab000051963b749c820cbbc38971de58713ab6
  1. .clang-format
  2. .gitmodules
  3. .zuul.yaml
  4. CMakeLists.txt
  5. Doxyfile.in
  6. LICENSE
  7. LICENSE.md
  8. README.md
  9. ci/
  10. cmake/
  11. docs/
  12. src/
  13. tests/
  14. yang/
README.md

YANG System management for embedded devices running Linux

Together with sysrepo, this software provides "general system management" of embedded devices. The target platform is anything that runs Linux with systemd. This runs in production on CzechLight SDN DWDM devices.

Health tracking

This component tracks the overal health state of the system, including various sensors, or the state of systemd units. As an operator-friendly LED at the front panel of the appliance shows the aggregated health state.

System management

Firmware can be updated via RAUC, and various aspects of the system's configuration can be adjusted. This includes a firewall, basic network settings, and authentication management.

Supported YANG models

For a full list, consult the yang/ directory in this repository.