Bug 1520132

Summary: roundcubemail error_log goes to /var/log/roundcubemail/errors - without .log
Product: [Fedora] Fedora Reporter: Martin Stefany <martin>
Component: roundcubemailAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 26CC: fedora, gwync, kevin, mhlavink, pokorra.mailinglists, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: roundcubemail-1.3.4-1.fc26 roundcubemail-1.3.4-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 17:30:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Stefany 2017-12-03 11:27:45 UTC
Description of problem:
Fedora packaging applies patch roundcubemail-pr313.patch to upstream source code to create log files with .log extension. The problem is that error_log is not properly setup, so errors end up somehow in both /var/log/roundcubemail/errors and errors.log. This causes further problem for logrotate, fail2ban, etc. which depend on proper path and content.


Version-Release number of selected component (if applicable):
roundcubemail-1.3.3-1.fc26, but I suppose it applies to all earlier and EPEL versions

How reproducible:
Always.

Steps to Reproduce:
1. Install & setup roundcubemail
2. Use it and generate some errors (e.g. incorrect login)
3. Use logrotate(?)

Actual results:
Errors end up in /var/log/roundcubemail/errors

Expected results:
Errors should end up in /var/log/roundcubemail/errors.log

Additional info:
Fix should be pretty simple, just fix line cca. 256 in /usr/share/roundcubemail/program/lib/Roundcube/rcube_config.php to:
...
  ini_set('error_log', $this->prop['log_dir'].'/errors.log');
...

Comment 1 Fedora Update System 2018-01-15 07:48:25 UTC
roundcubemail-1.3.4-1.fc27 php-endroid-qrcode-1.9.3-3.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-396525f497

Comment 2 Fedora Update System 2018-01-15 07:48:39 UTC
roundcubemail-1.3.4-1.fc26 php-endroid-qrcode-1.9.3-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0df8d31fcf

Comment 3 Fedora Update System 2018-01-15 18:34:33 UTC
php-endroid-qrcode-1.9.3-3.fc27, roundcubemail-1.3.4-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-396525f497

Comment 4 Fedora Update System 2018-01-15 18:42:37 UTC
php-endroid-qrcode-1.9.3-3.fc26, roundcubemail-1.3.4-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0df8d31fcf

Comment 5 Fedora Update System 2018-01-30 17:30:11 UTC
php-endroid-qrcode-1.9.3-3.fc26, roundcubemail-1.3.4-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2018-01-30 18:01:45 UTC
php-endroid-qrcode-1.9.3-3.fc27, roundcubemail-1.3.4-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.