Efficient emojis with rofimoji

Emojis brighten up any message or document. They also serve as excellent methods for testing whether your application handles strings appropriately. (This can be a lot of fun.) 🤭 I constantly obsess with efficiency and shortening the time and effort required to get my work done. I noticed that I could type short text emoticons like :) and ;) so much faster than I could use emojis. This simply would not do....

2021-05-15 · 2 min · Major Hayden

Import RPM repository GPG keys from other keyservers temporarily

I’ve been working through some patches to OpenStack-Ansible lately to optimize how we configure yum repositories in our deployments. During that work, I ran into some issues where pgp.mit.edu was returning 500 errors for some requests to retrieve GPG keys. Ansible was returning this error: curl: (22) The requested URL returned error: 502 Proxy Error error: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x61E8806C: import read failed(2) How does the rpm command know which keyserver to use? Let’s use the --showrc argument to show how it is configured:...

2017-09-20 · 2 min · Major Hayden

virt-manager: ‘NoneType’ object has no attribute ‘cpus’

After upgrading my Fedora 20 Xen hypervisor to virt-manager 1.0.0, I noticed that I couldn’t open the console or VM details for any of my guests. Running virt-manager --debug gave me the following traceback: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/engine.py", line 803, in _show_vm_helper details = self._get_details_dialog(uri, uuid) File "/usr/share/virt-manager/virtManager/engine.py", line 760, in _get_details_dialog obj = vmmDetails(con.get_vm(uuid)) File "/usr/share/virt-manager/virtManager/details.py", line 530, in __init__ self.init_details() File "/usr/share/virt-manager/virtManager/details.py", line 990, in init_details for name in [c....

2014-03-06 · 1 min · Major Hayden

Keeping bwm-ng 0.6 functional on Fedora 19

If you run bwm-ng and you’ve run a yum upgrade lately on Fedora 19, you have probably seen this: ---> Package libstatgrab.x86_64 0:0.17-4.fc19 will be updated --> Processing Dependency: libstatgrab.so.6()(64bit) for package: bwm-ng-0.6-10.fc19.x86_64 --> Finished Dependency Resolution Error: Package: bwm-ng-0.6-10.fc19.x86_64 (@fedora) Requires: libstatgrab.so.6()(64bit) Removing: libstatgrab-0.17-4.fc19.x86_64 (@fedora) libstatgrab.so.6()(64bit) Updated By: libstatgrab-0.90-1.fc19.x86_64 (updates) ~libstatgrab.so.9()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest The error message mentions that libstatgrab needs to be updated to version 0....

2013-09-20 · 2 min · Major Hayden

Moving from OS X to Linux: Day One

The thought of using Linux as a manager in a highly Windows- and Mac-centric corporate environment isn’t something to be taken lightly. Integrating with Active Directory, wrangling email with Microsoft Exchange, and taming quirky Microsoft office documents can be a challenge even with a well-equipped Mac. I decided to make a change after using a Mac at Rackspace for six years. Let’s get one thing straight: I’m not a Windows or Mac basher....

2013-08-27 · 7 min · Major Hayden

drbd 8.4.3 package on the way for Fedora 19

There’s a drbd-8.4.3-1 package waiting in the testing repository for Fedora 19. The DRBD kernel module for kernel 3.10 is up to 8.4.3 but the client tools within Fedora 19 (currently at 8.4.2) should work fine. The API versions are the same for both the kernel modules and user tools. If you’re eager to see a changelog between 8.4.2 and 8.4.3, check DRBD’s git repository. The majority of the changes are within the kernel module itself....

2013-08-02 · 1 min · Major Hayden

A humble farewell to Seth Vidal

I was shocked to see Robyn Bergeron’s email today about Seth Vidal’s passing. He was the victim of a hit and run accident while he was cycling last night. The suspect has turned himself in as of tonight. I first met Seth at FUDCon Tempe back in 2011. We had talked off and on via email and IRC about cloud-related topics. He was interested in how we assembled our cloud offering at Rackspace and I was eager to talk to him about building cloud images and handling mirrors....

2013-07-10 · 2 min · Major Hayden

Automate CentOS 6 deployments with CIS Security Benchmarks already applied

A coworker heard me grumbling about Linux system administration standards and recommended that I review the CIS Security Benchmarks. After downloading the Red Hat Enterprise Linux 6 security benchmark PDF, I quickly started to see the value of the document. Some of the standards were the installation defaults, some were often forgotten settings, and some were completely brand new to me. Automating the standards can be a little treacherous simply due to the number of things to adjust and check....

2013-04-26 · 1 min · Major Hayden

New Fedora and EPEL package: httpry

A fellow Racker showed me httpry about five years ago and I’ve had in my toolbox as a handy way to watch HTTP traffic. I’d used some crazy tcpdump arguments and some bash one-liners to pull out the information I needed but I never could get the live look that I really wanted. Here’s an example of what httpry’s output looks like on a busy site like icanhazip.com: GET icanhazip....

2012-03-14 · 2 min · Major Hayden

Looking back at the long road to becoming a Red Hat Certified Architect

The grades came back last Friday and I’ve passed the last exam in the requirements to become a Red Hat Certified Architect (RHCA). I was fortunate enough to be part of Rackspace’s RHCA pilot program and we took our first exam back at the end of 2010. It’s definitely a good feeling to be finished and I’m definitely ready to give back some knowledge to the readers of this blog....

2012-02-13 · 10 min · Major Hayden