On 4/6/19 11:22 PM, John Paul Adrian Glaubitz wrote: >> But that file ([1]) is 5 years old, so maybe the way the shell - >> actually `busybox` - handles (or ignored) a "local" keyword outside of a >> function has changed? > > The installer team just uploaded busybox 1.30 last month [1] which introduced > at least one serious bug [2]. Might be that busybox 1.30 broke more stuff.
shellcheck complains about that "local" as well but it claims it's not known to the original Unix shell at all: glaubitz@epyc:..glaubitz/tmp> shellcheck 26zfs-devices In 26zfs-devices line 3: . /usr/share/debconf/confmodule ^-- SC1091: Not following: /usr/share/debconf/confmodule was not specified as input (see shellcheck -x). In 26zfs-devices line 8: if [ ! -f /var/lib/partman/zfs ] && [ "$(udpkg --print-os)" = kfreebsd -o "$(udpkg --print-os)" = linux ] ; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In 26zfs-devices line 19: local zfs_load_timeout ^-- SC2039: In POSIX sh, 'local' is undefined. In 26zfs-devices line 23: let zfs_load_timeout++ ^-- SC2039: In POSIX sh, 'let' is undefined. ^-- SC2039: In POSIX sh, ++ is undefined. glaubitz@epyc:..glaubitz/tmp> I guess someone needs to build a fresh debian-installer on amd64, build a fresh CD image with debian-cd and test whether this issue shows there as well. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913