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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] mageia 2 and systemd
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mageia%202%20and%20systemd&In-Reply-To=%3C4E97F43B.4050607%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="008832.html">
<LINK REL="Next" HREF="008839.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] mageia 2 and systemd</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20mageia%202%20and%20systemd&In-Reply-To=%3C4E97F43B.4050607%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] mageia 2 and systemd">mageia at colin.guthr.ie
</A><BR>
<I>Fri Oct 14 10:35:07 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="008832.html">[Mageia-dev] mageia 2 and systemd
</A></li>
<LI>Next message: <A HREF="008839.html">[Mageia-dev] mageia 2 and systemd
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8833">[ date ]</a>
<a href="thread.html#8833">[ thread ]</a>
<a href="subject.html#8833">[ subject ]</a>
<a href="author.html#8833">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Shlomi Fish at 14/10/11 07:53 did gyre and gimble:
><i> On Wed, 12 Oct 2011 21:00:58 +0200
</I>><i> philippe makowski <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">makowski.mageia at gmail.com</A>> wrote:
</I>><i>
</I>>><i> Hi,
</I>>><i>
</I>>><i> how and when will we make the move ?
</I>>><i> should we need to provide native systemd service files for Mageia 2 ?
</I>>><i>
</I>>><i>
</I>>><i> some doc from Fedora for packaging :
</I>>><i> <A HREF="http://fedoraproject.org/wiki/Packaging:Guidelines:Systemd">http://fedoraproject.org/wiki/Packaging:Guidelines:Systemd</A>
</I>>><i> <A HREF="http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd">http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd</A>
</I>><i>
</I>><i> I've had a very bad experience upgrading to systemd-sysvinit on my desktop Core
</I>><i> i3 machine. The boot took forever, and I ended up giving up, booting from a
</I>><i> LiveCD, and restoring the "sysvinit" package, which made booting the system OK
</I>><i> again. Here are the relevant logs from #systemd on Freenode (I am rindolf):
</I>><i>
</I>><i> Oct 13 09:30:40 <rindolf> Hi all.
</I>><i> Oct 13 09:31:02 <rindolf> Today systemd-sysvinit replaced sysvinit (on my Mageia 2 system after a urpmi upgrade), but after I rebooted my system won't boot. It got hang at the udev step (the first one). I recall that when I rebooted, it warned me that it couldn't find libsystemd-daemons.so.1 or something like that. How can I restore booting?
</I>><i> Oct 13 09:45:28 <rindolf> Anyone?
</I>><i> Oct 13 09:46:37 <MK_FG> rindolf, I suspect it just hangs not being able to detect your hard drives for some reason
</I>><i> Oct 13 09:46:49 <MK_FG> rindolf, In that case, it should time out after a while
</I>><i> Oct 13 09:47:07 <MK_FG> rindolf, But in any case, it should help to enable debug output
</I>><i> Oct 13 09:47:10 <rindolf> MK_FG: well, now after I hit Ctrl+C it continues, but hangs again.
</I>><i> Oct 13 09:47:17 <rindolf> MK_FG: how can I enable debug output?
</I>><i> Oct 13 09:47:21 <MK_FG> <A HREF="http://fedoraproject.org/wiki/How_to_debug_Systemd_problems">http://fedoraproject.org/wiki/How_to_debug_Systemd_problems</A>
</I>><i> Oct 13 09:48:01 <MK_FG> But it's all in the mans, too, if you'll end up w/o a browser
</I>><i> Oct 13 09:49:14 <rindolf> MK_FG: I have a second computer.
</I>><i> Oct 13 10:01:29 <rindolf> MK_FG: now it gets stuck on loading shorewall.
</I>><i> Oct 13 10:01:36 <rindolf> MK_FG: it got stuck several times before
</I>><i> Oct 13 10:01:51 <rindolf> MK_FG: and no matter how many times I press Ctrl+C it won't stop that.
</I>><i> Oct 13 10:01:59 <rindolf> MK_FG: booting is slower than ever this way.
</I>><i> Oct 13 10:02:07 <MK_FG> It should timeout eventually
</I>><i> Oct 13 10:02:07 <rindolf> I thought systemd was supposed to make booting faster.
</I>><i> Oct 13 10:02:17 <rindolf> MK_FG: "eventually" is the key word here.
</I>><i> Oct 13 10:02:17 <sztanpet> works for me
</I>><i> Oct 13 10:02:38 <MK_FG> Yeah, a minute or two by default
</I>><i> Oct 13 10:02:38 <rindolf> sztanpet: what does work for you?
</I>><i> Oct 13 10:02:49 <sztanpet> systemd operating as expected
</I>><i> Oct 13 10:03:00 <sztanpet> but then again, i dont have your distro
</I>><i> Oct 13 10:03:20 <MK_FG> But it's abnormal behavior, something should be fixed, not timeout and be killed on every boot
</I>><i> Oct 13 10:05:48 <rindolf> sztanpet: someone once told me that "works for me" is the oldest excuse in the programmer's book.
</I>><i> Oct 13 10:05:52 <rindolf> And it's not very helpful.
</I>><i> Oct 13 10:06:15 <sztanpet> indeed
</I>><i> Oct 13 10:06:26 <MK_FG> Neither is unconstructive criticism like "nothing works!"
</I>><i> Oct 13 10:06:38 <rindolf> MK_FG: well, I told you what doesn't work for me.
</I>><i> Oct 13 10:06:55 <MK_FG> I think you know what I mean
</I>><i> Oct 13 10:07:15 <rindolf> MK_FG: no, I don't.
</I>><i> Oct 13 10:07:25 <MK_FG> Well, nevermind then ;)
</I>><i> Oct 13 10:09:50 <bochecha> rindolf, the default timeout can be 5 minutes (for services with legacy init scripts), did you wait that long?
</I>><i> Oct 13 10:16:55 <rindolf> bochecha: some of the times.
</I>><i> Oct 13 10:17:20 <rindolf> bochecha: I now tried a “failsafe” boot and systemd gets stuck on an infinite "Trying to load D-Bus" loop.
</I>><i> Oct 13 10:18:29 <bochecha> possibly dbus doesn't start, and systemd tries again, and again and... ?
</I>
Well I'm afraid that as the guys on #systemd said, it's nigh on
impossible to say what your problem actually is without more debugging etc.
For example if you manage to get the boot to work by waiting patiently
enough then the output from systemd-analyze might point to the cause.
I suspect to be honest that it relates to some binfmt stuff or other
modprobe setups that just ultimately stall things.
It's obviously not a problem that affects other people other than
yourself so you have to ask yourself why your system is different, try
with a clean install and then add back your config until you find the issue.
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="008832.html">[Mageia-dev] mageia 2 and systemd
</A></li>
<LI>Next message: <A HREF="008839.html">[Mageia-dev] mageia 2 and systemd
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8833">[ date ]</a>
<a href="thread.html#8833">[ thread ]</a>
<a href="subject.html#8833">[ subject ]</a>
<a href="author.html#8833">[ 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>
|