26 Apr 2024 |
rungmc | I don't know if this is already on your radar but you can get some fun PATH errors passing through a physical wireless device (Incus apparently uses iw under the hood for that) or toggling on AppArmor (aa-exec specifically) | 22:11:29 |
adamcstephens | are the errors on the daemon or in an instance? | 22:19:02 |
adamcstephens | i wouldn't expect apparmor to work at all | 22:19:17 |
rungmc | Yeah, I only enabled AA to see if it would work for shits and giggles. For iw, the instance log shows:ERROR network - ../src/lxc/network.c:lxc_netdev_move_wlan:1649 - Couldn't find the application iw in PATH | 22:34:28 |
adamcstephens | Ok I suspect that’s the daemons path which is in the incus module | 22:41:12 |
27 Apr 2024 |
adamcstephens | In reply to @rungmc:matrix.org Yeah, I only enabled AA to see if it would work for shits and giggles. For iw, the instance log shows:ERROR network - ../src/lxc/network.c:lxc_netdev_move_wlan:1649 - Couldn't find the application iw in PATH Can you provide the device command or config you’re adding? | 02:54:24 |
rungmc | incus config device add testContainer wlan0 nic name=wlan0 nictype=physical parent=wlp11s0 ... I think. I'm working at like 2% mental capacity with a migraine that I'm blaming on looking into the community drama earlier 🙃 | 03:38:59 |
adamcstephens | i wonder if our quantity of tests is starting to make them flaky | 12:33:44 |
adamcstephens | e.g. i see timeouts | 12:34:01 |
adamcstephens | i could merge some of these tests to reduce the overall quantity, but i explicitly split them so they can be more directly targeted by packages as passthru tests. | 12:35:53 |
adamcstephens | https://github.com/NixOS/nixpkgs/pull/307039 | 12:53:15 |
adamcstephens | i just can't get those tests to pass on ofborg, even though they work locally. i guess i can roll back the test refactor but i'm a bit doubtful that will fix them | 12:53:50 |
hexa | did you add any systemd hardening things? | 12:54:14 |
hexa | because for some reason kanidm consistently fails on ofborg due to its hardening, but works locally | 12:54:48 |
adamcstephens | no | 12:55:37 |
adamcstephens | it would be interesting to try and run incus as another user, but i have a feeling it's not able to | 12:56:10 |
hexa | if you can't reproduce test failures on the same platform as where ofborg fails … don't worry | 12:56:42 |
adamcstephens | any thoughts on that PR? :) especially the name of the option I'm adding | 12:57:52 |
hexa | sigh | 12:58:16 |
adamcstephens | oh no, it's not that bad is it? | 12:58:29 |
hexa | I'll try to take a look, but it isn't smol | 12:58:29 |
adamcstephens | no worries then | 12:58:49 |
hexa | no, it's just about morale, energy levels, too many hats | 12:58:51 |
adamcstephens | yeah, i get it | 12:58:57 |
hexa | and everything coming crashing down right now | 12:58:59 |
hexa | I'll be taking a walk, and then i'll take a look, don't worry | 12:59:13 |
hexa | just need to recharge | 12:59:17 |
adamcstephens | take your time. thanks though :) | 12:59:37 |
adamcstephens | i'm going to go audit the incus repo for more commands we're missing | 13:00:04 |
hexa | 🙂 | 13:05:54 |