Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blueos_startup_update: only create dns link on Bullseye #3015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Williangalvani
Copy link
Member

This is not working on Bookworm, and it is causing unnecessary reboots.
This change makes it happen on Bullseye only. On bookworm we should probaby use NetworkManager to configure dns isntead of doing the resolv.conf thing

@joaoantoniocardoso
Copy link
Member

joaoantoniocardoso commented Nov 28, 2024

I don't know. I feel we should configure NetworkWanager to leave resolv.conf managed by the user. I had so many problems with services trying to manage resolv.conf while creating all sorts of issues.

@Williangalvani
Copy link
Member Author

The issue with the current implementation is that it (understandbly) binds the file instead of all of /etc. But on Bookworm, dns changes are applied by (I think) NetworkManager erasing the file and creating a new one, isntead of editing it.
This breaks the links we are relying on

@joaoantoniocardoso
Copy link
Member

The issue with the current implementation is that it (understandbly) binds the file instead of all of /etc. But on Bookworm, dns changes are applied by (I think) NetworkManager erasing the file and creating a new one, isntead of editing it. This breaks the links we are relying on

ok, but why is the NetworkManager trying to change resolv.conf?

@Williangalvani
Copy link
Member Author

ok, but why is the NetworkManager trying to change resolv.conf?

good question. probably to use the router's advertised dns? I'll try configuring to not do it

@Williangalvani
Copy link
Member Author

Williangalvani commented Dec 11, 2024

if we do disable networkmanager's handling of dns, we shouild probably set one by ourselves, manually...

@joaoantoniocardoso
Copy link
Member

if we do disable networkmanager's handling of dns, we shouild probably set one by ourselves, manually...

Yeah. It should be initialized with a copy of the host dns, but blueos could give options in the wizard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants