[pve-devel] [PATCH firewall] print error message in case of 'error catching nfct'

David Limbeck d.limbeck at proxmox.com
Wed Jan 9 15:09:43 CET 2019


Thank you.

On 1/9/19 3:08 PM, Alexandre DERUMIER wrote:
> error catching nfct: No buffer space available
>
> ----- Mail original -----
> De: "David Limbeck" <d.limbeck at proxmox.com>
> À: "pve-devel" <pve-devel at pve.proxmox.com>
> Envoyé: Mercredi 9 Janvier 2019 14:37:27
> Objet: [pve-devel] [PATCH firewall] print error message in case of 'error catching nfct'
>
> Signed-off-by: David Limbeck <d.limbeck at proxmox.com>
> ---
> I couldn't reproduce it here locally. Could you try it with this patch
> applied? This should print the error message (You will have to pull the
> latest changes from our repository though, as a bug in
> log_status_message was fixed).
>
> src/pvefw-logger.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/pvefw-logger.c b/src/pvefw-logger.c
> index 9c6fe4a..79d4d57 100644
> --- a/src/pvefw-logger.c
> +++ b/src/pvefw-logger.c
> @@ -954,7 +954,7 @@ nfct_read_cb(GIOChannel *source,
> {
> int res;
> if ((res = nfct_catch(nfcth)) < 0) {
> - log_status_message(3, "error catching nfct");
> + log_status_message(3, "error catching nfct: %s", strerror(errno));
> return FALSE;
> }
> return TRUE;




More information about the pve-devel mailing list