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

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

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.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply to: