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

Bug#830829: release-notes: Document that late-mounting /usr is not supported



On 11 July 2016 at 19:53, Felipe Sateler <fsateler@debian.org> wrote:
> Package: release-notes
> Severity: normal
>
> It has been a long time since late-mounting /usr (ie, using only tools
> in /) has been actually supported. In stretch, all initramfs generators
> mount /usr if it is a separate mount, so that init receives both / and
> /usr mounted.
>
> Problems can occur if /usr is not pre-mounted due to:
>
> 1. Programs used during early boot require libraries or other files in
>    /usr. (Example, #829127)
> 2. Udev rules might be invoked very early in the boot process, causing
>    programs from /usr to be executed. (Example udev rules,
>    90-alsa-restore.rules, 63-md-raid-arrays.rules, 39-usbmuxd.rules).
>
> What does this mean for users? It means that if (1) you have /usr on its
> own partition, and (2) you do not use an initramfs; then you should
> start using one. All of the debian-provided initramfs generators will
> generate a suitable one.
>
> The release notes should document this requirement.

Please find attached a patch doing so. I put this in the issues page,
but I'm not sure where on that page it should go, so I put it first.



-- 

Saludos,
Felipe Sateler
Index: en/issues.dbk
===================================================================
--- en/issues.dbk	(revision 11303)
+++ en/issues.dbk	(working copy)
@@ -22,6 +22,23 @@
     This section covers items related to the upgrade from
     &Oldreleasename; to &Releasename;
   </para>
+  <section id="late-mounting-usr">
+    <title>Late mounting of /usr is no longer supported</title>
+    <para>
+      Mounting of <filename>/usr</filename> using only tools found in
+      <filename>/</filename> is no longer supported. This has only worked
+      for a few specific configurations in the past, and now they are
+      explicitly unsupported. 
+    </para>
+    <para>
+      This means that for &Releasename; all systems where <filename>/usr</filename>
+      is a separate partition need to use an initramfs generator that will mount
+      <filename>/usr</filename>. All initramfs generators in &Releasename; do so.
+    </para>
+    <para>
+      This does not affect you if you do not use a custom kernel.
+    </para>
+  </section> 
   <section id="noteworthy-obsolete-packages">
     <title>Noteworthy obsolete packages</title>
     <para>

Reply to: