I've ported the checkrestart script to Gentoo, using qlist and qfile. The tool uses lsof to check for applications in memory that doesn't match whats on the disk and suggest what init.d script to run, to fix it.
Using lsof is a bit complicated, as the data being read is alive and can change significantly both during lsof's run and also while the tool analyze it, but it sure makes life a little easier, due to it's nature, it will never be automated, but requires human analysis of it's output. Looking at the other tools in debian-goodies, there is a good chance many could be enhanced with Gentoo support. I'm working with 'upstream' to get some form of multi distribution support included at the source. The current version, I made, does run on Debian, Ubuntu and Gentoo, without the user needing to do anything. http://www.arcdraco.net/~dragon/checkrestart (Needs lsb-release, portage-utils, lsof and python) I'm not sure what step to take next, while a gentoo-goodies perhaps is realistic, it does seem more like a toy box with the very best but completely random stuff thrown into it, so perhaps a bit too disorganized to be it's own ebuild.
smime.p7s
Description: S/MIME Cryptographic Signature
