[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package apport - 2.26.1-0ubuntu2

---
apport (2.26.1-0ubuntu2) lunar; urgency=medium

  * fix(tests): Clear environment for test_run_as_real_user_no_sudo

apport (2.26.1-0ubuntu1) lunar; urgency=medium

  [ Benjamin Drung ]
  * New upstream bug-fix release.
- SECURITY UPDATE: viewing an apport-cli crash with default pager could
  escalate privilege (LP: #2016023). Do not run sensible-pager as root
  if using sudo/pkexec.
- Catch HTTPError in UserInterface.file_report (LP: #2008638)
- Print proper error message if /proc/ is gone (LP: #2008638)
- Do not drop environment variables when calling GDB (LP: #2012374)
- Fix parsing options with spaces in sources.list (LP: #1822712)
  * Disable Launchpad crash reports for 23.04 release

  [ Sebastien Bacher ]
  * Let subiquity collect the desktop installer details if available

 -- Benjamin Drung   Fri, 14 Apr 2023 00:17:27 +0200

** Changed in: apport (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Released

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-04-12 Thread Benjamin Drung
** Changed in: apport
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Committed

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-04-12 Thread Benjamin Drung
** Changed in: apport (Ubuntu)
   Importance: Undecided => Medium

** Changed in: apport
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Fix Committed

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-30 Thread Benjamin Drung
https://github.com/canonical/apport/pull/147 got merged.

** Changed in: apport (Ubuntu)
   Status: In Progress => Fix Committed

** Changed in: apport
   Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  Fix Committed
Status in apport package in Ubuntu:
  Fix Committed

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-22 Thread Benjamin Drung
** Changed in: apport
   Status: New => In Progress

** Changed in: apport (Ubuntu)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  In Progress
Status in apport package in Ubuntu:
  In Progress

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Benjamin Drung
Proposed fix: https://github.com/canonical/apport/pull/147

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  New
Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Benjamin Drung
** Also affects: apport
   Importance: Undecided
   Status: New

** Changed in: apport
Milestone: None => 2.27.0

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in Apport:
  New
Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Heinrich Schuchardt
Adding variable TERM to environ is enough to solve the problem.

 apport.memdbg("before calling gdb")
+environ['TERM'] = os.environ.get('TERM', '')
 subprocess.call(gdb_cmd, env=environ)

Now 'lay asm ' and lay 'regs' provide valuable information.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Heinrich Schuchardt
# dpkg -s apport-retrace
Source: apport
Version: 2.26.0-0ubuntu2

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Heinrich Schuchardt
I am on Lunar riscv64.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2012374] Re: Cannot enable the TUI: error opening terminal [TERM=]

2023-03-21 Thread Benjamin Drung
Which apport version do you use?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2012374

Title:
  Cannot enable the TUI: error opening terminal [TERM=]

Status in apport package in Ubuntu:
  New

Bug description:
  I try to analyze a crash report on riscv64. I am connected to the
  system via ssh.

  sudo DEBUGINFOD_VERBOSE=1  apport-retrace --gdb --sandbox system
  --cache ~/.cache/apport-retrace
  /var/crash/_usr_bin_qemu-x86_64-static.0.crash

  In the opened gdb I try to show the source:

  (gdb) lay src
  Cannot enable the TUI: error opening terminal [TERM=]

  My expectation is that gdb shows the source layout.

  gdb works fine outside apport-retrace.

  # echo $TERM
  xterm-256color

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/2012374/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp