View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001342 | bareos-core | webui | public | 2021-04-23 23:07 | 2021-06-28 17:27 |
Reporter | bluecmd | Assigned To | frank | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Debian | OS Version | 10 |
Product Version | 20.0.1 | ||||
Summary | 0001342: Invalid login on webui causes apache2 error log to fill disk | ||||
Description | Hi, I am setting up Bareos 20.0.1 from using Bacula. I followed the instructions to set it up on my Debian 11 testing system by using Debian 10 packages. When I have configured the webui to talk to my director and I login with the right credentials, things work fine. When I try to login with the *wrong* credentials however the PHP process seems to go haywire and output an unending loop of the following: [Fri Apr 23 22:58:18.627635 2021] [php7:notice] [pid 50019] [client 2a07:redacted:51371] PHP Notice: fwrite(): send of 26 bytes failed with errno=104 Connection reset by peer in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 219, referer: https://debian.redacted/bareos-webui/ [Fri Apr 23 22:58:18.627740 2021] [php7:notice] [pid 50019] [client 2a07:redacted:51371] PHP Notice: fwrite(): send of 26 bytes failed with errno=32 Broken pipe in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 219, referer: https://debian.redacted/bareos-webui/ [Fri Apr 23 22:58:18.627768 2021] [php7:notice] [pid 50019] [client 2a07:redacted:51371] PHP Notice: fwrite(): send of 26 bytes failed with errno=32 Broken pipe in /usr/share/bareos-webui/vendor/Bareos/library/Bareos/BSock/BareosBSock.php on line 219, referer: https://debian.redacted/bareos-webui/ [this line repeats indefinitely] Within seconds I have many hundred of megabytes in the log. | ||||
Steps To Reproduce | 1. Install 20.0.1 on Debian testing with webui 2. Login using wrong credentials | ||||
Tags | No tags attached. | ||||
Looking closer on existing bugs, this seems to be the same as https://bugs.bareos.org/view.php?id=1324 | |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-04-23 23:07 | bluecmd | New Issue | |
2021-04-23 23:16 | bluecmd | Note Added: 0004116 | |
2021-04-29 11:00 | frank | Assigned To | => frank |
2021-04-29 11:00 | frank | Status | new => assigned |
2021-06-16 17:20 | frank | Relationship added | related to 0001324 |
2021-06-28 17:27 | frank | Status | assigned => resolved |
2021-06-28 17:27 | frank | Resolution | open => fixed |