The following patch fixes the problem by reading the settings from client.conf and exporting them during startup of landscape-client:
--- landscape-client~ 2015-01-05 13:58:29.000000000 +0100
+++ landscape-client 2016-01-08 08:13:37.371883059 +0100
@@ -55,6 +55,10 @@ fi
fi
+ # Read proxy settings from /etc/landscape/client.conf, fixes
+ # https://bugs.launchpad.net/landscape-client/+bug/1531150
+ eval `grep -E ^https?_proxy /etc/landscape/client.conf | sed 's/[[:space:]]//g;s/^/export /'`
+ FULL_COMMAND="start-stop-daemon --start --quiet --oknodo --startas $DAEMON --pidfile $PIDFILE -g $DAEMON_GROUP -- --daemon --pid-file $PIDFILE"
if [ x"$DAEMON_USER" != x ]; then sudo -u $DAEMON_USER $FULL_COMMAND
The following patch fixes the problem by reading the settings from client.conf and exporting them during startup of landscape-client:
fi
--- landscape-client~ 2015-01-05 13:58:29.000000000 +0100
+++ landscape-client 2016-01-08 08:13:37.371883059 +0100
@@ -55,6 +55,10 @@
fi
+ # Read proxy settings from /etc/landscape/ client. conf, fixes /bugs.launchpad .net/landscape- client/ +bug/1531150 client. conf | sed 's/[[:space: ]]//g;s/ ^/export /'`
FULL_ COMMAND= "start- stop-daemon --start --quiet --oknodo --startas $DAEMON --pidfile $PIDFILE -g $DAEMON_GROUP -- --daemon --pid-file $PIDFILE"
sudo -u $DAEMON_USER $FULL_COMMAND
+ # https:/
+ eval `grep -E ^https?_proxy /etc/landscape/
+
if [ x"$DAEMON_USER" != x ]; then