Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Environment variable http_proxy no longer honored (since switch to daemon mode) #208
i'm using rpm-ostree version 2015.11 (used in fc23 atomic project) and when i try to upgrade the host i have:
bash-4.3# rpm-ostree upgrade Updating from: fedora-atomic:fedora-atomic/f23/x86_64/docker-host error: Error resolving 'dl.fedoraproject.org': Name or service not known
so the rpm-ostree didn't use the http_proxy environment variable i have exported just before calling the script.
This is because the
I suppose the client command should pass that over to the daemon, since many users will expect their
In the meantime you can set a
I explored this a bit today. The
Recommend closing unless someone has another suggestion.
Yeah...it's a bit unfortunate in that it used to work. But on the other hand, with the switch to systemd, administrators have got to get used to their shell's environment not propagating into daemons.
So...closing, but without prejudice. If someone came along and wanted to make this work, I'd say we should take a patch.
changed the title from
Environment variable http_proxy not honored
Environment variable http_proxy no longer honored (since switch to daemon mode)
Jan 14, 2016
Here's a way to configure this:
(Or on newer systemd versions, you can use