You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried both the xdp-hello and tc-egress examples, following the instructions on the readme and they both fail with the same error when I run: cargo xtask run:
thread 'main' panicked at 'failed to run the command: Os { code: 2, kind: NotFound, message: "No such file or directory" }', xtask/src/run.rs:65:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
By default, the runner will append the sudo -E to the run command (for instance, the xdp-hello: https://github.com/aya-rs/book/blob/main/examples/xdp-hello/xtask/src/run.rs#L17). So if you run it as root and sudo command does not exist, you will get that error.
One workaround is to specify the -r option with an empty string: RUST_LOG=info cargo xtask run -r ""
I've tried both the
xdp-hello
andtc-egress
examples, following the instructions on the readme and they both fail with the same error when I run:cargo xtask run
:The text was updated successfully, but these errors were encountered: