@stgraber I am trying to map a port to my Incus server from an Incus OCI container and I am getting the following error:
scott demo-1 ~ incus list
+--------+---------+--------------------+-----------------------------------------------+-----------------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+--------+---------+--------------------+-----------------------------------------------+-----------------+-----------+
| Draw-3 | RUNNING | 10.85.91.32 (eth0) | fd42:d6fd:c813:b493:216:3eff:fec4:dab4 (eth0) | CONTAINER (APP) | 0 |
+--------+---------+--------------------+-----------------------------------------------+-----------------+-----------+
scott demo-1 ~ incus profile create proxy-8080
Profile proxy-8080 created
scott demo-1 ~ incus profile device add proxy-8080 hostport8080 proxy connect="tcp:127.0.0.1:8080" listen="tcp:0.0.0.0:8080"
Device hostport8080 added to proxy-8080
scott demo-1 ~ incus profile add Draw-3 proxy-8080
Error: Failed to start device "hostport8080": Error occurred when starting proxy device: Error: Permission denied - Failed setns to connector network namespace
scott demo-1 ~ incus stop Draw-3
scott demo-1 ~ incus profile add Draw-3 proxy-8080
Profile proxy-8080 added to Draw-3
scott demo-1 ~ incus start Draw-3
Error: Error occurred when starting proxy device: Error: Permission denied - Failed setns to connector network namespace
Try `incus info --show-log Draw-3` for more info
scott demo-1 ~ incus info --show-log Draw-3
Name: Draw-3
Status: STOPPED
Type: container (application)
Architecture: x86_64
Created: 2024/07/22 19:04 UTC
Last Used: 2024/07/22 19:19 UTC
Log:
lxc Draw-3 20240722191907.530 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc Draw-3 20240722191907.530 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing
lxc Draw-3 20240722191907.531 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:165 - newuidmap binary is missing
lxc Draw-3 20240722191907.531 WARN idmap_utils - ../src/lxc/idmap_utils.c:lxc_map_ids:171 - newgidmap binary is missing