Tmux - Open Terminal Failed Can't Find Terminfo Database

Apart from being an aparent Linux user, I’m also a fan of FreeBSD. A few years ago I challenged myself to perform all work related tasks on a FreeBSD machine for 6 months. It turned out that FreeBSD’s been working out quite well as a general usage work desktop. Today, I’d like to share a quick solution to a small annoying issue that may or may not affect you when you’re using FreeBSD. Basically, when I ssh from my Linux machine, which uses Alacritty terminal, to the remote FreeBSD machine at work I am not able to resume my tmux session. ...

October 15, 2020 · 2 min · 267 words · kenno

Cleaning Up Systemd Journal Logs

“Bad boys, whatcha want. Watcha want, whatcha gonna do when the root is full?” Actually, what are you gonna do when the journald taking up lots of space? For example, during the operating system upgrade on my desktop, the free space on / is not sufficient. Error Summary ------------- Disk Requirements: At least 5643MB more space needed on the / filesystem. So, I check how much space the systemd-journald log was consuming: ...

October 10, 2020 · 1 min · 142 words · Kenno

Dell Latitude 7400 System BIOS 1.10.1

Just found out that Dell just released the a new firmware, 1.10.1, for the Latitude 7400 series. This firmeware was released since 10 Sep 2020. Fixes: Firmware updates to address the Intel Technical Advisory INTEL-TA-00404 (CVE-2020-8758). Fixed the issue where an error message stating Key Mapping for Console Redirection BIOS is displayed before the Dell logo screen, Enhancements: Updated the Embedded Controller Engine firmware. I’m running Fedora 32 on this laptop. To update the firmeware, just execute fwupdmgr update. ...

October 1, 2020 · 2 min · 230 words · kenno

Automating Home Directory With IPA

Nothing excites me than being able to solve a problem on Linux just before bed time. Well, there could be other things, but I couldn’t think of any right now. Right now, I’m preparing for my next exam - Red Hat Certified Specialist in Identity Management (EX362), and one of the topics is about setting up automated home directory using IdM (or IPA). I tried to follow the course material, but I had troubles getting it working. ...

September 24, 2020 · 7 min · 1291 words · kenno

Replacing a Disk in a Zpool

ZFS is one of my favorite file systems. I use it at home on my nas server (running FreeBSD) as well as my Fedora 32 desktop. Today, I’m going to show you (and my future self) how to replace a (faulty) disk in a Zpool. The server I’ll be working on is nas2 and the pool is tank. List the status of the current pool. Password: root@nas2:~ # zpool status tank pool: tank state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: resilvered 472K in 0 days 00:00:02 with 0 errors on Sun Aug 23 16:17:21 2020 config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror-0 DEGRADED 0 0 0 diskid/DISK-Z4Z46MXG ONLINE 0 0 0 620907994788427922 UNAVAIL 0 0 0 was /dev/diskid/DISK-Z1E4ZCM2 mirror-1 ONLINE 0 0 0 diskid/DISK-Z1E5PFCH ONLINE 0 0 0 diskid/DISK-Z4Z46XQP ONLINE 0 0 0 errors: No known data errors From the above output, we can see that one of the disk in mirro-0 vdev was missing. (In fact, it has been removed prior to the system rebooted. I also inserted a new disk to the system.) ...

September 20, 2020 · 3 min · 445 words · kenno