summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017642.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017642.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017642.html192
1 files changed, 192 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017642.html b/zarb-ml/mageia-dev/2012-July/017642.html
new file mode 100644
index 000000000..d63106ed7
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017642.html
@@ -0,0 +1,192 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Systemd improvement
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Systemd%20improvement&In-Reply-To=%3C500E7126.6010205%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="017640.html">
+ <LINK REL="Next" HREF="017648.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Systemd improvement</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Systemd%20improvement&In-Reply-To=%3C500E7126.6010205%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Systemd improvement">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Tue Jul 24 11:55:50 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017640.html">[Mageia-dev] Systemd improvement
+</A></li>
+ <LI>Next message: <A HREF="017648.html">[Mageia-dev] Systemd improvement
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17642">[ date ]</a>
+ <a href="thread.html#17642">[ thread ]</a>
+ <a href="subject.html#17642">[ subject ]</a>
+ <a href="author.html#17642">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Olivier Thauvin at 24/07/12 10:47 did gyre and gimble:
+&gt;<i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote:
+</I>&gt;&gt;<i> 'Twas brillig, and Olivier Thauvin at 24/07/12 10:02 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> I have some minor issues with systemd so I report it in case some
+</I>&gt;&gt;&gt;<i> improvment could be done:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> 1) The timeout is very long when the system failed to ask the passphrase
+</I>&gt;&gt;&gt;<i> for encrypted partition, os it is very long to reach any console (this
+</I>&gt;&gt;&gt;<i> happend only when there is a problem)
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> 2) When everything work fine, the timeout occur if the passphrase for
+</I>&gt;&gt;&gt;<i> encrypted partition is not enter early enough: I power up my laptop, do
+</I>&gt;&gt;&gt;<i> something else, come back and it report the boot has failed, surprising!
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> So it's both too long and too short :)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I'm not sure how to deal with this, but I would suggest that we need to
+</I>&gt;&gt;<i> do something a bit more creative to deal with your particular use case.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> For yourself, it's not a &quot;critical&quot; filesystem - e.g. it's not /usr or
+</I>&gt;&gt;<i> similar, but /home.
+</I>&gt;<i>
+</I>&gt;<i> No you misunderstood, if the system succeed to launch
+</I>&gt;<i> '/usr/bin/ask-the-passphrase' or whatever its name is, it must wait an
+</I>&gt;<i> answer for ever and not continue booting and finally claim &quot;hey
+</I>&gt;<i> surprising, I failed to boot w/o the passphrase&quot;.
+</I>&gt;<i> The firest time it happend I really thought my system was broken.
+</I>
+So what if you cannot enter your password and want to rescue the system?
+Should it still wait forever until you enter your passphrase? Or would
+you have to deliberately enter your passphrase wrong X number of times
+to get the the rescue mode?
+
+&gt;<i> However, if it cannot launch '/usr/bin/ask-the-passphrase' it is sure
+</I>&gt;<i> booting will failed as it cannot get the passphrase, no need to wait an
+</I>&gt;<i> impossible user input.
+</I>&gt;<i> Again, the case I just talk about happend only in case of bug and must
+</I>&gt;<i> not happend on stable distro.
+</I>
+In this particular case it was not that it could not run the password
+prompt, simply that it didn't know how to mount something completely
+alien to it.
+
+You have to remember that all this is happening completely
+asynchronously these days. It's not like systemd is specifically poking
+things and failing. It's waiting for the system to do it itself, hence
+the timeouts.
+
+That's not to say this can't be solved, it's just that we're treating
+one mount much like any other - and some mounts take a loooooong time to
+happen (e.g. just try recent btrfs stuff with all the krud it does when
+mounting).
+
+But the &quot;waiting-for-password&quot; case and the &quot;there is no subsystem to
+handle even asking for the password&quot; case are essentially treated the
+same way.
+
+This is likely a discussion to take to the upstream mailing list.
+
+&gt;&gt;&gt;<i> 3) the boot process hang/stop/wait if my wireless card is down (using
+</I>&gt;&gt;&gt;<i> the hardware switch on the side of my laptop). This step need just one
+</I>&gt;&gt;&gt;<i> second when the card is on, even it does not connect to any network.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If you have any NFS (or other network mounts) mounts that are NOT marked
+</I>&gt;&gt;<i> with nofail, then we consider them to be &quot;critical&quot; filesystems. If
+</I>&gt;&gt;<i> these filesystems are NOT needed for boot, then just mark them as
+</I>&gt;&gt;<i> &quot;nofail&quot; and they will still be mounted but your DM/logins will not be
+</I>&gt;&gt;<i> delayed while waiting for the network.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> I don't have nfs in my fstab but maybe this is triggered by another
+</I>&gt;<i> service.
+</I>&gt;<i> But I don't see the point of waiting the card to be on, especially when
+</I>&gt;<i> the card is on it don't connect to any network and don't wait this
+</I>&gt;<i> happend.
+</I>
+Hmm in that case it sounds like a different issue than the deliberate
+stuff that waits for the network to be ready.
+
+Do you know which bit of the system is waiting for this? Is it
+network-up.service or something else? (I doubt it can be network-up as
+this shouldn't delay logins unless the afore mentioned NFS mounts are
+present)
+
+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="017640.html">[Mageia-dev] Systemd improvement
+</A></li>
+ <LI>Next message: <A HREF="017648.html">[Mageia-dev] Systemd improvement
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17642">[ date ]</a>
+ <a href="thread.html#17642">[ thread ]</a>
+ <a href="subject.html#17642">[ subject ]</a>
+ <a href="author.html#17642">[ 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>