From owner-freebsd-questions@freebsd.org Thu Mar 10 19:26:43 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 6BD61ACAC1B for ; Thu, 10 Mar 2016 19:26:43 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1mail2513.mymailbank.co.uk (UK1MAIL2513-PERMANET.IE.mymailbank.co.uk [217.69.47.44]) by mx1.freebsd.org (Postfix) with ESMTP id E09A4E72 for ; Thu, 10 Mar 2016 19:26:41 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp.lan.sohara.org (UnknownHost [88.151.27.41]) by uk1mail2513-d.mymailbank.co.uk with SMTP; Thu, 10 Mar 2016 19:26:13 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.86 (FreeBSD)) (envelope-from ) id 1ae6Dr-000LTG-E2; Thu, 10 Mar 2016 19:26:11 +0000 Date: Thu, 10 Mar 2016 19:26:06 +0000 From: Steve O'Hara-Smith To: "Brandon J. Wandersee" Cc: Arthur Chance , freebsd-questions@freebsd.org Subject: Re: Are system updates without reboots possible? Message-Id: <20160310192606.236f7cf67da677e7324367b7@sohara.org> In-Reply-To: <86pov2tdcs.fsf@WorkBox.Home> References: <56E162B5.4010309@qeng-ho.org> <20160310131311.95dcd6c66c6dbf60339a2df0@sohara.org> <56E1818A.1060604@qeng-ho.org> <86pov2tdcs.fsf@WorkBox.Home> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 10 Mar 2016 19:26:43 -0000 On Thu, 10 Mar 2016 12:08:35 -0600 "Brandon J. Wandersee" wrote: > > Arthur Chance writes: > > > I'd missed the -R option for service(8). Thanks for pointing that out. > > > > However, that only restarts daemons from /usr/local/etc/rc.d, not > > built-in system daemons from /etc/rc.d. > > Have a look at /etc/defaults/rc.conf. The number of daemons enabled by > default is tiny, and updates that affect them are (as far as I can tell) > particular to them---i.e. you need to restart syslogd if and only if > syslogd gets updated. Or one of the shared libraries linked into syslogd gets updated. > The long and short of it is that services that are both enabled and > depend on third-party libraries are almost certainly such because you > enabled and configured them to be such yourself. Third party libraries are only part of the issue - what to restart after running freebsd-update is the real question, but yes handling pkg upgrade as well would be nice. > Either you set up your > own SMTP server that you configured to send SSL-signed mail over the > Internet with your own custom Sendmail configuration, or you did not. Or > your system is running a Poudriere package build service that signs all > built packages with an OpenSSL certificate that you created yourself and > serves them up with an HTTP server that you installed and configured to > use that certificate, or it is not. So there should not be a case in which > you are completely in the dark about whether a running service is > directly affected by a base system update and needs to be restarted. I can always work it out - or if I'm feeling lazy reboot. But automating the process would be really nice. -- Steve O'Hara-Smith