Bug#782482: unblock: initramfs-tools/0.120
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package initramfs-tools
This is a minor update, improving the way we report the results of fsck
and documenting more of the fall-out from mounting /usr.
diff -Nru initramfs-tools-0.119/debian/changelog initramfs-tools-0.120/debian/changelog
--- initramfs-tools-0.119/debian/changelog 2015-03-04 20:09:27.000000000 +0000
+++ initramfs-tools-0.120/debian/changelog 2015-04-13 01:18:17.000000000 +0100
@@ -1,3 +1,17 @@
+initramfs-tools (0.120) unstable; urgency=medium
+
+ * [23ee5f9] Add '.log' to fsck log output file, and document its existence
+ (Closes: #780352)
+ * [b87e34b] Remove old comment about running shell on failure of fsck
+ * [864c04b] Create stamp files to tell the real init system fsck was
+ successful (Closes: #782481)
+ * [f54fe54] NEWS: Improve wording of the entry about mdadm's INITRDSTART
+ setting
+ * [25ab961] NEWS: Add entries about other ways of mounting /usr that won't
+ work
+
+ -- Ben Hutchings <ben@decadent.org.uk> Mon, 13 Apr 2015 01:18:06 +0100
+
initramfs-tools (0.119) unstable; urgency=medium
The "Wait smarter not harder" release
diff -Nru initramfs-tools-0.119/debian/NEWS initramfs-tools-0.120/debian/NEWS
--- initramfs-tools-0.119/debian/NEWS 2015-03-04 20:04:26.000000000 +0000
+++ initramfs-tools-0.120/debian/NEWS 2015-04-13 01:17:50.000000000 +0100
@@ -3,9 +3,14 @@
* The initramfs will now run fsck on the root filesystem before
mounting it. If the chosen init program is systemd and there is a
separate /usr filesystem, it will also fsck and mount /usr.
- * If the /usr filesystem is on a RAID device and the INITRDSTART setting
- in /etc/default/mdadm is not 'all', you will need to change it to
- include that device.
+ * If /usr is a separate filesystem on a RAID device and the INITRDSTART
+ setting in /etc/default/mdadm is not 'all', you will need to change it
+ to include that device.
+ * If /usr is a separate filesystem on an LVM logical volume, and the
+ line for /usr in /etc/fstab specifies the device by UUID or LABEL,
+ you must change this line to specify the device using the format
+ /dev/mapper/VG-LV or /dev/VG/LV.
+ * It is no longer possible to bind-mount the /usr filesystem.
* If the RTC (real time clock) is set to local time and the local time is
ahead of UTC, e2fsck will print a warning during boot about the time
changing backward (bug #767040). You can disable this by putting the
@@ -13,7 +18,7 @@
[options]
broken_system_clock=1
- -- Ben Hutchings <ben@decadent.org.uk> Sat, 17 Jan 2015 16:56:56 +0000
+ -- Ben Hutchings <ben@decadent.org.uk> Mon, 13 Apr 2015 01:00:21 +0100
initramfs-tools (0.94) unstable; urgency=low
diff -Nru initramfs-tools-0.119/initramfs-tools.8 initramfs-tools-0.120/initramfs-tools.8
--- initramfs-tools-0.119/initramfs-tools.8 2015-03-01 23:18:29.000000000 +0000
+++ initramfs-tools-0.120/initramfs-tools.8 2015-04-13 00:56:58.000000000 +0100
@@ -585,6 +585,18 @@
.RE
+.SH FILES
+.TP
+.I /run/initramfs/fsck.log
+Log of fsck commands run within the initramfs, with their output.
+.TP
+.I /run/initramfs/fsck-root
+Exists only if fsck ran successfully for the root filesystem.
+.TP
+.I /run/initramfs/fsck-usr
+Exists only if fsck ran successfully for the \fI/usr\fR filesystem.
+
+
.SH AUTHOR
The initramfs-tools are written by Maximilian Attems <maks@debian.org>,
Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
diff -Nru initramfs-tools-0.119/scripts/functions initramfs-tools-0.120/scripts/functions
--- initramfs-tools-0.119/scripts/functions 2015-03-01 21:44:34.000000000 +0000
+++ initramfs-tools-0.120/scripts/functions 2015-04-13 00:56:58.000000000 +0100
@@ -340,7 +340,8 @@
if [ "$NAME" = "/" ] ; then
NAME="root"
fi
- FSCK_LOGFILE=/run/initramfs/fsck
+ FSCK_LOGFILE=/run/initramfs/fsck.log
+ FSCK_STAMPFILE=/run/initramfs/fsck-${NAME#/}
TYPE=$(get_fstype "$1")
@@ -380,9 +381,6 @@
log_end_msg
fi
- #
- # If there was a failure, drop into a shell.
- #
# NOTE: "failure" is defined as exiting with a return code of
# 4, possibly or-ed with other flags. A return code of 1
# indicates that file system errors were corrected but that
@@ -399,6 +397,8 @@
then
log_warning_msg "File system check failed but did not detect errors"
sleep 5
+ else
+ touch $FSCK_STAMPFILE
fi
return 0
}
--- END ---
unblock initramfs-tools/0.120
-- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.16.0-4-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: