Dan, I think my thought process here was that any PID belonging to an upstart job at the time this was run is astronomically unlikely to get reused for a different process during the shutdown sequence, and I don't think I noticed that we're requerying the list of pids repeatedly in a loop and concatenating the results - that's wrong for obvious reasons.
I haven't looked at your patch, but this looks like a sensible thing to do here. Asking the Foundations team to look at it. ** Changed in: sysvinit (Ubuntu) Assignee: (unassigned) => Canonical Foundations Team (canonical-foundations) ** Changed in: sysvinit (Ubuntu) Importance: Undecided => Low ** Changed in: sysvinit (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/665185 Title: /etc/init.d/sendsigs fails to kill some processes -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs