My network permits internet access only through a proxy server which is normally configured via the usual (http|https|ftp|no)_proxy environment variables. Unfortunately service(8) runs rc.d scripts in a clean-room environment (env -i) which causes scripts that require network access (i.e. service ntpd fetch) to fail because they are unable to access the network. The same thing seems to be happening with some periodic scripts that require network access:
Is there any supported way to have these scripts use a proxy server for internet access?
Code:
Checking for packages with security vulnerabilities:
pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: Operation timed out
pkg: cannot fetch vulnxml file