From owner-freebsd-questions@freebsd.org Thu Mar 10 18:08:38 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 DDA41ACA74B for ; Thu, 10 Mar 2016 18:08:38 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B67C27CE for ; Thu, 10 Mar 2016 18:08:38 +0000 (UTC) (envelope-from brandon.wandersee@gmail.com) Received: by mail-ig0-f171.google.com with SMTP id ig19so24765365igb.1 for ; Thu, 10 Mar 2016 10:08:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=MKOx+IwaCqMrM7J1tgq29YhB+7AurDIpvrTKtJysfOE=; b=ZRLhb3xoAnQpZ+/p+zMaZlNcw+MhfWE564Km+bWzJ1aS8iL3fw9cCadTz+OamKaZcq e/9EzA51RAr39p9FYmdgQAMefa7lMGGW3/6aN0jUmmxHDykw3XUq9o9jJnADm5cQ0B2p IvoRnkAQaHMATZtpAOSLHWiT1nHiMYr0GIx7AAkUOYqgQToVFyUszCitSLU73TAC/1uR TJCPlYhQKO6sHpGSiO/xouDOiTBUAV0+PD0WIfjkmWKZWyzWIicEB85v6fMNs9bkYFOQ FJF+MoR+F4i72UqLubcl/HpOz16iomKPIQRngJAjTTH2JxYSxRTJM7kjvlPmllKEUNTi XOyQ== X-Gm-Message-State: AD7BkJIl7GgUHD5kDXs8H0jI8Zkor93bgT9BD6KaJv8ivMUFD9W7gk8jh+E8hT7KJW3sKA== X-Received: by 10.50.43.228 with SMTP id z4mr5475069igl.8.1457633312275; Thu, 10 Mar 2016 10:08:32 -0800 (PST) Received: from WorkBox.Home.gmail.com (174-30-194-239.mpls.qwest.net. [174.30.194.239]) by smtp.gmail.com with ESMTPSA id jh9sm1884652igb.4.2016.03.10.10.08.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Mar 2016 10:08:31 -0800 (PST) References: <56E162B5.4010309@qeng-ho.org> <20160310131311.95dcd6c66c6dbf60339a2df0@sohara.org> <56E1818A.1060604@qeng-ho.org> User-agent: mu4e 0.9.15; emacs 24.5.1 From: Brandon J. Wandersee To: Arthur Chance Cc: Steve O'Hara-Smith , freebsd-questions@freebsd.org Subject: Re: Are system updates without reboots possible? In-reply-to: <56E1818A.1060604@qeng-ho.org> Date: Thu, 10 Mar 2016 12:08:35 -0600 Message-ID: <86pov2tdcs.fsf@WorkBox.Home> MIME-Version: 1.0 Content-Type: text/plain 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 18:08:39 -0000 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. 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. 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. > Neither does it let me identify non-daemon running programs that are > affected by a library update. Did you have something in particular in mind? I can't think of anything that would fall into that category. -- :: Brandon J. Wandersee :: brandon.wandersee@gmail.com :: :: 'The best design is the least design possible.' :: --- Dieter Rams