[opensuse-factory] Status update on systemd for Factory
Hi all, here is a update on the work done on systemd for Factory : (beware, email is long !) - basic support for systemctl in chkconfig and insserv is done : it is pending review by maintainer before integration - support for --root in systemctl was merged upstream and will be used by chkconfig/insserv patches above. - a patch has been submitted to upstream systemd to parse insserv.conf : this patch only handle the "system facility" part of insserv.conf and automatically adds depencies specified in the file - quick investigation on Yast2 to adapt runlevel editor for systemctl support : we really need help from other people, as I don't have any knowledge of Yast internal and it seems the yast dbus client part might be missing some parts, needed for runlevel editor to talk with systemd. - no work on /usr as separate partition : it is not a systemd issue in itself but from other programs which might be using data from /usr before /usr is available. The best solution would be to mount /usr from initrd => help needed !! - (open)SUSE is using unofficial LSB target named $ALL which is supposed to put services requiring it at the end of the boot sequence (or at the beginning of shutdown sequence); After discussing with upstream : on a static boot system (sysvinit), it is easy to resolve such dependencies, but it isn't on a dynamic system (systemd). There is a ugly hack to handle that (creating a ALL.target file which is starting after default.target is done) but it would be probably better to just fix the 4 initscripts which are still using $ALL ( amazon-late, stoppreload, Susefirewall2_setup and vboxes). I'll open bug for them. - X-Interactive support in systemd is not working properly : it will only work before getty is started and is broken if you try to start a service after boot. We need to transition packages which are still using X-Interactive to systemd-ask-password (which takes care of the async conversation). Only two packages need to be ported : * apache2, when querying password for SSL certificate : apache allows to start a script to handle the password request. We only need to * openvpn : this one is a bit complex because we can either write a daemon which would do the interface between systemd and openvpn management interface or we can try to patch openvpn to have a similar feature as apache and get this patch upstreamed. The latter has the preference of systemd upstream. For both packages, help is welcome. For compability with sysvinit, support for <interactive> from /etc/insserv.conf in systemd was not added, so we could remove X-Interactive from openvpn/httpd sysvinit scripts but still have the function when booting from /sbin/init, thanks to /etc/insserv.conf list. - /etc/init.d/kbd was not handled properly : this should be fixed in Factory today or tomorrow, with systemd taking care of setting up keyboard properly. However, we might need to improve /etc/sysconfig/keyboard parsing in systemd. More tests are needed (and of course, help is welcome). As you can see, we still have some work to do, but we need everybody help : either on the issues I mentioned (feel free to say "I want to help on this" here) or to do more tests or even to start creating .service files (but we still need to fix the issues listed above). Thanks everybody for your attention. I would be great if we could get the ball moving and maybe get one of the next Factory milestone be a "systemd" test release but to reach this point, we need YOU ! -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le vendredi 01 juillet 2011 à 17:56 +0200, Frederic Crozat a écrit :
* apache2, when querying password for SSL certificate : apache allows to start a script to handle the password request. We only need to
oops, missing part : we only need to plug the script and configuration part in our package and get it used when booting with systemd. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le vendredi 01 juillet 2011 à 17:56 +0200, Frederic Crozat a écrit :
Hi all,
here is a update on the work done on systemd for Factory :
(beware, email is long !)
And of course, I forgot the discussion in progress on opensuse-packaging and upstream on a set of cross distribution RPM macros to handle systemd unit files. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Friday, July 01, 2011 18:12:46 you wrote:
Le vendredi 01 juillet 2011 à 17:56 +0200, Frederic Crozat a écrit :
Hi all,
here is a update on the work done on systemd for Factory :
(beware, email is long !)
And of course, I forgot the discussion in progress on opensuse-packaging and upstream on a set of cross distribution RPM macros to handle systemd unit files.
I think those are a major blocker - I'd like to have them in factory asap so that we can change packages that have already service files. Frederic, thanks a lot for your status! Andreas -- Andreas Jaeger, Program Manager openSUSE aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 04 juillet 2011 à 10:11 +0200, Andreas Jaeger a écrit :
On Friday, July 01, 2011 18:12:46 you wrote:
Le vendredi 01 juillet 2011 à 17:56 +0200, Frederic Crozat a écrit :
Hi all,
here is a update on the work done on systemd for Factory :
(beware, email is long !)
And of course, I forgot the discussion in progress on opensuse-packaging and upstream on a set of cross distribution RPM macros to handle systemd unit files.
I think those are a major blocker - I'd like to have them in factory asap so that we can change packages that have already service files.
I'll send a new proposal upstream (based on feedback) today. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Frederic Crozat wrote:
For compability with sysvinit, support for <interactive> from /etc/insserv.conf in systemd was not added, so we could remove X-Interactive from openvpn/httpd sysvinit scripts but still have the function when booting from /sbin/init, thanks to /etc/insserv.conf list.
We've added those tags because systemd maintainers refused to parse /etc/insserv.conf
- /etc/init.d/kbd was not handled properly : this should be fixed in Factory today or tomorrow, with systemd taking care of setting up keyboard properly. However, we might need to improve /etc/sysconfig/keyboard parsing in systemd. More tests are needed (and of course, help is welcome).
/etc/init.d/kbd is horrible and should really be replaced in the sysvinit boot too. We'd need a replacement that optionally also works in initrd too in order to support non-ascii passphrases for encrypted root partitions. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Le lundi 04 juillet 2011 à 11:44 +0200, Ludwig Nussel a écrit :
Frederic Crozat wrote:
For compability with sysvinit, support for <interactive> from /etc/insserv.conf in systemd was not added, so we could remove X-Interactive from openvpn/httpd sysvinit scripts but still have the function when booting from /sbin/init, thanks to /etc/insserv.conf list.
We've added those tags because systemd maintainers refused to parse /etc/insserv.conf
The issue is that X-Interactive isn't really going to work with systemd (see discussion on systemd-devel mailing list) and we should try to fix the few (two) packages which are still using it.
- /etc/init.d/kbd was not handled properly : this should be fixed in Factory today or tomorrow, with systemd taking care of setting up keyboard properly. However, we might need to improve /etc/sysconfig/keyboard parsing in systemd. More tests are needed (and of course, help is welcome).
/etc/init.d/kbd is horrible and should really be replaced in the sysvinit boot too. We'd need a replacement that optionally also works in initrd too in order to support non-ascii passphrases for encrypted root partitions.
I don't plan to work on anything else than systemd ;) -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Andreas Jaeger
-
Frederic Crozat
-
Ludwig Nussel