Latest bash on Catalina with MacPorts

Install XCode via the App Store.

Install XCode command-line tools:

xcode-select --install

Change your shell from zsh to the ancient version of bash that Apple supplies:

chsh -s /bin/bash

Install MacPorts.

Open a new terminal window, which will now have MacPorts paths in $PATH.

Install latest bash with MacPorts:

sudo port install bash

Add the new bash as a valid shell:

sudo vi /etc/shells

Topic: 

Solved: Sensu won't start after upgrade to 0.23.2-2

After upgrading to Sensu 0.23.2-2 on RHEL 6.8 the Sensu server would not start. The logs looked like this:

Topic: 

Sensu config.json cannot be left blank

/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-settings-3.4.0/lib/sensu/settings/loader.rb:292:in `deep_merge': undefined method `each' for nil:NilClass (NoMethodError)
from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-settings-3.4.0/lib/sensu/settings/loader.rb:96:in `load_file'
from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-settings-3.4.0/lib/sensu/settings.rb:17:in `load'
from /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-settings-3.4.0/lib/sensu/settings.rb:38:in `get'

Topic: 

Solved: postfix lost connection after EHLO on RHEL7

I needed to get some software from a lab that only distributes the software as .zip attachments by email. Let's ignore the wisdom of choosing that distribution method in 2016 (nowadays most mail setups strip out zipped attachments) and instead focus on the problem at hand.

I set up a local account on a RHEL7 server running Postfix. When the message was sent to me, this is what appeared in the logs:

Pages

Subscribe to SysArchitects RSS