summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/009206.html
blob: 5799a283c027f328cdc82b95f2ae7ad86a55f5f4 (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Please test: initscripts+systemd in updates_testing
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%3A%20initscripts%2Bsystemd%20in%20updates_testing&In-Reply-To=%3C4EAC7B51.9060003%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="009152.html">
   <LINK REL="Next"  HREF="009209.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Please test: initscripts+systemd in updates_testing</H1>
    <B>Colin Guthrie</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Please%20test%3A%20initscripts%2Bsystemd%20in%20updates_testing&In-Reply-To=%3C4EAC7B51.9060003%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Please test: initscripts+systemd in updates_testing">mageia at colin.guthr.ie
       </A><BR>
    <I>Sun Oct 30 00:16:49 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="009152.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing
</A></li>
        <LI>Next message: <A HREF="009209.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9206">[ date ]</a>
              <a href="thread.html#9206">[ thread ]</a>
              <a href="subject.html#9206">[ subject ]</a>
              <a href="author.html#9206">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Thomas Backlund at 27/10/11 15:12 did gyre and gimble:
&gt;<i> Sander Lepik skrev 27.10.2011 17:01:
</I>&gt;&gt;<i> 27.10.2011 16:45, Thomas Backlund kirjutas:
</I>&gt;&gt;&gt;<i> Sander Lepik skrev 27.10.2011 16:07:
</I>&gt;&gt;&gt;&gt;<i> 27.10.2011 15:33, Thomas Backlund kirjutas:
</I>&gt;&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;&gt;<i> My laptop hangs on shutdown.
</I>&gt;&gt;&gt;&gt;<i> My desktop has quite a long delay before it turns off (maybe even 5
</I>&gt;&gt;&gt;&gt;<i> minutes).
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Ok, so thats a showstopper that need to be fixed.
</I>&gt;&gt;<i> Yes.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;&gt;<i> With dracut i got my system booting (soft raid1 + lvm (also i had to
</I>&gt;&gt;&gt;&gt;<i> move /usr under /)).
</I>&gt;&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> And so is this. if dracut or systemd requires /usr to be under / then
</I>&gt;&gt;&gt;<i> it will _never_ be default.
</I>&gt;&gt;<i> It's systemd. It has some libs in /usr/lib that it needs for
</I>&gt;&gt;<i> udev.service (if i remember correctly) and for some reason udev.service
</I>&gt;&gt;<i> is needed for mounting services. Tho' if it fails and switches into
</I>&gt;&gt;<i> rescue console i can manually mount /usr and make it continue booting.
</I>&gt;&gt;<i> Maybe we can reorder those services somehow.
</I>&gt;<i> 
</I>&gt;<i> Then we need to move those libs to /lib(64)
</I>
There is quite serious talk about deprecating /lib, /bin and /sbin and
basically anything that is not in /usr (with exceptions for /home /root,
/etc and a few others). Of course there are various flames about this
idea (earth will collapse into sun etc.) but it's actually surprisingly
well received thus far IMO.

Also, keep in mind that you're talking about moving a *lot* to / here...
all the PCI/USB databases, all the udev setup, any application that udev
might run in it's rules.... I won't reiterate what is written in the
link Olav already provided, but suffice to say the problem is neither
new, not specific to systemd. It's just being highlighted by systemd.
Please keep this in mind when commenting on this topic.

&gt;&gt;&gt;<i> That's just plain idiotic.
</I>&gt;&gt;<i> I somewhat agree. But even Fedora is suggesting not to have separate
</I>&gt;&gt;<i> /usr :(
</I>&gt;&gt;<i>
</I>&gt;<i> 
</I>&gt;<i> That does not make it less idiotic. IIRC they employ the systemd creator
</I>&gt;<i> so...
</I>
But that doesn't make the idea any more or less idiotic.

The reasons stated (and this discussion happened many months ago) are
all well understood and documented in the link provided by Olav.

It is NOT a systemd problem. It's a problem we have RIGHT NOW too, it's
just that most setups are easy enough to work around by waiting and
doing this sequentially which slows down the whole boot process. We've
solved similar problems in the past by moving things to /lib but it's
just a sticking plaster, not a real fix.

If you have constructive criticism as to the reasons why this is now
warned about specifically in systemd, then this is perfectly valid but
should be done in context rather than simply calling it &quot;idiotic&quot;
without any further clarification.

And systemd is not saying that /usr cannot be on a separate partition.
It's just saying that it cannot realistically be the job of the init
system to mount it, it has to be handled at early boot in the initramfs,
not by init. The reasons why this is the case are documented very clearly.

Hope this helps clarify this discussion without going over old ground again.

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="009152.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing
</A></li>
	<LI>Next message: <A HREF="009209.html">[Mageia-dev] Please test: initscripts+systemd in updates_testing
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#9206">[ date ]</a>
              <a href="thread.html#9206">[ thread ]</a>
              <a href="subject.html#9206">[ subject ]</a>
              <a href="author.html#9206">[ 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>