https://bugs.documentfoundation.org/show_bug.cgi?id=170749
Bug ID: 170749
Summary: OSL_PIPE does not respect environment variables
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: [email protected]
Reporter: [email protected]
Description:
Libreoffice tries to create a socket for inter process commnication under /tmp/
with the name OS_PIPE_{user_id}_SingleOfficeIPC_{some_hex_string}.
This also happens in /tmp/ when the temporary directory is supposed to be
somewhere else (i.e. on a multiuser system where every user gets their own
temporary directory for privacy, security and safety reasons. There are PAM
modules that do this).
Given that this is an IPC socket I as a aysadmin would expect it to respect the
following variables:
* XDG_RUNTIME_DIR - This one is defined by the freedesktop.org base directory
specification and a per user place to put such sockets
* TMPDIR - The POSIX defined environment variable to hold the path of the temp
directory as a fallback if XDG_RUNTIME_DIR isn't available
I've noticed this bug in 4:25.2.3-2+deb13u3 as packaged with debian trixie
Steps to Reproduce:
1.Have XDG_RUNTIME_DIR set
2.Have TMPDIR set to a custom folder for temporary files (i.e. through export)
3.run libreoffice in that envirnment
Actual Results:
LibreOffice creates the socket in /tmp/
Expected Results:
LibreOffice notices that XDG_RUNTIME_DIR points to a writable directory and
places its socket there.
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 28; OS: Linux 6.12; UI render: default; VCL: x11
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Debian package version: 4:25.2.3-2+deb13u3
Calc: threaded
--
You are receiving this mail because:
You are the assignee for the bug.