How to Generate SELinux Policy Manual Page

It seems that by default, SELinux policy manpage is not available. Here’s how to make it available. First install selinux-policy-devel package Then generate the man page by running: # sepolicy manpage -a -p /usr/share/man/man8<br/> -a : all domains -p : path to store the manpage (by default it’s /tmp) /usr/share/man/man8 – section 8 of manpage is for system admin command Create or update manual page index caches # mandb Benefit...

August 26, 2018 · 1 min · 80 words · kenno

Blacklisting Local Disk from Multipath

In my previous post, I wrote about my quest to identify a disk presented by the Dell server itself. At the end of the post, I mentioned that I should be able to resume with creating a LVM volume on the new disk. LVM stands for Logical Volume Management. There is a good tutorial available at this page if you’re interested in – How To Use LVM To Manage Storage Devices on Ubuntu 16....

January 28, 2018 · 3 min · 474 words · kenno

RHCSA&#8217;s Prep

At the end of last year, I took a training to prepare for Red Hat Certified System Administrator (RHCSA EX200) exam. Now it’s February and I haven’t taken the exam yet. Even worse, I forgot most of the things I learned during that 3 day training. Well, since I’m being chased to get this exam done ASAP, with a passing grade of course, I think now it’s the best time to start revising the material again....

February 19, 2017 · 1 min · 193 words · kenno

How to toggle between buffers in Vim with vim-airline

First if you haven’t yet heard about vim-airline plugin, and you’re a Vim user, you really owe it to yourself to check it out. By default vim-airline displays the opening buffers on the top part of the window. So how to navigate between those buffers? Well, according to this, it seems those buffers are for visual only. To navigate between them, we can use :bp for previous buffer, and :bn for next buffer....

January 29, 2017 · 1 min · 116 words · kenno

How extract 7zip file on Linux

This evening I need to extract a file with .7z extension. Guess what? I don’t know how to do that. I probably don’t even have 7zip program installed on my Fedora machine. Here’s something to remind myself how to get it working. First let’s find out what package we need to install: So, it seems we need to install p7zip. Okay. What is the command to run? My guess is that there should be one or two file in /usr/bin....

October 20, 2016 · 1 min · 155 words · kenno

Losing ZFS storage for Docker

I use ZFS as a storage driver for docker engine running on my machine. Today after my machine rebooted from a crash, yes Linux system crashes too, I notice that all my docker images and containers disappeared. First thing came to my mind was “did I accidentally destroy docker zfs data set last night?” It’s still there. At that point I suspected that Docker might no longer use ZFS as its data storage....

September 11, 2016 · 1 min · 196 words · kenno

Install Hack font on FreeBSD 10

FreeBSD 10 comes with a pkgng package manager which allows to install binary packages faster and easier. Unfortunately, there is no binary package available for hack-font for FreeBSD 10. What is hack-font? It’s a very good font which looks very good for source code. Here’s how to install it from source. Check /usr/ports/x11-fonts to see if there is a directory named hack-font. If not, you might need to download or update the ports first....

August 25, 2016 · 1 min · 127 words · kenno

Puppetserver failed to start after upgrading to 2.5.0

I upraded puppetserver from 2.4.0 to 2.5.0 on a server running Centos 6.8. Then, puppetserver no longer starts. The log (I think it was puppetsrver-daemon.log) said: As the error reported, /etc/puppetlabs/puppetserver/bootstrap.cfg was not there. The disappearance must have happened during the puppetserver upgrade. I can confirm this by looking at my backup directory and finding the boostrap.cfg file there: /srv/backup/etc/puppetlabs/puppetserver/bootstrap.cfg. According to this issue #1247, the boostrap.cfg file is broken into 2 files and relocated to a different directories....

August 15, 2016 · 1 min · 148 words · kenno

GDM Doesn&#8217;t Start on Fedora 23 Beta and VirtualBox

I just finished upgrading Fedora 22 to Fedora 23 Beta and upon rebooting, gdm no longer started. I tried to reinstall the VirtualBox Guest Additions; unfortunately it still didn’t fix. To cut the story short, someone has given a working tip at this forum. The solution is to downgrade xorg-x11-server-Xorg package. After rebooting, I was able to login again. Credit: http://forums.fedoraforum.org/showthread.php?t=306857

October 27, 2015 · 1 min · 61 words · kenno

Kinetis Design Studio crashes on Kubuntu 14.04

On Kubuntu 14.04, Kinetis Design Studio (KDS) could be started, but when I tried to create a new project, it’d crash with the following message displayed in the terminal: KDS is a Eclipse-based IDE. So I suspect the issue is related to Eclipse IDE itself. (I can’t confirm this as I’m not running the Eclipse IDE on this machine. I know I could have just downloaded and test it; but I don’t have time....

August 3, 2015 · 2 min · 263 words · kenno