Description of problem: I have entered "spritty.local" as the hostname for an anaconda installation from the Fedora 15 XFCE spin 64 bits nightly of 15th May 2011. Version-Release number of selected component (if applicable): ? How reproducible: once Steps to Reproduce: 1. Install Fedora 15 2. In anaconda, set an hostname (maybe with dot in it) 3. Actual results: XFCE complains after user login that no hostname could be found or resolved. Expected results: No error message after login. Additional info: I have added the hostname manually to /etc/hosts then. So, no warning message any more. The installer should do this automatically.
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.
http://git.xfce.org/xfce/xfce4-session/commit/?id=ba231e2eee82c321f473687e425d455fb36205d9
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.