shall allow local save even it's neither ubuntu nor native.

Bug #1837173 reported by Yuan-Chen Cheng
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Wishlist
Unassigned
apport (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

For command, apport-cli -p PKG -f --save=local-save.log, if the PKG is a local test one, it won't save the log.

Let's skip package check if --save option is used.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

patch attached for ubuntu/devel branch.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "allow-local-save-more-aggressively.patch" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
tags: added: oem-priority
Changed in oem-priority:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 1837173] [NEW] shall allow local save even it's neither ubuntu nor native.

On Fri, Jul 19, 2019 at 04:46:08AM -0000, Yuan-Chen Cheng wrote:
> Public bug reported:
>
> For command, apport-cli -p PKG -f --save=local-save.log, if the PKG is a
> local test one, it won't save the log.
>
> Let's skip package check if --save option is used.

The check to see if the package is one provided by Ubuntu can be skipped
by setting the local environment variable "APPORT_DISABLE_DISTRO_CHECK".
For example this works for me:

APPORT_DISABLE_DISTRO_CHECK=1 ubuntu-bug makemkv-oss

If I had not set the environment variable I would be presented with a
message about the package not being an official one. Is there a reason
that using that environment variable will not work for you?

--
Brian Murray

Changed in apport (Ubuntu):
status: New → Incomplete
Mathew Hodson (mhodson)
Changed in apport (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Rex Tsai (chihchun) wrote :

I think the Device enablement team can add a new apport "symptoms" script to collect the debug messages of the OEM image, but not targeting a meta package which is not exist on Ubuntu archive.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

set APPORT_DISABLE_DISTRO_CHECK works for me

Changed in oem-priority:
assignee: Yuan-Chen Cheng (ycheng-twn) → nobody
importance: High → Wishlist
Changed in apport (Ubuntu):
status: Incomplete → Won't Fix
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.