• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 15491140774 / 3 – web
73%
master: 73%

Build:
DEFAULT BRANCH: master
Ran 06 Jun 2025 01:02PM UTC
Files 36
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jun 2025 01:00PM UTC coverage: 82.297%. First build
web – 15491140774.3

push

github

web-flow
Network persistent connections handling (#2402)

## Problem

With the current approach to network configuration in **SLE 16**, it is
possible that you end up with a system with no network at all.

Why? 
- We started copying all connections to the target system, but that
meant volatile connections were copied too and maybe the defaults are
not wanted in the target system so now only the persistent connections
are copied (the ones in **/etc/NetworkManager/system-connections**).
- Some products install NetworkManager-config-server package which
disables the auto-default DHCP probing on ethernet devices (see
https://github.com/agama-project/agama/pull/2279)
  - 

Agama should:

Warn the user.

Allow the user to get out of that situation at any time.

- https://bugzilla.suse.com/show_bug.cgi?id=1241969
-
https://trello.com/c/P6oGGmjH/4745-ui-handle-persistent-non-persistent-network-connections

## Solution
- The connections generated by nm-initrd-generator are moved instead of
copied to ensure them are seeing as permanent and not as in-memory only
by NM avoiding duplications and only the ones generated by
nm-initrd-generator will be copied (**TO BE FIXED:** ibft, nbft and
other kind of connections should be probably omitted).
- If no connection is going to be copied the user will be warned but by
now only in the networking section (there is no check of
**NetworkManager-config-server** package yet for showing the warn).
- The user can select which interfaces will be used for installation
only and switch between made them persistent or not.
- We have modified the way the connection is updated and we are now
using the Update2 and AddConnection2 methods using the
**NMSettingsAddConnection2Flags** and **NMSettingsUpdate2Flags** (see
https://networkmanager.dev/docs/api/latest/nm-dbus-types.html#NMSettingsConnectionFlags)


## Current Network State

In general,

**If an explicit network configuration through the kernel cmdline is
given then:**
1. Agama disables t... (continued)

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

252 of 286 relevant lines covered (88.11%)

80.95 hits per line

Source Files on job web - 15491140774.3
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 15491140774
  • c5d08e1a on github
  • Prev Job for on master (#15484131453.)
  • Next Job for on master (#15491140750.)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc