* [gentoo-user] DOSEMU 1.4.0.0 won't run as ordinary user anymore
@ 2009-08-29 5:38 Walter Dnes
2009-08-30 3:47 ` [gentoo-user] [solved] " Walter Dnes
0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2009-08-29 5:38 UTC (permalink / raw
To: Gentoo Users List
I've been using a specific program that only works under DOSEMU. It
worked great. Today, (after an update?) DOSEMU has stopped working as
an ordinary user, but still works for root. Here's the screen capture
======================================================================
[d530][waltdnes][~] dosemu
LOWRAM mmap: Permission denied
Segmentation fault
======================================================================
I haven't seen the LOWRAM error before. I tried "/usr/bin/dosemu -s",
but it refused both my password and the root password. I really don't
like the concept of running as root for ordinary stuff. Is there a way
I can run it without full root privileges? I haven't been able to
figure out the magic incantation in /etc/sudoers.
--
Walter Dnes <waltdnes@waltdnes.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] [solved] DOSEMU 1.4.0.0 won't run as ordinary user anymore
2009-08-29 5:38 [gentoo-user] DOSEMU 1.4.0.0 won't run as ordinary user anymore Walter Dnes
@ 2009-08-30 3:47 ` Walter Dnes
2009-08-30 7:04 ` Drew
2009-08-30 13:19 ` [gentoo-user] " Nikos Chantziaras
0 siblings, 2 replies; 4+ messages in thread
From: Walter Dnes @ 2009-08-30 3:47 UTC (permalink / raw
To: Gentoo Users List
On Sat, Aug 29, 2009 at 01:38:12AM -0400, Walter Dnes wrote
> I've been using a specific program that only works under DOSEMU. It
> worked great. Today, (after an update?) DOSEMU has stopped working as
> an ordinary user, but still works for root. Here's the screen capture
>
> ======================================================================
> [d530][waltdnes][~] dosemu
>
> LOWRAM mmap: Permission denied
> Segmentation fault
> ======================================================================
After spending some more time in Google, and trying various search
terms, I finally stumbled over the following...
https://bugs.launchpad.net/ubuntu/+source/dosemu/+bug/216398
Summary...
* temporary workaround; as root, issue the command...
sysctl vm.mmap_min_addr
* the sysctl command has to be re-issued after every reboot. Add
vm.mmap_min_addr=0
to /etc/sysctl.conf for it to be set properly every reboot
That should be safe until the next sys-apps/baselayout update.
--
Walter Dnes <waltdnes@waltdnes.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] [solved] DOSEMU 1.4.0.0 won't run as ordinary user anymore
2009-08-30 3:47 ` [gentoo-user] [solved] " Walter Dnes
@ 2009-08-30 7:04 ` Drew
2009-08-30 13:19 ` [gentoo-user] " Nikos Chantziaras
1 sibling, 0 replies; 4+ messages in thread
From: Drew @ 2009-08-30 7:04 UTC (permalink / raw
To: gentoo-user
The changes to vm.mmap_min_addr were put in place to protect against a
number of null pointer deference attacks.
--
Drew
"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: [solved] DOSEMU 1.4.0.0 won't run as ordinary user anymore
2009-08-30 3:47 ` [gentoo-user] [solved] " Walter Dnes
2009-08-30 7:04 ` Drew
@ 2009-08-30 13:19 ` Nikos Chantziaras
1 sibling, 0 replies; 4+ messages in thread
From: Nikos Chantziaras @ 2009-08-30 13:19 UTC (permalink / raw
To: gentoo-user
On 08/30/2009 06:47 AM, Walter Dnes wrote:
> After spending some more time in Google, and trying various search
> terms, I finally stumbled over the following...
> https://bugs.launchpad.net/ubuntu/+source/dosemu/+bug/216398
>
> Summary...
>
> * temporary workaround; as root, issue the command...
> sysctl vm.mmap_min_addr
>
> * the sysctl command has to be re-issued after every reboot. Add
> vm.mmap_min_addr=0
> to /etc/sysctl.conf for it to be set properly every reboot
>
> That should be safe until the next sys-apps/baselayout update.
This has to be fixed in dosemu, not baselayout :P
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-30 8:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-29 5:38 [gentoo-user] DOSEMU 1.4.0.0 won't run as ordinary user anymore Walter Dnes
2009-08-30 3:47 ` [gentoo-user] [solved] " Walter Dnes
2009-08-30 7:04 ` Drew
2009-08-30 13:19 ` [gentoo-user] " Nikos Chantziaras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox