This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/opencontainers/runc/issues/133 | |
https://github.com/coreos/bugs/issues/420 | |
https://github.com/coreos/rkt/issues/1210 | |
diff --git a/kernel/cpuset.c b/kernel/cpuset.c | |
index ee14e3a..f0acff0 100644 | |
--- a/kernel/cpuset.c | |
+++ b/kernel/cpuset.c | |
@@ -1223,7 +1223,7 @@ static int update_nodemask(struct cpuset *cs, struct cpuset *trialcs, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@alban:/sys/fs/cgroup/cpuset# mkdir footest9 | |
root@alban:/sys/fs/cgroup/cpuset# cd footest9 | |
root@alban:/sys/fs/cgroup/cpuset/footest9# mkdir aa | |
root@alban:/sys/fs/cgroup/cpuset/footest9# cat cpuset.mems | |
root@alban:/sys/fs/cgroup/cpuset/footest9# echo 0 > cpuset.mems | |
root@alban:/sys/fs/cgroup/cpuset/footest9# cat cpuset.mems | |
root@alban:/sys/fs/cgroup/cpuset/footest9# echo 0 > cpuset.mems | |
root@alban:/sys/fs/cgroup/cpuset/footest9# cat cpuset.mems |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/stage1/init/pod.go b/stage1/init/pod.go | |
index df721b0..57a4ad5 100644 | |
--- a/stage1/init/pod.go | |
+++ b/stage1/init/pod.go | |
@@ -27,6 +27,7 @@ import ( | |
"path/filepath" | |
"strconv" | |
"strings" | |
+ "syscall" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/stage1/init/pod.go b/stage1/init/pod.go | |
index df721b0..57a4ad5 100644 | |
--- a/stage1/init/pod.go | |
+++ b/stage1/init/pod.go | |
@@ -27,6 +27,7 @@ import ( | |
"path/filepath" | |
"strconv" | |
"strings" | |
+ "syscall" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# iptables -t nat -L -n | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# iptables -t nat -L -n | |
Chain PREROUTING (policy ACCEPT) | |
target prot opt source destination | |
Chain INPUT (policy ACCEPT) | |
target prot opt source destination | |
Chain OUTPUT (policy ACCEPT) | |
target prot opt source destination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== RUN TestPrivateNetCustomMacvlan | |
Writing macvlan0 to /tmp/localdir-211513134/net.d/macvlan0.conf | |
Command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.7.0+git/bin/rkt --dir=/tmp/datadir-183149131 --local-config=/tmp/localdir-211513134 --system-config=/tmp/systemdir-602155701 --debug --insecure-skip-verify run --private-net=macvlan0 --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.7.0+git/tmp/functional-tests/test-tmp/rkt-inspect-networking1.aci | |
Command: /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.7.0+git/bin/rkt --dir=/tmp/datadir-183149131 --local-config=/tmp/localdir-211513134 --system-config=/tmp/systemdir-602155701 --debug --insecure-skip-verify run --private-net=macvlan0 --mds-register=false /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.7.0+git/tmp/functional-tests/test-tmp/rkt-inspect-networking2.aci | |
--- FAIL: TestPrivateNetCustomMacvlan (35.59s) | |
goroutineassistant.go:56: Error: ExpectRegex didn't find regex 'HTTP-Get received: (.*)\r'. | |
Output: 2015 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ip -4 a; ip l | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 | |
inet 192.168.0.13/24 brd 192.168.0.255 scope global dynamic wlan0 | |
valid_lft 598818sec preferred_lft 598818sec | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gofmt -w pkg/tar/chroot.go | |
gofmt -w pkg/uid/uid.go | |
gofmt -w rkt/image_extract.go | |
gofmt -w rkt/run.go | |
gofmt -w stage0/run.go | |
gofmt -w store/tree.go | |
git commit -a | |
git push ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /tmp/etcd2 | |
$ sudo systemd-run --uid=0 \ | |
./rkt run --stage1-image=sha512-c5b3b60ed4493fd77222afcb860543b9 \ | |
--private-net --port=client:2379 \ | |
--volume data-dir,kind=host,source=/tmp/etcd2 \ | |
coreos.com/etcd,version=v2.2.0-alpha.0 \ | |
-- --advertise-client-urls="http://127.0.0.1:2379" \ | |
--listen-client-urls="http://0.0.0.0:2379" |