[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782178: Changes to root and /usr filesystem mounting and checking



On Sun, 19 Apr 2015 15:52:34 +0100 Ben Hutchings <ben@decadent.org.uk> wrote:
> Control: retitle -1 Changes to root and /usr filesystem mounting and checking
> Control: tag -1 patch
> 
> There are several other issues with the initramfs-tools changes that
> will require manual configuration changes on some systems.  I'm
> expanding this bug to cover all of them, and attaching a patch with my
> text, closely based on what I already put in the package's NEWS file.

Actually this text belongs in the 'Upgrading your kernel and related
packages' section.  Here's a new patch that puts it there.

Ben.

-- 
Ben Hutchings
Anthony's Law of Force: Don't force it, get a larger hammer.
Index: en/upgrading.dbk
===================================================================
--- en/upgrading.dbk	(revision 10778)
+++ en/upgrading.dbk	(working copy)
@@ -1237,6 +1237,62 @@
 </para>
 </section>
 
+<section id="initramfs-tools-issues">
+  <!-- Wheezy to Jessie -->
+  <title>Changes to root and <filename>/usr</filename> filesystem mounting and checking</title>
+  <para>
+    <systemitem
+    role="package">initramfs-tools</systemitem> will now also run
+    <literal>fsck</literal> on the root filesystem before mounting it.
+    If the chosen init program is <literal>systemd</literal> and there
+    is a separate <filename>/usr</filename> filesystem, it will also
+    fsck and mount <filename>/usr</filename>.
+  </para>
+  <itemizedlist>
+    <listitem>
+      <para>
+	If <filename>/usr</filename> is a separate filesystem on a
+	RAID device and the <literal>INITRDSTART</literal> setting in
+	<filename>/etc/default/mdadm</filename> is not
+	'<literal>all</literal>', you will need to change it to
+	include that device.
+      </para>
+    </listitem>
+    <listitem>
+      <para>
+	If <filename>/usr</filename> is a separate filesystem on an
+	LVM logical volume, and the line for <filename>/usr</filename>
+	in <filename>/etc/fstab</filename> specifies the device by
+	<literal>UUID</literal> or <literal>LABEL</literal>, you must
+	change this line to specify the device using the format
+	<filename>/dev/mapper/<replaceable>VG</replaceable>-<replaceable>LV</replaceable></filename>
+	or
+	<filename>/dev/<replaceable>VG</replaceable>/<replaceable>LV</replaceable></filename>.
+      </para>
+    </listitem>
+    <listitem>
+      <para>
+	It is no longer possible to bind-mount the
+	<filename>/usr</filename> filesystem.
+      </para>
+    </listitem>
+    <listitem>
+      <para>
+	If the RTC (real time clock) is set to local time and the
+	local time is ahead of UTC, <literal>e2fsck</literal> will
+	print a warning during boot about the time changing backward
+	(<ulink url="https://bugs.debian.org/767040";>bug
+	#767040</ulink>).  You can disable this by putting the
+	following lines in <filename>/etc/e2fsck.conf</filename>:
+      </para>
+      <screen>
+[options]
+broken_system_clock=1
+</screen>
+    </listitem>
+  </itemizedlist>
+</section>
+
 <section id="boot-timing" arch="linux">
 <title>Boot timing issues (waiting for root device)</title>
 <para>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: