Re: Dosemu ?

From: Arthur Corliss <acorliss@nevaeh-linux.org>
Date: Wed Jan 11 2006 - 13:09:37 AKST

On Wed, 11 Jan 2006, Greg Madden wrote:

> I have found a solution, of sorts, as to why Dosemu does not run on 2.6.12
> + kernels, basically anything after Debian Sarge. It seems that 2.6.12
> the kernel folks added 'radomization_va_space' . This breaks dosemu
> v.1.2.x and some other programs. The workaround for the v.1.2.x series is
> to enter, as root, at a comand line of choice,:
> 'echo 0 > /proc/sys/kernel/randomize_va_space'. Dosemu now works in
> Debian Etch...yea :-)
>
> A question is involved though, the command has to be entered each time the
> box is started. How would I automate the process of entering this
> command ? Be verbose.

Answer:

   echo "kernel.radomization_va_space = 0" >> /etc/sysctl.conf

Most distributions include a call to sysctl -p in their init scripts, which
sets all the proc entries to the specified values in /etc/sysctl.conf. This
is the same file you'd use to set IP forwarding on for NAT boxes, etc.
("net.ipv4.ip_forward = 1").

I can't vouch that all distributions do this, but I'd be surprised if they all
weren't by this late date.

         --Arthur Corliss
           Bolverk's Lair -- http://arthur.corlissfamily.org/
           Digital Mages -- http://www.digitalmages.com/
           "Live Free or Die, the Only Way to Live" -- NH State Motto
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Jan 11 13:10:00 2006

This archive was generated by hypermail 2.1.8 : Wed Jan 11 2006 - 13:10:00 AKST