On 06/22/16 18:28, Sebastian Benoit wrote:
> Ted Unangst([email protected]) on 2016.06.22 12:25:04 -0400:
>> Marc Espie wrote:
>>> This would allow pkg_add to auto-configure a mirror, for the case where
>>> PKG_PATH was not specified and where pkg.conf does not exist.
>>>
>>> It only triggers when a location ends up empty and when run in interactive
>>> mode, e.g., it shouldn't interfere with local lookups.
>>>
>>> Good idea, or awful ?
>>
>> This would be pretty surprising to me I think. If for some reason I have
>> failed to configure a mirror, I would prefer to get an error so I can fix the
>> underlying problem. If we can't contact a DNS server, we don't fallback on a
>> list of known public servers.
>>
>> Auto config at install time is helpful, but this sort of dynamic auto config
>> violates an important principle: it should be possible to unconfig something.
> 
> Aside from that, i dont think we should be hardcoding ip-adresses like that.
> 
we are doing that with miniroot/install.sub, time to change ?
 
> A name can be changed in DNS, but this will cause http requests to that ip
> for quite some time.
> 
I agree with that.
 Cheers
  Giovanni

Reply via email to