Trying to figure out exactly what services should be restarted after patching openssl against Heartbleed. At least one post mentions restarting:
sshd, apache, nginx, postfix, dovecot, courier, pure-ftpd, bind, mysql
- Is there a command that can be run to see what running services are dependent on openssl?
- Is there a command to run against apache/nginx to see if the patch is active so the service doesn't need to be restarted?
- Should we just schedule downtime and reboot every server entirely?
EDIT: This post suggests using: lsof -n | grep ssl | grep DEL
to display processes still using the old version of OpenSSL marked for deletion
lsof
trick, it doesn't matter if the version number of the library changed: When the.so
file is replaced the old inode becomes unlinked (DEL
eted, in the lsof list). The file is not rewritten in place by any package manager orinstall
program that I'm aware of. – voretaq7 Apr 8 '14 at 17:48|grep DEL
bit and work from the full list) – voretaq7 Apr 8 '14 at 17:51