Hi Arrigo,

>I believe that your "known working version" is in fact a 4.2.xxx, not
> 4.1.yyy, right?

Known working refers to 
Apache_OpenOffice_4.2.0_Linux_x86-64_install-deb_en-GB.tar.gz ( 
AOO420m5(Build:9824)  -  Rev. c51e9806e6 )

>Would it be possible for you to grab the execstack program from
>another source, and try that, please?

>Instructions are here:
>https://blog.nashcom.de/nashcomblog.nsf/dx/domino-14.5-is-not-supported-on-brand-new-debian-13-trixie.htm

Okay, I used 
https://archive.ubuntu.com/ubuntu/pool/universe/p/prelink/execstack_0.0.20131005-1.1_amd64.deb

>I tried on a Docker instance of Debian 13 and it worked.
>The command is, for your reference:

>$ sudo execstack -s /opt/openoffice4/program/soffice.bin

Using -s to "mark binary or shared library as requiring executable stack" 
results in Apache_OpenOffice_4.1.16_Linux_x86_install-deb_en-GB.tar.gz ( 
AOO4116m3(Build:9816)  -  Rev. 277251aa7e ) being able to save (and open 
documents) with no general error :-)

It also results in 
Apache_OpenOffice_4.1.15_Linux_x86-64_install-deb_en-GB.tar.gz ( 
AOO4115m2(Build:9813)  -  Rev. 5f13fa0070 ) being able to save (and open 
documents) with no general error :-))

I will add, these saved documents do actually get saved as files and contain 
the changes, but just result in "general error". They are also able to be 
opened, but result in general error.

I reverted to the original conditions using $ sudo execstack -c 
/opt/openoffice4/program/soffice.bin

Again, reverting system to normal. No such issue with the 4.2.0 build, works 
fine without having stack marked executable.

So, looks like marking the binary or shared library as requiring executable 
stack using 
https://archive.ubuntu.com/ubuntu/pool/universe/p/prelink/execstack_0.0.20131005-1.1_amd64.deb
 and $ sudo execstack -s /opt/openoffice4/program/soffice.bin is a known fix or 
workaround for this issue.

Well done,
Dean

________________________________
From: Arrigo Marchiori <[email protected]>
Sent: 12 January 2026 00:56
To: [email protected] <[email protected]>
Subject: Re: SELinux [was: WG: There is only one problem in OpenOffice....

Hello Dean,

On Sun, Jan 11, 2026 at 12:04:38PM +0000, Dean Webber wrote:

> Out of curiosity I made an apparmor profile for soffice, I wanted to
> see what it did. I ended up logging information using journalctl to
> compare the general error version (4.1.16) with my known working
> version (some old release from forever ago).

Thank you for your efforts!

I believe that your "known working version" is in fact a 4.2.xxx, not
4.1.yyy, right?

Would it be possible for you to grab the execstack program from
another source, and try that, please?

Instructions are here:
https://blog.nashcom.de/nashcomblog.nsf/dx/domino-14.5-is-not-supported-on-brand-new-debian-13-trixie.htm

I tried on a Docker instance of Debian 13 and it worked.
The command is, for your reference:

$ sudo execstack -s /opt/openoffice4/program/soffice.bin

Thank you in advance and best regards,
--
Arrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to