Linux

· Lars Nielsen

A Shell wait Loop That Spun for Nine Hours: Exit Status Above 128 Doesn't Mean Interrupted

One morning in August, a worker container in my search engine had been using about 86% of a CPU core for nine hours and producing no output at all. docker top showed only one busy process: the shell script that runs the worker, not the PHP program it starts. The script was stuck in a loop around wait.

Read article A Shell wait Loop That Spun for Nine Hours: Exit Status Above 128 Doesn't Mean Interrupted
· Lars Nielsen

Linux From Scratch to a KDE Plasma Desktop: The Whole Build, in Order

Between August and September I built a Linux From Scratch system on my ThinkPad, scripted end to end, and took it from an empty partition to a KDE Plasma desktop that I now do my work on. Along the way I wrote up the problems one at a time, as separate articles. This is the map: the build in the order it happened, a sentence or two on each problem, and a link to the full story.

Read article Linux From Scratch to a KDE Plasma Desktop: The Whole Build, in Order
· Lars Nielsen

Python requests Doesn't Trust mkcert's CA Off Debian: certifi and a Per-Run CA Bundle

The script that publishes articles on this site tests every article on a local copy of the site first, at https://linkhub.ddev.site. That local site runs in DDEV, and its HTTPS certificate is signed by a local certificate authority that mkcert created. On the Ubuntu install where the pipeline started, that just worked.

Read article Python requests Doesn't Trust mkcert's CA Off Debian: certifi and a Per-Run CA Bundle
· Lars Nielsen

sshd_config Said PasswordAuthentication no. A cloud-init Drop-in Had Already Said Yes.

On the database server of my search engine project, /etc/ssh/sshd_config said PasswordAuthentication no. The server accepted password logins anyway, and a bot on the internet was guessing the root password around the clock. Every attempt failed, but only because the password held, not because the setting did.

Read article sshd_config Said PasswordAuthentication no. A cloud-init Drop-in Had Already Said Yes.
· Lars Nielsen

A Setup Step That Rewrote /etc/passwd and Took polkit, Wi-Fi and Logins With It

My from-scratch Linux build boots into a KDE Plasma desktop now, and for a while it booted into one with a strange set of problems. Wi-Fi scans in NetworkManager didn't work. Power management didn't work. Login sessions weren't being registered properly. Three subsystems with nothing obvious in common, all broken at once.

Read article A Setup Step That Rewrote /etc/passwd and Took polkit, Wi-Fi and Logins With It
Subscribe to Linux