On Fri, 17.10.14 07:09, Zbigniew Jędrzejewski-Szmek 
(zbys...@kemper.freedesktop.org) wrote:

> commit 46849c3fb1d92882ec456fdbf445a175c13fba9c
> Author: Zbigniew J??drzejewski-Szmek <zbys...@in.waw.pl>
> Date:   Thu Oct 16 19:13:45 2014 -0500
> 
>     systemd: log deserialization errors as warnings
>     
>     If we failed to parse something that we wrote ourselves,
>     things are seriously off. This is also likely to lead to
>     problems futher on.

Well, I'd really be careful with this. Note that this code is run on
upgrades, when the systemd binary might have been replaced by a newer
version. In that case we might read the serialization of an older
version. I specifically picked log_debug() for the warnings since I
didn't want to create confusion if we change a field, especially if
the deserialized fields are not particularly important.

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to