diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-October/009207.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-October/009207.html | 161 |
1 files changed, 161 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-October/009207.html b/zarb-ml/mageia-dev/2011-October/009207.html new file mode 100644 index 000000000..70b025934 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-October/009207.html @@ -0,0 +1,161 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Please test: initscripts+systemd in updates_testing + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%3A%20initscripts%2Bsystemd%20in%20updates_testing&In-Reply-To=%3C20111030004255.05ccaec7%40werewolf.home%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="009208.html"> + <LINK REL="Next" HREF="009169.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Please test: initscripts+systemd in updates_testing</H1> + <B>JA Magallon</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%3A%20initscripts%2Bsystemd%20in%20updates_testing&In-Reply-To=%3C20111030004255.05ccaec7%40werewolf.home%3E" + TITLE="[Mageia-dev] Please test: initscripts+systemd in updates_testing">jamagallon at ono.com + </A><BR> + <I>Sun Oct 30 00:42:55 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="009208.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing +</A></li> + <LI>Next message: <A HREF="009169.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9207">[ date ]</a> + <a href="thread.html#9207">[ thread ]</a> + <a href="subject.html#9207">[ subject ]</a> + <a href="author.html#9207">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On Sat, 29 Oct 2011 22:30:26 +0100 +Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: + +><i> 'Twas brillig, and Olav Vitters at 27/10/11 13:13 did gyre and gimble: +</I>><i> > On Wed, Oct 26, 2011 at 10:27:12AM +0200, JA Magallon wrote: +</I>><i> >> On Sat, 22 Oct 2011 17:07:01 +0100 +</I>><i> >> Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: +</I>><i> >> +</I>><i> >>> Hi, +</I>><i> >>> +</I>><i> >>> I've just pushed new initscripts+systemd packages to updates_testing. +</I>><i> >>> +</I>><i> >>> In the combinations I've tested: +</I>><i> >>> +</I>><i> >>> systemd+dracut initrd: Boot and Shutdown works fine. +</I>><i> >>> sysvinit+mkinitrd initrd: Boot and Shutdown works fine. +</I>><i> >>> +</I>><i> >>> systemd+mkinitrd initrd: Boot fails due to not finding LVM disk. +</I>><i> >>> sysvinit+dracut initrd: Boot works, shudown/restart hangs. +</I>><i> >>> +</I>><i> >> +</I>><i> >> A couple things I noticed: +</I>><i> >> +</I>><i> >> - system time is bad, looks like ntpd is not started +</I>><i> +</I>><i> Yeah I still need to look at that. +</I>><i> +</I> +I think that more of ntpd itself, the serious problem is that time is +not set correctly on boot. I have all my cauldron boxes bios time set +to spanish local time, and system time gets set to 2 hours earlier than +it should (GMT+1 + 1 other hour for summer time, I guess - I'll check +tomorrow sunday when we are again at winter time). And then ntpd does not +correct it. + +The ntpd problem is the same that that of sshd below. + +><i> >> - sshd is not started neither +</I>><i> > +</I>><i> > had same issue with sshd +</I>><i> +</I>><i> Is this not just a simple matter of enabling it? It starts fine here... +</I>><i> It may not have inherited the fact it's enabled in sysvinit properly, +</I>><i> but a simple "systemctl enable sshd.service" and a "systemctl start +</I>><i> sshd.service" should be enough. We perhaps want to setup a sshd.socket +</I>><i> file to allow on-demand loading however which is a better solution +</I>><i> overall for most systems with sshd. +</I>><i> +</I> +The problem is not enabling it, but that it was enabled under sysvinit +and it does not get started under systemd after the switch. Think of +an upgrade of mageia-1 to -2 when it is done. You end without remote access +and probably others not noticed for being less critical, or others +like iptables being disabled under syscint and becoming enabled under +systemd. That is why I thought that doing that compatibility thing +between chkconfig and systemctl is a difficult mess to solve... +in some point you get out of sync. So lets go systemd at all and +kill all compatibility. Adding a dozen xxx.service that call +/etc/init.d/xxx should not be difficult. Do it once 'manually' and +forget about trying to do automagically. + +And, btw, if sysvinit 'init' is killed, should it be time to move +all that /etc/init.d/xxx scripts somewhere else as systemd helpers ? + +One possible solution could be... +- let systemd parse also init.d, and run what is there (as it is now) +- kill from init.d all services that have a systemd replacement + (iptables vs iptables.service for example), and move scripts used + by systemd .services out of init.d. +so one service is on one and only place, and you have to know which +init system (chkconfig or systemctl) handles it. When full switch is +done, init.d would be empty. + +><i> >> - DM service is duplicated, one is dm.service and other prefdm.service +</I>><i> >> (latest is systemd native one). +</I>><i> +</I>><i> Fixed in the lastest systemd package. +</I>><i> +</I> +But why do we need both dm.service and prefdm.service ? Or +networkmanager.service and NerworkManager.service ? Let's kill all +compatibility and start getting bug reports and things fixed... + +I know it is a bit hard, but IMHO its the only sane way. + +</PRE> + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="009208.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing +</A></li> + <LI>Next message: <A HREF="009169.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#9207">[ date ]</a> + <a href="thread.html#9207">[ thread ]</a> + <a href="subject.html#9207">[ subject ]</a> + <a href="author.html#9207">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |