From owner-freebsd-questions@freebsd.org Thu Mar 3 21:10:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFF8FA94EBD for ; Thu, 3 Mar 2016 21:10:04 +0000 (UTC) (envelope-from walkenhorst@wellmann-engineering.eu) Received: from mail.hocloud.de (mail.hocloud.de [212.100.43.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B995FDD for ; Thu, 3 Mar 2016 21:10:03 +0000 (UTC) (envelope-from walkenhorst@wellmann-engineering.eu) Received: from mail.wellmann-engineering.eu ([62.153.71.106]:21439 helo=mail.wellmann-anlagentechnik.de) by mail.hocloud.de with esmtps (TLSv1:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1abaSy-000320-0s for freebsd-questions@freebsd.org; Thu, 03 Mar 2016 22:07:24 +0100 Received: from SBS2008.wellmann.local ([fe80::6cd6:3287:b61c:d75a]) by SBS2008.wellmann.local ([fe80::6cd6:3287:b61c:d75a%14]) with mapi; Thu, 3 Mar 2016 22:07:23 +0100 From: "Walkenhorst, Benjamin" To: "freebsd-questions@freebsd.org" Date: Thu, 3 Mar 2016 22:07:21 +0100 Subject: Check which services/processes need restart after update Thread-Topic: Check which services/processes need restart after update Thread-Index: AdF1kK5G7dwBLk2bRUy85+kWbYGlbQ== Message-ID: Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2016 21:10:05 -0000 Hello, Only recently I was happy to discover that Debian has a tool called checkre= start that checks which services need to be restarted after an update.=20 I thought that was very nice and now I am kind of wondering if there is som= ething comparable for FreeBSD. freebsd-update tells you which files it is going to touch, and if pkg upgra= de replaces, say, apache, I kind of notice that too. But it would be nice to check if some processes are still running the obsol= ete/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 hi= nt on where to start working on it? Thank you very much, Benjamin=