Project

General

Profile

Actions

Bug #4339

closed

RAM Disk Setting minimum ram error

Added by Alexandre Paradis almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Start date:
01/29/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

Version : 2.2-RELEASE (amd64)

when saying "Set the size, in MB, for the /tmp RAM disk. Leave blank for 40MB. Do not set lower than 40." , actualy the system doesn't let a value lower than 60MB

"The following input errors were detected:

/var Size must be numeric and should not be less than 60MB."

Actions #1

Updated by Alexandre Paradis almost 10 years ago

Also, 60MB isn't accepted either. the actual minimum is 61.

Actions #2

Updated by Chris Buechler almost 10 years ago

  • Status changed from New to Rejected

You must be looking at the wrong description for the box. One is 40 MB, one is 60 MB.


    if (!empty($_POST['use_mfs_tmp_size']) && (!is_numeric($_POST['use_mfs_tmp_size']) || ($_POST['use_mfs_tmp_size'] <= 40)))
        $input_errors[] = gettext("/tmp Size must be numeric and should not be less than 40MB.");

    if (!empty($_POST['use_mfs_var_size']) && (!is_numeric($_POST['use_mfs_var_size']) || ($_POST['use_mfs_var_size'] <= 60)))
        $input_errors[] = gettext("/var Size must be numeric and should not be less than 60MB.");
Set the size, in MB, for the /var RAM disk. Leave blank for 60MB. Do not set lower than 60.

The values match all around.

Actions #3

Updated by Chris Buechler almost 10 years ago

  • Status changed from Rejected to Confirmed
  • Assignee set to Chris Buechler
  • Target version set to 2.2.1

though you're right on the math part, shouldn't have = there. about to push a fix.

Actions #4

Updated by Chris Buechler almost 10 years ago

  • Status changed from Confirmed to Resolved

fixed, thanks

Actions

Also available in: Atom PDF