[systemd-devel] [RFC PATCH] journal: pass uid.gid in the stream header
Tomasz Torcz
tomek at pipebreaker.pl
Mon Jan 5 05:24:35 PST 2015
On Mon, Jan 05, 2015 at 02:12:45PM +0100, Lennart Poettering wrote:
> On Thu, 01.01.15 04:40, Zbigniew Jędrzejewski-Szmek (zbyszek at in.waw.pl) wrote:
>
> Sounds generally OK.
>
> > A disadvantage of the solution implemented here, otoh, is that both
> > systemd and journald must be restarted for it to take effect.
>
> This is something I am concerned about. This will break updates, as
> restarting journald is something we cannot really do without losing
> stdout/stderr of most running services. This means restarting journald
> doesn't really work, but then we couldn't reexec PID1 either on
> updates... Grrr...
Maybe journald needs some serialization around restarts? Remember
all the fds, re-exec new journald, sd_notify() new MAINPID to PID1,
restore fds? But I'm not sure if it's doable in Linux (but CRIU
allegely restores fds).
--
Tomasz Torcz 72->| 80->|
xmpp: zdzichubg at chrome.pl 72->| 80->|
More information about the systemd-devel
mailing list