On 23 Dec 2020, at 17:01, Mark Gray wrote:
> _nss_clear_database() runs `certutil` in order to get a list
> of certificates currently loaded in NSS. This fails with error:
>
> "ovs-monitor-ipsec | ERR | Failed to clear NSS database.
> startswith first arg must be bytes or a tuple of bytes, not str"
>
> Modify subprocess.Popen() to write in 'text' mode so that
> 'startwith' can correctly parse output.
>
> Signed-off-by: Mark Gray <[email protected]>
Reviewed and tested.
Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev