Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Conversation

@gnawux
Copy link
Member

@gnawux gnawux commented Feb 8, 2017

1 token shift during the token reading like this:

file:

{"hostname":"951d97892fdb","containers":[{"id":"951d97892fdbde41341606127fba406788a39117f36da61048a92350566cab2d","rootfs":"/rootfs","fstype":"ext4","imag
e":"sda","addr":"0:0","fsmap":[{"source":"rLfDEQDukA","path":"/dev/termination-log","readOnly":false,"dockerVolume":true},{"source":"ZuaaEsQpWD","path":"/etc/hosts","readOnly":false,"dockerVolume":true}],"sysctl":{"vm.overcommit_memory":"
1"},"process":{"terminal":false,"stdio":1,"stderr":2,"args":["sh"],"envs":[{"env":"PATH","value":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}],"workdir":"/"},"restartPolicy":"never","initialize":false}],"interfaces":[{"
device":"eth0","ipAddress":"172.16.1.227","netMask":"255.255.0.0"}],"dns":["172.16.0.2","8.8.8.8"],"routes":[{"dest":"0.0.0.0/0","gateway":"172.16.0.1","device":"eth0"}],"shareDir":"share_dir","portmappingWhiteLists":{"internalNetworks":[
"172.16.0.0/16"]}}
I0208 03:13:11.761152   21073 init_comm.go:68] [console] 31 name sysctl
I0208 03:13:11.761267   21073 init_comm.go:68] [console] sysctl size 1
I0208 03:13:11.761404   21073 init_comm.go:68] [console] sysctl 1:process

Signed-off-by: Wang Xu gnawux@gmail.com

1 token shift during the token reading like this:

file:

```{"hostname":"951d97892fdb","containers":[{"id":"951d97892fdbde41341606127fba406788a39117f36da61048a92350566cab2d","rootfs":"/rootfs","fstype":"ext4","imag
e":"sda","addr":"0:0","fsmap":[{"source":"rLfDEQDukA","path":"/dev/termination-log","readOnly":false,"dockerVolume":true},{"source":"ZuaaEsQpWD","path":"/etc/hosts","readOnly":false,"dockerVolume":true}],"sysctl":{"vm.overcommit_memory":"
1"},"process":{"terminal":false,"stdio":1,"stderr":2,"args":["sh"],"envs":[{"env":"PATH","value":"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}],"workdir":"/"},"restartPolicy":"never","initialize":false}],"interfaces":[{"
device":"eth0","ipAddress":"172.16.1.227","netMask":"255.255.0.0"}],"dns":["172.16.0.2","8.8.8.8"],"routes":[{"dest":"0.0.0.0/0","gateway":"172.16.0.1","device":"eth0"}],"shareDir":"share_dir","portmappingWhiteLists":{"internalNetworks":[
"172.16.0.0/16"]}}```

```I0208 03:13:11.761152   21073 init_comm.go:68] [console] 31 name sysctl
I0208 03:13:11.761267   21073 init_comm.go:68] [console] sysctl size 1
I0208 03:13:11.761404   21073 init_comm.go:68] [console] sysctl 1:process```

Signed-off-by: Wang Xu <gnawux@gmail.com>
@laijs laijs merged commit 4f0e9ec into hyperhq:master Feb 8, 2017
@gnawux gnawux deleted the sysctl_parse branch February 8, 2017 06:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants