systemd acceptance, packaging guidelines (was Re: systemd and changes)

Jakub Jelinek jakub at redhat.com
Wed Aug 25 14:27:56 UTC 2010


On Wed, Aug 25, 2010 at 04:08:49PM +0200, Lennart Poettering wrote:
> On Wed, 25.08.10 03:03, Miloslav Trmač (mitr at 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.

	Jakub


More information about the devel mailing list