hostname -f does not show FQDN
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
On LucidLynx (with all the current updated), while connected to my company's internal network,
when I run this:
hostname; hostname -f; hostname -s; hostname -i
I get this:
machine15
machine15
machine15
127.0.1.1
What I expect to get (as compared to being on HardyHeron) is this:
machine15.
machine15.
machine15
<actual IP address>
From a default installation of LucidLynx, I have changed /etc/hostname
from just the short name (machine15) to the long hostname (machine15.
This is all I needed to do to make the above hostname commands provide the desired output on a HardyHeron installation.
The machines, when they boot up get assigned an IP address correctly and are registered
correctly in DNS. (meaning `nslookup machine15` returns a valid entry of:
Name: machine15.
Address: <actual ip address that also corresponds to output of `ifconfig`>
(I purposely have changed my machine name and domain name in the above write up)
---
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: aplay: device_list:223: no soundcards found...
Architecture: amd64
ArecordDevices: arecord: device_list:223: no soundcards found...
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MachineType: Dell Inc. OptiPlex 755
Package: linux (not installed)
PciMultimedia:
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
ProcVersionSign
Regression: Yes
Reproducible: Yes
Tags: lucid networking regression-
Uname: Linux 2.6.32-21-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 12/09/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A12
dmi.board.name: 0PU052
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 15
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: OptiPlex 755
dmi.sys.vendor: Dell Inc.
tags: | added: kernel-series-unknown |
tags: | removed: needs-upstream-testing |
Hi gmoore777,
This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http:// cdimage. ubuntu. com/releases/ .
If it remains an issue, could you run the following command from a Terminal (Applications- >Accessories- >Terminal) . It will automatically gather and attach updated debug information to this report.
apport-collect -p linux 501130
Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/ /wiki.ubuntu. com/KernelMainl ineBuilds . Once you've tested the upstream kernel, please remove the 'needs- upstream- testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs- upstream- testing' text. Please let us know your results.
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]