LXC: gorouter_ctl.erb test for running in container is wrong
Bug #1436150 reported by
justinsb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloudfoundry |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
tests for "running in container" (LXC) by doing this:
running_
grep -q '/instance' /proc/self/cgroup
}
However, for Juju, /proc/self/cgroup is /lxc.
Because this test is not correct, this means gorouter_ctl.erb on LXC tries to make some /proc/sys/net changes which are not supported on LXC, and thus gorouter fails to start.
To post a comment you must log in.