Bug#708533: libreoffice: connects to the print server (CUPS) when opening some document

Vincent Lefevre <[email protected]>
Newsgroups gmane.linux.debian.devel.openoffice
Message-ID <20251127141721.GA200789__42297.2108166263$1764253178$gmane$org@cventin.lip.ens-lyon.fr>
Control: found -1 4:25.8.3-1

On 2022-01-20 04:15:12 +0100, Vincent Lefevre wrote:
> Control: forwarded -1 https://bugs.documentfoundation.org/show_bug.cgi?id=146869
> 
> I've just reported the bug upstream.

More detailed steps to reproduce, similar to those I've given
upstream at

  https://bugs.documentfoundation.org/show_bug.cgi?id=146869#c3

1. Execute "mv ~/.cups ~/cups.bak" (in case there is an existing
   user CUPS configuration).
2. Create a /etc/cups/client.conf or ~/.cups/client.conf file with the
   line "ServerName 192.168.0.2:443" (or another address, which should
   not belong to the local network).
3. Check that "lpq" hangs.
4. Run "libreoffice printername-crash.odt", where printername-crash.odt
   is the testcase I had attached at
     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708533#10

Result: LibreOffice hangs.

With "strace -f", I can see:

197212 connect(19, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("192.168.0.2")}, 16 <unfinished ...>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.