Skip to content

Instantly share code, notes, and snippets.

-- Logs begin at Fri 2014-06-20 07:09:15 UTC, end at Sat 2014-06-21 00:51:27 UTC. --
Jun 21 00:23:45 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 systemd[1]: Starting etcd...
Jun 21 00:23:45 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 systemd[1]: Started etcd.
Jun 21 00:23:46 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 etcd[2951]: [etcd] Jun 21 00:23:46.363 INFO | default: peer added: '4341c160a9ec4f5ab78d9b28b3c8b3f4'
Jun 21 00:23:46 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 etcd[2951]: [etcd] Jun 21 00:23:46.373 INFO | default: peer added: '84b46e629660443283cafa0c9de1e474'
Jun 21 00:23:46 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 etcd[2951]: [etcd] Jun 21 00:23:46.380 INFO | default: peer added: 'ae590b9d560a4232b300282325d63059'
Jun 21 00:23:46 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 systemd[1]: Started etcd.
Jun 21 00:23:46 coreos-235c2fc7-0330-4f82-b92c-16e74390fda0 etcd[2951]: [etcd] Jun 21 00:23:46.573 INFO | The path /var/lib/etcd/log is in btrfs
Jun 21 00:23:46 coreos-235c
#cloud-config
write_files:
- path: /home/core/logentries.sh
permissions: '0744'
owner: root:root
content: |
#/usr/bin/env bash
journalctl -o short -f | awk '{ print "UUID4",$0; fflush(); }' | ncat --ssl --ssl-verify data.logentries.com 20000
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: [0719/234224:INFO:subprocess.cc(46)] Subprocess output:
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: '/tmp/au_postint_mount.lAC3P5/boot/vmlinuz' -> '/tmp/postinst_esp.bgLwmEnTAd/syslinux/vmlinuz.B'
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: '/tmp/au_postint_mount.lAC3P5/boot/syslinux/root.B.cfg' -> '/tmp/postinst_esp.bgLwmEnTAd/syslinux/root.B.cfg'
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: '/tmp/au_postint_mount.lAC3P5/boot/grub/menu.lst.B' -> '/tmp/postinst_esp.bgLwmEnTAd/boot/grub/menu.lst'
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: '/tmp/au_postint_mount.lAC3P5/boot/syslinux/default.cfg.B' -> '/tmp/postinst_esp.bgLwmEnTAd/syslinux/default.cfg'
Jul 19 23:42:24 coreos-6da2ba51-a5bb-4fb7-bc79-c5be7e5e93a0 update_engine[1074]: start size part contents
Jul 19 23:42:24 core
I did a bit more investigation. Adding two equals for padding on the end allows
the data to be decoded by base64 on the command line. I'm not sure if I'm
getting the correct data but it is base64 decoding with the padding.
Assuming that the data is correct, it's too many bytes to be a DER thumbprint
(should be 20 bytes but I get 40 bytes). This is probably due to a hex
conversion or string format operation entering the equation that shouldn't be
there. In fact, I did a little analysis (included for reference) and this is
exactly what is happening:
@alunduil
alunduil / Dockerfile
Last active June 11, 2018 21:56
Haskell Cloud Build to Heroku
FROM alpine:3.7 as builder
MAINTAINER Alex Brandt <alunduil@alunduil.com>
RUN apk add --no-cache musl-dev zlib-dev
RUN apk add --no-cache cabal ghc
@alunduil
alunduil / Fred Krueger.md
Created October 26, 2018 02:02
Fred Krueger Character

[Character Name] – [Player Name]

##Priority

Metatype Attributes Mag/Res Skills Resources
B A C D E

##Personal Details

@alunduil
alunduil / stdin
Created April 13, 2019 16:30
stdin
hello
@alunduil
alunduil / srcExternalServantAPIGraphQLServer.hs
Created April 13, 2019 21:57
src/External/Servant/API/GraphQL/Server.hs
{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeOperators #-}
module External.Servant.API.GraphQL.Server
( withGraphQL
, server
@alunduil
alunduil / stdin
Created April 20, 2019 19:33
stdin
I0420 12:32:58.385142 6270 notify.go:126] Checking for updates...
o minikube v1.0.0 on linux (amd64)
$ Downloading Kubernetes v1.14.0 images in the background ...
I0420 12:32:58.510907 6270 start.go:608] Saving config:
{
"MachineConfig": {
"MinikubeISO": "https://storage.googleapis.com/minikube/iso/minikube-v1.0.0.iso",
"Memory": 2048,
"CPUs": 2,
"DiskSize": 20000,
@alunduil
alunduil / stdin
Created April 20, 2019 19:33
stdin
E0420 12:33:49.917736 11028 logs.go:152] Failed to list containers for "kube-apiserver": running command: docker ps -a --filter="name=kube-apiserver" --format="{{.ID}}"
output: : running command: docker ps -a --filter="name=kube-apiserver" --format="{{.ID}}"
.: fork/exec /bin/bash: no such file or directory
E0420 12:33:49.918027 11028 logs.go:152] Failed to list containers for "coredns": running command: docker ps -a --filter="name=coredns" --format="{{.ID}}"
output: : running command: docker ps -a --filter="name=coredns" --format="{{.ID}}"
.: fork/exec /bin/bash: no such file or directory
E0420 12:33:49.918199 11028 logs.go:152] Failed to list containers for "kube-scheduler": running command: docker ps -a --filter="name=kube-scheduler" --format="{{.ID}}"
output: : running command: docker ps -a --filter="name=kube-scheduler" --format="{{.ID}}"
.: fork/exec /bin/bash: no such file or directory
E0420 12:33:49.918414 11028 logs.go:152] Failed to list containers for "kube-proxy": running command: docke