http://bugzilla.suse.com/show_bug.cgi?id=1144361
Bug ID: 1144361
Summary: LibreOffice slow start due to FTP access failure
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: openSUSE Factory
Status: NEW
Severity: Major
Priority: P5 - None
Component: LibreOffice
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: luiz.linux@gmail.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
I have noticed that LibreOffice takes a long time to start on my machine and
decided to strace it to see what was causing the slowness. It turns out that
LibreOffice is making six attempts at resolving the address
ftp://ftp.libreoffice.org prior to actually starting up.
I actually confirmed this by tcpdumping at port 53.
Because I was unable to resolve ftp.libreoffice.org into an IP address all six
attempts timed-out, leading to a slowdown of about 16s to fully start.
After I added ftp.libreoffice.org as an alias to 127.0.0.1 to /etc/hosts, the
startup time dropped to about 5s.
At first I thought it was a problem with my DNS, but further searching I found
out that the URL ftp.libreoffice.org is not valid.
I tried finding where in LibreOffice configurations this was sat, to no avail.
I believe this is a bug and since the URL ftp.libreoffice.org is not resolving
world-wide I think this issue is affecting a lot of people.
Additional informations:
========================
T430:~ # cat /etc/*ease
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64"
NAME="openSUSE Tumbleweed"
# VERSION="20190730"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20190730"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20190730"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
LOGO="distributor-logo"
T430:~ #
T430:~ # rpm -qa | grep libreoffice
libreoffice-mailmerge-6.2.5.2-1.1.x86_64
libreoffice-base-6.2.5.2-1.1.x86_64
libreoffice-l10n-en-6.2.5.2-1.1.noarch
libreoffice-pyuno-6.2.5.2-1.1.x86_64
libreoffice-gnome-6.2.5.2-1.1.x86_64
libreoffice-l10n-pt_BR-6.2.5.2-1.1.noarch
libreoffice-base-drivers-firebird-6.2.5.2-1.1.x86_64
libreoffice-draw-6.2.5.2-1.1.x86_64
libreoffice-filters-optional-6.2.5.2-1.1.x86_64
libreoffice-icon-themes-6.2.5.2-1.1.noarch
libreoffice-writer-6.2.5.2-1.1.x86_64
libreoffice-branding-upstream-6.2.5.2-1.1.noarch
libreoffice-math-6.2.5.2-1.1.x86_64
libreoffice-share-linker-1-5.1.noarch
libreoffice-qt5-6.2.5.2-1.1.x86_64
libreoffice-impress-6.2.5.2-1.1.x86_64
libreoffice-calc-6.2.5.2-1.1.x86_64
libreoffice-gtk3-6.2.5.2-1.1.x86_64
libreoffice-6.2.5.2-1.1.x86_64
T430:~ #
T430:~ # time strace -f /usr/lib64/libreoffice/program/soffice.bin --calc 2>&1
| grep ftp
[pid 1803] sendmsg(13, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="l\1\0\1\36\0\0\0\16\0\0\0w\0\0\0\1\1o\0\23\0\0\0/modules"...,
iov_len=136}, {iov_base="\31\0\0\0ftp://ftp.libreoffice.org\0", iov_len=30}],
msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 166
[pid 1803] sendmsg(13, {msg_name=NULL, msg_namelen=0,
msg_iov=[{iov_base="l\1\0\1\36\0\0\0\23\0\0\0w\0\0\0\1\1o\0\23\0\0\0/modules"...,
iov_len=136}, {iov_base="\31\0\0\0ftp://ftp.libreoffice.org\0", iov_len=30}],
msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL
server 8.8.8.8 Default server: 8.8.8.8 Address: 8.8.8.8#53 ftp.libreoffice.org ;; connection timed out; no servers could be reached exit
T430:~ # -- You are receiving this mail because: You are on the CC list for the bug.