bash-static prompt: 'I have no name!@server' vs. bash prompt: 'user@server'

Bug #1291277 reported by Raoul Bhatia
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bash (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

After a "dist-upgrade" from saucy to trusty,
bash-static's prompt incorrectly reads 'I have no name!@server',
whereas bash's (and also zsh's) prompt correctly reads 'user@server'.

Packages:
> $ dpkg -l|grep bash
> ii bash 4.3-2ubuntu1 amd64 GNU Bourne Again SHell
> ii bash-completion 1:2.1-2ubuntu3 all programmable completion for the bash shell
> ii bash-static 4.3-2ubuntu1 amd64 GNU Bourne Again SHell (static version)

This did not happen with bash-static 4.2-5ubuntu3 on saucy.

Possibly related to https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1291281

Thanks,
Raoul

description: updated
summary: - bash-static: 'I have no name!@server' vs. bash: 'user@server'
+ bash-static prompt: 'I have no name!@server' vs. bash prompt:
+ 'user@server'
description: updated
Revision history for this message
Raoul Bhatia (raoul-bhatia) wrote :

== ApportVersion =================================
2.13.3-0ubuntu1

== Architecture =================================
amd64

== Date =================================
Wed Mar 12 11:36:21 2014

== Dependencies =================================
apt-utils 0.9.15.4ubuntu2
debconf 1.5.51ubuntu2
debconf-i18n 1.5.51ubuntu2
debianutils 4.4
dpkg 1.17.5ubuntu5
gcc-4.8-base 4.8.2-16ubuntu6
gcc-4.9-base 4.9-20140303-0ubuntu3
libacl1 2.2.52-1
libapt-inst1.5 0.9.15.4ubuntu2
libapt-pkg4.12 0.9.15.4ubuntu2
libattr1 1:2.4.47-1
libaudit-common 1:2.3.2-2ubuntu1
libaudit1 1:2.3.2-2ubuntu1
libbz2-1.0 1.0.6-5
libc6 2.19-0ubuntu2
libdb5.3 5.3.28-3ubuntu1
libgcc1 1:4.9-20140303-0ubuntu3
liblocale-gettext-perl 1.05-7build3
liblzma5 5.1.1alpha+20120614-2ubuntu2
libpam-modules 1.1.8-1ubuntu2
libpam-modules-bin 1.1.8-1ubuntu2
libpam0g 1.1.8-1ubuntu2
libpcre3 1:8.31-2ubuntu2
libselinux1 2.2.2-1
libsemanage-common 2.2-1
libsemanage1 2.2-1
libsepol1 2.2-1
libstdc++6 4.8.2-16ubuntu6
libtext-charwidth-perl 0.04-7build3
libtext-iconv-perl 1.7-5build2
libtext-wrapi18n-perl 0.06-7
libustr-1.0-1 1.0.4-3ubuntu2
multiarch-support 2.19-0ubuntu2
passwd 1:4.1.5.1-1ubuntu9
perl-base 5.18.2-2
sensible-utils 0.0.9
tar 1.27.1-1
zlib1g 1:1.2.8.dfsg-1ubuntu1

== DistroRelease =================================
Ubuntu 14.04

== Package =================================
bash-static 4.3-2ubuntu1

== PackageArchitecture =================================
amd64

== ProblemType =================================
Bug

== ProcEnviron =================================
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash-static

== ProcVersionSignature =================================
Ubuntu 3.13.0-17.37-generic 3.13.6

== SourcePackage =================================
bash

== Tags =================================
 trusty

== Uname =================================
Linux 3.13.0-17-generic x86_64

== UpgradeStatus =================================
Upgraded to trusty on 2014-03-12 (0 days ago)

Changed in bash (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Raoul Bhatia (raoul-bhatia) wrote :

I had the same issue on Debian Jessie until I upgraded from version 4.3-11 to 4.3-11+b1 on amd64.

This solved the issue! Changelog:

bash (4.3-11+b1) sid; urgency=low, binary-only=yes

  * Binary-only non-maintainer upload for amd64; no source changes.
  * Rebuild against glibc 2.19-13

 -- amd64 Build Daemon (binet) <email address hidden> Tue, 07 Oct 2014 16:20:35 +0200

Please consider this for this bug report.

Thanks,
Raoul

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bash (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.