tftp part 3 – replacing xinetd with systemd

Part 1 – running tftp server non root (xinetd) Part 2 – the tftp client requires firewalld changes as well Part 3 – replacing xinetd with systemd (this blog post) Oooh, nice one systemd. During my investigation in Part 1, I tried to eliminate xinetd as the reason for the misbehaviour. I started up the […]

tftp part 2 – the tftp client requires a firewalld as well

Part 1 – running tftp server non root (xinetd) Part 2 – the tftp client requires firewalld changes as well (this blog post) Part 3 – replacing xinetd with systemd   firewalld change on TFTP clients The rest of this blog post will elaborate on what happens if you don’t do this. The quick bit […]

tftp part 1 – running it as non-root

I was trying to get the components of my PXE build server working; ie: http and tftp. xinetd and tftpd installed on Centos 7 (on a pi.) tftp client installed on Centos 7. Both with firewalld and selinux enforcing. I stumbled over a few things in the process, and have reposted that information in three […]

finding bugs in Redhat Bugzilla

I’ve not used RH Bugzilla much, and want to learn from my limited exposure to save time later. That’s what this post is for: it will be updated and change in the future. Searching for existing bugs You’re looking for a recent bug; such as a misbehaviour in a package you’ve just upgraded to. Use […]

modifying systemd unit files

This is mainly for my reference, and will get updated from time to time. More systemd stuff via the systemd tag. Introduction On systems with init.d start scripts, if it was necessary to modify a boot script, updating the package would back out the change. Systemd provides a number of ways to change the behaviour […]

kvm: libvirt-guests and machined

Two main things covered off in this post: Getting libvirt-guests to work correctly, and machined/machinectl libvirt-guests This is configured via /etc/sysconfig/libvirt-guests and there’s a systemd service to enable: libvirt-guests.service Enabling it allows you to configure how guests start and stop with more flexibility. Some features libvirt-guests provides: On host shutdown, suspend the guests or shut […]

building or appending to an array using a lambda in Puppet

Tripped over a challenge shifting KVM guest definitions into hiera. I’m using the cirrax/libvirt module which offers up this way to define a guest.  (I’ve modified the example in the module documentation.) libvirt::domain { ‘my-domain’: max_memory => ‘2000’, cpus => 2, boot => ‘hd’, disks => [{‘type’ => ‘file’, ‘device’ => ‘disk’, ‘source’ => {‘dev’ […]

puppetising kvm on centos7

Yak shaving I found out about a bunch of stuff today, including the now 19-year-old term yak shaving. Clearer examples out there such as here, here and here. I was trying to roll creation of KVM virtual machines into Puppet (that is, bring my existing use of KVM at home under management) and in unpicking […]

AWOL Linux LVM volume group and physical volume

TL;DR Looks like there maybe a bug in lvm2-2.02.180-10.el7_6.3. Will raise a ticket for it with Centos. Update 2019-02-23 Ticket raised with Centos. Having tried to reproduce it on another machine, it takes more than just upgrading the package – as one would expect. No idea what the other variables might be. Update 2019-04-22 I […]

java – troubleshooting SSL/TLS truststores

Troubleshooting TLS issues involving a Java app can be difficult if the division of responsibility means that responsibility for the certs and truststores is not vested in a team with any Java skill.  This post is aimed at someone, like me, in that situation. SSLPoke Atlassian (JIRA/Confluence/Bitbucket) provide a simple program that does about as […]