<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] 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%20boot%20after%20/usr%20move&In-Reply-To=%3C500E7363.30707%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="017641.html">
   <LINK REL="Next"  HREF="017621.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] 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%20boot%20after%20/usr%20move&In-Reply-To=%3C500E7363.30707%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] Failed to boot after /usr move">mageia at colin.guthr.ie
       </A><BR>
    <I>Tue Jul 24 12:05:23 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="017641.html">[Mageia-dev] Failed to boot after /usr move
</A></li>
        <LI>Next message: <A HREF="017621.html">[Mageia-dev] Filesystem doesn't upgrade because of missing dep
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17643">[ date ]</a>
              <a href="thread.html#17643">[ thread ]</a>
              <a href="subject.html#17643">[ subject ]</a>
              <a href="author.html#17643">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Christiaan Welvaart at 24/07/12 10:51 did gyre and
gimble:
&gt;<i> On Tue, 24 Jul 2012, Olivier Thauvin wrote:
</I>&gt;<i> 
</I>&gt;&gt;<i> Can't the switch be done online a perl/python/c programme, eg once the
</I>&gt;&gt;<i> programme is loaded everything can be done. Or by providing static
</I>&gt;&gt;<i> binaries of mv/rm/ln ?
</I>&gt;<i> 
</I>&gt;<i> There are of course 2 switches, /{lib,bin,bin,lib64} and /var/{run,lock}
</I>&gt;<i> . AFAIK the latter can just be done &quot;online&quot; as long as all sockets can
</I>&gt;<i> be moved. I'm not sure about the details of moving these special files,
</I>&gt;<i> though.
</I>
It's generally not a good idea for system stability to move /var/run in
place to be honest. Lots of things use e.g. dbus for IPC and these will
likely just break badly.

Ultimately it's not the end of the world if you do the flip and do a
reboot, but all the same it's not ideal.

Also when changing them to symlinks it's important to ensure that
mandriva-clean-var-run-lock.service is disabled otherwise it will delete
the links again. I just did an &quot;rm
/lib/systemd/system/sysinit.target.wants/mandriva-clean-var-run-lock.service&quot;
in the conversion script.

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="017641.html">[Mageia-dev] Failed to boot after /usr move
</A></li>
	<LI>Next message: <A HREF="017621.html">[Mageia-dev] Filesystem doesn't upgrade because of missing dep
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17643">[ date ]</a>
              <a href="thread.html#17643">[ thread ]</a>
              <a href="subject.html#17643">[ subject ]</a>
              <a href="author.html#17643">[ 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>