Thank you for the analysis, Sean. I think this explains the problem. It
looks like the init_proxy() function is run unconditionally by update-
manager when it starts, so any maintainer scripts spawned by update-
manager are incorrectly being given an http(s)_proxy environment
variable in this case.
I ran into this on an Xenial to Bionic upgrade. After the upgrade to
Bionic was complete, freshclam started trying to download clamav
database through my apt proxy. The database download attempts failed due
to apt proxy being strictly for apt only.
>From quick debugging... I think it might be rela
[Expired for clamav (Ubuntu) because there has been no activity for 60
days.]
** Changed in: clamav (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012
I can reproduce this in cosmic *if* the http_proxy and ftp_proxy env
vars are set at clamav-freshclam install time, i.e., when I do "apt
install clamav-freshclam". Then I get them set in
/etc/clamav/freshclam.conf, and this is done by clamav-freshclam's
postinst script.
If these vars are being set
Experienced this bug today across 10 different installs (mix of Desktop and
Server edition).
Had to manually remove the apt-cacher-ng proxy address from the freshclam.conf
files.
I had a quick look at the clamav source code and only found proxy
settings being imported from $http_proxy. Didn't se
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: clamav (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012
Title:
Cla
** Changed in: clamav (Ubuntu)
Status: Expired => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012
Title:
Clamav package adds proxy to config on install and update
To manage notific
[Expired for clamav (Ubuntu) because there has been no activity for 60
days.]
** Changed in: clamav (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012
** Changed in: clamav (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1161012
Title:
Clamav package adds proxy to config on install and update
To manage noti