Skip to content

Instantly share code, notes, and snippets.

View cosimoc's full-sized avatar

Cosimo Cecchi cosimoc

View GitHub Profile
# eosostree.py - Endless OSTree management library
#
# Copyright (C) 2016 Dan Nicholson <nicholson@endlessm.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
#!/usr/bin/python3
# ostree-delete-refs - Delete refs from ostree repositories
# Copyright (C) 2016 Dan Nicholson <nicholson@endlessm.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
(gdb) thread apply all bt
Thread 3 (Thread 0xf5dffb40 (LWP 31613)):
#0 0xffffffff in __kernel_vsyscall ()
#1 0xffffffff in poll () at ../sysdeps/unix/syscall-template.S:81
#2 0xffffffff in g_poll (__timeout=-1, __nfds=1, __fds=0xf5400468)
at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3 0xffffffff in g_poll (fds=0xf5400468, nfds=1, timeout=-1)
at /usr/src/packages/BUILD/glib2.0-2.48.0+dev4.1f40a33/./glib/gpoll.c:124
#4 0xffffffff in g_main_context_iterate (priority=<optimized out>, n_fds=<optimized out>, fds=<optimized out>, timeout=<optimized out>, context=<optimized out>)
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.1 22984 4344 ? Ss 10:55 0:02 /lib/systemd/systemd --switched-root --system --deserialize 21
root 2 0.0 0.0 0 0 ? S 10:55 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 10:55 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< 10:55 0:00 [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S 10:55 0:00 [rcu_sched]
root 8 0.0 0.0 0 0 ? S 10:55 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S 10:55 0:00 [migration/0]
root 10 0.0 0.0 0 0 ? S 10:55 0:00 [watchdog/0]
root 11 0.0 0.0 0 0 ? S 10:55 0:00 [watchdog/1]
-- Logs begin at Thu 2014-11-06 19:09:24 PST, end at Wed 2015-07-15 10:52:59 PDT. --
Jul 15 10:52:20 localhost systemd-journal[85]: Runtime journal is using 4.0M (max allowed 8.0M, trying to leave 295.1M free of 1.9G available → current limit 8.0M).
Jul 15 10:52:20 localhost systemd-journal[85]: Runtime journal is using 4.0M (max allowed 8.0M, trying to leave 295.1M free of 1.9G available → current limit 8.0M).
Jul 15 10:52:20 localhost kernel: Initializing cgroup subsys cpuset
Jul 15 10:52:20 localhost kernel: Initializing cgroup subsys cpu
Jul 15 10:52:20 localhost kernel: Initializing cgroup subsys cpuacct
Jul 15 10:52:20 localhost kernel: Linux version 4.1.0-1-generic (abuild@obs-slave.endlessm-sf.com) (gcc version 4.9.2 (Endless 4.9.2-10ubuntu9endless2bem1) ) #1+dev42.7fa5ee1bem1-Endless SMP Tue Jul 14 14:56:30 UTC 2015 (Ubuntu 4.1.0-1.1+dev42.7fa5ee1bem1-generic 4.1.1)
Jul 15 10:52:20 localhost kernel: KERNEL supported cpus:
Jul 15 10:52:20 localhost kernel: Intel GenuineIntel
Jul 15 10:52:20 localhos
-- Logs begin at Thu 2014-11-06 19:09:24 PST, end at Wed 2015-07-15 10:36:48 PDT. --
Jul 15 10:26:31 localhost systemd-journal[85]: Runtime journal is using 4.0M (max allowed 8.0M, trying to leave 295.1M free of 1.9G available → current limit 8.0M).
Jul 15 10:26:31 localhost systemd-journal[85]: Runtime journal is using 4.0M (max allowed 8.0M, trying to leave 295.1M free of 1.9G available → current limit 8.0M).
Jul 15 10:26:31 localhost kernel: Initializing cgroup subsys cpuset
Jul 15 10:26:31 localhost kernel: Initializing cgroup subsys cpu
Jul 15 10:26:31 localhost kernel: Initializing cgroup subsys cpuacct
Jul 15 10:26:31 localhost kernel: Linux version 4.1.0-1-generic (abuild@obs-slave.endlessm-sf.com) (gcc version 4.9.2 (Endless 4.9.2-10ubuntu9endless2bem1) ) #1+dev42.7fa5ee1bem1-Endless SMP Tue Jul 14 14:56:30 UTC 2015 (Ubuntu 4.1.0-1.1+dev42.7fa5ee1bem1-generic 4.1.1)
Jul 15 10:26:31 localhost kernel: KERNEL supported cpus:
Jul 15 10:26:31 localhost kernel: Intel GenuineIntel
Jul 15 10:26:31 localhos

Keybase proof

I hereby claim:

  • I am cosimoc on github.
  • I am cosimoc (https://keybase.io/cosimoc) on keybase.
  • I have a public key whose fingerprint is 4A7D ACD9 B807 14E4 999B 0430 1F88 F069 1703 EE95

To claim this, I am signing this object: