18 Apr 2024 |
hexa | ok | 14:46:06 |
19 Apr 2024 |
adamcstephens | I'm going to take a break from matrix for a bit. Feel free to find me on IRC or Discord if anyone needs me | 17:10:29 |
22 Apr 2024 |
hexa | โฏ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
| 13:03:26 |
hexa | * โฏ incus config device add win11 vtpm tpm path=/dev/tpm0
Device vtpm added to win11
โฏ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
| 13:03:49 |
hexa | adding swtpm to the long list in the module helps | 13:06:45 |
hexa | wondering how that list gets created/maintained ๐ | 13:20:10 |
adamcstephens | In reply to @hexa:lossy.network wondering how that list gets created/maintained ๐ By hand :/ | 17:57:23 |
hexa | stop being here!!!! | 17:57:31 |
adamcstephens | heh, i am definitely checking it less. it was just open on my work laptop which i haven't used since Friday :) | 17:57:56 |
hexa | ๐ | 17:58:04 |
adamcstephens | honestly the unread markers finally wore me down to the point of intolerance | 17:58:24 |
adamcstephens | greping for exec.LookPath in the incus repo seems to be useful, and we probably have most of them. | 18:01:55 |
adamcstephens | please open a pr for swtpm | 18:02:04 |
hexa | have a local change, think about a test | 18:04:20 |
hexa | * have a local change, thinking about a test | 18:04:27 |
adamcstephens | maybe just add a tpm device and use incus exec to verify a VM has created /dev/tpm0 ? | 19:19:43 |
adamcstephens | looking at a VM in my environment there's no /dev/tpm0 | 19:19:54 |
adamcstephens | * looking at a VM in my environment there's no /dev/tpm0 ( as i don't have a tpm on it ) | 19:20:02 |
hexa | yeah, that was the issue I was stumbling over as well | 19:20:29 |
adamcstephens | the error you got prevented the VM from starting, right? | 19:20:33 |
hexa | it prevented the adding | 19:20:50 |
adamcstephens | ahh | 19:20:55 |
hexa | * it prevented the adding of the config section iirc | 19:20:56 |
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 |