if /dev/shm is mounted "noexec" (which is default AFAIK) dosemu-1.3.3 fails with this error: ERROR: MAPPING: cannot map temp file pool, Operation not permitted It's very interesting, because it fails on this system call: (output from strace) mmap2(NULL, 15794176, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, 6, 0) = -1 EPERM (Operation not permitted) while trying to call mmap(2) with "PROT_EXEC" flag on noexec protected device i.e. a patch is needed to make it work with /dev/shm mounted "noexec"
Change $_mapping from "auto" to "mapashm" in /etc/dosemu/dosemu.conf
Solution works for me at least
(In reply to comment #1) > Change $_mapping from "auto" to "mapashm" in /etc/dosemu/dosemu.conf > Yes, this solution really works, so please do it default in /etc/dosemu/dosemu.conf and the bug can be closed. Thanks
> Change $_mapping from "auto" to "mapashm" in /etc/dosemu/dosemu.conf That did NOT work for me but remounting /dev/shm to exec did work.
fixed in global dosemu.conf, though this might be overwritten by local config