apport ships 2 identical files in /etc/default/

Bug #361017 reported by Florent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
New
Undecided
Unassigned
Nominated for Jaunty by Florent

Bug Description

Binary package hint: apport

Last version of apport ships 2 configuration files in /etc/default/.
It may be confusing.

user@jaunty$ md5sum /etc/default/apport*
365671491ed829bcde90c1dcf243bb6b /etc/default/apport
365671491ed829bcde90c1dcf243bb6b /etc/default/apport.default

ProblemType: Bug
Architecture: i386
CrashReports:
 600:1000:1000:45058:2009-04-13 20:14:54.349991000 +0200:2009-04-13 23:18:04.950938941 +0200:/var/crash/_usr_bin_syndaemon.1000.crash
 600:1000:1000:2914014:2009-04-10 13:13:28.110106000 +0200:2009-04-10 13:13:35.679104141 +0200:/var/crash/_usr_libexec_gyachi_gyachi-webcam.1000.crash
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: ath_hal
Package: apport 1.0-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: apport
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Florent (florent.x) wrote :
Revision history for this message
Florent (florent.x) wrote :

The confusing file "/etc/default/apport.default" was added silently in version 0.149: no hint in the changelog file.

I just upgraded to version 1.0-0ubuntu4, and it is worse, because both files have different settings. And the last change occurs in the wrong file:
  "Disable Apport by default for the final release."

user@jaunty$ diff -u /etc/default/apport*
--- /etc/default/apport 2009-03-05 15:41:19.000000000 +0100
+++ /etc/default/apport.default 2009-04-14 11:55:25.000000000 +0200
@@ -1,7 +1,7 @@
 # set this to 0 to disable apport, or to 1 to enable it
 # you can temporarily override this with
 # sudo force_start=1 /etc/init.d/apport start
-enabled=1
+enabled=0

 # set maximum core dump file size (default: 209715200 bytes == 200 MB)
 maxsize=209715200
user@jaunty$ sed -n '14p;23p' /etc/init.d/apport
NAME=apport
[ -e /etc/default/$NAME ] && . /etc/default/$NAME || true

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.