Bug#784911: None borne shell compatible script /bin/fsck.btrfs breaks initrd

2015-06-18 Thread Daniel Andersson
Package: btrfs-tools Version: 4.0-2 Followup-For: Bug #784911 Noticed this Bashism as well. Comparing with booleans (or boolean-like variables as in this case) is generally not necessary; before I found this bug report I had personally solved it as below using the POSIX built-in behaviour for

Bug#784911: None borne shell compatible script /bin/fsck.btrfs breaks initrd

2015-05-11 Thread Tareeq Ali
Hi i'd like to confirm this bug as well as the patch does in fact resolve the issue. At boot up I would get the following error; systemd-fsck[703]: /bin/fsck.btrfs: 34: [: true: unexpected operator after applying the patch I no longer get this error. -Tareeq

Bug#784911: None borne shell compatible script /bin/fsck.btrfs breaks initrd

2015-05-10 Thread Klaus Ethgen
-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: ---