[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-10-03 Thread Tharrrk
Up. Confirmed still there on Ubuntu 14.04.1 LTS. Should we raise the bug for anacron then? I've set up the transparent proxy locally to avoid this. ** Changed in: update-notifier (Ubuntu) Status: Expired = Confirmed ** Package changed: update-notifier (Ubuntu) = anacron (Ubuntu) **

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-10-03 Thread Steve Langasek
Note that this is NOT cron !!! Date: Tue, 8 Jul 2014 07:48:29 +0300 From: Anacron r...@..fi To: r...@...fi So this is a problem with anacron, which when run via /etc/cron.d/anacron does not inherit the environment from cron's pam handler (because anacron is run via an upstart job,

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-09-30 Thread Launchpad Bug Tracker
[Expired for update-notifier (Ubuntu) because there has been no activity for 60 days.] ** Changed in: update-notifier (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-08-01 Thread Marco Gaiarin
No, now it raise: /etc/cron.daily/update-notifier-common: Traceback (most recent call last): File /usr/lib/update-notifier/package-data-downloader, line 239, in process_download_requests dest_file = urllib.urlretrieve(files[i])[0] File /usr/lib/python2.7/urllib.py, line 94, in

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-07-31 Thread Marco Gaiarin
I confirm this bug, on a 14.04.1 LTS. I've tried to add: # We have to set also proxy. See: # https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1317920 # http_proxy=http://proxy:8080/; https_proxy=https://proxy:8080/; ftp_proxy=ftp://proxy:8080/; on /etc/anacrontab config

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-07-09 Thread Kari Hurtta
The cronjob is run from cron; cron is configured via /etc/pam.d/cron to use pam_env.so by default, which reads /etc/environment. Why is this not working on your system? Same happens also Ubuntu 12.04.4 LTS Note that this is NOT cron !!! Date: Tue, 8 Jul 2014 07:48:29 +0300 From: Anacron

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-05-15 Thread Peter Parzer
I created two simple cron scripts on a new installation of Ubuntu 14.04 amd64 with all updates installed (the only additional package I installed was cifs-utils). /etc/cron.daily/testenv-daily: #!/bin/sh logger -t testenv-daily http_proxy=$http_proxy /etc/cron.hourly/testenv-hourly: #!/bin/sh

[Bug 1317920] Re: update-notifier does not user configured system proxy when downloading files with package-data-downloader

2014-05-09 Thread Steve Langasek
The cronjob is run from cron; cron is configured via /etc/pam.d/cron to use pam_env.so by default, which reads /etc/environment. Why is this not working on your system? Individual cron jobs should definitely not be expected to source /etc/environment directly. ** Changed in: update-notifier