Communicate from a rootless container to the host

Occasionally, I need to communicate from a podman container to its host, and I keep forgetting how to that. I know I can always google it, but from what had happened earlier today, having a short note to remind myself how this can be easily done is much preferable in my opinion. To communicate between the container and its host, we can just simply use host.containers.internal or host.docker.internal to refer to the host. ...

September 28, 2025 · 2 min · 272 words · kenno

How to Rename a ZFS Pool

I’ve been a happy ZFS user for years, appreciating its robustness and features. Yet, in all that time, I’d never had to rename a pool. That changed today. Whether it’s for better organization, a server migration, or just because you’ve had a change of heart about a name, renaming a ZFS pool is a task that might pop up when you least expect it. I needed to rename my pool from anime35 to anime36. I was pleasantly surprised to find the process is incredibly simple and elegant, which is what I’ve come to expect from ZFS. ...

July 30, 2025 · 2 min · 305 words · kenno

Removing a broken RPM package on Fedora

While I was performing an upgrade of Fedora 41 to 42 on my laptop, I noticed there was package installed since Fedora 38. This package, zfs-dkms-2.2.0-1.fc38.noarch, needed to be removed as it blocked this Fedora 42 upgrade. TL;DR - The solution is to use --noscripts option with rpm command. If you want to see how the zfs-dkms package removed, follow along. Here’s the info about the package: root@benjo:/etc/yum.repos.d# dnf info zfs-dkms Updating and loading repositories: Repositories loaded. Installed packages Name : zfs-dkms Epoch : 0 Version : 2.2.0 Release : 1.fc38 Architecture : noarch Installed size : 56.9 MiB Source : zfs-dkms-2.2.0-1.fc38.src.rpm From repository : zfs Summary : Kernel module(s) (dkms) URL : https://github.com/openzfs/zfs License : CDDL Description : This package contains the dkms ZFS kernel modules. Vendor : <NULL> Available packages Name : zfs-dkms Epoch : 0 Version : 2.3.2 Release : 1.fc41 Architecture : noarch Download size : 31.0 MiB Installed size : 58.6 MiB Source : zfs-dkms-2.3.2-1.fc41.src.rpm Repository : zfs Summary : Kernel module(s) (dkms) URL : https://github.com/openzfs/zfs License : CDDL Description : This package contains the dkms ZFS kernel modules. Vendor Let’s try to remove it normally: ...

May 6, 2025 · 2 min · 406 words · kenno

ArgoCD CLI failed to invoke grpc call

When running argocd CLI, the following warning message shown: ➜ argocd app list WARN[0000] Failed to invoke grpc call. Use flag --grpc-web in grpc calls. To avoid this warning message, use flag --grpc-web. NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET To suppress this warning message, re-run the login with --grpc-web option. For example: ➜ argocd login argocd.apps.tuaf.local.cluster --grpc-web Username: admin Password: 'admin:login' logged in successfully Context 'argocd.apps.tuaf.local.cluster' updated ➜ argocd app list NAME CLUSTER NAMESPACE PROJECT STATUS HEALTH SYNCPOLICY CONDITIONS REPO PATH TARGET Reference: ...

March 11, 2025 · 1 min · 97 words · kenno

How to revert a single file to its state in main in branch

I want to reset a file stored in a git repo to its state as the main branch, and I kept forgetting how to do this. So here is how, just to remind my future self. ➜ git status On branch main Your branch is up to date with 'origin/main'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) modified: kube-prometheus-stack-values.yaml no changes added to commit (use "git add" and/or "git commit -a") The above output shows that there is a modified file, kube-prometheus-stack-values.yaml that is not yet staged for commit. ...

February 28, 2025 · 1 min · 157 words · kenno