On 2019-10-29, PJ <[email protected]> wrote: > Am 28.10.19 um 23:52 schrieb Stuart Henderson: >> On 2019-10-28, Andy Lemin <[email protected]> wrote: >>> Hi guys, >>> >>> Does anyone know if it is possible to completely disable ftp in the package >>> management utilities; pkg_add, syspatch, sysupgrade etc? >>> >>> My PKG_PATH references http:// urls, as does /etc/install. But I cannot >>> stop these tools trying to use ftp which does not work! :( >> Can you show some example URLs, for example from "pgrep -lf ftp" while >> trying to use one of these utilities? >> >> The only place I would expect to see ftp:// URLs used > > > grep ftp /usr/sbin/sysupgrade
Yes I know how sysupgrade works. There is no reason why it would try to connect via the FTP protocol unless either an ftp:// url is set in /etc/installurl or an ftp:// url is specified on the command line. ftp(1) is not restricted to just the FTP protocol, it is most often used as an http/https fetcher these days.

