On Wed, Aug 25, 2010 at 04:08:49PM +0200, Lennart Poettering wrote:
On Wed, 25.08.10 03:03, Miloslav Trmač (mitr(a)volny.cz) wrote:
> The traditional solution is to reexec not on shutdown, but immediately
> after init upgrade (which also frees the inodes early); this can still
> race with shutdown in theory, but is probably good enough in practice.
Well, while reexecing on package upgrades might kinda help fix the issue
I think it doesn't really scale, because you'd have to reexec systemd
when any of the libs it uses is upgraded, i.e. glibc, audit, selinux,
tcpwrap, pam, libcap.
glibc %post (and prelink cron scripts) already telinit u when libc/ld.so
(resp. any library) changes.
So I guess there's isn't really any other option then
reexecing init in
some way on shutdown.