Here is the mailing list post: http://lists.gnu.org/archive/html/bug-
bash/2014-06/msg00020.html.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276796
Title:
bash fails to provide FQDN for PS1
Hi,
please upload only you patch files and not your binaries.
If you want you can build it in a ppa.
Binary deleted.
Jörg
** Attachment removed: Solution (patched bash build)
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127825/+files/bash.canonname
--
You
I confirm the problem. Bash uses gethostname which seems to be relying
on the content of /etc/hostname. I have patched Bash to use a better
API, getaddrinfo, the same used by the hostname utility when provided
with the -f/--long option. Rodney, I could not find your report in the
mailing list
** Attachment added: Solution
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127824/+files/bash.canonname.png
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276796
** Attachment added: Patched Bash build
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1276796/+attachment/4127825/+files/bash.canonname
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276796
Hi,
I take a look to the bash source.
The hostname was only read on startup.
So you must relogin after changing your hostname.
It was tested on 13.10 and 14.04.
Jörg
** Changed in: bash (Ubuntu)
Status: Incomplete = Invalid
--
You received this bug notification because you are a
Rebooted. No change to hostname. No DHCP. Problem still exists.
Should see a prompt of:
[rbe...@okdev1381.example.org:/home/rbeede] $
but instead I only get:
[rbeede@okdev1381:/home/rbeede] $
[rbeede@okdev1383:/home/rbeede] $ echo $PS1
[\u@\H:/home/rbeede] $
cat /etc/hostname: trusty-virtbox.jff.de
prompt with h: jff@trusty-virtbox:~$
prompt with H: j...@trusty-virtbox.jff.de:~$
then
cat /etc/hostname: trusty-virtbox
prompt with h: jff@trusty-virtbox:~$
prompt with H: jff@trusty-virtbox:~$
Thus makes bash exactly what it should do.
If the
The default install of Ubuntu fills in /etc/hostname with only the
host name and not any of the DNS domain name parts.
For Ubuntu 13.10 the following is noted:
http://manpages.ubuntu.com/manpages/saucy/man1/hostname.1.html
/etc/hostname Historically this file was supposed to only contain
I've submitted a bug report up-stream. A copy of that bug report is
attached.
To: bug-b...@gnu.org,b...@packages.debian.org
Subject: bash fails to provide FQDN for PS1 with \H
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Hi Rodney,
do you change the hostname over dhcp? Or how?
Jörg
** Changed in: bash (Ubuntu)
Status: Confirmed = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1276796
Title:
bash
There is no DHCP at all.
The OS was installed with a static IP configuration during the install
setup. I specified the hostname at that time by typing it into the
installer prompt.
[rbeede@ubuntu13:/home/rbeede] $ cat /etc/hostname
okdev1383
[rbeede@ubuntu13:/home/rbeede] $ cat
apport information
** Tags added: apport-collected saucy
** Description changed:
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
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
14 matches
Mail list logo