better check for services using OpenSSL
This commit is contained in:
parent
747c14667e
commit
ebaa36faa8
1 changed files with 4 additions and 1 deletions
|
|
@ -5,4 +5,7 @@
|
||||||
# Shows all applications using libssl
|
# Shows all applications using libssl
|
||||||
# They need to be restarted after an OpenSSL upgrade
|
# They need to be restarted after an OpenSSL upgrade
|
||||||
|
|
||||||
for lib in $(dpkg -L libssl1.0.0 | egrep "(libcrypto\.so|libssl\.so)"); do lsof -R +c 15 / | grep "$lib"; done | awk {'if ($3==1) print $1'} | sort | uniq
|
#for lib in $(dpkg -L libssl1.0.0 | egrep "(libcrypto\.so|libssl\.so)"); do lsof -R +c 15 / | grep "$lib"; done | awk {'if ($3==1) print $1'} | sort | uniq
|
||||||
|
|
||||||
|
# Snippet by Yves-Alexis Perez: http://www.corsac.net/?rub=blog&post=1565
|
||||||
|
grep -l 'libssl.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue