/etc/default/docker format is wrong for systemd service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Triaged
|
Medium
|
Unassigned | ||
docker.io (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
If you install docker.io from archive, you get /etc/default/docker populated with a string like:
#
# If you need Docker to use an HTTP proxy, it can also be specified here.
# export http_proxy=http://
Simply uncommenting that line and adjusting to your http host will not work.
This is because that file is loaded as an EnviornmentFile by systemd in /lib/systemd/
EnvironmentFil
And apparently, systemd silently ignores the line because it is not <key>=<value>
To fix this, you have to:
http_proxy=http://
rather than
export http_proxy=http://
I'm not sure if this is easily accomplished or not while retaining support for that file being loaded by sysvinit also.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: docker.io 1.6.2~dfsg1-
ProcVersionSign
Uname: Linux 3.19.0-22-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
Date: Fri Jun 26 14:57:10 2015
Ec2AMI: ami-0000043a
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: docker.io
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Changed in docker.io (Ubuntu): | |
importance: | Undecided → Low |
Changed in hundredpapercuts: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in docker.io (Ubuntu): | |
importance: | Low → Medium |
Changed in hundredpapercuts: | |
importance: | Low → Medium |
Yeah this is valid - I've hit it myself. Should be sent to Debian for appropriate resolution regardless of init system in use.