shorewall w PLD

maHo lukaszmach w gmail.com
Pon, 13 Wrz 2004, 10:59:51 CEST


On Sun, 12 Sep 2004 23:47:49 +0200, Robert 'dzeus' Graużenis
<dzeus w zatorze.slupsk.pl> wrote:
> Nie wiem czemu, ale próba uruchomienia shorewalla na bashu z PLD kończy się
> takimi wpisami przy starcie:
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
>    Rule "all all tcp - ssh 16" added.
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
>    Rule "all all tcp ssh - 16" added.
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
>    Rule "all all tcp - ftp 16" added.
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
>    Rule "all all tcp ftp - 16" added.
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
>    Rule "all all tcp ftp-data - 8" added.
> /usr/share/shorewall/firewall[6398]: : bad substitution
> /usr/share/shorewall/firewall[6398]: : bad substitution
> i reguły nie są dodawane. Zachowuje sie tak każda wersja od 1.4 do 2.1.
> Shorewall wymaga:
> A Bourne shell or derivative such as bash or ash. This shell must have
> correct support for variable expansion formats ${variable%pattern},
> ${variable%%pattern}, ${variable#pattern} and ${variable##pattern}.
> 
> Może ktoś bardziej obeznany w temacie mógłby na to spojrzeć, bo narzędzie
> warte jest uwagi.
> Pozdrawiam:

skrypty  zaczynają się od #!/bin/sh
wiele skryptów milcząco zakłada że /bin/sh to jest bash, a u nas jest to pdksh.

pozdrav

maHo




Więcej informacji o liście dyskusyjnej pld-devel-pl