Michal Privoznik 7cfb7aab57 security_util: Remove stale XATTRs
It may happen that we leave some XATTRs behind. For instance, on
a sudden power loss, the host just shuts down without calling
restore on domain paths. This creates a problem, because when the
host starts up again, the XATTRs are there but they don't reflect
the true state and this may result in libvirt denying start of a
domain.

To solve this, save a unique timestamp (host boot time) among
with our XATTRs.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1741140

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
2019-08-22 17:05:17 +02:00
..
2019-08-09 12:17:19 +02:00
2019-08-09 09:03:53 +02:00
2019-08-09 09:03:53 +02:00
2019-04-15 17:37:52 +02:00
2019-02-12 10:14:53 +01:00
2019-06-19 17:12:34 +02:00
2019-06-19 17:12:34 +02:00