Corrected Ubuntu version in bug description to Ubuntu 24.04.5 LTS.
** Description changed: - Ubuntu 22.04.5 LTS - firehol 3.1.7+ds-3 + Ubuntu 24.04.5 LTS + firehol 3.1.7+ds-3 The following scripts provided by the Firehol package use /bin/sh in the shebang line: /etc/network/if-down.d/firehol /etc/network/if-post-down.d/00-firehol /etc/network/if-pre-up.d/zz-firehol /etc/network/if-up.d/firehol By default /bin/sh is symlinked to 'dash'. The scripts all have a line like this: - if [ -o allexport ]; then + if [ -o allexport ]; then The "-o optname" test (if the shell option optname is enabled) does not exist in Dash. This results in errors like this printing when ifup or ifdown is used: - /etc/network/if-down.d/firehol: 71: [: -o: unexpected operator + /etc/network/if-down.d/firehol: 71: [: -o: unexpected operator -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2167527 Title: Firehol scripts use /bin/sh but require bash, print errors when /bin/sh is dash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firehol/+bug/2167527/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
