| -----Original Message-----
| From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On
| Behalf Of openda...@hushmail.com
| Sent: Tuesday, September 23, 2014 6:01 AM
| Subject: Why are there no PKG_PATH defaults?
...
| Expanding on the whole
| http://en.wikipedia.org/wiki/Convention_over_configuration thing -- why
| aren't there any sane PKG_PATH defaults? Ie.:
| 
| release=$(uname -r)
| architecture=$(uname -p)
| 
| export
| PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/${release}/packages/${arc
| hitecture}/
| 

Because your "sane default" includes ftp.openbsd.org, which is not sane at all. 
If PKG_PATH or /etc/pkg.conf were set to default to ftp.openbsd.org then that 
host would get hammered instead of the user being put in the position of 
choosing a local mirror.

-Breeno

PS - In anticipation of the typical follow-up argument, whether or not there is 
a large existing base of lazy people who fail to choose a local mirror is not a 
valid argument for defaulting all users to ftp.openbsd.org. Such reasoning 
would merely exacerbate the trouble with the hypothetical status quo.

Reply via email to