wiping disks

One of the GNU core utilities is the shred command. On both Ubuntu and RHEL/Centos it comes in the coreutils package, and even on a minimal install, I suspect you can count on it being there. # fdisk -l /dev/sda | head -1 Disk /dev/sda: 6 GiB, 6448619520 bytes, 12594960 sectors # shred –iterations=0 –zero […]

fun with ruby in containers

This is related to the various posts tagged gitlab-runner. I got puppet linting, syntax checking etc. is working via the GitLab runner shell executor, and the next step was to move it into containers. There be dragons, and they didn’t google very well, so here goes. I’m using a Red Hat UBI Ruby 2.5 container […]

gitlab ci for puppet control-repo – a test suite

There’s lots of content already out there about puppet CI testing; this is what I initially came up with using GitLab CI, and with various other improvements such blogged about previously in posts tagged gitlab-runner such as: Separate rake files. A lot of examples I found had very long complicated rake files to define different […]

using Red Hat Universal Base Images

Announced Redhat Summit 2019, distribution of containers based on RHEL using their universal base image is now a thing. So, let us say you want to do some container stuff at home and use UBIs? Registering and using a service account Sources redhat developers blog. redhat blog. ubi. Sort yourself out with a Redhat login:  […]

gitlab omnibus 11.10.3 – gitaly not starting

tl;dr The logs lead me to realise gitaly was having issues.  This serves up the repositories to the rest of the gitlab installation. The only bits of gitaly running were this: ├─3670 runsv gitaly ├─3691 /opt/gitlab/embedded/bin/gitaly-wrapper /opt/gitlab/embedded/bin/gitaly /var/opt/gitlab/gitaly/config.toml └─9405 svlogd -tt /var/log/gitlab/gitaly These were failing to stop via gitlab-ctl stop It should have a gitaly […]

gitlab runners and ci – getting started

intro Before trying to use GitLab runner (shell) in anger, I wanted to peek under the hood – it’ll make things easier later. I’ll stash more information here if it looks useful. Docs: built in docs at gitlab.example.com/help/ci/quick_start/README https://docs.gitlab.com/ee/ci/ One of a number of posts on GitLab CI, see the gitlab-runner tag. .gitlab-ci.yml This is […]

randomness on raspberry pi

The Pi has a hardware random number generator. Source. Hat tip. This is running Centos 7. It presents as /dev/hwrng. yum install rng-tools systemctl enable rngd systemctl start rngd # rngd -l Entropy sources that are available but disabled 1: TPM RNG Device 4: NIST Network Entropy Beacon Oh. It’s running as a daemon on […]

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 […]