Skip to contentSkip to conversation

The "/etc/resolv.conf" file becomes empty after each restart #yocto

DISCUSSION sateesh m 2 participants 2 messages Jan 13, 2022

lore
Share & tools
lore

sateesh m

author
#0 lore raw

Hi,

I assume it shouldn't be empty resov. conf. Manually I am updating nameserver always. but when I reboot my machine it's empty. So for this, I want to make permanent my nameserver always. I have added packages support IMAGE_INSTALL_append = " resolvconf" but I am not able to fix this solution. Can anybody know this issue please guide me. How always will be automatically set without manual effort?

--
Regards,
Sateesh

#1 lore raw

Hello,
Some more details would be needed (ie. you have systemd?), but this could be a good point to start: https://wiki.archlinux.org/title/Systemd-resolved

(ie. see a bit down, like:
https://wiki.archlinux.org/title/Systemd-resolved#Manually )

Cheers,
Federico

Il giorno gio 13 gen 2022 alle ore 09:17 sateesh m <[email protected]> ha scritto:

Quoted 25 lines

Hi,

I assume it shouldn't be empty resov. conf. Manually I am updating
nameserver always. but when I reboot my machine it's empty. So for this, I want to make permanent my nameserver always. I have added packages support IMAGE_INSTALL_append = " resolvconf" but I am not able to fix this solution. Can anybody know this issue please guide me. How always will be automatically set without manual effort?

--
Regards,
Sateesh
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#55832):
https://lists.yoctoproject.org/g/yocto/message/55832
Mute This Topic: https://lists.yoctoproject.org/mt/88392943/5117409
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-