Libreoffice opens slow, waiting for invalid DNS entry 'hostname.(none)'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libreoffice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When opening a document with Nautilus, Libreoffice starts opening, then takes around 30 seconds on the Logo, waiting for the DNS server to reply to an invalid DNS request. The request looks like this: hostName.(none)
Dumping the TCP request when opening Libreoffice:
root@hostName:
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 1536 bytes
12:06:05.996614 IP 192.168.1.100.55538 > 192.168.1.1.53: 22376+ A? hostName.(none). (41)
12:06:10.998698 IP 192.168.1.100.55538 > 192.168.1.1.53: 22376+ A? hostName.(none). (41)
12:06:15.999297 IP 192.168.1.100.43570 > 192.168.1.1.53: 34259+ A? hostName.(none). (41)
12:06:21.003214 IP 192.168.1.100.43570 > 192.168.1.1.53: 34259+ A? hostName.(none). (41)
WORKAROUND:
adding that invalid DNS name into your /etc/hosts file fixes the problem:
root@hostName:
...
127.0.1.1 hostName.(none)
...
As this bug has been reported and closed multiple times with annoying reasons (for instance: 'there is no openoffice support any more' - LOL, but the source is the same dude!!), please, take a short time and check and fix this now.
Many people are complaining about this on forums and hacking the hosts file themselves. I MUST be fixed in the distribution.
(please, do not bother me with questions, like: ok, have you got enough ram/cpu/
Thanks!
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice (not installed)
ProcVersionSign
Uname: Linux 2.6.38-11-generic i686
Architecture: i386
Date: Sun Oct 9 12:22:50 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
LANGUAGE=en_US:en
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libreoffice
UpgradeStatus: No upgrade log present (probably fresh install)
Ah, one more YES to some weird question: have you done an apt-get update, apt-get upgrade?