:: Re: [devuan-dev] deb.devuan.org rou…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Boian Bonev
Fecha:  
A: devuan developers internal list
Asunto: Re: [devuan-dev] deb.devuan.org round-robin causing pain
On Fri, 2023-03-17 at 20:15 -0400, Hendrik Boom wrote:
..cut..
> Connman also edits resolv.conf to point to localhost and the connman
> process takes over all DNS resolution.
>
> Result:  if once you get a dud mirror, you always get the dud
> mirror.  connman doesn't even do a new DNS lookup because it's a
> lnow-it-all.
>
> I fixed it by hand-editing resolv.conf to use 1.1.1.1 or 8.8.8.8 or
> the like nefore using aptitude *every time*.  Then aptitude works
> just fine until the next time connman is used.  Which sometimes
> happens during the upgrade if there's an updated connman package.


[just a suggestion] In case you are on ext4, you can "chattr +i
/etc/resolv.conf" and conman will no longer be able to change that
file. "chattr -i resolv.conf" before editing it.

With best regards,
b.