2014-02-05 20:27:19 |
Rodney Beede |
bug |
|
|
added bug |
2014-02-06 04:23:00 |
Jörg Frings-Fürst |
bug |
|
|
added subscriber Jörg Frings-Fürst |
2014-02-06 04:23:37 |
Jörg Frings-Fürst |
bash (Ubuntu): status |
New |
Incomplete |
|
2014-02-06 16:09:33 |
Rodney Beede |
tags |
shell |
apport-collected saucy shell |
|
2014-02-06 16:09:35 |
Rodney Beede |
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. |
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.
---
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
DistroRelease: Ubuntu 13.10
InstallationDate: Installed on 2014-01-16 (20 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
MarkForUpload: True
Package: bash 4.2-5ubuntu3
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Tags: saucy
Uname: Linux 3.11.0-15-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo |
|
2014-02-06 16:09:36 |
Rodney Beede |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1276796/+attachment/3971415/+files/Dependencies.txt |
|
2014-02-06 16:10:43 |
Rodney Beede |
bash (Ubuntu): status |
Incomplete |
Confirmed |
|
2014-02-07 11:46:30 |
Jörg Frings-Fürst |
bash (Ubuntu): status |
Confirmed |
Incomplete |
|
2014-02-18 08:05:47 |
Jörg Frings-Fürst |
bash (Ubuntu): status |
Incomplete |
Invalid |
|
2014-02-18 15:30:00 |
Rodney Beede |
bash (Ubuntu): status |
Invalid |
Incomplete |
|
2014-02-18 16:20:11 |
Jörg Frings-Fürst |
bash (Ubuntu): status |
Incomplete |
Invalid |
|
2014-02-24 22:19:59 |
Daniel Serodio |
bug |
|
|
added subscriber Daniel Serodio |
2014-06-08 19:42:02 |
Launchpad Janitor |
branch linked |
|
lp:~renatosilva/gnubash/long-hostname |
|
2014-06-08 19:55:19 |
Display Name |
bash (Ubuntu): status |
Invalid |
Confirmed |
|
2014-06-08 19:56:47 |
Display Name |
attachment added |
|
Solution https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127824/+files/bash.canonname.png |
|
2014-06-08 19:58:58 |
Display Name |
attachment added |
|
Patched Bash build https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127825/+files/bash.canonname |
|
2014-06-10 04:16:03 |
Jörg Frings-Fürst |
attachment removed |
Solution (patched bash build) https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127825/+files/bash.canonname |
|
|
2014-06-27 23:29:56 |
Display Name |
summary |
bash fails to provide FQDN for PS1 with \H |
Long hostname placeholder for PS1 (\H) fails in Bash |
|
2016-01-10 18:41:57 |
Display Name |
attachment removed |
Solution (screenshot) https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127824/+files/bash.canonname.png |
|
|
2017-11-08 13:44:43 |
Marc Bihlmaier |
bug |
|
|
added subscriber Marc Bihlmaier |
2022-08-08 22:43:45 |
Thomas Deutschmann |
bug |
|
|
added subscriber Thomas Deutschmann |