canonical / canonical/core-base

UC22 network setup crashes

Open
#31 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
37
Forks
53
Avg merge
1d 19h
Merged PRs (30d)
12

Description

To reproduce it, just freshly install UC22, and in subiquity, unconfigure the network. Apply. Then reconfigure it.

It will crash when subiquity calls "netplan apply", which will crash when calling "networkctl reload". And it is not possible to reconfigure.

The issue is more obvious on real hardware like raspberry pi, because network might not have configured itself before subiquity starts.

subiquity stops systemd-networkd since
https://github.com/canonical/subiquity/commit/41014408143ece5df9ef000d65c23f9307098905

netplan tries to reload systemd-networkd since
https://github.com/canonical/netplan/commit/3ec52c41d1a9b3c011c94f9644a02e99451f4330

These 2 commits are not compatible.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the reported flow in subiquity: unconfigure and reconfigure the network on a fresh UC22 installation, then trace the netplan apply call through networkctl reload. Review the linked subiquity and netplan commits to understand their service-state interaction. Done means network reconfiguration completes without a crash, including on Raspberry Pi hardware.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell, ubuntu
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.