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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4017%5D%20Include%20persistent-storage%0A%20udev%20rules%20%28%20needed%20for%20UUID%20info%20on%20root%20disks%20during%20install%29&In-Reply-To=%3C4F8543BF.4050908%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="014136.html">
<LINK REL="Next" HREF="014138.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B4017%5D%20Include%20persistent-storage%0A%20udev%20rules%20%28%20needed%20for%20UUID%20info%20on%20root%20disks%20during%20install%29&In-Reply-To=%3C4F8543BF.4050908%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)">gmane at colin.guthr.ie
</A><BR>
<I>Wed Apr 11 10:41:41 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="014136.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)
</A></li>
<LI>Next message: <A HREF="014138.html">[Mageia-dev] Help: Please find me initscripts without LSB headers!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16384">[ date ]</a>
<a href="thread.html#16384">[ thread ]</a>
<a href="subject.html#16384">[ subject ]</a>
<a href="author.html#16384">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Thierry Vignaud at 11/04/12 07:49 did gyre and gimble:
><i> On 11 April 2012 01:44, <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A>> wrote:
</I>>><i> Log Message
</I>>><i>
</I>>><i> Include persistent-storage udev rules (needed for UUID info on root disks
</I>>><i> during install)
</I>><i>
</I>><i> For the record, what does this fix?
</I>
Sorry, I should have been more verbose.
Basically because of the previous commit:
<A HREF="http://svnweb.mageia.org/soft?view=revision&revision=4014">http://svnweb.mageia.org/soft?view=revision&revision=4014</A>
We can now generate a "hostonly" initrd, i.e. a nice small, "normal"
initrd that we typically produce, tailored for the system in question.
As a fallout from this, when running the install with an encrypted root
partition (and possibly just a normal LVM, not sure), various udev
properties were not injected into the udev database. These properties
(FS_UUID - can be seen via e.g. udevadm info --query=property
--name=/dev/sda5) as needed by dracut to detect things properly (rather
than resulting to lots of weird and wonderful probing methods dracut
tries to use udev as it's primary source of info).
So these rules ensured that the UUID of /dev/sd* partitions were
available in udev.
Hope that clarifies things.
I was quietly hoping these two change would also solve
<A HREF="https://bugs.mageia.org/show_bug.cgi?id=5330">https://bugs.mageia.org/show_bug.cgi?id=5330</A> but it seems that one will
need a bit more investigation/work.
Also note that on urpmi upgrade, the user will still have a large,
non-hostonly initrd generated. We can't do much about that until the
user has booted with that initrd and can then regenerate it again to
make a nice lean, hostonly version.
Cheers
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
<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="014136.html">[Mageia-dev] [soft-commits] [4017] Include persistent-storage udev rules ( needed for UUID info on root disks during install)
</A></li>
<LI>Next message: <A HREF="014138.html">[Mageia-dev] Help: Please find me initscripts without LSB headers!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#16384">[ date ]</a>
<a href="thread.html#16384">[ thread ]</a>
<a href="subject.html#16384">[ subject ]</a>
<a href="author.html#16384">[ 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>
|