summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-January/011392.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-January/011392.html')
-rw-r--r--zarb-ml/mageia-dev/2012-January/011392.html175
1 files changed, 175 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-January/011392.html b/zarb-ml/mageia-dev/2012-January/011392.html
new file mode 100644
index 000000000..a638841e2
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-January/011392.html
@@ -0,0 +1,175 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bchangelog%5D%20%5BRPM%5D%20cauldron%20core/release%0A%09meta-task-2-21.mga2&In-Reply-To=%3CCAONrEtbPzrihbkp3UWVLoGO9Hq%3DxJXcQhsC6M623gMo%3DPB342g%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="011391.html">
+ <LINK REL="Next" HREF="011394.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bchangelog%5D%20%5BRPM%5D%20cauldron%20core/release%0A%09meta-task-2-21.mga2&In-Reply-To=%3CCAONrEtbPzrihbkp3UWVLoGO9Hq%3DxJXcQhsC6M623gMo%3DPB342g%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Mon Jan 16 11:41:34 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="011391.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2
+</A></li>
+ <LI>Next message: <A HREF="011394.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#11392">[ date ]</a>
+ <a href="thread.html#11392">[ thread ]</a>
+ <a href="subject.html#11392">[ subject ]</a>
+ <a href="author.html#11392">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 16 January 2012 10:37, Thomas Backlund &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>&gt; wrote:
+&gt;&gt;&gt;&gt;<i> This is wrong, you're just introducing two different behaviors:
+</I>&gt;&gt;&gt;&gt;<i> - new installations will got drakcut&amp; &#160; &#160;systemd
+</I>&gt;&gt;&gt;&gt;<i> - updated ones will keep mkinitrd&amp; &#160; &#160;sysvinit
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> How about enhancing urpmi to read prefer.vendor.list during distro
+</I>&gt;&gt;&gt;<i> upgrade? That would solve this issue.
+</I>&gt;&gt;&gt;<i> either by a specific --upgrade flag,
+</I>&gt;&gt;&gt;<i> or automatically when mageia-release-common bumps version, would that
+</I>&gt;&gt;&gt;<i> work ?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This is already done. But prefer choice only apply to initial package
+</I>&gt;&gt;<i> installation.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Which is why I asked if it should do it during upgrade too ?
+</I>
+OK, there's obviously some confusion here.
+
+There's two different things:
+- preferred apps (read: what is the default choice when several packages
+ answer the some &quot;virtual&quot; require)
+- provides &amp; obsolete tags
+
+That's totally orthogonal and preferred apps just don't apply to upgrading...
+If you install a package requesting eg &quot;web_server&quot; which would provided
+by say both apache &amp; nginx, whatever you choose one manually or through
+automatically (preferred apps) doesn't change that after inital install, only
+provides &amp; obsolete tags matter for upgrading.
+
+What's more, even if that was possible, what you're asking is basically
+replace &quot;forcing systemd &amp; drakcut through requires/obsoletes tags&quot; by
+&quot;forcing them through adding special urpmi code&quot;.
+Either way, you would force them...
+
+Anyway, urpmi's preferred packages is not a super obsolete/require
+tags as explained above.
+
+&gt;&gt;<i> Hard requires are not an issue:
+</I>&gt;&gt;<i> - for systemd if systemd-sysvinit isn't hard required, which was
+</I>&gt;&gt;<i> already the case
+</I>&gt;<i>
+</I>&gt;<i> Doh, I forgot about that it was sysvinit vs systemd-sysvinit and not systemd
+</I>&gt;<i> itself :(
+</I>&gt;<i>
+</I>&gt;<i> so systemd can/must be readded as requires.
+</I>
+Indeed.
+
+
+&gt;&gt;<i> - for drakcut, as alternatives are used
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Yep. useful as long as there is a mkinitrd on the mirrors.
+</I>
+I think the clean way to go would be to:
+1) rename mkinitrd &amp; sysvinit as mkinitrd-old &amp; sysvinit-old:
+2) having both sysvinit-old &amp; systemd-sysvinit provides/obsoletes sysvinit
+ (dito for mkinitrd-old &amp; dracut)
+
+Then on upgrade, as mkinitrd &amp; sysvinit would be obsoleted by new packages
+(eg: systemd-sysvinit &amp; sysvini-old), urpmi would have to choose one,
+choosing dracut &amp; systemd by default due to prefered list.
+Thus we would achieve both:
+- having dracut &amp; systemd on upgrade too
+- being able to fallback to mkinitrd and/or sysvinit by manually requesting
+ their installation.
+
+Other ways would be to:
+1) have mkinitrd &amp; sysvinit requesting drakcut &amp; systemd-sysvinit
+&amp; adding alternatives to systemd/sysvinit :-(
+
+2) manually adding greater provides to systemd-sysvinit &amp; mkinitrd
+ (error prone &amp; fallback involves manually editing skip.list which may
+ break further upgrading from mga2 to mga3 when mkinitrd &amp; sysvinit
+ will be really dead)
+
+&gt;&gt;&gt;<i> If both dracut and mkinitrd provides mkinitrd, the prefer list must
+</I>&gt;&gt;&gt;<i> contain the one we want by default, wich is what I did here.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Yes but you also remove all of the obsolete/provides tag, which prevents
+</I>&gt;&gt;<i> drakcut
+</I>&gt;&gt;<i> to replace mkinitrd on upgrade.
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Check again. I only removed Obsoletes, the Provides is still there:
+</I>&gt;<i> <A HREF="http://svnweb.mageia.org/packages/cauldron/dracut/current/SPECS/dracut.spec?r1=194858&amp;r2=196541">http://svnweb.mageia.org/packages/cauldron/dracut/current/SPECS/dracut.spec?r1=194858&amp;r2=196541</A>
+</I>
+Which is useless w/o the obsolete tag.
+Have you checked what happens on upgrade? Does drakcut replace mkinitrd if some
+repo still has mkinitrd?
+Anyway it won't work for systemd as its provide tag is smaller in
+systemd-sysvinit than sysvinit
+
+And it's error prone.
+Also see above, fallbacking involves playing with skip.list which may
+break next upgrade
+(mga2 -&gt; mga3)
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="011391.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2
+</A></li>
+ <LI>Next message: <A HREF="011394.html">[Mageia-dev] [changelog] [RPM] cauldron core/release meta-task-2-21.mga2
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#11392">[ date ]</a>
+ <a href="thread.html#11392">[ thread ]</a>
+ <a href="subject.html#11392">[ subject ]</a>
+ <a href="author.html#11392">[ 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>