Menu

#5053 After Update to V1.87 Module "Bandwidth Monitoring" is broken

1.870
closed-fixed
nobody
None
5
2018-02-22
2017-12-10
Andreas
No

OS Debian Linux 8

Start of module brings error:

Missing file to read at firewall::/usr/share/webmin/firewall/firewall-lib.pl line 160

Discussion

  • Shadowphoenix

    Shadowphoenix - 2018-01-11

    Same issue here :(.

    OS Debian Linux 9.

    Did you figure it out?

    It looks like $ipvx_save does not exist :(

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-11

    Can you add the line error_stack=1 to /etc/webmin/config and then post the full error message that appears?

     
  • Shadowphoenix

    Shadowphoenix - 2018-01-11

    Missing file to read at firewall::/usr/share/webmin/firewall/firewall-lib.pl line 160
    Call Stack Trace
    File Line Function
    /usr/share/webmin/web-lib-funcs.pl 3170 WebminCore::error
    /usr/share/webmin/firewall/firewall-lib.pl 160 WebminCore::read_file_lines
    ./bandwidth-lib.pl 291 firewall::save_table
    ./bandwidth-lib.pl 189 bandwidth::setup_firewall_rules
    /usr/share/webmin/bandwidth/setup.cgi 13 bandwidth::setup_rules
    (eval 47) 6 (eval)
    /usr/share/webmin/miniserv.pl 2424 (eval)
    /usr/share/webmin/miniserv.pl 939 miniserv::handle_request

     
  • Jamie Cameron

    Jamie Cameron - 2018-01-13
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2018-01-13

    Ok I see the cause of this - it will be fixed in the next Webmin release.

     
  • KillingJacky

    KillingJacky - 2018-01-24

    When will the next version be released? Before that, could you please post a work around here?

     
  • Michał Gardeła

    Followed the hotfix and updated bandwidth-lib.pl to use firewall4, but after that I get:

    Require firewall/firewall4-lib.pl failed :
    Undefined subroutine &firewall::get_module_acl called at /usr/share/webmin/firewall/firewall4-lib.pl line 21.

    Call Stack Trace
    File    Line    Function
    /usr/share/webmin/web-lib-funcs.pl  3535    WebminCore::error
    ./bandwidth-lib.pl  244     WebminCore::foreign_require
    ./bandwidth-lib.pl  189     bandwidth::setup_firewall_rules
    /usr/share/webmin/bandwidth/setup.cgi   13  bandwidth::setup_rules
    (eval 44)   6   (eval)
    /usr/share/webmin/miniserv.pl   2424    (eval)
    /usr/share/webmin/miniserv.pl   939     miniserv::handle_request
    

    In my setup (nothing changed) the line 21 in firewall4-lib.pl is:

    %access = &get_module_acl();

    Running Webmin 1.870 on Ubuntu 16.04

    Is there any other workaround?

     

    Last edit: Michał Gardeła 2018-02-21
  • Jamie Cameron

    Jamie Cameron - 2018-02-22

    We're about to release the 1.880 version of Webmin, which will fix this.

     

Log in to post a comment.