profile sourced more than once if byobu-launcher-install is used

Bug #855002 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Well, this is a regression of the fix for bug 809525.

So rather than just calling it a dupe I've opened another.

I've done the following to verify this:

$ tail -n 3 ~/.profile
PROFILE_SOURCE_COUNT=$((${PROFILE_SOURCE_COUNT:-0}+1))
export PROFILE_SOURCE_COUNT
. byobu-launch

$ tail -n 1 ~/.bashrc
[ -t 0 ] && echo "PROFILE_SOURCE_COUNT=$PROFILE_SOURCE_COUNT"

then, when I exit out of all byobu shells, and re-log in, I'll get byobu launched by default and see:
PROFILE_SOURCE_COUNT=2

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: byobu 4.33-0ubuntu1
ProcVersionSignature: User Name 3.0.0-11.18-virtual 3.0.4
Uname: Linux 3.0.0-11-virtual x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Tue Sep 20 19:26:00 2011
Ec2AMI: ami-35dd1f5c
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1c
Ec2InstanceType: t1.micro
Ec2Kernel: aki-825ea7eb
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ScreenRC:

SourcePackage: byobu
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in byobu (Ubuntu):
importance: Undecided → High
status: New → In Progress
Changed in byobu (Ubuntu):
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 4.34-0ubuntu1

---------------
byobu (4.34-0ubuntu1) oneiric; urgency=low

  [ Theodore Campbell ]
  * usr/lib/byobu/.constants: LP: #846576
    - silence errors

  [ Dustin Kirkland ]
  * usr/lib/byobu/.shutil: LP: #854262
    - fix regressed monochrome support
  * usr/bin/byobu-janitor, usr/share/byobu/status/status:
    - proper fix for ec2 by default in cloud instances
  * usr/bin/byobu-select-session: LP: #855795
    - fix broken select-session support; screen -ls exits 1
  * usr/share/byobu/keybindings/f-keys: LP: #839783
    - Disable screen messages while entering and scrolling around in
      copy/scrollback mode, but re-enable them afterward; print a
      message about Byobu scrollback mode to "eat" the unnecessary
      and misleading screen messages when using alt-pgup and alt-pgdown
  * usr/bin/byobu-launch, usr/bin/byobu-launcher-install: LP: #855002
    - ensure that .profile is not sourced more than once
    - ensure that disabled auto launch is respected, too, and does not
      double-source profile
    - handle both system-wide autolaunch, and per-user autolaunch
  * README: LP: #854868
    - document automake steps
 -- Dustin Kirkland <email address hidden> Thu, 08 Sep 2011 14:26:43 -0700

Changed in byobu (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.