<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Victor on Medium]]></title>
        <description><![CDATA[Stories by Victor on Medium]]></description>
        <link>https://medium.com/@okechukwuvictor049?source=rss-d369334f919b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*QFXrdMGZUv77v4RD</url>
            <title>Stories by Victor on Medium</title>
            <link>https://medium.com/@okechukwuvictor049?source=rss-d369334f919b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 15:57:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@okechukwuvictor049/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[You Don’t Need to Remember Everything. You Just Need to Know How to Ask.]]></title>
            <link>https://medium.com/@okechukwuvictor049/you-dont-need-to-remember-everything-you-just-need-to-know-how-to-ask-0f5f26453745?source=rss-d369334f919b------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f5f26453745</guid>
            <category><![CDATA[rhel-9]]></category>
            <category><![CDATA[redhat-linux]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Victor]]></dc:creator>
            <pubDate>Thu, 12 Mar 2026 12:57:23 GMT</pubDate>
            <atom:updated>2026-03-12T12:57:23.836Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A practical guide to navigating Linux like someone who actually knows what they’re doing</em>.</p><p>There’s a particular kind of frustration that hits every Linux user at some point. You know roughly what you need. You know the concept. You’ve even worked with it before. But the exact command, the exact path, the exact syntax — it’s gone. And so you open a browser tab, type something vague into Google, and spend the next 20 minutes wading through Stack Overflow threads from 2014.<br>Here’s the thing: the answer was on your machine the whole time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chOChBLkyMalzOzxL5t3lA.jpeg" /></figure><h3>The Problem With How Most People Learn Linux</h3><p>Most people learn Linux commands the way they memorize phone numbers … by brute repetition, hoping it sticks. They copy commands from tutorials without understanding them, and the moment something deviates from the tutorial’s exact scenario, they’re lost.<br>The engineers who are truly dangerous in a Linux environment don’t have better memory. They have better navigation. They know how to find what they need, fast, without leaving the terminal.<br>The tool that separates these two groups? man.<br>Not just man &lt;command&gt;. The full power of the manual system — and specifically, man -k.</p><h3>What man -k Actually Does</h3><p>Most people know you can run man ls or man mount to read documentation. That’s the basics.<br>man -k is different. It’s a keyword search across every manual page on your system. You give it a word or concept, and it returns every man page whose name or description contains that keyword.<br>man -k generator<br>That one command just searched your entire manual database and handed you a categorized list of everything on your system related to generators. You didn’t need to know the exact command name. You didn’t need to remember the directory. You just needed the concept.</p><h3>A Real Scenario: Finding systemd Generator Paths</h3><p>Here’s how this played out in practice.<br>I was working with systemd generators. The programs systemd runs at boot to dynamically create unit files. I needed to know the exact directories systemd uses for these generators. There are several: some for vendor units, some for admin-defined ones, some that exist only at runtime.<br>I could have Googled it. But instead:<br>man -k generator<br>The output came back with a full list — OpenSSL generators, kernel random number generators, and right there in the list:</p><p>systemd.generator (7) - systemd unit generators<br>That’s the one. Section 7 — concepts and overviews. Exactly what I needed.<br>man 7 systemd.generator</p><p>Now I’m inside the man page. It’s dense . Several screens of text covering what generators are, how they work, when they run. I don’t need to read all of it. I need the directory paths.<br>So I use the man page’s built-in search:<br>/run<br>That’s it. Forward-slash followed by the keyword. The man page highlights every occurrence of &quot;run&quot; and I scroll through until I land on the section listing the generator directories:<br>/run/systemd/generator<br>/run/systemd/generator.early<br>/run/systemd/generator.late<br>Found it. Total time: under two minutes. Never left the terminal. No browser. No Stack Overflow.</p><h4>Breaking Down the Technique</h4><p><strong>Step 1 — Search by concept, not by command name</strong></p><p>man -k &lt;keyword&gt;<br>Use a noun that describes what the thing does, not what you think it’s called. generator, mount, journal, quota, partition — concepts work better than guesses.<br><strong>Step 2 — Read the section numbers</strong><br>Man pages are organized into sections:<br><br><br><strong>User commands<br>System calls<br>Library functions<br>Device files<br>File formats and config files<br>Games<br>Concepts, overviews, conventions<br>System administration commands</strong></p><p>When you see systemd.generator (7), the 7 tells you this is a conceptual overview — exactly what you want when you’re trying to understand how something works or where files live, not just syntax.</p><p><strong>Step 3 — Open the right page</strong></p><p>man 7 systemd.generator<br># Always specify the section number when you know it<br># Avoids ambiguity when the same name exists in multiple section</p><p><strong>Step 4 — Search inside the man page</strong></p><p>Once inside, use / to search just like in vim or less:<br>/keyword → search forward<br>n → next match<br>N → previous match<br>q → quit<br>You’re not reading the whole page. You’re navigating it like a document, jumping straight to the relevant section.</p><h3>Why This Matters More Than Memorization</h3><p>Memorizing the path /run/systemd/generator is useful until you’re on a different distro, a different systemd version, or working with a component you’ve never touched before. Then you’re stuck again.<br>Understanding how to find /run/systemd/generator in under two minutes from first principles ? That skill transfers everywhere. Every Linux system ships with man pages. The technique works on RHEL, Debian, Arch, Alpine, whatever you’re running.<br>This is the difference between a sysadmin who needs their notes and one who can walk into any system cold and figure it out.</p><h3>The Mindset Shift</h3><p>Stop asking: &quot;What’s the command for X?&quot;<br>Start asking: &quot;How do I find the command for X in under 60 seconds?&quot;</p><p>man -k is your index.</p><p>man &lt;section&gt; &lt;page&gt; is your reference.</p><p>/keyword is your Ctrl+F.</p><p>Together, they make the Linux manual system one of the most powerful pieces of documentation ever written if you know how to use it.<br>The information was always there. You just needed to know how to ask.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f5f26453745" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Kubernetes Journey: Learning the Hard, Practical Way]]></title>
            <link>https://medium.com/@okechukwuvictor049/my-kubernetes-journey-learning-the-hard-practical-way-5a2f0fc6334e?source=rss-d369334f919b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a2f0fc6334e</guid>
            <category><![CDATA[justice]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <dc:creator><![CDATA[Victor]]></dc:creator>
            <pubDate>Thu, 04 Dec 2025 15:52:18 GMT</pubDate>
            <atom:updated>2025-12-08T22:56:32.254Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://github.com/Victor24245/Kubernetes-Journey-TheHard-Practical-Way/">Github Repository </a>here :)</p><p>Two months ago, my entire Kubernetes knowledge could be summarized in a handful of commands:</p><ul><li>kubectl apply</li><li>kubectl create</li><li>kubectl get</li></ul><p>And that was pretty much it.</p><p>I knew how to deploy a manifest but not what truly happened beneath the surface.<br> I had no idea how traffic moved between nodes, what a control plane really <em>did</em>, how pods scheduled, or why clusters even needed certificates, load balancers, and CNI plugins.</p><p>What changed everything was a decision I made early:</p><h3>I built my first cluster following Kelsey Hightower’s “Kubernetes The Hard Way.”</h3><p>You build <strong>every single component</strong>:</p><ul><li>ETCD</li><li>kube-apiserver</li><li>kube-controller-manager</li><li>kube-scheduler</li><li>kubelet</li><li>kube-proxy</li><li>Networking</li><li>Certificates</li><li>Load Balancing</li></ul><p>It was hard but it forced me to understand Kubernetes the way real production engineers do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4RPf31MeWiitZn7LD1MInw.jpeg" /><figcaption>The Kubernetes architecture took me some hours to understand and that was facilitated by constantly scribbling on my white board. Here I was figuring how Cilium plugs into the cluster to provide networking among pods</figcaption></figure><p>Once I understood the core control-plane architecture, I naturally moved into the hardest part of Kubernetes:</p><h3>Networking.</h3><p>Namespaces, pods, services ……those were easy.<br> The real shock came when I entered:</p><ul><li><strong>Container Network Interfaces (CNI)</strong></li><li><strong>Overlay routing</strong></li><li><strong>eBPF datapaths</strong></li><li><strong>Load balancing inside a cluster</strong></li><li><strong>Kube-proxy replacements</strong></li><li><strong>Ingress vs Gateway API</strong></li><li><strong>Node-to-node routing</strong></li></ul><p>Kubernetes networking is not “install a CNI and forget.”<br> It is the bloodstream of the entire system. Everything depends on it.</p><h3>Why I Chose Cilium</h3><p>There are many CNIs like Flannel, Calico, WeaveNet….but I intentionally picked <strong>Cilium</strong>.</p><p>Why?</p><p>Because I wanted to understand <strong>real-world production networking</strong>, not just something that “works for demos.”</p><p>Cilium taught me:</p><ul><li>how <strong>eBPF</strong> bypasses iptables</li><li>how node-to-node routing actually happens</li><li>how kube-proxy can be completely replaced</li><li>how Hubble gives deep visibility into cluster traffic</li><li>how Network Policies work at scale</li><li>how load balancing and NAT work inside clusters</li><li>how Cilium handles multi-node packet forwarding</li></ul><p>Cilium made networking “click” for me.</p><h3>Storage on AWS: EBS CSI Driver</h3><p>After networking, the next piece was storage.</p><p>Dynamic provisioning using the <strong>AWS EBS CSI driver</strong> showed me:</p><ul><li>how Kubernetes handles stateful workloads</li><li>how PersistentVolumeClaims trigger dynamic volume creation</li><li>how availability zones matter</li><li>why certain pods fail if the volume is stuck in another AZ</li><li>how snapshots and volume expansion actually work</li></ul><p>Real clusters run stateful apps and learning this moved me closer to production reality.</p><h3>The Virtual Networking Headache</h3><p>Because all my nodes were VMs, everything depended on the virtual network.<br> I used a libvirt network for all the nodes.<br> And honestly? It came with <em>drama</em>….one after the other. :(</p><p>One of the worst issues happened when I used <strong>Keepalived</strong>.</p><p>I configured Keepalived in multicast mode, but for some reason multicast just wasn’t working on the virtual network. The other control plane nodes weren’t receiving the ARP announcements for the Virtual IP (VIP) that pointed to my Kubernetes API server.</p><p>Translation:<br> The cluster didn’t know who the “active” control plane was supposed to be.</p><figure><img alt="A diagram I sketched at night when I was figuring out FreeIPA and how it’ll use Kerberos (Key Distribution) to grant access to the cluster instead of SSH" src="https://cdn-images-1.medium.com/max/1024/1*x3CDg1hLCBoRnXx5NZ-bVA.jpeg" /><figcaption>A diagram I sketched at night when I was figuring out FreeIPA and how it’ll use Kerberos (Key Distribution) to grant access to the cluster instead of SSH</figcaption></figure><h3>The Fix ???</h3><p>Much later, I discovered the only reliable solution:</p><ul><li>Switch Keepalived from <strong>multicast</strong> to <strong>unicast</strong></li><li>Manually specify peer nodes in the Keepalived config</li><li>Add the IP addresses of all other control plane nodes</li></ul><p>Once I did that, the nodes could finally receive ARP announcements properly.<br> If one node went down, another picked up the VIP instantly and advertised it without delay.</p><p>That was my first <em>real</em> Kubernetes “oh, I get it now” moment.</p><h3><strong>Five Clusters Later…</strong></h3><p>Since then, I’ve built <strong>five clusters</strong>:</p><ul><li><strong>1 non-HA cluster</strong><br> (1 control plane, 2 workers)</li><li><strong>4 HA clusters</strong><br> Two used <strong>kube-vip</strong>,<br> Two used <strong>HAProxy + Keepalived</strong>.</li></ul><p>Trust me, that last combination taught me a lot…..but it also taught me why DevOps engineers say:</p><blockquote><em>“Avoid setups with too many moving parts.”</em></blockquote><h3>How Keepalived Actually Works (from pain-earned knowledge)</h3><p>Keepalived creates a floating Virtual IP for your control planes.<br>It uses ARP to announce:</p><p>“Hey, I’m the node currently holding this IP!”</p><p>Other control planes listen.<br>If the announcements stop, they assume the node is down and immediately promote themselves to master and start advertising the VIP.</p><p>Simple idea.<br>Painful and time consuming to debug when it breaks.</p><h3>Why I Switched to kube-vip</h3><p>After fighting with HAProxy + Keepalived long enough, I moved to <strong>kube-vip</strong>.<br> And this time, instead of going deep into BGP and over-engineering the whole thing, I kept it simple and used <strong>ARP mode</strong>.</p><p>This mode basically lets kube-vip behave like a built-in, Kubernetes-native Keepalived. It announces the Virtual IP using ARP across the network, and whichever control plane node is active will “own” the API server IP.</p><h3>My kube-vip Manifest (Trimmed Version)</h3><p>Here’s the exact kube-vip configuration I used…..I’m including only the important parts:</p><pre>apiVersion: v1<br>kind: Pod<br>metadata:<br>  name: kube-vip<br>  namespace: kube-system<br>spec:<br>  hostNetwork: true<br>  containers:<br>  - name: kube-vip<br>    image: ghcr.io/kube-vip/kube-vip:latest<br>    args:<br>      - manager<br>    env:<br>      - name: vip_arp<br>        value: &quot;true&quot;     # ARP mode enabled<br>      - name: port<br>        value: &quot;6443&quot;     # Kubernetes API port<br>      - name: address<br>        value: &quot;10.0.X.X&quot; # The virtual IP for API server<br>    volumeMounts:<br>      - name: kubeconfig<br>        mountPath: /etc/kubernetes/admin.conf<br>  volumes:<br>    - name: kubeconfig<br>      hostPath:<br>        path: /etc/kubernetes/super-admin.conf</pre><h3>Why this worked so well</h3><ul><li><strong>vip_arp: true</strong> means kube-vip will automatically announce the virtual IP using ARP, just like Keepalived but without the complexity.</li><li>It binds directly to <strong>hostNetwork</strong>, so it has direct access to the node’s network stack.</li><li>No HAProxy required.</li><li>No unicast/multicast headaches.</li><li>No “agent-not-ready” drama like I had before.</li></ul><p>This was the first time I created an HA cluster where the control plane failover felt <em>clean</em> and stable…..something I could trust.</p><h3>Where I Am Now</h3><p>Two months later:</p><ul><li>I understand control plane architecture deeply.</li><li>I can build HA clusters from scratch.</li><li>I’ve dealt with real networking issues, not classroom examples.</li><li>I understand why certain setups are considered “bad practice.</li><li>And most importantly:</li></ul><p>I’m no longer afraid of Kubernetes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a2f0fc6334e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My 90-Day Journey to Becoming a Linux System Administrator (And Everything That Broke Along the…]]></title>
            <link>https://medium.com/@okechukwuvictor049/my-90-day-journey-to-becoming-a-linux-system-administrator-and-everything-that-broke-along-the-fcd463e47af8?source=rss-d369334f919b------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcd463e47af8</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[sysadmin]]></category>
            <dc:creator><![CDATA[Victor]]></dc:creator>
            <pubDate>Fri, 10 Oct 2025 13:25:54 GMT</pubDate>
            <atom:updated>2025-10-10T13:25:54.108Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>My 90-Day Journey to Becoming a Linux System Administrator (And Everything That Broke Along the Way)</strong></h3><h3>Introduction: Taking the Plunge</h3><p>Sometime in July, I made a decision that would consume my next 90 days: I was going to tackle the infamous “How do I become a Linux System Administrator” post from Reddit. Not as a theoretical exercise, but as a real, hands-on project.</p><p>I took time off Twitter and all my socials. No distractions, just me and the terminal. I’d been upskilling for months, learning without the camera, and now it was time to put everything to the test.</p><p>This wasn’t my first attempt. I’d tried before, multiple times, and each attempt had ended in frustration — hardware limitations, software incompatibilities, or just plain overwhelming complexity. But this time felt different. This time, I was going all in.</p><p>Spoiler alert: Everything broke. Multiple times. And I learned more from those failures than I ever could have from a perfect setup.</p><h3>The Setup: Building My Infrastructure</h3><p>My goal was to build a production-grade Linux infrastructure with:</p><ul><li><strong>Foreman</strong> for centralized server management and provisioning</li><li><strong>FreeIPA</strong> for authentication and identity management</li><li><strong>Puppet</strong> for configuration automation</li><li><strong>Pi-hole</strong> for DNS management</li><li><strong>KVM/libvirt</strong> for virtualization</li></ul><p>The hardware? Not ideal. I was working with limited resources, tweaking the original Reddit requirements to suit what I had. My internet gateway was an MTN MiFi, a 3-in-1 device that would later become the source of several headaches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*96LGClbwLI0d59fZpBcZAQ.jpeg" /><figcaption><em>The MiFi</em></figcaption></figure><p>At first, everything seemed to be going smoothly. I set up my virtual machines, configured basic networking, and felt like I was thriving.</p><p>Then I hit the wall.</p><h3>Week 1–2: The Networking Nightmare</h3><p>Setting up Puppet for automation should have been straightforward. It wasn’t.</p><p>DNS resolution issues. IP address conflicts. Network bridge craze My MTN MiFi gateway was causing havoc, and connecting via USB only made things worse. I was stuck, frustrated, and questioning whether I’d bitten off more than I could chew.</p><p>Then my community came through.</p><p>On a Sunday morning, someone shared a link to documentation on networking with libvirt. I read it cover to cover , twice. Immediately after church service, I locked in and rebuilt my virtual machines using the default ‘virbr0’ network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*Zvs2yDWPWYvMvmbL8OjWdQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*AMQvG_E3PyyuFMuPn8BOPw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*3T_6mIBndlVDYlYCnfsaPw.jpeg" /></figure><p><strong>Lesson learned:</strong> Virtual networking is not the same as physical networking. Understanding libvirt’s network architecture — how it creates bridges, manages DHCP, and handles DNS — was crucial. The documentation showed me what was happening behind the scenes, and suddenly everything made sense.</p><h3>Week 3: The FreeIPA Saga</h3><p>With networking sorted, I moved on to FreeIPA for authentication. This is where things got chaotic.</p><p>I installed FreeIPA on a VM and tried to set it up as the authentication service for my environment. Creating a realm should have been straightforward, but I kept hitting errors. Services like httpd, named, and dirsrv weren’t configuring properly.</p><p>The problem? I was relying on my ISP’s DNS servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*miRqMuZgPW9kBCEWJBoEUg.png" /></figure><p>I was completely ignorant of the fact that FreeIPA requires a local DNS server to function properly. The FreeIPA client on my Foreman host couldn’t authenticate, and I spent two full nights troubleshooting before I realized the core issue.</p><p><strong>The errors I documented:</strong></p><ol><li>ipa-server-install failing with missing service configurations</li><li>Missing reverse DNS: freeipa.vinks.lan resolved forward but had no PTR record</li><li>Foreman proxy refusing to register: “DNS discovery failed to determine your DNS domain”</li><li>ipa-client-install unable to auto-discover the domain or IPA server</li><li>PKI/ACME cleanup errors when trying to uninstall and start fresh</li></ol><p>After extensive tinkering, I decided to set up a Pi-hole DNS server for my environment. The interface was clean, user-friendly, and miles better than wrestling with Bind9.</p><p><strong>Lesson learned:</strong> Authentication services like FreeIPA are deeply integrated with DNS. You can’t just point to Google’s 8.8.8.8 and hope it works. You need a DNS server you control, with proper forward and reverse zones configured.</p><h3>Week 4: The Domain Name Disaster</h3><p>Just when I thought I was making progress, I realized I’d made a fundamental mistake.</p><p>My Foreman host was registered with ‘vinks.com’ — a domain I don’t own. Everything would break if I tried to change it mid-setup. Hostnames were hardcoded everywhere, certificates were issued, and FreeIPA had integrated it into its realm.</p><p>There was only one solution: start clean with &lt;hostname&gt;.vinks.lan.</p><p>I backed up what I could, documented my configurations, and nuked everything. Starting over felt like failure, but it was the right call. This time, I used proper internal domain naming from the start.</p><p><strong>Lesson learned:</strong> Plan your naming scheme before you begin. Internal infrastructure should use .lan, .local, or a proper internal subdomain. Never use domains you don&#39;t control, even for testing.</p><h3>Balancing Act: Oracle Certs, Terraform, and Reality</h3><p>Around this time, Oracle certifications started trending in my timeline. The OCI DevOps Professional course looked interesting, and I’d been meaning to learn Terraform.</p><p>My Linux sysadmin project was taking longer than expected, and I had to be realistic about my time. I restructured my schedule:</p><ul><li><strong>4–6 AM:</strong> Random necessities like Upwork profile tweaks, LinkedIn, Bash scripting, as the spirit led</li><li><strong>9 AM — 1 PM:</strong> Sysadmin time configurations, troubleshooting, project work</li><li><strong>2–4 PM:</strong> Flexible time</li><li><strong>8–10 PM:</strong> Terraform study</li></ul><p>Some days I stuck to it religiously. Other days, a single error would consume six hours of debugging time.</p><p><strong>Lesson learned:</strong> Real learning isn’t linear. You can’t schedule breakthroughs. Sometimes you need to timebox tasks and come back with fresh eyes.</p><h3>The Foreman Odyssey: PXE, iPXE, and Image Provisioning</h3><p>You know how you go to the AWS console, click a few buttons, and boom — you have an EC2 instance running? That’s image provisioning, and I wanted to replicate it in my environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*21hPyiq5NGMTW-iLoaFAnA.jpeg" /></figure><p>I started with PXE and iPXE boot with Foreman. Network-based provisioning sounded elegant, but the reality was brutal. I was debugging Foreman version 3.14 using a 1.4 manual — documentation mismatches everywhere.</p><p>After weeks of wrestling with network provisioning, I decided to pivot to image-based provisioning for my virtual servers. I even tried cloud provisioning, using Foreman + Puppet to configure remote EC2 instances.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*21hPyiq5NGMTW-iLoaFAnA.jpeg" /></figure><p>Three days of intense focus got me somewhere. I downgraded to Foreman 3.10 (which had better stability), connected it to libvirt + KVM, and got my provisioning pipeline working.</p><p>The hardest part? A polkit headache where the Smart Proxy couldn’t create DHCP records.</p><p>Polkit rules were written in JavaScript, not the configuration format I expected. I spent hours reading polkit documentation before finally turning to ChatGPT. It generated the JavaScript rules I needed, and suddenly everything worked.</p><p><strong>Lesson learned:</strong> Not all configuration is done in config files. Modern Linux systems use policy frameworks like polkit that require understanding multiple languages and paradigms.</p><h3>The Bugs You Don’t Expect</h3><p>Just when I thought I had image provisioning working, I discovered that Foreman 3.10 had a bug preventing image-provisioned hosts from properly receiving user_data templates through cloud-init.</p><p>More debugging. More documentation diving. More trial and error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7j7JFeRTik5w54UyfH2t_A.jpeg" /></figure><p>Eventually, I got it working. My hosts built fine, and I felt like I’d conquered Everest.</p><h3>The Final Boss: DNF5 and Puppet Compatibility</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*IxuyjP0NgVG0rt9mmAJzmQ.jpeg" /></figure><p>I set up “auto member” rules in FreeIPA so newly provisioned VMs would automatically be added to the correct groups. I provisioned a test VM to confirm everything worked.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*bQKR8dAtwQkp7-oY0rVjYg.jpeg" /></figure><p>It didn’t. Pinging my VM via hostname wasn’t working because I’d turned off the DNS proxy for the webserver hostgroup. Easy fix.</p><p>When registering the Foreman host to FreeIPA, I had to clone SRV records for the IPA server to Pi-hole before the installation process could discover it. Small detail, but critical.</p><p>Then came the real problem: DNF5.</p><p>Puppet uses certain flags that DNF4 supported. DNF5 deprecated them. Running puppet agent -t started failing. I spent an entire morning from 4 AM trying to fix it—no luck.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*jVTT_yD8da61CcP432yaBQ.jpeg" /></figure><p>I considered switching to Ansible, but I was aiming for a production-grade setup, and Puppet was part of the plan.</p><p><strong>My solution:</strong> Run different Fedora versions.</p><ul><li><strong>Fedora 36</strong> on managed servers (stable, Puppet-compatible)</li><li><strong>Fedora 41</strong> on core infrastructure (Foreman, FreeIPA, DNS)</li></ul><p>Is it the cleanest solution? No. But it’s practical, and in production environments, practical beats perfect every time.</p><p><strong>Lesson learned:</strong> Sometimes the best fix isn’t fixing the issue — it’s working around it intelligently. Mixed-version environments are common in real production setups.</p><h3>What I Actually Learned</h3><p>This 90-day journey taught me more than any certification ever could:</p><p><strong>Technical Skills:</strong></p><ul><li>Deep understanding of DNS (forward zones, reverse zones, SRV records, PTR records)</li><li>Authentication architectures (Kerberos, LDAP, FreeIPA realms)</li><li>Provisioning workflows (PXE, iPXE, cloud-init, image-based)</li><li>Configuration management with Puppet</li><li>Virtualization with KVM/libvirt</li><li>Policy-based access control with polkit</li></ul><p><strong>Soft Skills:</strong></p><ul><li>How to debug systematically (document everything, isolate variables)</li><li>When to start over (sometimes a fresh start is faster than fixing a broken setup)</li><li>How to read documentation effectively (including old docs, new docs, and bridging the gap)</li><li>Community matters (that Sunday morning libvirt link saved me days)</li><li>Time management when juggling multiple learning goals</li></ul><p><strong>Philosophy:</strong></p><ul><li>Perfect is the enemy of done</li><li>Every error is a lesson in disguise</li><li>Production environments are messy, and that’s okay</li><li>The best learning happens when things break</li></ul><h3>Where I Am Now</h3><p>I’m still working on this project. There are features I want to add, configurations to optimize, and undoubtedly more things that will break.</p><p>But I can confidently say I understand Linux system administration now — not from reading about it, but from living it. From staying up until 4 AM debugging DNS issues. From making mistakes and learning to recover from them.</p><p>My environment provisions VMs automatically. FreeIPA handles authentication. Puppet manages configurations. Pi-hole serves DNS. Foreman orchestrates everything.</p><p>It’s not perfect. Some servers run Fedora 36 while others run 41. There are workarounds and hacks scattered throughout. But it works, and I built it.</p><h3>Advice for Aspiring Sysadmins</h3><p>If you’re considering a similar journey:</p><p><strong>Start with the fundamentals:</strong> Networking, DNS, and SSH. If you don’t understand these, everything else will be exponentially harder.</p><p><strong>2</strong></p><p><strong>Document everything:</strong> Screenshots, commands, error messages. Future you will thank present you.</p><p><strong>3</strong></p><p><strong>Use version control:</strong> Even for config files. Being able to roll back is invaluable.</p><p><strong>4</strong></p><p><strong>Join communities:</strong> Reddit, Discord, forums. Someone has faced your exact problem before.</p><p><strong>5</strong></p><p><strong>Expect to fail:</strong> Your first setup will break. Your second might too. That’s normal.</p><p><strong>6</strong></p><p><strong>Time-box debugging:</strong> If you’ve been stuck for hours, take a break. Fresh eyes see solutions.</p><p><strong>7</strong></p><p><strong>Build projects, not just tutorials:</strong> Tutorials teach syntax. Projects teach systems thinking.</p><p><strong>8</strong></p><p><strong>Embrace the chaos:</strong> Real infrastructure is messy. Learn to work with imperfection.</p><h3>Final Thoughts</h3><p>Becoming a Linux system administrator isn’t about memorizing commands or passing certifications. It’s about developing a mindset, a way of thinking about systems, understanding how components interact, and knowing how to troubleshoot when (not if) things break.</p><p>This 90-day journey kicked my ass. But it also gave me confidence. When something breaks now, I don’t panic. I document, I test, I debug, and I fix it.</p><p>That’s what being a sysadmin really means.</p><p><em>Want to follow my continued journey? Connect with me on LinkedIn or follow my blog for more technical deep-dives and honest stories from the trenches of systems administration.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcd463e47af8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>