summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110425/004177.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20110425/004177.html')
-rw-r--r--zarb-ml/mageia-dev/20110425/004177.html78
1 files changed, 78 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110425/004177.html b/zarb-ml/mageia-dev/20110425/004177.html
new file mode 100644
index 000000000..7e210dce4
--- /dev/null
+++ b/zarb-ml/mageia-dev/20110425/004177.html
@@ -0,0 +1,78 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] How should an init script determine if it is being run during install or regular boot?
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20should%20an%20init%20script%20determine%20if%20it%20is%20being%0A%20run%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3C20110425213008.GB29647%40sisay.ephaone.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="004176.html">
+
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] How should an init script determine if it is being run during install or regular boot?</H1>
+ <B>Michael scherer</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20How%20should%20an%20init%20script%20determine%20if%20it%20is%20being%0A%20run%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3C20110425213008.GB29647%40sisay.ephaone.org%3E"
+ TITLE="[Mageia-dev] How should an init script determine if it is being run during install or regular boot?">misc at zarb.org
+ </A><BR>
+ <I>Mon Apr 25 23:30:08 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="004176.html">[Mageia-dev] RFT: virtualbox-4.0.6
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4177">[ date ]</a>
+ <a href="thread.html#4177">[ thread ]</a>
+ <a href="subject.html#4177">[ subject ]</a>
+ <a href="author.html#4177">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sun, Apr 24, 2011 at 01:38:46PM -0400, David W. Hodgins wrote:
+&gt;<i>
+</I>&gt;<i> The patch submitted for the named init script in
+</I>&gt;<i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=871">https://bugs.mageia.org/show_bug.cgi?id=871</A>
+</I>&gt;<i> fixes the problem of the openssl engines not being
+</I>&gt;<i> available in the chroot environment, during a normal
+</I>&gt;<i> bootup, however during an upgrade using the beta 2
+</I>&gt;<i> pre-release iso's, it fails as the init script is
+</I>&gt;<i> using absolute path names.
+</I>&gt;<i>
+</I>&gt;<i> While I can submit a new patch that checks to see
+</I>&gt;<i> if /var/lib/named or /mnt/var/lib/named exists, to
+</I>&gt;<i> determine if the script is running in an install or
+</I>&gt;<i> a normal bootup, I'm wondering if there is a &quot;standard&quot;
+</I>&gt;<i> way for an init script to determine which environment
+</I>&gt;<i> it's being run in.
+</I>
+There is likely some heuristics based on env vars, but nothing
+I can think of right now ( and that doesn't seems very good to
+react differently during installation or not ).
+
+
+--
+Michael Scherer
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="004176.html">[Mageia-dev] RFT: virtualbox-4.0.6
+</A></li>
+
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#4177">[ date ]</a>
+ <a href="thread.html#4177">[ thread ]</a>
+ <a href="subject.html#4177">[ subject ]</a>
+ <a href="author.html#4177">[ 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>