Fix: VirtualBox installation fails on macOS High Sierra 10.13.4

Just a quick note to remind myself how I fixed the problem installing VirtualBox 5.2.10 on a Mac laptop running 10.13.4. The installation seemed to go well until it reached the end and reported failing to install. I’ve had this issues for a few weeks already and Google for solution seems to have hit and missed until today. I finally found a solution posted here: https://github.com/docksal/docksal/issues/417. Basically, I need to go the System Preferences and tick the box to allow ‘System software from developer “Oracle America, Inc.” was block from loading’.

May 8, 2018 · 1 min · 91 words · kenno

Ansible 2.5.0 { "changed": false, "cmd": "None -s system-product-name", "msg": "[Errno 2] No such file or directory

I just updated Ansible to version 2.5.0 tonight, and I came across this issue when I tried to run a playbook for an Ubuntu 16.04 machine: PLAY [Ansible Playbook for configuring odroid.***.com] *************************************************************************************** TASK [Gathering Facts] ***************************************************************************************************************************** fatal: [odroid.***.com]: FAILED! => {"changed": false, "cmd": "None -s system-product-name", "msg": "[Errno 2] No such file or directory: 'None'", "rc": 2} According to the issue #37911, the remote system doesn’t have the dmidecode package installed. This is true in my case, and it can be verified as the following: ...

March 31, 2018 · 1 min · 150 words · kenno

Automount External Drive on OS X

At work, we want to backup an external disk that’s connected to the Mac machine using rsnapshot. In order to do that, the external drive needs to be mounted, and this happens when a user logs in to the Mac. The problem is that when nobody logs in, the external drive is not mounted and rsnapshot will fail. The fix should be easy if there is away to mount the external drive without a user logs in. It turns out that on OS X (tested on High Sierra) we can set a flag to have the external drives get mounted when the Mac boots up. ...

March 22, 2018 · 1 min · 162 words · kenno

How to change FreeBSD Firefox user agent

This laptop runs FreeBSD 12.0 current. The version of the installed Firefox is 59, which is pretty new isn’t it? Well, that’s not new or good enough to browse outlook.office365.com email. What happened is that, the Outlook web based email would just automatically switch to class Outlook web access. This problem is not unique to Outlook email, even some work related websites refuse to load correctly on Firefox running FreeBSD. ...

March 13, 2018 · 1 min · 188 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. Checking for upgrades (13 candidates): 100% Processing candidates (13 candidates): 100% The following 6 package(s) will be affected (of 0 checked): New packages to be INSTALLED: p5-Locale-gettext: 1.07 Installed packages to be REINSTALLED: xorg-server-1.18.4_6,1 (needed shared library changed) xf86-input-synaptics-1.9.0 (options changed) texinfo-6.5,1 (options changed) m4-1.4.18,1 (options changed) help2man-1.47.5 (options changed) Number of packages to be installed: 1 Number of packages to be reinstalled: 5 The process will require 2 MiB more space. 3 MiB to be downloaded. Proceed with this action? [y/N]: y [1/6] Fetching xorg-server-1.18.4_6,1.txz: 100% 1 MiB 184.0kB/s 00:08 pkg: cached package xorg-server-1.18.4_6,1: size mismatch, fetching from remote [2/6] Fetching xorg-server-1.18.4_6,1.txz: 18% 272 KiB 180.2kB/s 00:08 ETA First I’d thought it was just some FreeBSD mirrors were out of sync of each others. This happens quite frequently with Ubuntu mirrors. Usually, we give it a bit of time and the problem will fix itself. ...

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