Hi, The environment for systemd and its service files does not include that of /etc/environment. This is generally working as designed.
https://github.com/coreos/bugs/issues/1507 contains some more information. See the comment https://github.com/coreos/bugs/issues/1507#issuecomment-240233869 That explains how to set environment variables for systemd. I suggest, though, that you might want to just explicitly enable the proxy you've configured in /etc/default/pollinate rather than to modify the environment for systemd units globally. You could even just add a '. /etc/environment' to /etc/default/pollinate. My hesitation is because, in my experience, "global" http_proxy configuration always ends up causing odd errors, as any thing that respects http_proxy but then tries to resolve local resources will fail oddly. As an example: http_proxy=http://your.proxy:3128 wget http://127.0.0.1:9999/foo So I generally prefer to explicitly enable proxy where needed. I'm going to mark this bug "won't fix" as I do not think we'd do anything to the pollinate package itself. If you disagree, please justify that and mark the bug 'New' again. Thanks for your contribution and patience. Scott ** Bug watch added: github.com/coreos/bugs/issues #1507 https://github.com/coreos/bugs/issues/1507 ** Changed in: pollinate (Ubuntu) Status: Incomplete => Won't Fix -- 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
