You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jul 06 00:22:58 armitage incus-user[5433]: time="2024-07-06T00:22:58+02:00" level=info msg="Setting up for uid 1284000001"
Jul 06 00:22:58 armitage incus-user[5433]: time="2024-07-06T00:22:58+02:00" level=error msg="Failed to setup new user: Failed to create network: Network interface is too long (maximum 15 characters)"
Steps to reproduce
incus create images:ubuntu/22.04 u1
Information to attach
The output from the previous command is:
Error: Get "http://unix.socket/1.0?project=user-1284000001": read unix @->/var/lib/incus/unix.socket.user: read: connection reset by peer
the logs:
Jul 06 00:22:58 armitage incus-user[5433]: time="2024-07-06T00:22:58+02:00" level=info msg="Setting up for uid 1284000001"
Jul 06 00:22:58 armitage incus-user[5433]: time="2024-07-06T00:22:58+02:00" level=error msg="Failed to setup new user: Failed to create network: Network interface is too long (maximum 15 characters)"
Ah yeah, that'd be a problem. The 15 char limit comes from the kernel so we can't do anything about that but we may be able to shorten the prefix for looking uids.
Well, with my uid it will be 15-characters exactly, so it solves the problem for me. Not sure if uids can have more digits, but my immediate problem is solved.
Required information
The output of "incus info"
Issue description
Then, in the logs:
Steps to reproduce
incus create images:ubuntu/22.04 u1
Information to attach
The output from the previous command is:
the logs:
I suppose:
https://github.com/lxc/incus/blob/main/cmd/incus-user/server.go#L155
results in a network interface name that is too long, because my uid is longer than usual, 1284000001.
I have such a long uid because my user comes from FreeIPA, which uses high uids by default.
The text was updated successfully, but these errors were encountered: