Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2016 22:07:21 +0100
From:      "Walkenhorst, Benjamin" <walkenhorst@wellmann-engineering.eu>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Check which services/processes need restart after update
Message-ID:  <BF442EB7-5F98-4ABC-A000-A6C037BE8C9A@wellmann-engineering.eu>

next in thread | raw e-mail | index | archive | help

Hello,

Only recently I was happy to discover that Debian has a tool called checkrestart that checks which services need to be restarted after an update. 
I thought that was very nice and now I am kind of wondering if there is something comparable for FreeBSD.

freebsd-update tells you which files it is going to touch, and if pkg upgrade replaces, say, apache, I kind of notice that too.

But it would be nice to check if some processes are still running the obsolete/vulnerable version, maybe that long-running ssh-session or something.

The cherry on top would be, of course, a tool that does this in a way that can be automated, so I can e.g. send myself daily or weekly reports.

So, does something along those lines exist? If not, can anyone give me a hint on where to start working on it?

Thank you very much,
Benjamin


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BF442EB7-5F98-4ABC-A000-A6C037BE8C9A>