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
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 share/apport/ apport %p %s %c" > /proc/sys/ kernel/ core_pattern
echo "|/usr/
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