[Libguestfs] [libguestfs PATCH 0/2] daemon/selinux-relabel: tolerate relabeling errors

Laszlo Ersek lersek at redhat.com
Wed May 11 12:23:43 UTC 2022


Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1794518

In the "selinux-relabel" API, utilize the "-C" option of setfiles(8), if
it is available. (It's going to be part of the policycoreutils-3.4
release.) See patch#2 for a bit longer explanation.

Thanks
Laszlo

Laszlo Ersek (2):
  daemon/selinux-relabel: generalize setfiles_has_m_option()
  daemon/selinux-relabel: tolerate relabeling errors

 daemon/selinux-relabel.c | 36 +++++++++++++-------
 1 file changed, 24 insertions(+), 12 deletions(-)


base-commit: 08c4ac90f5a3c08b48444e2faf3d0f58d6ddc206
-- 
2.19.1.3.g30247aa5d201



More information about the Libguestfs mailing list