We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tell us about your setup
v3.0.0-rc.14 on WSL - Ubuntu 18.04.1 LTS.
v3.0.0-rc.14
Ubuntu 18.04.1 LTS
Tell us about the command you were running
sudo dpkg -i lando-v3.0.0-rc.14.deb
Tell us about the error you got
sysctl: cannot stat /proc/sys/vm/max_map_count: No such file or directory
Max_map_count doesn't exist in WSL - they haven't implemented a dummy version of it like they have with some other /proc/sys/ files.
Tell us more
Wrapping this line in an if statement that checks whether /proc/sys/vm/max_map_count exists fixes the issue and allows Lando to be installed in WSL:
/proc/sys/vm/max_map_count
lando/installer/linux/scripts/postinst
Line 22 in 85dc5ff
if [ -f /proc/sys/vm/max_map_count ]; then sysctl -w vm.max_map_count=262144 fi
I've confirmed this works and Lando properly installs. I'll submit a pull request with this change.
The text was updated successfully, but these errors were encountered:
@w-biggs nice. sorry for the delay here but this seems like a completely reasonable and good change to me. Will def merge it in!
Sorry, something went wrong.
Merge pull request #1587 from w-biggs/1586-MAX_MAP_COUNT_FAIL
eed76a5
#1586: ONLY ATTEMPT TO BUMP MAX_MAP_COUNT IF MAX_MAP_COUNT EXISTS
pirog
w-biggs
Successfully merging a pull request may close this issue.
Tell us about your setup
v3.0.0-rc.14
on WSL -Ubuntu 18.04.1 LTS
.Tell us about the command you were running
sudo dpkg -i lando-v3.0.0-rc.14.deb
Tell us about the error you got
sysctl: cannot stat /proc/sys/vm/max_map_count: No such file or directory
Max_map_count doesn't exist in WSL - they haven't implemented a dummy version of it like they have with some other /proc/sys/ files.
Tell us more
Wrapping this line in an if statement that checks whether
/proc/sys/vm/max_map_count
exists fixes the issue and allows Lando to be installed in WSL:lando/installer/linux/scripts/postinst
Line 22 in 85dc5ff
I've confirmed this works and Lando properly installs. I'll submit a pull request with this change.
The text was updated successfully, but these errors were encountered: