diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006649.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006649.html | 150 |
1 files changed, 150 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006649.html b/zarb-ml/mageia-dev/2011-July/006649.html new file mode 100644 index 000000000..0fee1d830 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-July/006649.html @@ -0,0 +1,150 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [Mageia 2 specifications] Systemd or not systemd + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia%202%20specifications%5D%20Systemd%20or%20not%20systemd&In-Reply-To=%3Cm37h7k4g09.fsf%40euphor.blino.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006652.html"> + <LINK REL="Next" HREF="006650.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd</H1> + <B>Olivier Blin</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5BMageia%202%20specifications%5D%20Systemd%20or%20not%20systemd&In-Reply-To=%3Cm37h7k4g09.fsf%40euphor.blino.org%3E" + TITLE="[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd">mageia at blino.org + </A><BR> + <I>Fri Jul 15 01:08:38 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006652.html">[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd +</A></li> + <LI>Next message: <A HREF="006650.html">[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6649">[ date ]</a> + <a href="thread.html#6649">[ thread ]</a> + <a href="subject.html#6649">[ subject ]</a> + <a href="author.html#6649">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> writes: + +>><i> Secondly, what should be the correct way of supporting systemd in a +</I>>><i> package? In Mandriva, I thought on adding a --with flag to +</I>>><i> enable/disable systemd, but in most cases it does (almost) nothing. All +</I>>><i> services which want to support systemd only need to place their files +</I>>><i> into /lib/systemd - and that's it. Should we support opting-out of +</I>>><i> systemd in specs? I believe fcrozat is having the same dilemma in SuSE +</I>>><i> now as well, and he settled on some common packaging macros. +</I>><i> +</I>><i> IMO, unless something goes horribly wrong with systemd (which I very +</I>><i> seriously doubt will happen - it's actually been amazing to watch this +</I>><i> project from birth to wide adoption) I'd say we just jump right in and +</I>><i> package the units unconditionally. They don't really take up much space +</I>><i> and do nothing if you choose to not use it for the time being. I think +</I>><i> by mga3 we'll likely *only* offer systemd (if not in mga2), so I'd say +</I>><i> putting in effort to opt out now is pretty much not going to be worth it. +</I> +I agree, it does not seem useful to avoid shipping systemd services. + +Though, when systemd is enabled, what happens if one has both systemd + +sysvinit services files installed for a given package? +Will the initscript be run in addition to the systemd service? + +>><i> Almost finally, should the systemd files belong to the main package, the +</I>>><i> same way as they do with initscripts-based one (e.g., the package would +</I>>><i> provide /lib/systemd/system/%{name}.service together with +</I>>><i> %_sysconfig/rc.d/init.d/%{name} for example), with no extra subpackages +</I>>><i> or flags - or should all systemd-specific files go into %{name}-systemd +</I>>><i> package for example? What do you think? +</I>><i> +</I>><i> I vote to put them in the same place as the initscripts-based ones. As I +</I>><i> predicted above, I reckon it won't take too long for systemd to be the +</I>><i> only system offered and obsoleting all those subpackages would be a bit +</I>><i> of a PITA down the line. And if systemd isn't used those files do +</I>><i> nothing, so no harm done. +</I> +Agreed as well. + +>><i> And finally, what does seems to be the best way of starting to use +</I>>><i> systemd in cauldron? I have thought on 3 alternatives: +</I>>><i> - easy way, only having it packaged, but not +</I>>><i> providing/obsoleting/conflicting with sysvinit. This way, it will work +</I>>><i> when kernel is booted with init=/bin/systemd (the least invasive way) +</I>>><i> - compatible way (like in Mandriva) - it is available, systemd-sysvinit +</I>>><i> conflicts with sysvinit, so if someone installs systemd-sysvinit, +</I>>><i> sysvinit goes away and systemd is run by default. This seems to be the +</I>>><i> most sane way to me (but I could be biased), and it is easiest one for +</I>>><i> testing +</I>>><i> - ultimate way - systemd provides and obsoletes sysvinit and its +</I>>><i> goodies. This way, systemd will be the only one (e.g., highlander +</I>>><i> style). This is how fedora did it if I am not mistaken, but I am not +</I>>><i> sure if it the best way. +</I>>><i> +</I>>><i> So, that's it for now from my part.. +</I>><i> +</I>><i> I'd like option 2 please! :) It doesn't exclude using option 1 along +</I>><i> with it (I was doing this for a while), so it's most flexible. +</I> +Option 2 seems good as well, but does it really have to uninstall +sysvinit? Isn't it enough to put some alternatives symlinks for +/sbin/init? + +-- +Olivier Blin - blino +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006652.html">[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd +</A></li> + <LI>Next message: <A HREF="006650.html">[Mageia-dev] [Mageia 2 specifications] Systemd or not systemd +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6649">[ date ]</a> + <a href="thread.html#6649">[ thread ]</a> + <a href="subject.html#6649">[ subject ]</a> + <a href="author.html#6649">[ 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> |