Bug #13479
closedInput validation is checking RAM disk sizes when they are inactive
100%
Description
When you disable/don't enable the RAM-Disk feature and then set insane limits it complains:
Combined size of /tmp and /var RAM disks would exceed available kernel memory.
It should not do that as it's not enabled, so whatever settings are entered there shouldn't matter.
In my case I always had the limits set to 4096 for both and the feature disabled. Now I tried to change something on the page and it started to complain. Also maybe someone wants to disable the RAM-Disk and temporarily run the device with less RAM without changing the limits so they can easily be set back to normal when more RAM is installed again.
Updated by Jim Pingle about 2 years ago
- Plus Target Version changed from 22.11 to 23.01
Updated by Jim Pingle about 2 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset ad040b7063c9cc5487b15c044a95949888041271.
Updated by Flole Systems about 2 years ago
Not entirely sure if this is a good idea as #13508 suggests that the check can be removed entirely as it's no longer coupled to kernel memory at all. It would be weird to write in the release notes first that it got fixed and then that it got removed entirely.
Updated by Jim Pingle about 2 years ago
That's a separate issue, I'm taking things one at at time. While we evaluate the other, it's still safe to remove this check when it's not necessary.
Updated by Jim Pingle about 2 years ago
- Subject changed from RAM-Disk sizes are still verified when it's inactive to Input validation is checking RAM disk sizes when they are inactive
Updating subject for release notes.
Updated by Jim Pingle about 2 years ago
- Status changed from Feedback to Resolved
Working as expected.