[CentOS] reload /sbin/init

Robert Nichols rnicholsNOSPAM at comcast.net
Thu Jan 8 18:33:19 UTC 2015



On 01/08/2015 11:57 AM, m.roth at 5-cent.us wrote:
> Robert Nichols wrote:
>> On 01/08/2015 03:22 AM, Markus Falb wrote:
>>> Hi,
>>> There was an update of glibc on CentOS 6
>>> http://lists.centos.org/pipermail/centos-announce/2015-January/020863.html
>>> and now:
>>>
>>> # needs-restarting
>>> 1 : /sbin/init
>>>
>>> How do i tell /sbin/init to use the updated files from glibc without a
>>> reboot?
>>
>> You can't. See the manpage for /telinit/ and the warning for the "-U"
>> option.
>
> <snip>
>         U or u to request that the init(8) daemon re-execute itself.   This
>   is
>                not  recommended  since  Upstart is currently unable to
> preserve
>                its state, but is necessary when upgrading system libraries.
> <snip>
> which one assume applied to fedora when it was using upstart, not sysV or
> systemd. No data on either of them.

The question was specifically about CentOS 6, which uses upstart. SysV init
could re-exec itself cleanly. I have no idea, but plenty of doubts, about
systemd.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.



More information about the CentOS mailing list