Skip to content

Instantly share code, notes, and snippets.

View dongsupark's full-sized avatar

Dongsu Park dongsupark

View GitHub Profile
<!-- This configuration file specifies the required security policies
for oFono core daemon to work. -->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<!-- ../system.conf have denied everything, so we just punch some holes -->
<policy user="root">
@dongsupark
dongsupark / gist:ac1808bd4387b079fb9f
Created January 26, 2016 15:26
list-modem before wait-for-registration
[ /ublox_0 ]
Online = 1
Interfaces = org.ofono.SimManager
Model = TOBY-L210
Features = sim
Manufacturer = u-blox
Revision = 09.71
Powered = 1
Emergency = 0
@dongsupark
dongsupark / gist:9980351b0e0deeacb0b9
Created January 26, 2016 15:34
list-modems when testing manually
./list-modems
[ /ublox_0 ]
Interfaces = org.ofono.NetworkRegistration org.ofono.ConnectionManager org.ofono.SimManager
Serial = 352255060091315
Manufacturer = u-blox
Lockdown = 0
Features = net gprs sim
Powered = 1
Online = 1
Revision = 09.71
ofonod[7872]: oFono version 1.17
ofonod[7872]: src/plugin.c:__ofono_plugin_init()
ofonod[7872]: plugins/push-notification.c:push_notification_init()
ofonod[7872]: plugins/smart-messaging.c:smart_messaging_init()
ofonod[7872]: plugins/emulator_fuzz.c:emulator_fuzz_init()
ofonod[7872]: src/modem.c:ofono_modem_driver_register() driver: 0x7533a0, name: stktest
ofonod[7872]: src/modem.c:ofono_modem_create() name: stktest, type: stktest
ofonod[7872]: src/modem.c:ofono_modem_register() 0x1655110
ofonod[7872]: plugins/stktest.c:stktest_probe() 0x1655110
ofonod[7872]: src/modem.c:emit_modem_added() 0x1655110
@dongsupark
dongsupark / gist:9a2bcd6905f4c92d1e73
Created January 26, 2016 16:56
ofono.log which is working
ofonod[5496]: oFono version 1.17
ofonod[5496]: src/plugin.c:__ofono_plugin_init()
ofonod[5496]: plugins/push-notification.c:push_notification_init()
ofonod[5496]: plugins/smart-messaging.c:smart_messaging_init()
ofonod[5496]: plugins/emulator_fuzz.c:emulator_fuzz_init()
ofonod[5496]: src/modem.c:ofono_modem_driver_register() driver: 0x7533a0, name: stktest
ofonod[5496]: src/modem.c:ofono_modem_create() name: stktest, type: stktest
ofonod[5496]: src/modem.c:ofono_modem_register() 0x16ec0f0
ofonod[5496]: plugins/stktest.c:stktest_probe() 0x16ec0f0
ofonod[5496]: src/modem.c:emit_modem_added() 0x16ec0f0
{
"name": "coreos-alpha",
"description": "CoreOS alpha",
"versions": [{
"version": "962.0.0",
"providers": [{
"name": "libvirt",
"url": "http://alpha.release.core-os.net/amd64-usr/962.0.0/coreos_production_vagrant.box",
"checksum_type": "sha256",
"checksum": "81176be143a2eb391070e4e0d7287bb35ec680e39f1bea1bb98bfd5c554fb2d9"
=== RUN TestUnitStart (fleet.conf=[enable_grpc=false])
2016/08/30 13:44:47 mkdir -p /tmp/smoke
2016/08/30 13:44:47 brctl show
2016/08/30 13:44:47 brctl addbr fleet0
2016/08/30 13:44:47 ip addr list fleet0
2016/08/30 13:44:47 ip addr add 172.18.0.1/16 dev fleet0
2016/08/30 13:44:47 ip link set fleet0 up
2016/08/30 13:44:47 Creating nspawn machine 1 in cluster smoke
2016/08/30 13:44:47 mkdir -p /tmp/smoke/e18d45b22dc849d1a9f3f7dd2c0b3790/fs/etc/systemd/system
2016/08/30 13:44:47 mkdir -p /tmp/smoke/e18d45b22dc849d1a9f3f7dd2c0b3790/fs/usr
{
"ignition": { "version": "2.0.0" },
"storage": {
"files": [{
"filesystem": "root",
"path": "/opt/bin/fleet-wrapper",
"mode": 493,
"contents": {
"source": "https://raw.githubusercontent.com/coreos/fleet/master/scripts/fleet-wrapper"
}

Keybase proof

I hereby claim:

  • I am dongsupark on github.
  • I am dongsupark (https://keybase.io/dongsupark) on keybase.
  • I have a public key whose fingerprint is B1F6 4DAB 2DBA 72BA 0FAF A36E 4087 4D88 549C 230B

To claim this, I am signing this object:

@dongsupark
dongsupark / kubelet.log
Created July 6, 2017 16:28
kubelet journal log 20170706
-- Logs begin at Thu 2017-07-06 17:04:30 BST. --
Jul 06 17:04:48 kubeadm-nspawn-0 systemd[1]: Started kubelet: The Kubernetes Node Agent.
Jul 06 17:04:48 kubeadm-nspawn-0 kubelet[278]: I0706 17:04:48.317494 278 feature_gate.go:144] feature gates: map[]
Jul 06 17:04:48 kubeadm-nspawn-0 kubelet[278]: I0706 17:04:48.479519 278 docker.go:364] Connecting to docker on unix:///var/run/docker.sock
Jul 06 17:04:48 kubeadm-nspawn-0 kubelet[278]: I0706 17:04:48.479745 278 docker.go:384] Start docker client with request timeout=2m0s
Jul 06 17:06:48 kubeadm-nspawn-0 kubelet[278]: E0706 17:06:48.483502 278 kube_docker_client.go:97] failed to retrieve docker version: operation timeout: context deadline exceeded
Jul 06 17:06:48 kubeadm-nspawn-0 kubelet[278]: W0706 17:06:48.485331 278 kube_docker_client.go:98] Using empty version for docker client, this may sometimes cause compatibility issue.
Jul 06 17:06:48 kubeadm-nspawn-0 kubelet[278]: I0706 17:06:48.526679 278 manager.go:143] cAdvisor running in c