FreeBSD upgrade pool zroot

Today I successfully upgraded my FreeBSD home nas server from 10.3 to 11.0. This is the final release of version 11.0, though the official announcement is expected to be made on September 28. After the system upgrade, I need to also upgrade the 2 zpools (tank and zroot) so they can have new features. Upgrading tank was easy, all I needed to do was running this command: # zpool upgrade tank This system supports ZFS pool feature flags....

September 27, 2016 · 2 min · 283 words · kenno

Perl IO::Socket::INET6::sockaddr_in6 redefined error

Yesterday I installed spamassassin package on a server running RHEL 6.8. Then this morning, I received an email alert with the following message: This seems to be a bug exists in an old version of IO::Socket::INET6. Upgrading this package should fix the problem: Ref: http://stackoverflow.com/questions/23909848/perl-iosocketinet6sockaddr-in6-redefined-error

September 14, 2016 · 1 min · 45 words · kenno

Warning: Use of "localtime" without parentheses is ambiguous

While looking at the log produced by Request Tracker (RT) 4.2.12, I noticed there was a warning message about using “localtime” without parentheses. Here’s the actual error message: [warning]: Warning: Use of "localtime" without parentheses is ambiguous at /opt/rt4/sbin/../lib/RT/Interface/Email.pm line 526. The solution which I found from here, fixed the problem: On line 526 of file /opt/rt4/sbin/../lib/RT/Interface/Email.pm, replace: localtime with localtime(). Thanks to the chap who posted the solution.

September 14, 2016 · 1 min · 69 words · kenno

Make Gnome Title Bar Small Again

Sometimes in life, greater is not always better. Here’s a config which I used to make the Gnome 3 title bar smaller. Create a file in ~/.config/gtk-3.0/gtk.css: headerbar.default-decoration { padding-top: 3px; padding-bottom: 3px; min-height: 0px; font-size: 0.7em; } headerbar.default-decoration button.titlebutton { padding: 0px; min-height: 0px; } Here’s how the title bar looks like before and after applying the custom css file: Here’s a smaller title bar: All credits go to the folks from these links:...

September 2, 2016 · 1 min · 77 words · kenno

How to remove a user password

Sure, you Linux gurus must be laughing at me to see this post. However, this is my 2nd time needing to remove a user’s password and I had to Google for it! So here is just a quick tip to mind your truly: In case you’re wondering why I need to remove a password for an account, it’s for my 4 year old daughter who enjoys playing supertuxcart. She wants to have her own user account on a Fedora 24 box without a password....

August 7, 2016 · 1 min · 86 words · kenno