summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014212.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014212.html')
-rw-r--r--zarb-ml/mageia-dev/2012-April/014212.html138
1 files changed, 138 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014212.html b/zarb-ml/mageia-dev/2012-April/014212.html
new file mode 100644
index 000000000..1708db167
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-April/014212.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] minor systemd-related issues
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20minor%20systemd-related%20issues&In-Reply-To=%3C4F874F92.20903%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="014208.html">
+ <LINK REL="Next" HREF="014218.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] minor systemd-related issues</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20minor%20systemd-related%20issues&In-Reply-To=%3C4F874F92.20903%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] minor systemd-related issues">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Thu Apr 12 23:56:34 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="014208.html">[Mageia-dev] minor systemd-related issues
+</A></li>
+ <LI>Next message: <A HREF="014218.html">[Mageia-dev] minor systemd-related issues
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14212">[ date ]</a>
+ <a href="thread.html#14212">[ thread ]</a>
+ <a href="subject.html#14212">[ subject ]</a>
+ <a href="author.html#14212">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and David Walser at 12/04/12 21:25 did gyre and gimble:
+&gt;<i> Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at ...</A>&gt; writes:
+</I>&gt;&gt;&gt;<i> httpd is running, but it is using the LSB init script instead of
+</I>&gt;&gt;&gt;<i> systemd units. I believe Colin's intention was to have
+</I>&gt;&gt;&gt;<i> apache-mpm-prefork install a symlink to httpd-prefork.service called
+</I>&gt;&gt;&gt;<i> httpd.service, but this symlink does not exist.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Are you sure? The %post script should certainly have done that....
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> [colin &lt;at&gt; jimmy ~]$ rpm -q --scripts apache-mpm-prefork
+</I>&gt;&gt;<i> postinstall scriptlet (using /bin/sh):
+</I>&gt;&gt;<i> ln -s /lib/systemd/system/httpd-prefork.service
+</I>&gt;&gt;<i> /etc/systemd/system/httpd.service 2&gt;/dev/null || :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I guess the only possible explanation I can think of here is that
+</I>&gt;&gt;<i> somehow, apache-mpm-prefork was upgraded before systemd was installed!
+</I>&gt;&gt;<i> Perhaps we need to make sure system is installed early in the process?
+</I>&gt;<i>
+</I>&gt;<i> I am sure. The only symlink in /etc/systemd/system is default.target,
+</I>&gt;<i> everything else there is directories. Is that the right place to put that
+</I>&gt;<i> symlink anyway?
+</I>
+Yes, the /etc/.... tree is the right place for this as it's a symlink
+that could get overwritten by another mpm should the user decide it's
+the correct mpm for their setup. The generic httpd.service link serves
+two purposes here: 1. is to allow users to still refer to &quot;httpd&quot;
+service (i.e. the command &quot;service httpd restart&quot; will still work, and
+likewise calling the sysvinit script directly will also still redirect
+properly to systemctl) and 2. is to allow a smooth upgrade from mga1
+such that the &quot;enabled&quot; state of the httpd service is properly migrated too.
+
+&gt;<i> I hadn't thought of the possibility that systemd not being installed is the
+</I>&gt;<i> problem, but I guess that's the only logical explanation (unless systemd somehow
+</I>&gt;<i> swept that directory and deleted it for some reason). I guess maybe the mpm
+</I>&gt;<i> packages just need Requires(pre): systemd-units
+</I>
+Maybe, but looking at deps, basesystem requires systemd which requires
+the units. Perhaps on upgrade, basesystem was not upgraded early enough.
+Or maybe rpm-helper was not installed early enough... dunno. I can't
+help but feel it would be overkill to add it to the mpm packages as a
+Requires(pre) - it feels like it's something we should just be able to
+rely on. That said, it would certainly work!
+
+Thinking about it, I reckon rpm-helper especially should be something
+that is always installed first on a big upgrade. There could be multiple
+files running e.g. %_post_service etc. in their post scripts but we
+certainly want the latest rpm-helper for that.
+
+Perhaps something to check out.
+
+Col
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="014208.html">[Mageia-dev] minor systemd-related issues
+</A></li>
+ <LI>Next message: <A HREF="014218.html">[Mageia-dev] minor systemd-related issues
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14212">[ date ]</a>
+ <a href="thread.html#14212">[ thread ]</a>
+ <a href="subject.html#14212">[ subject ]</a>
+ <a href="author.html#14212">[ 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>