Harald Hoyer

Triple Faults for Debug

varlink and the elvish shell

I recently discovered Elvish, which is a shell perfectly suited to process structured data. In my case it is perfect to be used with varlink. Too bad elvish has no numeric type and can't feed varlink with int and float, because to-json converts them to strings.

varlink for dnf - a Showcase

On the varlink wiki page I showcase how to add varlink to a python project. In this case, I chose DNF, the rpm package manager of Fedora.


For a long time we tried to solve the early boot IPC problem. IPC problem you ask? Well, in the early boot phase we cannot talk D-BUS, because the daemon is not running yet, but to bring up the system, so that the D-BUS daemon can run (mount stuff, load modules, start other services), we need some kind of IPC. Therefore all the early boot daemons have a fallback IPC via unix domain sockets with its own homegrown protocol.

Rust Echo Server

On modern CPUs, rust seems to perform very nicely with the thread context switches, at least when benchmarking an echo server. For that I also wrote an echo server benchmark client.

dracut and CVE-2016-4484: Cryptsetup Initrd root Shell

People who want to secure their Fedora/RHEL system have to:

  • add a BIOS password
  • add a grub password
  • add "rd.shell=0" to the kernel command line

Anaconda does add "rd.shell=0" to the kernel command line automatically, if you setup the bootloader with a password.