~otto/apport/apport

« back to all changes in this revision

Viewing changes to etc/init.d/apport

  • Committer: Martin Pitt
  • Date: 2014-01-10 07:10:34 UTC
  • mfrom: (2742.1.1 pidns-support)
  • Revision ID: martin.pitt@canonical.com-20140110071034-oa48d5emvoc8elz7
Add support for PID namespaces (Linux containers)

Crashes originating from a container on a system running a >= 3.12 kernel will
be automatically redirected to apport inside the container, or ignored if
apport is not installed in the container.

Thanks to Stéphane Graber!

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
                rm -f /var/lib/pm-utils/resume-hang.log
53
53
        fi
54
54
 
55
 
        echo "|$AGENT %p %s %c" > /proc/sys/kernel/core_pattern
 
55
        echo "|$AGENT %p %s %c %P" > /proc/sys/kernel/core_pattern
56
56
}
57
57
 
58
58
#