fix(live): make the resolv.conf accesible from /sysroot#2669
Merged
fix(live): make the resolv.conf accesible from /sysroot#2669
Conversation
b195cb1 to
ffc9740
Compare
ffc9740 to
45accf5
Compare
teclator
added a commit
that referenced
this pull request
Feb 3, 2026
## Problem After the installation, when running a post-script there is a leftover symlink linking the /etc/resolv.conf to /mnt/run/NetworkManager/resolv.conf - *https://bugzilla.suse.com/show_bug.cgi?id=1257468* ## Solution Link the `/mnt/etc/resolv.conf` to `/run/NetworkManager/resolv.conf` as it was done in #2179 or #2669 ## Testing - *Added a new unit test* - *Tested manually*
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When applying a
DUD, it is not possible to access the network when runningagama downloadfrom the/sysroot.Solution
/runfile system on/sysroot/run./sysroot/etc/resolv.confto/sysroot/run/etc/NetworkManager/resolv.conffile./run/agama/duddirectory to release some memory before pivoting.Testing
A testing build should be available home:IGonzalezSosa:branches:fix-dud-apply-network at some point.