[Bug 1276796] Re: bash fails to provide FQDN for PS1 with \H

Jörg Frings-Fürst ubuntu at jff-webhosting.net
Thu Feb 6 04:23:29 UTC 2014


Hello,

we need some more information. From a terminal window please run:

apport-collect 1276796

and then change the status of the bug to 'Confirmed'.

Jörg


** Changed in: bash (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1276796

Title:
  bash fails to provide FQDN for PS1 with \H

Status in “bash” package in Ubuntu:
  Incomplete

Bug description:
  When using "\H" in the PS1 prompt value bash is not displaying the
  FQDN but instead only the short form hostname.  This is the same as
  "\h".

  Issue has also been noted at 
  http://serverfault.com/questions/296970/bash-prompt-on-ubuntu-fqdn-h-same-as-hostname-h
  https://answers.launchpad.net/ubuntu/+source/bash/+question/200900

  This appears related to /etc/hostname only having the host and not the
  FQDN.

  Bash should obtain the \H value from somewhere other than
  /etc/hostname.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+subscriptions



More information about the foundations-bugs mailing list