My setup is the usual setup of CachyOS with their graphical installer. Here is output with RUST_LOG=debug:
oniux RUST_LOG hexchat
thread 'main' panicked at src/main.rs:136:22:
called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x5a1d725b836a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
1: 0x5a1d725e3d5b - core::fmt::write::hf5713710ce10ff22
2: 0x5a1d725b47a3 - std::io::Write::write_fmt::hda708db57927dacf
3: 0x5a1d725b97f2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
4: 0x5a1d725b945e - std::panicking::default_hook::h81c8cd2e7c59ee33
5: 0x5a1d725ba07f - std::panicking::rust_panic_with_hook::had2118629c312a4a
6: 0x5a1d725b9d33 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
7: 0x5a1d725b8849 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
8: 0x5a1d725b99f4 - rust_begin_unwind
9: 0x5a1d7193cfd5 - core::panicking::panic_nounwind_fmt::hc0ae93930ea8f76c
10: 0x5a1d7193d062 - core::panicking::panic_nounwind::h9f485ff9b02bac75
11: 0x5a1d7193d1a6 - core::panicking::panic_cannot_unwind::hea865182d7ce50af
12: 0x5a1d724c2f36 - nix::sched::sched_linux_like::clone::callback::h7d99c497d382c0d3
13: 0x72b11dd38684 - clone
14: 0x0 - <unknown>
thread caused non-unwinding panic. aborting.
~
❯ RUST_LOG=debug oniux hexchat
[2025-05-20T18:46:58Z DEBUG oniux::mount] mounted `/` with `MsFlags::MS_PRIVATE`
[2025-05-20T18:46:58Z DEBUG oniux::mount] mounted `procfs` at `"/proc"`
[2025-05-20T18:46:58Z DEBUG oniux] finished mount namespace setup
[2025-05-20T18:46:58Z DEBUG oniux::user] setgroups false
[2025-05-20T18:46:58Z DEBUG oniux::user] mapped UID 1000 to 1000
[2025-05-20T18:46:58Z DEBUG oniux::user] mapped GID 1000 to 1000
[2025-05-20T18:46:58Z DEBUG oniux] finished user namespace mappings
[2025-05-20T18:46:58Z DEBUG oniux] created temporary resolv.conf(5) at "/tmp/.tmpnEh3yZ"
[2025-05-20T18:46:58Z DEBUG oniux::mount] created bind mount "/tmp/.tmpnEh3yZ" -> "/etc/resolv.conf"
[2025-05-20T18:46:58Z DEBUG oniux] mounted "/tmp/.tmpnEh3yZ" to /etc/resolv.conf
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created netlink socket to find onion0
[2025-05-20T18:46:58Z WARN netlink_packet_route::link::buffer_tool] Specified IFLA_INET6_ICMP6STATS NLA attribute holds more(most likely new kernel) data which is unknown to netlink-packet-route crate, expecting 48, got 56
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created socket for adding an IP address to 2
[2025-05-20T18:46:58Z DEBUG oniux::netlink] added IP to 2
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created socket for adding an IP address to 2
[2025-05-20T18:46:58Z DEBUG oniux::netlink] added IP to 2
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created netlink socket to set 2 UP
[2025-05-20T18:46:58Z DEBUG oniux::netlink] setted interface 2 to UP
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created socket for adding default gateway for Inet
[2025-05-20T18:46:58Z DEBUG oniux::netlink] added default gateway Inet
[2025-05-20T18:46:58Z DEBUG oniux::netlink] created socket for adding default gateway for Inet6
[2025-05-20T18:46:58Z DEBUG oniux::netlink] added default gateway Inet6
[2025-05-20T18:46:58Z DEBUG oniux] finished setting up networking
[2025-05-20T18:46:58Z DEBUG oniux] dropped all capabilites
[2025-05-20T18:46:58Z DEBUG oniux] sent TUN device
[2025-05-20T18:46:58Z DEBUG oniux] received TUN file descriptor
[2025-05-20T18:46:58Z DEBUG oniux] spawned onion-tunnel thread
thread 'main' panicked at src/main.rs:136:22:
called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x55e56cf6e36a - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h304520fd6a30aa07
1: 0x55e56cf99d5b - core::fmt::write::hf5713710ce10ff22
2: 0x55e56cf6a7a3 - std::io::Write::write_fmt::hda708db57927dacf
3: 0x55e56cf6f7f2 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5
4: 0x55e56cf6f45e - std::panicking::default_hook::h81c8cd2e7c59ee33
5: 0x55e56cf7007f - std::panicking::rust_panic_with_hook::had2118629c312a4a
6: 0x55e56cf6fd33 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2
7: 0x55e56cf6e849 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5
8: 0x55e56cf6f9f4 - rust_begin_unwind
9: 0x55e56c2f2fd5 - core::panicking::panic_nounwind_fmt::hc0ae93930ea8f76c
10: 0x55e56c2f3062 - core::panicking::panic_nounwind::h9f485ff9b02bac75
11: 0x55e56c2f31a6 - core::panicking::panic_cannot_unwind::hea865182d7ce50af
12: 0x55e56ce78f36 - nix::sched::sched_linux_like::clone::callback::h7d99c497d382c0d3
13: 0x7129e1d38684 - clone
14: 0x0 - <unknown>
thread caused non-unwinding panic. aborting.
All commands except hexchat work fine.