Bug 15720 - error in config file of roundcubemail
Summary: error in config file of roundcubemail
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA4-64-OK MGA4-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-04-17 17:05 CEST by Daniel Tartavel
Modified: 2015-06-08 23:18 CEST (History)
3 users (show)

See Also:
Source RPM: roundcubemail-0.9.5-1.mga4.src.rpm
CVE:
Status comment:


Attachments

Description Daniel Tartavel 2015-04-17 17:05:01 CEST
Description of problem:

in file main.inc.php, the parameter $rcmail_config['temp_dir'] as a bad default value.
$rcmail_config['temp_dir'] = '/home/iurt/rpmbuild/tmp/';
Must be set to /tmp/





Reproducible: 

Steps to Reproduce:
David Walser 2015-04-17 20:19:31 CEST

Assignee: bugsquad => thomas

David Walser 2015-04-17 20:19:46 CEST

Source RPM: Source RPM : roundcubemail-0.9.5-1.mga4.src.rpm => roundcubemail-0.9.5-1.mga4.src.rpm

Comment 1 Thomas Spuhler 2015-04-17 22:04:22 CEST
not quite sure why it expands this macro (in the spec file) in such a way, or not at all at build time:
%{_tmppath} in
sed -i 's,temp/,%{_tmppath}/,' config/main.inc.php.dist
in a shell: rpm --eval %{_tmppath}
/var/tmp

Status: NEW => ASSIGNED

Comment 2 Thomas Spuhler 2015-04-17 23:35:06 CEST
(In reply to Daniel Tartavel from comment #0)
> Description of problem:
> 
> in file main.inc.php, the parameter $rcmail_config['temp_dir'] as a bad
> default value.
> $rcmail_config['temp_dir'] = '/home/iurt/rpmbuild/tmp/';
> Must be set to /tmp/
> 
> 
> 
> 
> 
> Reproducible: 
> 
> Steps to Reproduce:

Did you test "Must be set to /tmp/"
This doesn't work here not '/temp/'. 'temp/' or ${_tmppath}' work.
Thomas Spuhler 2015-05-19 22:44:43 CEST

Whiteboard: (none) => NEED INFO

Comment 3 Daniel Tartavel 2015-05-19 23:19:36 CEST
The content of main.inc.php on my mail server :

$rcmail_config['temp_dir'] = '/tmp/';

this work well.
Samuel Verschelde 2015-05-19 23:46:13 CEST

Whiteboard: NEED INFO => (none)

Comment 4 Thomas Spuhler 2015-05-20 00:18:57 CEST
this bug has now been fixed and the following packages are in updates_testing:
roundcubemail-0.9.5-1.1.mga4.src.rpm
roundcubemail-0.9.5-1.1.mga4.noarch.rpm

assigning it to QA

Assignee: thomas => qa-bugs

Comment 5 Vladimir Zawalinski 2015-06-06 05:14:39 CEST
Testing MGA4 32bit Vbox

CC: (none) => vzawalin1

Comment 6 Herman Viaene 2015-06-08 13:50:51 CEST
MGA4-32 on AcerD620 Xfce.
No installation issues, checked /etc/roundcubemail/main.inc.php , has correct setting.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA4-32-OK

Comment 7 Herman Viaene 2015-06-08 13:57:09 CEST
MGA4-64 on HP-Probook 66555b KDE.
No installation issues, checked /etc/roundcubemail/main.inc.php , has correct setting.
Herman Viaene 2015-06-08 13:57:23 CEST

Whiteboard: MGA4-32-OK => MGA4-64-OK MGA4-32-OK

Comment 8 claire robinson 2015-06-08 21:14:47 CEST
Validating. Advisory uploaded.

Please push to 4 updates

Thanks!

Keywords: (none) => validated_update
Whiteboard: MGA4-64-OK MGA4-32-OK => advisory MGA4-64-OK MGA4-32-OK
CC: (none) => sysadmin-bugs

Comment 9 Mageia Robot 2015-06-08 23:18:33 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0052.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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