what did this solution to enable wine on hardy do?

Asked by Kev

This was a solution that I foundon the launchpad.net site to enable wine to work on Hardy... but What did it do???

"This is a problem stemming from a new security feature of Ubuntu 8.04's kernel. It can be worked around by executing this command in the console: sudo sysctl -w vm.mmap_min_addr=0"

Have I now made Ububtu Hardy vulnerable to the devious outside world?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
MattWelborn
Solved:
Last query:
Last reply:
Revision history for this message
Kev (kevvroxx) said :
#1

thanks for that, I understand ... so no real issue.
I will for now use it that way... just in case I want to close this small hole... how would I reverse it?

Revision history for this message
Best MattWelborn (mattwelborn) said :
#2

sudo sysctl -w vm.mmap_min_addr=0 from what I understand only opens the hole until the next reboot.
If you want to make it persist through reboot, you can change the line in /etc/sysctl.conf that reads:
    vm.mmap_min_addr = 65536
to
    vm.mmap_min_addr = 0

Revision history for this message
Kev (kevvroxx) said :
#3

Thanks MattWelborn, that solved my question.

Revision history for this message
Kev (kevvroxx) said :
#4

thanks for that
I have just rebooted and wine seems yo work even though I did not do the "change the line in /etc/sysctl.conf"
well i'm happy other than for autocad bye bye XP....... I will be shrinking Xp partition and making More room for Ubuntu....