cron.weekly issue #30: systemd, GitLab, Jenkins, Ansible, Nix, Atop and many more!May 29, 2016 - Mattias Geniar
Welcome to cron.weekly issue #30 for Sunday, May 29th, 2016.
There’s some systemd drama, a lot of tutorials and guides and a couple of interesting new project releases. All in all, it’s been a good week for open source.
If you have any feedback – both good or bad – let me know, I’m always looking for ideas to improve the newsletter.
A lawsuit that lasted for over 6 years and eventually ruled in favour of Google: the use of the Java API’s in the Android OS is considered ‘fair use’. This could be a precedent for future cases where intellectual property is discussed.
This is one is bound to get a lot of attention: the newest systemd released was tagged as v230 and next to a lot of stability improvements, it also has a big change: systemd-logind will now by default terminate user processes […] when the user
logs out. There’s already a Debian bugreport. The commit can be found here.
It’ll still take 3 years before Python 2.7 is end of life, but this new site has a big countdown and some links to make sure you migrate to Python 3 in time.
Tools & Projects
A while new user interface for Jenkins is being made codenamed ‘Blue Ocean’. A radical rethinking of visualising the data flow within a Jenkins pipeline – it looks like a very big improvement, too!
The latest release of GitLab, the self-hosted git repository like Github or Bitbucket, also has a container registry now: this means it’s much easier to have containers be created as a result of a git commit and be registered in the container registry for use.
This release of Ansible mostly focusses on network automation with support for Cisco, Juniper, Arista, … Other noteworthy items are better Docker support, Windows support is out of beta and Azure Cloud automation is now possible with Ansible.
The 2 biggest features in this new webmail release are: support for PGP encryption and support for PHP 7.
Mattermost is an open source, self-hosted Slack-alternative and the 3.0 release offers some goodies: multi-team accounts, iOS/Android app updates, full width views and Ruby API’s.
Guides & Tutorials
A nice overview of the benefits of ‘atop’ vs ‘top’ for performance analysis. Its biggest benefit is that it runs as a daemon, collecting system metrics for you to review later.
A brief introduction to lightweight, portable, flexible Docker containers and why developers love them.
A really nice read if you have a Puppet master running: lots of in-depth info on configuration parameters, getting metrics, different limits in Puppet master and quite a bit of Ruby debugging at work.
Nix is a rather new but interesting package manager, which provides atomic upgrades and rollbacks, side-by-side installation of multiple versions of a package, multi-user package management and easy setup of build environments. This post describes how to use Nix as a package manager on your OS.
MongoDB 3.2 revamped its election protocol for increased stability, in this blogpost, the Percona team reviews MongoDB 3.2 elections and how they work, as well as what is really new and different in the election protocol.
I love security write-ups like these: this post explains how to abuse the Xen vulnerability XSA-105 to get a root account from a non-privileged user on a Xen guest VM.
This post introduces the concepts of ZFS and a lot of practical commands to use ZFS at the command line. The main goal is to use the snapshots and repositories in ZFS to create versioned data-points that you can fallback to, much like a git commit.
This is a very practical post on how to migrate a PostgreSQL server from one machine to another. The post describes it as “from AWS”, but it applies to all kinds of PostgreSQL installations.
A good step-by-step guide that explains the SPEC files and how to go and create your own RPM files.
You know those 2 factor authentication apps that generate a random number every 10 seconds to authenticate you with? Well, this guy hooked it up to its SSH port: the SSH port changes every couple of seconds, and a 2FA app tells him which port to use.
If you’ve ever set up a reverse tunnel in SSH, you know the manpages aren’t too clear on this. This post has a nice diagram that shows how reverse tunnels work and how the CLI arguments should be used.
This conference takes place on August 23rd and 24th in Amsterdam, Netherlands. It revolves around PHP and Laravel (a popular PHP framework). I’ll be giving a talk on Varnish for PHP developers. If you’re there, come say hi!