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

Upgrading my nas from FreeBSD 11.1-RELEASE to 11.2-RELEASE

FreeBSD 11.2-RELEASE was released a few days ago. This means it’s time to upgrade the FreeBSD running on my nas. For the most part, this was all what I did: After it’s been upgraded, I also need to update the Zpool. Let’s upgrade the zpool as suggested: Next is to update the boot code. If for whatever reason you’re following this step to update zpool (zroot) on your FreeBSD, make sure you know what is your boot disk is....

June 30, 2018 · 1 min · 113 words · kenno

Make Github code viewer more pleasant on Firefox on FreeBSD

Ever since I have FreeBSD 12 installed on a spare laptop, I notice that this is the most frequently used portable machine at home. (Of course, I still use my main desktop, which runs Fedoda 27, for everything.) I think one of the main reasons is that I like the experiences when I started using Linux years ago – not everything works out of the box, and sometimes I’m forced to learn and understand better about an issue before it can be fixed....

April 22, 2018 · 2 min · 304 words · kenno

How to extend ZFS partition

I have a FreeBSD server which used to run of a smaller SSD drive. When replaced with a larger capacity SSD by using dd command to clone the disk, there is free space allocated. I want to extend the existing zroot pool to use this space. The following describes how I achieve this with the help of a forum post. Let’s list some information about the zroot pool: root@nas:~ # zfs list zroot NAME USED AVAIL REFER MOUNTPOINT zroot 4....

March 11, 2018 · 2 min · 302 words · kenno

FreeBSD 12 : Can't update packages size mismatch

It’s another night with another FreeBSD problem. Well, I could just use Linux like Ubuntu or Void, but then things would just work. Where is the fun? 😉 So, I’ve been having problem with upgrading or installing new binary packages on a machine running FreeBSD 12.0 for a few days now. root@vansota:~ # pkg upgrade Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date....

February 15, 2018 · 4 min · 727 words · kenno