Bug 1520132 - roundcubemail error_log goes to /var/log/roundcubemail/errors - without .log
Summary: roundcubemail error_log goes to /var/log/roundcubemail/errors - without .log
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: roundcubemail
Version: 26
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-03 11:27 UTC by Martin Stefany
Modified: 2018-01-30 18:01 UTC (History)
6 users (show)

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:
Clone Of:
Environment:
Last Closed: 2018-01-30 17:30:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.