Bug 141241 - Conversion to pdf using LibreOffice 7.0.4 fail in Oracle Linux Server 8 with system policy set to FIPS:OSPP
Summary: Conversion to pdf using LibreOffice 7.0.4 fail in Oracle Linux Server 8 with ...
Status: RESOLVED DUPLICATE of bug 131323
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-25 02:47 UTC by Arnab Mallik
Modified: 2021-03-25 15:26 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
source file (2.12 KB, application/msword)
2021-03-25 02:48 UTC, Arnab Mallik
Details
log file (4.40 MB, text/plain)
2021-03-25 02:49 UTC, Arnab Mallik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnab Mallik 2021-03-25 02:47:49 UTC
Description:
Using Oracle Linux Server 8 with system policy set to FIPS:OSPP and trying to convert rtf to pdf using LibreOffice 7.0.4 and the conversion fails.
Running the following command as root

./soffice --headless --convert-to pdf --outdir /tmp /tmp/abc.rtf
 

The output seen is

convert /tmp/abc.rtf -> /tmp/abc.pdf using filter : writer_pdf_Export

Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/abc.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3153 /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1735)

Strangely, all other conversion works as expected (rtf to html, rtf to doc, rtf to odt).
Also, I tried to convert rtf to pdf using LibreOffice 5.1.2.2 on the same Oracle Linux Server 8.3 and the conversion worked.
Content of abc.rtf is simply – Hello World.

Steps to Reproduce:
1. Create a simple rtf file
2. ./soffice --headless --convert-to pdf --outdir <dir_name> abc.rtf
3. Conversion fail

Actual Results:
Error: Please verify input parameters... (SfxBaseModel::impl_store <file:///tmp/abc.pdf> failed: 0xc10(Error Area:Io Class:Write Code:16) /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:3153 /home/buildslave/source/libo-core/sfx2/source/doc/sfxbasemodel.cxx:1735)

Expected Results:
rtf to pdf conversion successful


Reproducible: Always


User Profile Reset: Yes



Additional Info:
This is the security level

update-crypto-policies --show
FIPS:OSPP
Comment 1 Arnab Mallik 2021-03-25 02:48:32 UTC
Created attachment 170727 [details]
source file

input rtf file
Comment 2 Arnab Mallik 2021-03-25 02:49:49 UTC
Created attachment 170728 [details]
log file

produced the log file using the flag --strace
Comment 3 Timur 2021-03-25 06:17:27 UTC
Looks duplicate. 
Please mark other bug New. And write there of this also happens in GUI.

*** This bug has been marked as a duplicate of bug 131323 ***
Comment 4 Arnab Mallik 2021-03-25 13:41:03 UTC
I have added a comment in bug 131323 . As for me writing "And write there of this also happens in GUI" - I can't do that as I did not try in GUI, I don't see the point trying in GUI as direct calls to soffice is failing the conversion.
Comment 5 Timur 2021-03-25 15:26:20 UTC
Please don't change duplicate status, unless you have an explication why it's not a duplicate.

*** This bug has been marked as a duplicate of bug 131323 ***