[Libguestfs] [PATCH libguestfs-common 1/2] mlcustomize: Refactor SELinux_relabel code.

Pino Toscano ptoscano at redhat.com
Mon May 18 08:54:39 UTC 2020


On Tuesday, 5 May 2020 17:44:14 CEST Richard W.M. Jones wrote:
> This shouldn't change the effect of this code.
> ---

This is generally OK for me, however I'd create a custom exception to
signal the "cannot relabel using selinux_relabel" instead of reusing
Failure. This way we can catch this specific exception, and avoid
catching potential Failure issues in the future.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20200518/469095bd/attachment.sig>


More information about the Libguestfs mailing list