diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012658.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/012658.html | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/012658.html b/zarb-ml/mageia-dev/2012-March/012658.html new file mode 100644 index 000000000..457fe627a --- /dev/null +++ b/zarb-ml/mageia-dev/2012-March/012658.html @@ -0,0 +1,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> |