Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Mar 2016 15:17:57 +0000
From:      krad <kraduk@gmail.com>
To:        "Kevin P. Neal" <kpn@neutralgood.org>
Cc:        Arthur Chance <freebsd@qeng-ho.org>, FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Are system updates without reboots possible?
Message-ID:  <CALfReyd1OVvwM5pg-HV6g223p01Wb40htK=PXQrBPTN53KdnzA@mail.gmail.com>
In-Reply-To: <20160310143834.GA16507@neutralgood.org>
References:  <56E162B5.4010309@qeng-ho.org> <20160310143834.GA16507@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>From what i remember there is an equivalent of linux pivot mount coming in
freebsd 11. Doing that technically isn't a reboot, but it will definitely
ensure everything is restarted.

Is there any motive to this though, as the safest way is to create a new
boot env with the new patched stuff in, and then reboot. You have fail back
then, incase of issues.

On 10 March 2016 at 14:38, Kevin P. Neal <kpn@neutralgood.org> wrote:

> On Thu, Mar 10, 2016 at 12:04:05PM +0000, Arthur Chance wrote:
> > The latest security advisory on openssl contains the usual mantra
> >
> > "Restart all deamons using the library, or reboot the system."
> >
> > I usually just reboot but find myself wondering if there's a reliable
> > *automatic* way of identifying which running programs use any given
> > library (or set of libraries), and identify whether or not they're
> > daemons controlled by service(8).
> >
> > I suppose root could use ps and ldd to identify affected programs, but
> > this seems like brute force and I can't see how to tie into the
> > service(8) structure.
> >
> > Anybody got ideas on this? It could be useful for updating servers you'd
> > rather not reboot.
>
> You can use lsof to see which processes have a library open. If they're
> using the library then they'll have it open.
>
> This does nothing to help connect back to service(8), however.
> --
> Kevin P. Neal                                http://www.pobox.com/~kpn/
>
> "Nonbelievers found it difficult to defend their position in \
>     the presense of a working computer." -- a DEC Jensen paper
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyd1OVvwM5pg-HV6g223p01Wb40htK=PXQrBPTN53KdnzA>