Bug 706563
Summary: | Xfce is unable to resolve hostname | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> | ||||
Component: | xfce4-session | Assignee: | Kevin Fenzi <kevin> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 15 | CC: | akos.ladanyi, christoph.wickert, jonathan, kevin, kybernetikkollektiv, maxamillion, porzechowski, rvykydal, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | xfce4-session-4.8.1-5.fc16 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-08-03 02:31:31 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Raphael Groner
2011-05-21 00:47:45 UTC
Anaconda only stores hostname in /etc/sysconfig/network. It doesn't touch /etc/hosts since F13 as it used to cause problems (bug #530343). I think that if anaconda should handle this case, then via NM which is updating /etc/hosts when hostname is supplied by dhcp. Also I should note that this is on live CD which can make difference. It's not user-friendly how it is currently, sorry. I am not familiar how Xfce tries to resolve the hostname, though it can read it - so it should be possible to resolve it, too … Should this report go to the Xfce team? I did a lot of test installs with the Xfce spin and I cannot reproduce your problem and IMHO there are valid reasons to not touch /etc/hosts. Could you give us a more details about your installation? Did you install form the Xfce spin of the DVD? Was NetworkManager/networkmanager-gnome installed and used or not? I installed Fedora 15 x86_64 from the KDE live spin to my harddrive. During installation I changed the hostname to "tom.local" but /etc/hosts does not contain it. This was the reason why proftpd.service refused to start. I have the same issue with XFCE and also set custom host name in anaconda (one word long, without dot). It is simply annoying, because XFCE doesn't load until "Continue" button on error dialog is pressed. I use wireless broadband modem to connect to Internet. I can reproduce here with Fedora 15 xfce i686. Rebooted a fresh installation with anaconda in VirtualBox 4.1 Switched to tty2 and tried the following commands. # hostname fedora15.vbox # cat /etc/hosts 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 # echo [$SESSION_MANAGER] [] An IPv4 address is assigned by DHCP and NetworkManager is running. This or a similiar issue is currently discussed upstream. http://foo-projects.org/pipermail/xfce4-dev/2011-July/028979.html As mentioned on IRC we are dealing with two different problems here: 1.anaconda does not add the hostname to /etc/hosts. This causes problems for services like proftpd. 2. is that xfce4-session relies on the hostname. As pointed out on the Xfce mailing list it should not rely on the hostname but only on localhost - if anything at all. I suggest to track this in two separate bugs, one for anaconda and one for xfce4-session. Created attachment 515117 [details]
Suggested upstream patch to enable DNS only on availability of TCP
This patch was suggested at the upstream mailing list. Thanks to Guido Berhoerster, OpenSUSE.
Comment on attachment 515117 [details]
Suggested upstream patch to enable DNS only on availability of TCP
This bug was suggested to upstream. Thanks to Guido Berhoerster, OpenSUSE.
Can you confirm that this scratch build fixes the issue: http://koji.fedoraproject.org/koji/taskinfo?taskID=3234671 (In reply to comment #12) Yeah. The message box does not appear any more in my vbox/i686 installation. Good job. xfce4-session-4.8.1-5.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/xfce4-session-4.8.1-5.fc16 xfce4-session-4.8.1-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/xfce4-session-4.8.1-5.fc15 Package xfce4-session-4.8.1-5.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xfce4-session-4.8.1-5.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/xfce4-session-4.8.1-5.fc15 then log in and leave karma (feedback). xfce4-session-4.8.1-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. xfce4-session-4.8.1-5.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |