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] Minimum install of cauldron don't start console
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimum%20install%20of%20cauldron%20don%27t%20start%20console&In-Reply-To=%3C4F56165E.9090609%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="012654.html">
<LINK REL="Next" HREF="012660.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Minimum install of cauldron don't start console</H1>
<B>Colin Guthrie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Minimum%20install%20of%20cauldron%20don%27t%20start%20console&In-Reply-To=%3C4F56165E.9090609%40colin.guthr.ie%3E"
TITLE="[Mageia-dev] Minimum install of cauldron don't start console">mageia at colin.guthr.ie
</A><BR>
<I>Tue Mar 6 14:51:26 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="012654.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
<LI>Next message: <A HREF="012660.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12658">[ date ]</a>
<a href="thread.html#12658">[ thread ]</a>
<a href="subject.html#12658">[ subject ]</a>
<a href="author.html#12658">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>'Twas brillig, and Pascal Terjan at 06/03/12 13:34 did gyre and gimble:
><i> On Tue, Mar 6, 2012 at 13:23, Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote:
</I>>><i> 'Twas brillig, and Olivier Thauvin at 06/03/12 12:38 did gyre and gimble:
</I>>>><i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote:
</I>>>>><i> 'Twas brillig, and Olivier Thauvin at 06/03/12 09:24 did gyre and gimble:
</I>>>>>><i> Hi there,
</I>>>>>><i>
</I>>>>>><i> I just try to install a cauldron to setup a test IPv6 firewall/router.
</I>>>>>><i> To setup server I do a minimum install:
</I>>>>>><i> - /boot on its own partition
</I>>>>>><i> - /var /tmp and swap on lvm
</I>>>>>><i> - select no packages categories but yes install doc
</I>>>>>><i> - no post configuration, so no X11 (hey it's a server)
</I>>>>>><i>
</I>>>>>><i> At boot the system started but stop to "starting display manager" (??)
</I>>>>>><i> and I were unable to reach any text terminal.
</I>>>>><i>
</I>>>>><i> No text terminal at all? Not on tty2 or 3?
</I>>>><i>
</I>>>><i> Indeed, alt + F2 show the login prompt. But before I pressed alt + F2 ps
</I>>>><i> was not showing any "*getty" program, a bit confusing, especially since
</I>>>><i> there is nothing on first console.
</I>>>><i>
</I>>>>><i>
</I>>>>><i> If you try and start dm (prefdm.service) then you will NOT get a tty1
</I>>>>><i> getty (prefdm.service conflicts with <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">getty at tty1.service</A>), but all other
</I>>>>><i> tty's should be fine (handled by <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">autovt at .service</A>)
</I>>>><i>
</I>>>><i> Maybe, but I never asked to have prefdm and in fact I don't want X
</I>>>><i> terminal.
</I>>><i>
</I>>><i> They why are you booting to a graphical target?
</I>><i>
</I>>><i>From what I read, because that's what was done during installation
</I>><i>
</I>><i> prefdm shouldn't be there on installs without X
</I>
Well both the service (part of systemd-units) and the script (part of
initscripts) will certainly exist.
And prefdm.service is a hard requirement of graphical.target (due to
/lib/systemd/system/graphical.target.wants/display-manager.service
symlink) [display-manager.service is in turn a symlink to prefdm.service
- longer term it'll probably become the official name instead of prefdm]
The thing is that the default.target symlink should change between
multi-user.target and graphical.target (or runlevel3.target and
runlevel5.target which are compatibility symlinks for the newer, more
descriptive names).
This symlink structure is equiv to the line in inittab:
id:5:initdefault:
where 5 or 3 are the typical values.
><i> When you install a new machine (without X) and boot it, you expect to
</I>><i> be given a login prompt
</I>
I would agree. In that case the code should ensure that
multi-user.target or runlevel3.target is used.
We need to check what the inittab file says too. The drakx code that
deals with runlevels should keep the default.target symlink and inittab
file in sync. If a fresh install like this includes an initab with 5,
then that's a problem.
Or perhaps we just need to create a default.target in the %post of
systemd-units if it doesn't exist and default it to whatever inittab
says? I'm pretty sure the installer code should take care of creating
this symlink tho'.... will try and double check with a clean install in
a VM.
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="012654.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
<LI>Next message: <A HREF="012660.html">[Mageia-dev] Minimum install of cauldron don't start console
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#12658">[ date ]</a>
<a href="thread.html#12658">[ thread ]</a>
<a href="subject.html#12658">[ subject ]</a>
<a href="author.html#12658">[ 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>
|