Bug#1017869: nfs-utils: nfs-common and nfs-kernel-server initscripts are /bin/bash and shellcheck-dirty
Hi,
On Sun, Aug 21, 2022 at 10:12:42PM +0200, наб wrote:
> Source: nfs-utils
> Version: 1:1.3.4-6
> Severity: minor
> Tags: patch
>
> Dear Maintainer,
>
> See subject; also, neither of them use any bash extensions.
>
> Please consider the patch, below, based on current Salsa HEAD;
> this may also close #762939.
For changing to #!/bin/sh, as Ben explained in #762939:
This is true, but it sources /etc/default/nfs-common which could
contain bashisms. I don't think this is worth the risk.
The same holds here for changing the scripts to #!/bin/sh.
Regards,
Salvatore
Reply to: