summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017633.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017633.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017633.html178
1 files changed, 178 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017633.html b/zarb-ml/mageia-dev/2012-July/017633.html
new file mode 100644
index 000000000..be2278a45
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017633.html
@@ -0,0 +1,178 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] Failed to book after systemd 187 (was: Re: Failed to boot after /usr move)
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Failed%20to%20book%20after%20systemd%20187%20%28was%3A%20Re%3A%20Failed%20to%0A%20boot%20after%20/usr%20move%29&In-Reply-To=%3C500E66E9.5070805%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="017631.html">
+ <LINK REL="Next" HREF="017641.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Failed to book after systemd 187 (was: Re: Failed to boot after /usr move)</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Failed%20to%20book%20after%20systemd%20187%20%28was%3A%20Re%3A%20Failed%20to%0A%20boot%20after%20/usr%20move%29&In-Reply-To=%3C500E66E9.5070805%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] Failed to book after systemd 187 (was: Re: Failed to boot after /usr move)">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Tue Jul 24 11:12:09 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017631.html">[Mageia-dev] Failed to boot after /usr move
+</A></li>
+ <LI>Next message: <A HREF="017641.html">[Mageia-dev] Failed to boot after /usr move
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17633">[ date ]</a>
+ <a href="thread.html#17633">[ thread ]</a>
+ <a href="subject.html#17633">[ subject ]</a>
+ <a href="author.html#17633">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Olivier Thauvin at 24/07/12 09:44 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> Do you mean &quot;systemctl status cryptsetup.target&quot;? If so I get the same
+</I>&gt;&gt;<i> results here:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">colin at jimmy</A> spec-helper]$ systemctl status cryptsetup.target
+</I>&gt;&gt;<i> cryptsetup.target
+</I>&gt;&gt;<i> Loaded: error (Reason: No such file or directory)
+</I>&gt;&gt;<i> Active: inactive (dead)
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Exactly.
+</I>&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This generally happens when a unit refers to a target as a dep but the
+</I>&gt;&gt;<i> target itself is not defined.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> This target itself does seem to be AWOL in the systemd-units package.
+</I>&gt;&gt;<i> Seems like an unintended (or at least unannounced) change in systemd
+</I>&gt;&gt;<i> 187, so separate from the whole usr move thing, just related to a new
+</I>&gt;&gt;<i> systemd version.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I'll investigate ASAP.
+</I>&gt;<i>
+</I>&gt;<i> Thanks, at time I workaround with &quot;noauto&quot; in my fstab and I mount it
+</I>&gt;<i> manually after boot.
+</I>
+OK, so it seems systemd-187 bumped the needed libcrypt version and
+didn't say in the NEWS file.
+
+I've now update cryptsetup to 1.5.0 and will rebuild systemd shortly.
+
+Too much in the way of wildcard includes are used in the systemd
+filelist so this wasn't easily spotted :s When I get a bit of time I'll
+make the filelist a bit more explicit and thus this kind of thing should
+be easier to catch in the future.
+
+&gt;&gt;&gt;&gt;&gt;<i> BTW: /var/run and /var/lock were not migrated and I had to do it by
+</I>&gt;&gt;&gt;&gt;&gt;<i> hand.
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> This happens if /var is on a separate partition. Is this the case with
+</I>&gt;&gt;&gt;&gt;<i> you? I'll have to think about how to handle that more gracefully.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> It's the case.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Cool. Will have to work that one out then :s
+</I>&gt;<i>
+</I>&gt;<i> Can't the switch be done online a perl/python/c programme, eg once the
+</I>&gt;<i> programme is loaded everything can be done. Or by providing static
+</I>&gt;<i> binaries of mv/rm/ln ?
+</I>
+Switching /var/lock would probably be OK, but /var/run typically
+contains sockets for IPC and we cannot simply move these around and
+across filesystems without various breakages in the live system.
+
+Switching /bin -&gt; /usr/bin on a live system might be possible (even
+without static versions as both paths should be in the $PATH and both
+library locations should be in the ldconfig path.
+
+Besides the move works by making a (hardlinked) copy of /usr/bin first,
+then copies /bin (again with hardlinks if on the same FS) to this new
+folder and only at the end does it rm /bin and mv the the path into the
+right place so I'm that with a little care it could all work.
+
+What I'm less confident about is what would happen with file locking,
+and some security things when doing this &quot;live&quot;. It just seems
+altogether more prudent to do it from a &quot;safe&quot; environment, but I'd be
+happy to hear people's opinions on this one.
+
+Probably best for a new discussion thread tho'.
+
+Cheers
+
+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="017631.html">[Mageia-dev] Failed to boot after /usr move
+</A></li>
+ <LI>Next message: <A HREF="017641.html">[Mageia-dev] Failed to boot after /usr move
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17633">[ date ]</a>
+ <a href="thread.html#17633">[ thread ]</a>
+ <a href="subject.html#17633">[ subject ]</a>
+ <a href="author.html#17633">[ 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>