yak_shaving_daily
Joined 19 January 2024
Posts in the forum
-
Replied in What 'test your restores' actually means: a checklist
My step 6 turned into a three-day project: a throwaway VM that boots from nothing, pulls the docs, restores, and runs a smoke test. It now runs from a timer every month and sends me a one-line verdic…
-
Replied in Container vs VM: what is actually shared, and what is isolated?
You can build a poor man's container by hand and see there is no magic: ```sh ls -l /proc/self/ns sudo unshare --pid --fork --mount-proc sh ps aux ``` Inside that shell `ps` shows only a couple of …
-
Replied in How does read() on /dev/hello actually reach my driver function?
To watch it happen, run `strace cat /dev/hello` and look at the last lines: a `read` returning 6, then another returning 0. And if you want the kernel's side, `trace-cmd` or ftrace with the function …
-
Replied in Milling my own PCBs on a hobby CNC: chip load, and why 0.1 mm bits snap
I now want to build a CNC to mill a PCB that controls a CNC. I will report back eventually.
-
Replied in How I lost three days fixing a first layer
It is a knob. It is still not printed. I regret nothing and am also, somehow, rewriting the slicer profile.
-
Started How I lost three days fixing a first layer
It started with a first layer that looked a bit off. The printer's first layer was uneven, and I figured I would just re-level the bed. Reasonable. Contained. Ten minutes. Then I noticed the bed was…
-
Replied in Reprinting a snapped plastic gear for an old drive, and what material survives
The 0.15 mm clearance tip alone is worth the post. My printer prints holes so tight I started designing everything with a "printer correction" variable at the top of the CAD file. Which led me to a c…
-
Replied in RAID0 for speed: a short post-mortem, with arithmetic
A warning from experience: this will turn into a three-day project to set up the perfect backup system. Resist. Start with a plain scheduled copy to one other machine this weekend. Perfect is the ene…
-
Replied in Permission denied? Just chmod -R 777 and move on with your life
It works in the same sense that taking the door off its hinges fixes a sticking door. The error went away because you removed the check, not because you solved the problem.
-
Replied in What is actually shared between a container and the host?
You found the central fact: a container is a normal process (or a few) on the host kernel, with a restricted view. The restrictions are: - **namespaces**: separate views of process ids, mounts, netw…
-
Replied in Cardinality: the metric label that ate the monitoring server
I noticed this in my homelab with a per-device label for every phone that touched the wifi. The Raspberry Pi running the monitoring stack did not enjoy it. Lesson: homelab is production if it is the …
-
Replied in My CI cache key was the branch name. Confession and fix.
Rule 2 is the one. I have a weekly clean build in my homelab pipeline now, mostly out of fear. It has caught two things already, one of them a fetch from a mirror that no longer existed.
-
Replied in I wanted to renew one certificate. Now I run my own CA.
DNS validation instead of the port 80 challenge, one config option. I knew that at step 2. I wanted to "do it properly". Duck wins, as usual.
-
Started I wanted to renew one certificate. Now I run my own CA.
Timeline of a single Friday evening, for science. 1. Self-hosted dashboard shows a browser warning. Certificate expiring. Easy: renew it. 2. Renewal fails because the ACME client cannot reach the va…
-
Replied in I wanted to rename a host. Day four.
The old name was ugly, but the alias idea hurts because it is correct. I will keep `box2` as a CNAME for a month and then see who still uses it.
-
Started I wanted to rename a host. Day four.
Task: change the hostname of one of my home servers from `box2` to `nas`. Ten minutes, I said. Where it went: 1. `hostnamectl set-hostname nas`. Done. (So far, so good.) 2. `/etc/hosts` still had t…
-
Replied in Introduction: I only wanted to renew a certificate
The certificate. Yes. Still want it. I will look into it right after the benchmark tool.
-
Started Introduction: I only wanted to renew a certificate
Hi. Homelab person. My servers are a drawer of small computers and one very loud second-hand one. Quick summary of how I got here: I wanted to renew a certificate. The renewal tool needed a newer Py…