Libreoffice opens slow, waiting for invalid DNS entry 'hostname.(none)'

Bug #871221 reported by Adam
12
This bug affects 2 people
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:/home/bea# tcpdump -nnl -i any -s 1536 dst port 53
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:/home/bea# cat /etc/hosts
...
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/disk/screensize... have you known that you can disable logo... is it always like that... the answer to all these questions is: YES).

Thanks!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libreoffice (not installed)
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
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)

Revision history for this message
Adam (ocoolio) wrote :

Ah, one more YES to some weird question: have you done an apt-get update, apt-get upgrade?

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Hmm - I'm confirming this because I can partially recreate this here. I'm not seeing a significant
hang, but wireshark is showing me the DNS query issued, but my DNS server is responding with no such name quickly.

For me, the queries are for major.(none) and major.(none).home.treblig.org - where major is the hostname of the machine.

So libreoffice is somehow causing odd DNS lookups, and I can believe some DNS servers might get upset.

Dave

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Adam,
  Do you have the links to older bugs that were closed and the forum discussions - it would be good to link to them in this bug.

Dave

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.