Your SlideShare is downloading. ×
Distro Recipes 2013: Retrofitting Init: systemd migration in Mageia
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Distro Recipes 2013: Retrofitting Init: systemd migration in Mageia

490
views

Published on

Published in: Business, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
490
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Mageia: systemd Colin Guthrie Mageia Contributor Mageia Contributor
  • 2. A little about... ...Me!!!
  • 3. What is Mageia: Background● Mandriva●● Good, strong user community●● Commercial problems●● Mageia●● Community focused, non-commercial●● Most of the original community●● Encourage commercial usage●
  • 4. How Things Work● Council●● Various groups●● Regular meetings●● Try to be inclusive in terms of packages, but● mindful of resources● Ultimately... it’s a “Meritocracy”● – – Those who do, decide Those who do, decide
  • 5. Pushing Changes● Each cycle we propose changes●● General review + vote●● Then the fun begins!● – – Usually the week before freeze! Usually the week before freeze!
  • 6. Boot + Init● Previously used sysvinit●● Various experiments and toe-dipping to speed● up boot performance● More parallelisation●● Start X11 early to improve perceived boot time●● Early systemd packaged as an option●
  • 7. Why systemd?● See other talks!!●● Sysadmin●● Clear up the mess of sysvinit/inittab/boiler-plate●● Stateful tracking of services●● Automatic restart on failure●● Better tracking of service processes (cgroups)●● Socket activation●
  • 8. Mageia 2: systemd by default?● Proposal to use systemd as default init●● Proposal accepted o/●● systemd (v44) is the default init in Mageia 2●● sysvinit still supported as an option●
  • 9. Issues Encountered● Various technical issues encountered● – – Packaging helpers Packaging helpers – – Migrating service state on upgrade Migrating service state – – Forcing conversion to systemd on upgrade Forcing conversion to systemd on upgrade – – Ordering cycles and LSB headers Ordering cycles headers – – Nothing too troubling! Nothing too troubling!
  • 10. More Issues Encountered● GUI Utilities and Installer● – – Mageia (and Mandriva before) offer a “services” Mageia (and Mandriva before) offer a “services” GUI application during install and for administrators GUI application and for administrators post install post install – – Had to be converted to systemd but also support Had to be converted to systemd but also support sysvinit sysvinit – – Combination of “systemctl list-units”, “systemctl list- Combination of “systemctl list-units”, “systemctl list- unit-files” and “chkconfig --list” unit-files” and “chkconfig --list”
  • 11. Knock on Dependencies● LVM + Device Enumeration● – – udev metadata more important udev metadata more important – – mkinitrd does not use udev /o mkinitrd does not use udev /o – – Solution? Use dracut o/ Solution? Use dracut o/ – – Mageia 2 only supported systemd+dracut Mageia 2 only supported systemd+dracut – – mkinitrd+sysvinit still officially supported mkinitrd+sysvinit still officially supported
  • 12. Non-Technical Issues?● Some minor FUD, but nothing significant●● Overall, due to our QA team there were very● few post-release complaints or problems● Hard to judge accurately but ~90%+ users use● systemd
  • 13. Upstream + X-Distro Engagement● Good relationship upstream●● Several fixes pushed upstream●● Helped upstream QA●● Very encouraging relationships with other● distros● Nice to see small differences disappearing●
  • 14. What’s Next for Mageia?● Mageia 3● – – Drop support for sysvinit + mkinitrd Drop support for sysvinit mkinitrd – – Implement the /usr move Implement the /usr move – – More disciplined packaging More disciplined packaging ● ● No udev rules in /etc No udev rules in /etc ● ● No tmpfiles configs in /etc No tmpfiles configs in /etc
  • 15. What’s Next for Mageia?● Mageia 4● – – Tidy up packaging rules Tidy up packaging rules ● ● No referencing of /bin, /sbin and /lib[64] in packaged files No referencing of /bin, /sbin and /lib[64] in packaged files – – Switch to Predictable Network Interface Names Switch to Predictable Network Interface Names – – Attempt to reduce packaging variations Attempt to reduce packaging variations ● ● Enabling/Restarting package on install/upgrade Enabling/Restarting package on install/upgrade ● ● Adopt Package Presets Adopt Package Presets – – Change how X (or $DISPLAYSERVER) starts Change how X (or $DISPLAYSERVER) starts
  • 16. What’s Next For Distributions? ????