Setting up apport (2.20.7-0ubuntu3.1) ...
Installing new version of config file /etc/apport/crashdb.conf ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
[ 12:18PM 10296 ] [ bdmurray@impulse:~ ]
$ cat /etc/apport/crashdb.conf
# map crash database names to CrashDatabase implementations and URLs
default = 'ubuntu'
def get_oem_project():
'''Determine OEM project name from Distribution Channel Descriptor
Return None if it cannot be determined or does not exist.
'''
try:
dcd = open('/var/lib/ubuntu_dist_channel').read()
if dcd.startswith('canonical-oem-'):
return dcd.split('-')[2]
except IOError:
return None
verification done on artful:
Setting up apport (2.20.7-0ubuntu3.1) ... crashdb. conf ... crashdb. conf
Installing new version of config file /etc/apport/
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
[ 12:18PM 10296 ] [ bdmurray@impulse:~ ]
$ cat /etc/apport/
# map crash database names to CrashDatabase implementations and URLs
default = 'ubuntu'
def get_oem_project():
'''Determine OEM project name from Distribution Channel Descriptor
Return None if it cannot be determined or does not exist. var/lib/ ubuntu_ dist_channel' ).read( ) 'canonical- oem-'):
'''
try:
dcd = open('/
if dcd.startswith(
return dcd.split('-')[2]
except IOError:
return None
databases = {
'problem_ types': ['Bug', 'Package'],
'bug_pattern_ url': 'http:// people. canonical. com/~ubuntu- archive/ bugpatterns/ bugpatterns. xml',
'dupdb_ url': 'http:// people. canonical. com/~ubuntu- archive/ apport- duplicates',
'escalation_ tag': 'bugpattern- needed' ,
'escalated_ tag': 'bugpattern- written' ,
'ubuntu': {
'impl': 'launchpad',
'distro': 'ubuntu',
},