Menu

Tag: rhel

Migrating Redmine from system Ruby to RVM on CentOS

Redmine 4 is knocking on the door, and it’s going to drop support for anything below 2.2.2. Unfortunately, EL 7 only has 2.0.0, so you either wait until EL 8 releases and hope it comes with 2.2.2+, or you migrate from the packaged Ruby to something else. I’m picking RVM, because reasons. If you use […]

Migrating your /home to Btrfs

There may be several reasons to switch to Btrfs, for me personally it’s because my KF2 server is eating up too much space, and Btrfs supports both compression and deduplication. Neither ext4 nor XFS have these so on CentOS I have no other option than Btrfs. Beware, RH deprecated it, so the 8.x series won’t […]

Silent SELinux denies on CentOS

You do something, and it won’t work. In this example it’s Tomcat trying to delete a file. You already wrote an SELinux module to allow reads, but now you need to delete as well. So then you resort to the audit logs again. But there’s nothing in there. Then you put the tomcat_t domain under […]

Creating UEFI USB media for RHEL

For UEFI all you need is the installer files and the boot loader stuff under the /efi folder, right? Well, RHEL doesn’t seem to like it that way. [ 204.910407] localhost dracut-initqueue[1127]: Warning: dracut-initqueue timeout – starting timeout scripts [ 205.429544] localhost dracut-initqueue[1127]: Warning: dracut-initqueue timeout – starting timeout scripts [ 205.948248] localhost dracut-initqueue[1127]: Warning: […]

SELinux woes with Tomcat on CentOS 7.4

Preamble After the SELinux Crash Course it’s time to put that knowledge to good use. Keep that article open coz I’ll reference it continuously. If you haven’t read that one yet, make sure you do before proceeding here. It’s totally to-the-point, I promise. So anyway, even though the RHEL 7.4 release notes still fail to […]

SELinux Crash Course

Let’s start by stating I’m by no means an SELinux expert, but after the CentOS 7.4 upgrade hurdle I sure am more informed than I was with 7.3. So SELinux is a security mechanism that has a bunch of policies to allow stuff to happen. Anything not included in those policies will be blocked from […]

Fixing the EFI bootloader on CentOS 7

I’m told that Grub has been rebuilt and Shim has been re-signed with 7.4 so that might be the cause, but to me this is what a new VM looks like after being copied from the template disk: For the googlers: Failed to open \EFI\BOOT\grubx64.efi – Not Found Failed to load image \EFI\BOOT\grubx64.efi: Not Found […]