Bug #4339
closed
RAM Disk Setting minimum ram error
Added by Alexandre Paradis almost 10 years ago.
Updated almost 10 years ago.
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."
Also, 60MB isn't accepted either. the actual minimum is 61.
- 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.
- 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.
- Status changed from Confirmed to Resolved
Also available in: Atom
PDF