Can't winecfg, ntdll.dll section .text, noexec filesystem?

Questions about Wine on Linux
Locked
gsalazar
Level 1
Level 1
Posts: 9
Joined: Thu Sep 26, 2024 4:39 pm

Can't winecfg, ntdll.dll section .text, noexec filesystem?

Post by gsalazar »

I did a search in this forum about the noexec error and none of the results look like what is happening to me.

I am working in some given Linux box
I have done the same thing twice, using same sources, same steps
I have deployed both 32 and 64-bit builds of wine 9.17 in a physical Linux box
I have deployed both 32 and 64-bit builds of wine 9.17 inside a container
My home directory is already mounted in the box as usual

When I run winecfg using wine from inside the container, my ~/.wine gets created just fine and I can launch the minimal test: wine64 notepad.

When I run winecfg using wine installed in the box itself, I get the following error:

Code: Select all

002c:err:virtual:map_image_into_view failed to set 60000020 protection on L"\\??\\C:\\windows\\system32\\ntdll.dll" section .text, noexec filesystem?
002c:err:virtual:virtual_setup_exception stack overflow 2688 bytes addr 0x6fffffc94f7c stack 0x7ffffe100580 (0x7ffffe100000-0x7ffffe101000-0x7ffffe300000)
0024:err:virtual:map_image_into_view failed to set 60000020 protection on L"\\??\\C:\\windows\\system32\\ntdll.dll" section .text, noexec filesystem?
0024:err:virtual:virtual_setup_exception stack overflow 1472 bytes addr 0x7bd548b8 stack 0x440a40 (0x440000-0x441000-0x640000)
While this is way over my head, it seems to NOT be related to my home directory since the same home directory works in one case and not the other; also, the error message seems to be complaining about section ".text" inside the ntdll.dll file ....whatever that means.

Any ideas what could be causing this?
desessarts
Level 4
Level 4
Posts: 202
Joined: Wed Oct 04, 2023 7:57 am

Re: Can't winecfg, ntdll.dll section .text, noexec filesystem?

Post by desessarts »

I suspect this is more a docker (or podman or lxc...) problem than a wine problem.

It might help if you show

the Dockerfile

the

Code: Select all

docker build
command

the

Code: Select all

docker run
gsalazar
Level 1
Level 1
Posts: 9
Joined: Thu Sep 26, 2024 4:39 pm

Re: Can't winecfg, ntdll.dll section .text, noexec filesystem?

Post by gsalazar »

Thank you very much for your reply.

No, it is not a container problem, this is the one deployment that is working fine; it is the native (un-containerized) version that is not working correctly.

I am not using docker, nor podman, nor lxc...I am using apptainer :wink:

With apptainer, I start with docker image rockylinux:9.3 and from then on, all the dnf/yum/configure/make commands are the same in the native filesystem and inside the container.
Locked