Just updated Webmin to 1.890 from debian sarge repo:
# cat /etc/apt/sources.list.d/webmin.list
deb http://download.webmin.com/download/repository sarge contrib
and I get this error when opening "Linux Firewall" module:
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.890 Date: Wed, 18 Jul 2018 10:28:12 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &net::get_interface_defs called at debian-linux-lib.pl line 63.
Webmin worked perfectly before updating to 1.890
Sorry, missed system details:
Ubuntu 18.04 Server x64
Just downgraded to 1.883 and it works, reupdated to 1.890 and "Linux Firewall" module stopped working again.
Additional note: bug is only on Ubuntu 18.04, no issues on Ubuntu 16.04.4.
Same error in Ubuntu 17.10 (ipv4 and ipv6)
Ubuntu Linux 18.04 Desktop
Same error:
Rules file /etc/iptables.up.rules
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.890 Date: Fri, 20 Jul 2018 08:34:20 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed
Undefined subroutine &net::get_interface_defs called at debian-linux-lib.pl line 63.
Last edit: Act Pohomoc 2018-07-20
I have found the solution. At least for now:
https://github.com/webmin/webmin/issues/941
Just add that:
total sub is: