[cowbuilder-dist] login doesn't show shell prompt

Bug #423609 reported by Laurent Bigonville
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Debian)
Fix Released
Unknown
ubuntu-dev-tools (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: ubuntu-dev-tools

Hi,

when using the login option of cowbuilder-dist the shell doesn't show the prompt.
Moreover it seems that the shell history either.

If I call cowbuilder directly it works correctly

Revision history for this message
Iain Lane (laney) wrote :

Thanks. This affects pbuilder-dist too. I wonder if some environment variables aren't passed in or something. Can you run env in cowbuilder-dist login and cowbuilder --login and see if there's any discrepancies (or paste it in here)?

Changed in ubuntu-dev-tools (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Laurent Bigonville (bigon) wrote :

With cowbuilder-dist:

COWDANCER_REUSE=yes
SHELL=/bin/bash
TERM=xterm
LD_PRELOAD=/usr/lib/cowdancer/libcowdancer.so
LC_ALL=C
PBCURRENTCOMMANDLINEOPERATION=login
USER=root
SUDO_USER=root
SUDO_UID=0
USERNAME=root
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PWD=/
LANG=C
SHLVL=2
SUDO_COMMAND=/usr/sbin/cowbuilder --login --basepath /opt/pbuilder/karmic-base.cow --distribution karmic --buildresult /opt/pbuilder/karmic_result/ --logfile /opt/pbuilder/karmic_result/last_operation.log --aptcache /var/cache/apt/archives/ --override-config --components main restricted universe multiverse
HOME=/home/bigon
LOGNAME=root
DEBIAN_FRONTEND=noninteractive
SUDO_GID=0
DISPLAY=:0.0
COWDANCER_ILISTFILE=/.ilist
XAUTHORITY=/home/bigon/.Xauthority
COLORTERM=gnome-terminal
_=/usr/bin/env

With plain cowbuilder:

COWDANCER_REUSE=yes
SHELL=/bin/bash
TERM=xterm
LD_PRELOAD=/usr/lib/cowdancer/libcowdancer.so
LC_ALL=C
PBCURRENTCOMMANDLINEOPERATION=login
USER=root
SUDO_USER=bigon
SUDO_UID=1000
USERNAME=root
PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
PWD=/
EDITOR=vim
LANG=C
SHLVL=2
SUDO_COMMAND=/usr/sbin/cowbuilder --login --basepath /opt/pbuilder/karmic-base.cow/
HOME=/home/bigon
LOGNAME=root
DEBIAN_FRONTEND=noninteractive
SUDO_GID=1000
DISPLAY=:0.0
PBUILDFOLDER=/opt/pbuilder
COWDANCER_ILISTFILE=/.ilist
COLORTERM=gnome-terminal
XAUTHORITY=/home/bigon/.Xauthority
_=/usr/bin/env

Revision history for this message
Laurent Bigonville (bigon) wrote :

mmm is it due to the chained sudo call?

Benjamin Drung (bdrung)
summary: - cowbuilder-dist login doesn't show shell prompt
+ [cowbuilder-dist] login doesn't show shell prompt
Changed in ubuntu-dev-tools (Ubuntu):
status: Triaged → Fix Committed
Changed in ubuntu-dev-tools (Debian):
status: Unknown → Fix Committed
Changed in ubuntu-dev-tools (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.139

---------------
ubuntu-dev-tools (0.139) unstable; urgency=low

  [ Stefano Rivera ]
  * syncpackage, backportpackage, sponsor-patch: Use -nc when building source
    packages. Avoids needing build-deps on the build machine.
  * sponsor-patch:
    - Determine the task from the UDD branch.
    - Support syncs of new packages.
    - Support syncs from a non-default series (LP: #931644)
    - Check for dependencies that the package doesn't Depend on. Recommend
      dput, lintian, patch, quilt. (LP: #846385)
  * Re-add dgetlp. Still needed for downloading source packages from +queue.
    (LP: #919805)
  * pbuilder-dist:
    - Export DISTRIBUTION and ARCHITECTURE as well as DIST and ARCH. Thanks
      Alessio Treglia. (Closes: #659060, LP: #423609)
    - Pass DEB_BUILD_OPTIONS through (LP: #685786)
  * reverse-depends: Now that Debian is supported server-side:
    - Convert Debian release aliases to codenames.
    - Default to the devel release of the vendor distribution.
    - Provide transitional reverse-build-depends wrapper to help users
      discover reverse-depends. (LP: #910420)
  * backportpackage: Map Debian release aliases to codenames (LP: #918231)

  [ Evan Broder]
  * sponsor-patch, requestsync, syncpackage: Add a config variable for -k
    arguments.

 -- Stefano Rivera <email address hidden> Wed, 15 Feb 2012 17:21:39 +0200

Changed in ubuntu-dev-tools (Ubuntu):
status: Fix Committed → Fix Released
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.