On Thu, November 3, 2016 9:52 pm, Chris Huxtable wrote: > Nothing funky with users in pf. I have tried to strip my pf.conf way back > in > an attempt to remove possible issues > but that hasnâ**t improved anything. I filter by interface, ip, and port, > thats all (so far). > > Nothing odd in dmesg. What really has me for a loop is why does everything > work except this one program. > > # cat /etc/doas.conf > permit nopass root as _pkgfetch > > # doas -u _pkgfetch host ftp.openbsd.org > ftp.openbsd.org is an alias for openbsd.sunsite.ualberta.ca. > openbsd.sunsite.ualberta.ca has address 129.128.5.191 > > This is interestingâ*¦ I donâ**t really know where to go with this though. > Any > suggestions? > > # doas -u _pkgfetch ftp -o /tmp/text.html > http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ > ftp: ftp.openbsd.org: no address associated with name >
Try substituting the IP for the hostname. Is it just DNS that's the problem or all network connectivity? Then I'd start using tcpdump... >> On Nov 3, 2016, at 9:26 PM, trondd <tro...@kagu-tsuchi.com> wrote: >> >> On Thu, November 3, 2016 9:19 pm, trondd wrote: >>> On Thu, November 3, 2016 9:07 pm, Chris Huxtable wrote: >>>> Same as before unfortunately. >>>> >>>> # pkg_add -vvvvv nano >>>> Error from http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ >>>> ftp: ftp.openbsd.org: no address associated with name >>>> http://ftp.openbsd.org/pub/OpenBSD/6.0/packages/amd64/ is empty >>>> Error from >>>> http://openbsd.cs.toronto.edu/pub/OpenBSD/6.0/packages/amd64/ >>>> ftp: openbsd.cs.toronto.edu: no address associated with name >>>> http://openbsd.cs.toronto.edu/pub/OpenBSD/6.0/packages/amd64/ is empty >>>> Error from >>>> http://athena.caslab.queensu.ca/pub/OpenBSD/6.0/packages/amd64/ >>>> ftp: athena.caslab.queensu.ca: no address associated with name >>>> http://athena.caslab.queensu.ca/pub/OpenBSD/6.0/packages/amd64/ is >>>> empty >>>> Can't find nano >>>> >>>> Could this be a pledge issue? >>>> >>> >>> Check dmesg, but on a clean install, probably not. >>> >>> Are you doing something funky with pf, like only allowing certain users >>> internet access? pkg_add downloads as the _pfetch user. Try doas -u >>> _pfetch host ftp.openbsd.org >>> >> >> Correction: 6.0 changed the user to _pkgfetch.