Fixing Docker on Linode (Linux v4.18.16)

This week as I had some downtime after PyCon Canada, I started working on resolving all the issues that I postponed. One of these issues involved applying security updates to my Linode server and rebooting the server. However when I did so… I noticed that the Rookeries site went down. When I logged into the server, I quickly found the problem: Docker refused to start after the kernel updates.

As this bug report on Docker for Linux says, there is an issue with the latest Linode kernel when it comes to OverlayFS.

This causes the containerdservice that docker-ce is dependent on to not start. When looking at the logs (using sudo journalctl -xe), you’ll see an error along the lines of:

modprobe: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.18.16-x86_64-linode118/modules.builtin.bin'
modprobe: FATAL: Module overlay not found in directory /lib/modules/4.18.16-x86_64-linode118)

Thankfully there is a workaround to resolve this problem. From the instructions you need to an override configuration for the containerd service:

$ mkdir -p /etc/systemd/system/containerd.service.d/
$ cat << EOF > /etc/systemd/system/containerd.service.d/override.conf [Service]
ExecStartPre=
EOF
$ systemctl reload
$ systemctl restart docker

Anyways, I hope this helps if you run into the same situation.

Drifting in a Netherworld

Fall. Well not officially but still… everyone can feel it. Summer’s warm embrace is loosening and slowly turning into the cool of autumn. And haven’t enjoyed it a bit… not much time off. And now the sickness. Apparently my latest illness which seemed to be fading, has struck my sinuses. Now I have had to deal with this quite painful secondary infection… So much for time off. To top it off my knee-jerk coughing spree kept me up till 4:00 AM yesterday night. The only thing enjoyable was a reading a VERY depressing Japanese (Yeah for English translation) animated novel. Well maybe not enjoyable but at least I least I felt better about my own situation after it.

Fortunately I have been feeling better with each passing day. Mostly thanks to intensive pill-popping. Of course, to make the experience more exciting, my condition always seems to worsen in the evening. Lovely. So I decided to get some work done. I have updated my Linux box recently, with a newer version of udev, a new kernel (which I soon found to be broken with a new implementation of the Alps touchpad driver…) and few other things. I cleaned out a few old things, like useless libraries, a few games including Quake 3 Demo (sorry it was just too bloody) and UT2004 Demo (love the fast action, but I don’t have time to play), and best of all Mozilla. That’s right! Now I have only Firefox and Thunderbird… without all the additional bloat. I also
threw out the Gentooized version of Eclipse, and got a newer copy for my own personal use off the Eclipse.org site. A few minutes later (and DSL reconnects), I had everything I needed. Sort of. My update kept on crashing with the configuration of wings (awesome 3D modelling program), but that bug report I sent in yesterday paid off. I am currently in the process of
reemerging a few kernel dependent programs, and my update.

I have given up on my old laptop. The not-so-hot release of FreeDOS now lives on it. What a change I might add… I really do prefer a Unix system… but at least I can play my old DOS games again. Weee… OLD SCHOOL!!!

As for back-to-school (university) preparations, I am debating on whether to take PEY or not… and whether to pursue a degree in bioinformatics (I suck at Bio and Chem labs and their reports :() or take that one icky statistics course and take the AI courses. I would really love to hack robots (especially space probes/drones/rovers) as a job^H^H^Hcareer.