"/etc/init.d/apport restart" doesn't actually do the important parts

Bug #292402 reported by Chris Thomas (CTho)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

Binary package hint: apport

Running "/etc/init.d/apport restart" does not pick up changes to the value of "enabled" in /etc/default/apport. If it was previously disabled, "restart" only changes the crashdump-size, but doesn't actually set /proc/sys/kernel/core_pattern. If it was previously enabled, "restart" does nothing because the script exits on line 25.

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
$ apt-cache policy apport
apport:
  Installed: 0.108.2
  Candidate: 0.108.2
  Version table:
 *** 0.108.2 0
        500 http://us.archive.ubuntu.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     0.108 0
        500 http://us.archive.ubuntu.com hardy/main Packages

Martin Pitt (pitti)
Changed in apport:
assignee: nobody → pitti
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr.

Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 0.121

---------------
apport (0.121) jaunty; urgency=low

  * debian/apport.init: Drop long obsolete setting of
    /proc/sys/kernel/crashdump-size.
  * debian/apport.init: Make restart actually work if the default file was
    changed. (LP: #292402)
  * apport/report.py, add_proc_environ(): Do not include verbatim $PATH, only
    classify it as "default" (does not appear at all then), "custom,
    user" (/home or /tmp in $PATH), or "custom, no user". Add appropriate test
    case. Update the data format documentation accordingly. (LP: #245263)

 -- Martin Pitt <email address hidden> Mon, 08 Dec 2008 19:37:53 -0800

Changed in apport:
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.