systemd 231 in Centos 7 thx to Facebook
What is it about?
So Centos7 currently has systemd version 219 installed which was released on 2015-02-16 (see NEWS).
This is a huge problem, as we miss a lot of very important functions related to journald, networkd, machinectl, systemd-nspawn and so on.
Porting latest systemd versions to Centos is a daunting task. It's possible, but it takes time. And during latest systemd conference guys from Facebook Engineering told us, that they actually did it. Marcin asked them if they're gonna share it and Davide replied, that it should be easy and will think about it.
And they did. Yesterday.
On Facebook Incubator project on Github you'll find rpm - backports
And there's also a COPR repo shared by a Red-Hatter Jan Synacek.
Having those both you may install systemd 231 on your Centos7.
It's not currently meant to be running as production and also doesn't provide SELinux policies / contexts. But.. it works. And it works on FB scale :)
Quick howto
(it's copy&paste from Jan's COPR installation instructions , so make sure it's up to date:
Make sure to edit /etc/selinux/config and put SELinux to permissive before you update, otherwise your system will not boot anymore!
# wget https://copr.fedorainfracloud.org/coprs/jsynacek/systemd-backports-for-centos-7/repo/epel-7/jsynacek-systemd-backports-for-centos-7-epel-7.repo -O /etc/yum.repos.d/jsynacek-systemd-centos-7.repo
# yum update systemd
Short story longer
And special thanks to Marcin Sawicki for catching my tweet and moving things forward <3
Guys - thank you a lot for this!
Wow:https://t.co/Nh1yoxlGIG now just waiting till @fb_engineering share theirs #systemd #Fedora port to #centos mentioned on @systemdconf <3
— Maciek Lasyk (@docent_net) December 6, 2016
@docent_net was it Davide announcing that? I can ping him tmorrow at the office ;)
— Marcin Sawicki (@odcinek) December 15, 2016
@odcinek @marcinskarbek do you remember? If not I'll search it in the videos.
— Maciek Lasyk (@docent_net) December 15, 2016
@docent_net @odcinek no, not announced. It was only an answer about possibility of releasing when we asked about this.
— Marcin Skarbek (@marcinskarbek) December 15, 2016
@marcinskarbek @odcinek 'mentioned' -> 'announced' -> 'published'; can we agree on that? :D
— Maciek Lasyk (@docent_net) December 15, 2016
@docent_net @odcinek pic.twitter.com/7q1ZAXnSj7
— Marcin Skarbek (@marcinskarbek) December 15, 2016
@marcinskarbek @odcinek This is part of presentation/Q&A where systemd port was mentioned: https://t.co/NziIK41PYE but have to dig where
— Maciek Lasyk (@docent_net) December 15, 2016
@marcinskarbek @odcinek Davide actually told that FB will share it. My memory tells me it was somewhere inside the presentation, not Q&A
— Maciek Lasyk (@docent_net) December 15, 2016
@docent_net @odcinek ok, I found it: https://t.co/gMMSqbp8vk
— Marcin Skarbek (@marcinskarbek) December 15, 2016
@marcinskarbek @odcinek great, so now fingers crossed :)
— Maciek Lasyk (@docent_net) December 15, 2016
@docent_net @marcinskarbek tada! https://t.co/yvMtY4zJSM
— Marcin Sawicki (@odcinek) December 15, 2016
@odcinek @docent_net @marcinskarbek And the copr repo from RH of these packages for CentOS 7: https://t.co/F7EmQhxOZU
— PhilD (@ThePhilD) December 15, 2016
@ThePhilD @odcinek @marcinskarbek sweet, many thanks! Next question was about #SELinux, but I see it's like work in progress ;) Thanks!
— Maciek Lasyk (@docent_net) December 15, 2016
@docent_net @ThePhilD @marcinskarbek pic.twitter.com/vLALC4IUZT
— Marcin Sawicki (@odcinek) December 15, 2016
@odcinek @ThePhilD @marcinskarbek booring :p
— Maciek Lasyk (@docent_net) December 15, 2016