Skip to content

Instantly share code, notes, and snippets.

@avnik
Created February 29, 2016 16:03
Show Gist options
  • Save avnik/37e0cd9321740c611816 to your computer and use it in GitHub Desktop.
Save avnik/37e0cd9321740c611816 to your computer and use it in GitHub Desktop.
[avn@bulldozer:pts/14]~% sudo rkt --debug run quay.io/coreos/alpine-sh --exec=/bin/sh -- echo hello, rkt ~
[sudo] password for avn:
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.0.0
image: using image from local store for image name quay.io/coreos/alpine-sh
stage0: Preparing stage1
stage0: Writing image manifest
stage0: Loading image sha512-a2fb8f390702d3d9b00d2ebd93e7dd1c241ee7bc752b362635c57b29aabb1a48
stage0: Writing image manifest
stage0: Writing pod manifest
stage0: Setting up stage1
stage0: Wrote filesystem to /var/lib/rkt/pods/run/5d2702b4-a5a5-4623-85dd-1385e8141ca7
stage0: Pivoting to filesystem /var/lib/rkt/pods/run/5d2702b4-a5a5-4623-85dd-1385e8141ca7
stage0: Execing /init
networking: loading networks from /etc/rkt/net.d
networking: loading network default with type ptp
stage1: warning: error setting journal ACLs, you'll need root to read the pod journal
└─unable to open a handle to libacl
stage1: warning: libsystemd not found even though systemd is running. Cgroup limits set by the environment (e.g. a systemd service) won't be enforced.
stage1: continuing with per-app isolators disabled
└─could not determine if we're running from a unit file
└─unable to open a handle to libsystemd
Spawning container rkt-5d2702b4-a5a5-4623-85dd-1385e8141ca7 on /var/lib/rkt/pods/run/5d2702b4-a5a5-4623-85dd-1385e8141ca7/stage1/rootfs.
Press ^] three times within 1s to kill container.
Failed to create directory /var/lib/rkt/pods/run/5d2702b4-a5a5-4623-85dd-1385e8141ca7/stage1/rootfs/sys/fs/selinux: Read-only file system
Failed to create directory /var/lib/rkt/pods/run/5d2702b4-a5a5-4623-85dd-1385e8141ca7/stage1/rootfs/sys/fs/selinux: Read-only file system
/etc/localtime does not point into /usr/share/zoneinfo/, not updating container timezone.
systemd 222 running in system mode. (-PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS -ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
Detected virtualization systemd-nspawn.
Detected architecture x86-64.
Welcome to Linux!
Initializing machine ID from container UUID.
Failed to install release agent, ignoring: File exists
[ OK ] Created slice -.slice.
[ OK ] Created slice system.slice.
[ OK ] Created slice system-prepare\x2dapp.slice.
[ OK ] Started Pod shutdown.
Starting Pod shutdown...
[ OK ] Started alpine-sh Reaper.
Starting alpine-sh Reaper...
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
Starting Journal Service...
systemd-journald.service: Main process exited, code=killed, status=9/KILL
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[DEPEND] Dependency failed for Prepare minimum environment for chrooted applications.
[DEPEND] Dependency failed for Application=alpine-sh Image=quay.io/coreos/alpine-sh.
alpine-sh.service: Job alpine-sh.service/start failed with result 'dependency'.
alpine-sh.service: Triggering OnFailure= dependencies.
prepare-app@opt-stage2-alpine\x2dsh-rootfs.service: Job prepare-app@opt-stage2-alpine\x2dsh-rootfs.service/start failed with result 'dependency'.
systemd-journald.service: Unit entered failed state.
systemd-journald.service: Failed with result 'signal'.
systemd-journald.service: Service has no hold-off time, scheduling restart.
[ OK ] Stopped Journal Service.
Starting Journal Service...
[ OK ] Reached target rkt apps target.
shutdown.service: Unit not needed anymore. Stopping.
Stopping alpine-sh Reaper...
[ OK ] Reached target Halt.
[ OK ] Stopped alpine-sh Reaper.
shutdown.service: Unit not needed anymore. Stopping.
Stopping Pod shutdown...
Shutting down.
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Sending SIGKILL to PID 3 (systemd-journal).
Halting system.
@avnik
Copy link
Author

avnik commented Feb 29, 2016

Feb 29 18:06:16 bulldozer kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000334
Feb 29 18:06:17 bulldozer kernel: IP: [] btrfs_sync_file+0xa7/0x330 [btrfs]
Feb 29 18:06:17 bulldozer kernel: PGD 0
Feb 29 18:06:17 bulldozer kernel: Oops: 0002 [#2] SMP
Feb 29 18:06:17 bulldozer kernel: Modules linked in: af_packet ipt_MASQUERADE nf_nat_masquerade_ipv4 cfg80211 veth overlay rpcsec_gss_krb5 xt_addrtype iptable_nat nf_conntrack_ipv4 nf_defrag_
Feb 29 18:06:17 bulldozer kernel: efi_pstore i2c_algo_bit efivars pstore psmouse syscopyarea sysfillrect sysimgblt k10temp amd64_edac_mod fb_sys_fops edac_mce_amd fam15h_power i2c_piix4 tpm_
Feb 29 18:06:17 bulldozer kernel: CPU: 3 PID: 29618 Comm: systemd-journal Tainted: G D O 4.4.2 #1-NixOS
Feb 29 18:06:17 bulldozer kernel: Hardware name: To be filled by O.E.M. To be filled by O.E.M./M5A99FX PRO R2.0, BIOS 1903 07/11/2013
Feb 29 18:06:17 bulldozer kernel: task: ffff8801b9f74980 ti: ffff88010002c000 task.ti: ffff88010002c000
Feb 29 18:06:17 bulldozer kernel: RIP: 0010:[] [] btrfs_sync_file+0xa7/0x330 [btrfs]
Feb 29 18:06:17 bulldozer kernel: RSP: 0018:ffff88010002fe60 EFLAGS: 00010246
Feb 29 18:06:17 bulldozer kernel: RAX: ffff8801b9f74980 RBX: ffff8802a1999700 RCX: ffffffff81868880
Feb 29 18:06:17 bulldozer kernel: RDX: 0000000080000000 RSI: 0000000000000000 RDI: ffff88042bec0988
Feb 29 18:06:17 bulldozer kernel: RBP: ffff88010002fed0 R08: bacd9b260acfd7e2 R09: 0000000000000001
Feb 29 18:06:17 bulldozer kernel: R10: 000055f81784a5c0 R11: 0000000000000246 R12: ffff88042bec0988
Feb 29 18:06:17 bulldozer kernel: R13: ffff88042bec08e0 R14: 0000000000000000 R15: 0000000000000000
Feb 29 18:06:17 bulldozer kernel: FS: 00007fc322b08840(0000) GS:ffff88043ecc0000(0000) knlGS:000000000063fb40
Feb 29 18:06:17 bulldozer kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 29 18:06:17 bulldozer kernel: CR2: 0000000000000334 CR3: 00000002e354a000 CR4: 00000000000406e0
Feb 29 18:06:17 bulldozer kernel: Stack:
Feb 29 18:06:17 bulldozer kernel: ffff88010002fee0 8000000000000000 ffff8804200cf240 7fffffffffffffff
Feb 29 18:06:17 bulldozer kernel: 0000000000000000 0000000000000000 0000000000000000 ffff88018e8c6a60
Feb 29 18:06:17 bulldozer kernel: ffff88018e8c6800 ffff8802a1999700 0000000000000000 ffff8801068e01b0
Feb 29 18:06:17 bulldozer kernel: Call Trace:
Feb 29 18:06:17 bulldozer kernel: [] vfs_fsync_range+0x3b/0xa0
Feb 29 18:06:17 bulldozer kernel: [] ? syscall_trace_enter_phase1+0xf9/0x110
Feb 29 18:06:17 bulldozer kernel: [] do_fsync+0x3d/0x70
Feb 29 18:06:17 bulldozer kernel: [] SyS_fsync+0x10/0x20
Feb 29 18:06:17 bulldozer kernel: [] entry_SYSCALL_64_fastpath+0x12/0x71
Feb 29 18:06:17 bulldozer kernel: Code: ff d1 49 8b 0e 48 85 c9 75 e8 eb b1 48 8b 45 a8 48 2b 45 b0 4d 8d a5 a8 00 00 00 4c 89 e7 48 83 c0 01 48 89 45 98 e8 b9 78 36 e1 41 ff 87 34 03 00
Feb 29 18:06:17 bulldozer kernel: RIP [] btrfs_sync_file+0xa7/0x330 [btrfs]
Feb 29 18:06:17 bulldozer kernel: RSP
Feb 29 18:06:17 bulldozer kernel: CR2: 0000000000000334
Feb 29 18:06:17 bulldozer kernel: ---[ end trace a965d4e52b931d3f ]---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment