Friday, June 10, 2011

The road to systemd for openSUSE 12.1

Hi all,

img_2326

systemd is coming for next openSUSE (12.1) scheduled next fall.

I'll help for systemd integration in openSUSE Factory and will act as an interface between you (openSUSE testers, packagers, developers) and systemd upstream.

As you might guess, switching boot manager is not a trivial task and issues will be found. So, we want to have as much feedback and testing as possible, to try to tackle as much (if not all) issues in time for 12.1.

Here is our action plan, in several phases:

  • phase 1: detecting current issues with systemd. Install systemd package and "manually" boot with it, by adding "init=/bin/systemd" at you kernel boot command line. In this setup, we want to find ALL the issues caused by switching to systemd, so please, check systemd on Factory status page and follow the instructions there to fill bug reports. We also want to ensure there is no regression, when using legacy sysvinit initscripts with systemd as boot manager.
  • phase 2: systemd-sysvinit package installed by default and replace sysvinit.
  • phase 3: providing systemd unit files to replace legacy sysvinit initscripts: this is a huge task which won't be completed before openSUSE 12.1, but it can be parallelized among a lot of people (ideally, each packager should be able to create unit systemd file). And we should also split this effort in manageable milestones :
    • phase 3.1: GNOME and KDE live CDs should only use "native" systemd, without any sysvinit involved
    • phase 3.2: installed system using GNOME and KDE live CDs be a "native" systemd (this involves testing additional paths in live installer)
    • phase 3.3: install from DVD for GNOME and KDE should be "native" systemd
Of course, providing systemd unit file should not be a pure "openSUSE" task, because the ultimate goal for those files is to be cross-distribution and merged in relevant upstream projects. And we also don't want to duplicate effort which is starting in other distributions like Fedora, so, collaboration is key. I strongly recommend reading systemd for Administrators, Part III post about the conversion (and also all other posts : systemd for Administrators #1, #2, #3, #4, #5, #6, #7,#8 they are highly instructive).

For discussing / helping with systemd integration for Factory, please use opensuse-factory mailing list or go to #opensuse-factory IRC channel on Freenode.

We need your help to make sure openSUSE 12.1 will use systemd at 200% ;)

2 comments:

  1. > "And we also don't want to duplicate effort which is starting in other distributions like Fedora, so, collaboration is key."

    And in case you didn't know about them, here are the relevant pages for the conversion in Fedora:
    http://fedoraproject.org/wiki/Features/SysVtoSystemd
    http://fedoraproject.org/wiki/User:Johannbg/QA/Systemd/compatability

    Hope that helps. :)

    ReplyDelete
  2. On openSUSE 12.1 RC2 I see tty1 when the system starts, shuts down. Is this caused by systemd?

    P.S.: It doesn't happen with 11.3 and 11.4.

    ReplyDelete