Bug 139825 - If avahi service is stopped, opening some documents can take very long to open
Summary: If avahi service is stopped, opening some documents can take very long to open
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
Depends on:
Reported: 2021-01-22 08:29 UTC by Marco Ciampa
Modified: 2022-09-08 05:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Ciampa 2021-01-22 08:29:04 UTC
If the service Avahi is absent or disabled, LibreOffice can take up 30 seconds or more to open a document, independently on its size/complexity.

Steps to Reproduce:
1.stop the avahi service
2.open an already saved document

Actual Results:
It takes a lot to open a document...

Expected Results:
It should see that there is no avahi service running and do not timeout for it!

Reproducible: Always

User Profile Reset: Yes

Additional Info:
I remember that this problem was present also with previously versions of LibreOffice (6.* and 5.*) but I do not remember exactly the version number.
I imagine that this problem starts very earlier since the avahi adoption.

Easy workaround: if you have to disable avahi and do not want this behaviour, just disable ipv4 and ipv6 support on the avahi config and restart avahi.
Avahi will be disabled but LibreOffice will see it as working, and everybody is happy!
Comment 1 Graham Perrin 2022-09-07 06:25:19 UTC
See also: bug 119408 comment 0