Hi Chris

just tried on one VM to check the pollinate again

ubuntu@hci-toolbox:~$ sudo systemctl restart pollinate
ubuntu@hci-toolbox:~$ cd /var/log
ubuntu@hci-toolbox:/var/log$ cat syslog |grep -i pollinate
Jun 12 10:08:34 hci-toolbox systemd[1]: Stopped Pollinate to seed the pseudo 
random number generator.
Jun 12 10:08:34 hci-toolbox systemd[1]: Starting Pollinate to seed the pseudo 
random number generator...
Jun 12 10:08:34 hci-toolbox pollinate[5435]: client sent challenge to 
[https://entropy.ubuntu.com/]
Jun 12 10:08:44 hci-toolbox pollinate[5435]: WARNING: Network communication 
failed [0]   % Total    % Received % Xferd  Average Speed   Time    Time     
Time  Current#012                                 Dload  Upload   Total   Spent 
   Left  Speed#012#015  0     0    0     0    0     0      0      0 --:--:-- 
--:--:-- --:--:--     010:08:34.236061 *   Trying 
91.189.94.10...#01210:08:34.436577 *   Trying 
2001:67c:1561:8008::11...#01210:08:34.436728 * Immediate connect fail for 
2001:67c:1561:8008::11: Network is unreachable#01210:08:34.436770 *   Trying 
2001:67c:1561:8008::10...#01210:08:34.436805 * Immediate connect fail for 
2001:67c:1561:8008::10: Network is unreachable#01210:08:35.438022 *   Trying 
2001:67c:1561:8008::11...#01210:08:35.438211 * Immediate connect fail for 
2001:67c:1561:8008::11: Network is unreachable#01210:08:35.438266 *   Trying 
2001:67c:1561:8008::10...#01210:08:35.438302 * Immediate connect fail for 
2001:67c:1561:8008::10: Network is unreachable#012#015  0     0  
   0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     
010:08:36.439606 *   Trying 2001:67c:1561:80
Jun 12 10:08:44 hci-toolbox systemd[1]: Started Pollinate to seed the pseudo 
random number generator.
ubuntu@hci-toolbox:/var/log$ cat /etc/default/pollinate 
# These the options that are used by pollinate(1) by default.
# Note that any option here can be overriden on the command line
# at invocation time.  Please see pollinate(1) for documentation.
BINARY=1
QUIET=0
WAIT=10
DEVICE="/dev/urandom"
SERVER="https://entropy.ubuntu.com/";
POOL=""
CURL_OPTS="--cacert /etc/pollinate/entropy.ubuntu.com.pem --capath /dev/null"
ubuntu@hci-toolbox:/var/log$ curl google.com
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.fr/?gfe_rd=cr&amp;ei=**********";>here</A>.
</BODY></HTML>
ubuntu@hci-toolbox:/var/log$ 


It seems the curl ran alone can use proxy correctly, but curl invoked by
pollinate can't.


my /etc/environment below

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
proxy="http://proxy:port/";
http_proxy="http://proxy:port/";
https_proxy="http://proxy:port/";
ftp_proxy="http://proxy:port/";
no_proxy="localhost,mycompany.com,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
PROXY="http://proxy:port/";
HTTP_PROXY="http://proxy:port/";
HTTPS_PROXY="http://proxy:port/";
FTP_PROXY="http://proxy:port/";
NO_PROXY="localhost,mycompany.com,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"


( proxy:port and mycompany.com are valid addresses in my config, I've just hide 
them from public. )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1640426

Title:
  pollinate ignores proxy variables in /etc/environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pollinate/+bug/1640426/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to