Genkernel with virtio drivers

06.04.2017 by Dirk Olmes

A colleague asked me to help analyze problems migrating a Gentoo guest VM from a Xen Server based host to a Proxmox (KVM based) host. The Gentoo VM would not boot beyond the initramfs - it just died saying that the root device could not be found.

Since the VM itself …

read more

SLF4J’s SimpleLogger

05.01.2017 by Dirk Olmes

I use the SLF4J API as the default logging facade in all my projects. SLF4J’s simple logger comes in handy when you don’t need a fully fledged logging framework. The SimpleLogger is despite its name quite configurable - if you know where to find the documentation: it’s in …

read more

Installing pip packages in userspace on OSX

27.10.2016 by Dirk Olmes

I tried to install a python package with pip on my wife’s Macbook Air. There are tons of instructions out on the internet telling you how to install pip and friends on OSX. All of them start by stating that the default install of Python that comes with OSX …

read more

Enabling “Show in System Explorer” in Eclipse on Linux

10.02.2016 by Dirk Olmes

Show in System Explorer

On my Gentoo machine the “Show in System Explorer” menu item did not work on Eclipse. I kept getting this error message:

Execution of 'dbus-send --print-reply --dest=org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1.ShowItems array:string:"file:/tmp/HelloWorld.java" string:""' failed with return code: 1

A …

read more

Comments for this blog use pelican’s comment system

06.01.2016 by Dirk Olmes

One thing that annoyed me while switching my blog to pelican was the lack of a good comment option. My motivation for self-hosting the blog is to have control over my data and that includes comments! The use of a cloud service like Disqus obviously defeats this purpose.

I sat …

read more

Linux Mint update from 17.2 to 17.3

30.12.2015 by Dirk Olmes

At work we use Linux Mint for some virtual machines that need a desktop environment. Recently, the Linux Mint project released a fairly major update to 17.3. At fist, they did not offer an update for an existing system but promised to release that laster.

Now, a good while …

read more

NFS setup

30.07.2015 by Dirk Olmes

I’m planning to put my Raspberry Pi back to use. I have always disliked its dependency on SD memory cards so I’m planning to put the Pi’s root filesystem on NFS. The Pi side will be a topic for another blog post later, first I’ll have …

read more

speeding up portage’s metadata cache

26.02.2015 by Dirk Olmes

Gentoo’s portage keeps metadata about installed ebuilds in /var/cache/edb. Dependency info for all installed ebuilds is in a dep subdirectory which typically looks something like this:

.
├── usr
│   └── portage
│       ├── app-admin
│       │   ├── eselect-1.4.1
│       │   ├── eselect-lib-bin-symlink-0.1.1
│       │   ├── eselect-opengl-1.2.7
│       │   ├── gamin-0.1.10-r1
│       │   ├── logrotate-3.8.7
│       │   └── perl-cleaner-2.16
...

When …

read more

exaile vs. gstreamer

25.02.2015 by Dirk Olmes

My favourite music player app on Linux is Exaile. On Gentoo it’s available straight from portage but getting playback working for different audio formats its not quite straightforward.

Exaile depends on gstreamer - albeit not on the latest version but on the 0.10 version line. Since Gentoo supports slotted …

read more

JAAS login module using PAM

23.12.2014 by Dirk Olmes

I recently had a look into JAAS for a customer project. The API is not 100% straightforward due to its design goal of hiding implementation specifics but I guess that’s the price you have to pay when specifying a generic API.

The JAAS guide talks about JAAS’s similarity …

read more