Install testing kernels in Fedora

If you’re on the latest Fedora release, you’re already running lots of modern packages. However, there are those times when you may want to help with testing efforts or try out a new feature in a newer package. Most of my systems have the updates-testing repository enabled in one way or another. This repository contains packages that package maintainers have submitted to become the next stable package in Fedora. For example, if there is a bug fix for nginx, the package maintainer submits the changes and publish a release....

2018-02-28 · 3 min · Major Hayden

Keep old kernels with yum and dnf

When you upgrade packages on Red Hat, CentOS and Fedora systems, the newer package replaces the older package. That means that files managed by RPM from the old package are removed and replaced with files from the newer package. There’s one exception here: kernel packages. Upgrading a kernel package with yum and dnf leaves the older kernel package on the system just in case you need it again. This is handy if the new kernel introduces a bug on your system or if you need to work through a compile of a custom kernel module....

2015-05-18 · 1 min · Major Hayden

Automatic package updates with dnf

With Fedora 22’s release date quickly approaching, it’s time to familiarize yourself with dnf. It’s especially important since clean installs of Fedora 22 won’t have yum. Almost all of the command line arguments are the same but automated updates are a little different. If you’re used to yum-updatesd, then you’ll want to look into dnf-automatic. Installation Getting the python code and systemd unit files for automated dnf updates is a quick process:...

2015-05-12 · 2 min · Major Hayden

Start Jenkins on Fedora 20

Installing Jenkins on Fedora 20 is quite easy thanks to the available Red Hat packages, but I ran into problems when I tried to start Jenkins. Here are the installation steps I followed: wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo rpm --import http://pkg.jenkins-ci.org/redhat/jenkins-ci.org.key yum -y install jenkins systemctl enable jenkins systemctl start jenkins Your first error will show up if Java isn’t installed. You can fix that by installing Java: yum -y install java-1....

2014-08-13 · 2 min · Major Hayden

Install Debian packages without starting daemons

My work at Rackspace has involved working with a bunch of Debian chroots lately. One problem I had was that daemons tried to start in the chroot as soon as I installed them. That created errors and made my ansible output look terrible. If you’d like to prevent daemons from starting after installing a package, just toss a few lines into /usr/sbin/policy-rc.d: cat > /usr/sbin/policy-rc.d << EOF #!/bin/sh echo "All runlevel operations denied by policy" >&2 exit 101 EOF Now, install any packages that you need and the daemons will remain stopped until you start them (or reboot the server)....

2014-06-26 · 2 min · Major Hayden

openssl heartbleed updates for Fedora 19 and 20

The openssl heartbleed bug has made the rounds today and there are two new testing builds or openssl out for Fedora 19 and 20: Fedora 19 Fedora 20 Both builds are making their way over into the updates-testingstable repository thanks to some quick testing and karma from the Fedora community. If the stable updates haven’t made it into your favorite mirror yet, you can live on the edge and grab the koji builds:...

2014-04-08 · 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

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

Installing the Xen hypervisor on Fedora 19

It’s been a little while since I last posted about installing Xen on Fedora, so I figured that Fedora 19’s beta release was as good a time as any to write a new post. To get started, you’ll need to get Fedora 19 installed on your favorite hardware (or virtual machine). Install the Xen hypervisor and tools. Also, ensure that both of the necessary daemons are running on each boot:...

2013-06-03 · 3 min · Major Hayden