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? -- Kind Regards, Markus Falb
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. -- Bob Nichols "NOSPAM" is really part of my email address. Do NOT delete it.
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.
On 01/08/2015 10:33 AM, Robert Nichols wrote:> 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."systemctl daemon-reexec" will re-exec systemd. It does mostly the same thing when it gets SIGTERM, according to the man page.