tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: FTP and jail
On 11/02/2017 09:45 AM, D'Arcy Cain wrote:
Why would ftp not work in a jail? I set up a chroot environment to
build my packages in but it won't download the files. I have to go
outside the jail and run "make fetch" for each package.
Turns out I had a DNS issue which caused every package fetch to fail.
However, there are still some packages - www/curl seems to be the most
common - that have always failed in the chroot jail.
ftp: unknown option -- -
usage: ftp [-46AadefginpRtVv] [-N netrc] [-o outfile] [-P port] [-q
quittime]
[-r retry] [-s srcaddr] [-T dir,max[,inc]] [-x xferbufsize]
[[user@]host [port]] [host:path[/]] [file:///file]
[ftp://[user[:pass]@]host[:port]/path[/]]
[http://[user[:pass]@]host[:port]/path] [...]
[https://[user[:pass]@]host[:port]/path] [...]
ftp -u URL file [...]
fetch: Unable to fetch expected file curl-7.56.1.tar.bz2
*** Error code 1
--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/ IM:darcy%Vex.Net@localhost
Home |
Main Index |
Thread Index |
Old Index