Comment 10 for bug 1194541

Revision history for this message
Seth Arnold (seth-arnold) wrote :

The order of operations in the patch is incorrect; the suid_dumpable flag should be set _after_ the core pattern pipe has been set.

This is incorrect:

+ echo 2 > /proc/sys/fs/suid_dumpable
     echo "|/usr/share/apport/apport %p %s %c" > /proc/sys/kernel/core_pattern

It should be the other way around.

Teardown is in the correct order.

This was discovered in Saucy via kernel log messages:

[ 9.366329] Unsafe core_pattern used with suid_dumpable=2. Pipe handler or fully qualified core dump path required.

Thanks