!VhzbGHamdfMiGxpXyg:robins.wtf

NixOS LXC

33 Members
lxc, lxd, incus discussions related to NixOS14 Servers

Load older messages


SenderMessageTime
18 Apr 2024
@hexa:lossy.networkhexaok14:46:06
19 Apr 2024
@adam:robins.wtfadamcstephensI'm going to take a break from matrix for a bit. Feel free to find me on IRC or Discord if anyone needs me17:10:29
22 Apr 2024
@hexa:lossy.networkhexa
โฏ incus start win11 --console=vga
Error: Failed to start device "vtpm": Failed to validate environment: Required tool 'swtpm' is missing
13:03:26
@hexa:lossy.networkhexa *
โฏ 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:lossy.networkhexaadding swtpm to the long list in the module helps13:06:45
@hexa:lossy.networkhexawondering how that list gets created/maintained ๐Ÿ™‚13:20:10
@adam:robins.wtfadamcstephens
In reply to @hexa:lossy.network
wondering how that list gets created/maintained ๐Ÿ™‚
By hand :/
17:57:23
@hexa:lossy.networkhexastop being here!!!!17:57:31
@adam:robins.wtfadamcstephensheh, 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:lossy.networkhexa๐Ÿ™‚ 17:58:04
@adam:robins.wtfadamcstephenshonestly the unread markers finally wore me down to the point of intolerance17:58:24
@adam:robins.wtfadamcstephens greping for exec.LookPath in the incus repo seems to be useful, and we probably have most of them. 18:01:55
@adam:robins.wtfadamcstephens please open a pr for swtpm 18:02:04
@hexa:lossy.networkhexahave a local change, think about a test18:04:20
@hexa:lossy.networkhexa * have a local change, thinking about a test18:04:27
@adam:robins.wtfadamcstephens maybe just add a tpm device and use incus exec to verify a VM has created /dev/tpm0 ? 19:19:43
@adam:robins.wtfadamcstephenslooking at a VM in my environment there's no /dev/tpm019:19:54
@adam:robins.wtfadamcstephens * 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:lossy.networkhexayeah, that was the issue I was stumbling over as well19:20:29
@adam:robins.wtfadamcstephensthe error you got prevented the VM from starting, right?19:20:33
@hexa:lossy.networkhexait prevented the adding 19:20:50
@adam:robins.wtfadamcstephensahh19:20:55
@hexa:lossy.networkhexa * it prevented the adding of the config section iirc19:20:56
26 Apr 2024
@rungmc:matrix.orgrungmcI 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
@adam:robins.wtfadamcstephensare the errors on the daemon or in an instance?22:19:02
@adam:robins.wtfadamcstephensi wouldn't expect apparmor to work at all22:19:17
@rungmc:matrix.orgrungmc 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
@adam:robins.wtfadamcstephens Ok I suspect thatโ€™s the daemons path which is in the incus module 22:41:12
27 Apr 2024
@adam:robins.wtfadamcstephens
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:matrix.orgrungmc 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

Show newer messages


Back to Room ListRoom Version: 10