ip link add command return: Error: either "dev" is duplicate, or "enp1s0" is a garbage.

Bug #1715376 reported by Po-Hsu Lin on 2017-09-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
Undecided
Unassigned
iproute2 (Ubuntu)
Undecided
Unassigned

Bug Description

With iproute2 3.12 on Trusty, command:
    sudo ip link add type veth peer enp1s0 name testveth0

Will return:
    Error: either "dev" is duplicate, or "enp1s0" is a garbage.

However, this command works fine since Xenial (iproute2 4.3.0)

As we will need this for kenrel SRU testing, it will be great to have this fixed on Trusty.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: iproute2 3.12.0-2ubuntu1
ProcVersionSignature: User Name 3.13.0-129.178-generic 3.13.11-ckt39
Uname: Linux 3.13.0-129-generic aarch64
ApportVersion: 2.14.1-0ubuntu3.25
Architecture: arm64
Date: Wed Sep 6 10:54:47 2017
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: iproute2
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :
Sean Feole (sfeole) wrote :

Sam, trusty bug from 2017, still an issue?

 very old bug, with no action on it, marking bug as incomplete and will close in 5 days if no update.

Changed in ubuntu-kernel-tests:
status: New → Incomplete
Changed in iproute2 (Ubuntu):
status: New → Incomplete
Po-Hsu Lin (cypressyew) wrote :

It looks like this issue has been fixed by Seth in bug 1789566

I tried to run the ubuntu_cts_kernel test on a KVM node and it passed.
Mark this as Fix released.

Thanks

Changed in ubuntu-kernel-tests:
status: Incomplete → Fix Released
Changed in iproute2 (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers