Your message dated Tue, 8 Dec 2015 16:15:08 -0500
with message-id
<CAD=qjkholz7enux+vna7hvg8eq6vvye1+stvpnmcsqkuuqc...@mail.gmail.com>
and subject line Re: [fixed] None borne shell compatible script /bin/fsck.btrfs
breaks initrd
has caused the Debian Bug report #784911,
regarding None borne shell compatible script /bin/fsck.btrfs breaks initrd
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
784911: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=784911
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: btrfs-tools
Version: 4.0-2
Severity: normal
Tags: patch
/bin/fsck.btrfs uses syntax that is not compatible to POSIX borne shell
syntax. As it is included in initram, breaks it somewhat.
Here is a patch to fix that:
--- fsck.btrfs.distrib 2015-05-10 15:10:10.315185998 +0100
+++ fsck.btrfs 2015-05-10 15:10:44.117891197 +0100
@@ -31,7 +31,7 @@
echo "$0: $DEV does not exist"
exit 8
fi
-if [ "$AUTO" == "false" ]; then
+if [ "x$AUTO" = "xfalse" ]; then
echo "If you wish to check the consistency of a BTRFS filesystem or"
echo "repair a damaged filesystem, see btrfs(8) subcommand 'check'."
fi
Note that this fixes two problems in one:
1. There is no such operator like "==" in borne shell. When will people
accept that finally!?
2. Some shells evaluate the parameters to "=" so it is best to prefix it
with some fixed string.
- -- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.19.5 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to
de_DE)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages btrfs-tools depends on:
ii e2fslibs 1.42.12-1.1
ii libblkid1 2.26.2-2
ii libc6 2.19-18
ii libcomerr2 1.42.12-1.1
ii liblzo2-2 2.08-1.2
ii libuuid1 2.25.2-6
ii zlib1g 1:1.2.8.dfsg-2+b1
btrfs-tools recommends no packages.
btrfs-tools suggests no packages.
- -- no debconf information
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCgAGBQJVT2iwAAoJEKZ8CrGAGfasPsUMAMZNFJmgEQCCejzeSsD61Bce
+lD2sPtJMIZn44qy3ujo8qXi6gHAPo2L3nKb2f/uVrAb3EB2fdyLQhUQD4Bo1Rzc
KKpHRGOJPSUS3TIbDIIRxaRHahRB5SZFoEWxiyEp4SNaM8faBNwlay0Gk2CMnekX
FagBwEUHGNF0dpkir/U0DTdyVdlAg179X3X7hVlrgFqpnLsH9xFr7dXSEDFo1o5X
qZtLDNlVnRSLxc+XApnew4A4EHit6b0gLu/JkLf012iatReUXX612nteGC8TLj78
QJMB60ebMQivgVMAP8KYpRYMV9P8OGo8gB7POZeF2cz9AnzYAV1WRtbUXnLT8SkJ
uCHbIbP0E+v742FELJdu2+Z/GcFqRqhnSBCm1T+/HPZJPaxUIwrpUtXZSPkmSFRc
1KfHm7xWlALdZZUkJPP1ycjCKbLnYUgKCPkCqjVWYiulw8thJZ0IwIxSqMfRTLjs
7fQ4ClUxX/+ma9eio+tPVec0bT4AbtMqh2q6rRtBsA==
=14th
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Version: 4.1.2-1
Fixed upstream in an identical way to Daniel Andersson's patch since version 4.1
- Fixed: fsck.btrfs: no bash-isms
https://btrfs.wiki.kernel.org/index.php/Changelog
--- End Message ---