pkg audit e proxy
"Enrico M." <[email protected]> Sun, 17 Apr 2016 19:09:32 +0200
| Newsgroups | gmane.os.freebsd.italian.aiuto |
|---|---|
| Organization | Teppisti |
| Message-ID | <2545531.CzjZtlL6re@pvetest> |
This is a multi-part message in MIME format.
--===============7734130517287428592==
Content-Type: multipart/alternative; boundary="nextPart5765245.qJIpaOGoe1"
Content-Transfer-Encoding: 7Bit
This is a multi-part message in MIME format.
--nextPart5765245.qJIpaOGoe1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
Ho una rete con diverse macchine FreeBSD.
Alcune di queste, per uscire verso internet, devono passare attraverso =
un=20
proxy.
Tutto funziona bene, ad eccezione di quando periodic security lancia pk=
g=20
audit, che restituisce questo:
Checking for packages with security vulnerabilities:
pkg: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host
pkg: cannot fetch vulnxml file
=20
Se lancio il comando da root, avendo impostato la variabile di ambiente=
per il=20
proxy, ovviamente funziona.
Quando viene lanciato da cron, il risultato =E8 l'errore riportato sopr=
a.
=20
Come si fa ad impostare il proxy per i comandi lanciati da cron o per g=
li=20
script in periodic?
=20
Grazie
=20
Enrico
--nextPart5765245.qJIpaOGoe1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="iso-8859-1"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/=
REC-html40/strict.dtd">
<html><head><meta name=3D"qrichtext" content=3D"1" /><style type=3D"tex=
t/css">
p, li { white-space: pre-wrap; }
</style></head><body style=3D" font-family:'Verdana'; font-size:10pt; f=
ont-weight:400; font-style:normal;">
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Ho =
una rete con diverse macchine FreeBSD.</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Alc=
une di queste, per uscire verso internet, devono passare attraverso un =
</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">pro=
xy.</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Tut=
to funziona bene, ad eccezione di quando periodic security lancia pkg <=
/p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">aud=
it, che restituisce questo:</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Che=
cking for packages with security vulnerabilities:</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">pkg=
: http://vuxml.freebsd.org/freebsd/vuln.xml.bz2: No route to host</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">pkg=
: cannot fetch vulnxml file</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </=
p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Se =
lancio il comando da root, avendo impostato la variabile di ambiente pe=
r il </p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">pro=
xy, ovviamente funziona.</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Qua=
ndo viene lanciato da cron, il risultato =E8 l'errore riportato sopra.<=
/p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </=
p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Com=
e si fa ad impostare il proxy per i comandi lanciati da cron o per gli =
</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">scr=
ipt in periodic?</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </=
p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Gra=
zie</p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"> </=
p>
<p style=3D" margin-top:0px; margin-bottom:0px; margin-left:0px; margin=
-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Enr=
ico</p></body></html>
--nextPart5765245.qJIpaOGoe1--
--===============7734130517287428592==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
_______________________________________________
Aiuto mailing list
[email protected]
http://mailman.gufi.org/mailman/listinfo/aiuto
--===============7734130517287428592==--