:: Re: [devuan-dev] deb.devuan.org rou…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Ralph Ronnquist
Päiväys:  
Vastaanottaja: devuan-dev
Aihe: Re: [devuan-dev] deb.devuan.org round-robin causing pain
Or stop using connman, which I'd say is even better.

Ralph.

On Sat, Mar 18, 2023 at 02:21:04AM +0200, Boian Bonev wrote:
> 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.




> _______________________________________________
> devuan-dev internal mailing list
> devuan-dev@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/devuan-dev