blob: b9017aaa438e1be48d8d0c57a812b4afa508bcfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
<!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%20run%0A%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3Cop.vugdywtzn7mcit%40hodgins.homeip.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="004169.html">
<LINK REL="Next" HREF="004168.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>David W. Hodgins</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%20run%0A%20during%20install%20or%20regular%20boot%3F&In-Reply-To=%3Cop.vugdywtzn7mcit%40hodgins.homeip.net%3E"
TITLE="[Mageia-dev] How should an init script determine if it is being run during install or regular boot?">davidwhodgins at gmail.com
</A><BR>
<I>Sun Apr 24 19:38:46 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="004169.html">[Mageia-dev] Opnions about Mageia mirror in Brazil
</A></li>
<LI>Next message: <A HREF="004168.html">[Mageia-dev] Seamonkey package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4165">[ date ]</a>
<a href="thread.html#4165">[ thread ]</a>
<a href="subject.html#4165">[ subject ]</a>
<a href="author.html#4165">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
The patch submitted for the named init script in
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=871">https://bugs.mageia.org/show_bug.cgi?id=871</A>
fixes the problem of the openssl engines not being
available in the chroot environment, during a normal
bootup, however during an upgrade using the beta 2
pre-release iso's, it fails as the init script is
using absolute path names.
While I can submit a new patch that checks to see
if /var/lib/named or /mnt/var/lib/named exists, to
determine if the script is running in an install or
a normal bootup, I'm wondering if there is a "standard"
way for an init script to determine which environment
it's being run in.
Regards, Dave Hodgins
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="004169.html">[Mageia-dev] Opnions about Mageia mirror in Brazil
</A></li>
<LI>Next message: <A HREF="004168.html">[Mageia-dev] Seamonkey package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#4165">[ date ]</a>
<a href="thread.html#4165">[ thread ]</a>
<a href="subject.html#4165">[ subject ]</a>
<a href="author.html#4165">[ 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>
|