summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014400.html
blob: 0efff1dff359faa6f73939d00a2c2cfe055adf5a (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] LSB init scripts question.
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20LSB%20init%20scripts%20question.&In-Reply-To=%3C4F8E75BB.2090703%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="014393.html">
   <LINK REL="Next"  HREF="014405.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] LSB init scripts question.</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20LSB%20init%20scripts%20question.&In-Reply-To=%3C4F8E75BB.2090703%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] LSB init scripts question.">mageia at colin.guthr.ie
       </A><BR>
    <I>Wed Apr 18 10:05:15 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="014393.html">[Mageia-dev] LSB init scripts question.
</A></li>
        <LI>Next message: <A HREF="014405.html">[Mageia-dev] LSB init scripts question.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14400">[ date ]</a>
              <a href="thread.html#14400">[ thread ]</a>
              <a href="subject.html#14400">[ subject ]</a>
              <a href="author.html#14400">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and David W. Hodgins at 18/04/12 05:01 did gyre and gimble:
&gt;<i> 
</I>&gt;<i> On my Mageia 1 system, I noticed that xinetd wasn't getting
</I>&gt;<i> started.  After comparing the lsb headers, I modified the
</I>&gt;<i> script as per the following patch, and confirmed that on
</I>&gt;<i> reboot, it's now getting started.
</I>&gt;<i> 
</I>&gt;<i> $ cat xinetd.patch
</I>&gt;<i> --- /etc/init.d/xinetd.original 2011-01-11 23:35:28.000000000 -0500
</I>&gt;<i> +++ /etc/init.d/xinetd  2012-04-17 23:38:19.507878097 -0400
</I>&gt;<i> @@ -7,7 +7,7 @@
</I>&gt;<i>  # Provides: xinetd
</I>&gt;<i>  # Required-Start: $network $syslog
</I>&gt;<i>  # Required-Stop: $network $syslog
</I>&gt;<i> -# Default-Start: 345
</I>&gt;<i> +# Default-Start: 3 4 5
</I>&gt;<i>  # Short-Description: A powerful replacement for inetd
</I>&gt;<i>  # Description: This startup script launches xinetd daemon
</I>&gt;<i>  ### END INIT INFO
</I>
Is that the only change you did? You didn't run a chkconfig command too
or similar?

I'm not an expert on the previous sysvinit but I thought that provided
the links existed in /etc/rcN.d/S??xinetd then it should get started.
prcsys might do things somewhat differently here tho', I don't know.

&gt;<i> I was going to file a bug report, but decided to check other
</I>&gt;<i> files.  I found that udev-post and crond also are missing the
</I>&gt;<i> spaces.
</I>
udev stuff is somewhat handled in rc.sysinit so likely not a big problem
if it doesn't run...

&gt;<i> udev-post does not get run at boot, as confirmed by
</I>&gt;<i> /var/lock/subsys/udev-post not existing, however crond is
</I>&gt;<i> getting started.
</I>&gt;<i> 
</I>&gt;<i> This doesn't make sense to me.  If the spaces are required,
</I>&gt;<i> how is crond still getting started, while xinetd and udev-post
</I>&gt;<i> are not?
</I>

I suspect there is still something missing, can you check the symlinks
for udev-post in the /etc/rcN.d folders. If they exist (i.e. there is a
/etc/rc3.d/S??udev-post file) then does only changing the numbers and
rebooting make it run at next boot.

I suspect there is a little more to this story still :)

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="014393.html">[Mageia-dev] LSB init scripts question.
</A></li>
	<LI>Next message: <A HREF="014405.html">[Mageia-dev] LSB init scripts question.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#14400">[ date ]</a>
              <a href="thread.html#14400">[ thread ]</a>
              <a href="subject.html#14400">[ subject ]</a>
              <a href="author.html#14400">[ 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>