Skip to content

Instantly share code, notes, and snippets.

~ > LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 /usr/libexec/platform-python test.py
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: create: flags = 0, handle = 0x5642fa3ae2a0, program = platform-python
libguestfs: trace: set_program "test.py"
libguestfs: trace: set_program = 0
libguestfs: trace: add_drive_ro "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body"
libguestfs: trace: add_drive "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body" "readonly:true"
libguestfs: creating COW overlay to protect original drive content
libguestfs: trace: disk_format "7938c61b-46bb-4b6a-b9c8-008e2ae5e900.body"
substitutions:
devicename: notify_1
upper_devicename: "Notify 1"
blink_duration: 10s
twin: "notify_2"
esphome:
name: $devicename
platform: ESP8266
board: nodemcuv2
Update: the cause of this issue is a symbol clash between jansson and json-c. https://bugzilla.redhat.com/show_bug.cgi?id=1923971
Koji on CentOS 8.3 can no longer build docker images because libguestfs aborts with an "invalid pointer" error.
This works on CentOS 8.2. The RPM versions of 8.2 and 8.3 are:
libguestfs-1.38.4-15.module_el8.2.0+320+13f867d7.x86_64
libguestfs-1.40.2-25.module_el8.3.0+555+a55c8938.x86_64
jansson-2.11-3.el8.x86_64
platform-python-3.6.8-31.el8.x86_64
@alexiri
alexiri / Transmission port check bug
Created November 3, 2018 17:56
portcheck.transmissionbt.com fails over IPv6
$ curl -6 -v https://portcheck.transmissionbt.com/51413
* Trying 2001:41d0:c:5ac:5::1...
* TCP_NODELAY set
* Connected to portcheck.transmissionbt.com (2001:41d0:c:5ac:5::1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS handshake, Client hello (1):

Keybase proof

I hereby claim:

  • I am alexiri on github.
  • I am alexiri (https://keybase.io/alexiri) on keybase.
  • I have a public key ASBUyvaLNOIULOs4_8lepWHrxEDYlBBMkj-Yt-V8qpreGAo

To claim this, I am signing this object:

@alexiri
alexiri / resin-debian
Created November 26, 2016 11:26
Trying to build a Debian-based docker container for ResinOS
~/resin/resin-electronjs (master) > rdt push resin --log -p -s .
* Building..
- Stopping and Removing any previous 'electronjs' container
- Building new 'electronjs' image
Step 1 : FROM resin/raspberrypi-node:slim
slim: Pulling from resin/raspberrypi-node
b173b12b886e: Pull complete
c2b53250d91b: Pull complete
95517bcccc92: Pull complete
ba4f132e6d61: Pull complete
@alexiri
alexiri / resin-alpine
Created November 26, 2016 11:25
Trying to build an Alpine-based docker container for ResinOS
~/resin/resin-electronjs (master) > rdt push resin -p -s .
* Building..
- Stopping and Removing any previous 'electronjs' container
- Building new 'electronjs' image
Step 1 : FROM resin/raspberrypi-alpine-node:slim
slim: Pulling from resin/raspberrypi-alpine-node
441134fbd8aa: Pull complete
2346c1376a21: Pull complete
5121a1b51c82: Pull complete
b5ebf5b85404: Pull complete