From 4f3f133fc45658c808ec64cb8f9126dc5da26434 Mon Sep 17 00:00:00 2001 From: Pierre Equoy Date: Thu, 11 Nov 2021 17:31:34 +0800 Subject: Fix: use root for Ethernet hotplug jobs ethernet/hotplug-* test cases fail with error "ping: SO_BINDTODEVICE xxx: Operation not permitted" because root is required to select the interface to ping with (e.g. `sudo ping 192.168.1.1 -I enp4s0`). LP: 1950566 --- units/ethernet/jobs.pxu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'units/ethernet') diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index 89565bf..244cca6 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -301,7 +301,8 @@ plugin: user-interact command: eth_hotplugging.py {{ interface }} && gateway_ping_test.py -v --interface {{ interface }} category_id: com.canonical.plainbox::ethernet -estimated_duration: 1.0 +estimated_duration: 60.0 +user: root flags: preserve-locale unit: template -- cgit v1.2.3