Comment 70 for bug 1073433

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1073433] Re: Ext4 corruption associated with shutdown of Ubuntu 12.10

On Sun, Feb 17, 2013 at 09:04:32PM -0000, Bernd Schubert wrote:

> I have no idea what Mathieu actually intended with this patch, but it is
> entirely wrong and made everything worse. Instead of refusing to kill NM,
> it needs to be killed, which is just the other way around than what the
> patch is doing.

The intent, which is correct, is that NM itself shuts down these subordinate
processes as part of the network shutdown *after* /etc/init.d/sendsigs is
run, instead of having them killed in an uncontrolled manner by
/etc/init.d/sendsigs and breaking the network.

Perhaps NM is failing to shut down the processes; but the sendsigs handling
itself remains correct. /etc/init.d/sendsigs should not be allowed to
indiscriminately terminate processes that are needed for the network to run;
these processes need to be ended later, after /etc/init.d/umountnfs.sh has
unmounted all network filesystems.