2019-06-05 16:35:54 |
Rafael David Tinoco |
bug |
|
|
added bug |
2019-06-05 16:36:30 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Server |
2019-06-05 16:38:56 |
Rafael David Tinoco |
iproute2 (Ubuntu): status |
New |
Incomplete |
|
2019-06-05 16:39:00 |
Rafael David Tinoco |
iproute2 (Ubuntu): status |
Incomplete |
In Progress |
|
2019-06-05 16:39:04 |
Rafael David Tinoco |
iproute2 (Ubuntu): importance |
Undecided |
High |
|
2019-06-05 16:39:07 |
Rafael David Tinoco |
iproute2 (Ubuntu): importance |
High |
Medium |
|
2019-06-05 16:39:09 |
Rafael David Tinoco |
iproute2 (Ubuntu): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-06-05 16:39:14 |
Rafael David Tinoco |
iproute2 (Ubuntu): milestone |
|
eoan-updates |
|
2019-06-05 16:52:08 |
Rafael David Tinoco |
bug |
|
|
added subscriber Stefan Bader |
2019-06-05 16:56:54 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Eoan |
|
2019-06-05 16:56:54 |
Rafael David Tinoco |
bug task added |
|
iproute2 (Ubuntu Eoan) |
|
2019-06-05 16:56:54 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Cosmic |
|
2019-06-05 16:56:54 |
Rafael David Tinoco |
bug task added |
|
iproute2 (Ubuntu Cosmic) |
|
2019-06-05 16:56:54 |
Rafael David Tinoco |
nominated for series |
|
Ubuntu Disco |
|
2019-06-05 16:56:54 |
Rafael David Tinoco |
bug task added |
|
iproute2 (Ubuntu Disco) |
|
2019-06-05 16:57:02 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): status |
In Progress |
Confirmed |
|
2019-06-05 16:57:05 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-06-05 16:57:08 |
Rafael David Tinoco |
iproute2 (Ubuntu Disco): status |
New |
In Progress |
|
2019-06-05 16:57:10 |
Rafael David Tinoco |
iproute2 (Ubuntu Disco): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-06-05 16:57:12 |
Rafael David Tinoco |
iproute2 (Ubuntu Disco): importance |
Undecided |
Medium |
|
2019-06-05 16:57:14 |
Rafael David Tinoco |
iproute2 (Ubuntu Cosmic): status |
New |
In Progress |
|
2019-06-05 16:57:16 |
Rafael David Tinoco |
iproute2 (Ubuntu Cosmic): importance |
Undecided |
Medium |
|
2019-06-05 16:57:18 |
Rafael David Tinoco |
iproute2 (Ubuntu Cosmic): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-06-05 16:57:23 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): milestone |
eoan-updates |
|
|
2019-06-05 16:57:28 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): assignee |
|
Rafael David Tinoco (rafaeldtinoco) |
|
2019-06-05 16:57:31 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): assignee |
Rafael David Tinoco (rafaeldtinoco) |
|
|
2019-06-05 16:57:40 |
Rafael David Tinoco |
iproute2 (Ubuntu Eoan): assignee |
|
Stefan Bader (smb) |
|
2019-06-05 18:26:59 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368407 |
|
2019-06-05 18:39:16 |
Rafael David Tinoco |
description |
Investigating an issue for CTDB (LP: #722201), after suggesting a fix on ss syntax to CTDB upstream project, we discovered that "ss" seems to be broken in Ubuntu since Ubuntu Cosmic:
----
# Debian Sid
inaddy@workstation:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu Ubuntu 16.04 LTS (Xenial Xerus)
(c)inaddy@xenial:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.04 LTS (Bionic Beaver)
(c)inaddy@bionic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.10 (Cosmic Cuttlefish)
(c)inaddy@cosmic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
-h, --help this message
# Ubuntu 19.04 (Disco Dingo)
(c)inaddy@disco:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
# Ubuntu 19.10 (Eoan Ermine)
(c)inaddy@eoan:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
----
I have generated a pkg using upstream iproute2 source code and it does not suffer the issue. I have generated a package using Ubuntu cosmic source package, without debian/patches/*, and verified the issue still persists (not being introduced by any of our packages, and being present if vanilla upstream version used in Cosmic). |
[Impact]
* ss can't filter using single entries in parentheses
[Test Case]
* ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
* test case was discovered during CTDB scripts execution
[Regression Potential]
* ss interpreter (bison powered) could be broken
* patch is based in an upstream fix and was tested
* would likely not jeopardize ip command (higher issues)
[Other Info]
ORIGINAL DESCRIPTION:
Investigating an issue for CTDB (LP: #722201), after suggesting a fix on ss syntax to CTDB upstream project, we discovered that "ss" seems to be broken in Ubuntu since Ubuntu Cosmic:
----
# Debian Sid
inaddy@workstation:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu Ubuntu 16.04 LTS (Xenial Xerus)
(c)inaddy@xenial:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.04 LTS (Bionic Beaver)
(c)inaddy@bionic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.10 (Cosmic Cuttlefish)
(c)inaddy@cosmic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
-h, --help this message
# Ubuntu 19.04 (Disco Dingo)
(c)inaddy@disco:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
# Ubuntu 19.10 (Eoan Ermine)
(c)inaddy@eoan:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
----
I have generated a pkg using upstream iproute2 source code and it does not suffer the issue. I have generated a package using Ubuntu cosmic source package, without debian/patches/*, and verified the issue still persists (not being introduced by any of our packages, and being present if vanilla upstream version used in Cosmic). |
|
2019-06-05 19:21:20 |
Rafael David Tinoco |
description |
[Impact]
* ss can't filter using single entries in parentheses
[Test Case]
* ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
* test case was discovered during CTDB scripts execution
[Regression Potential]
* ss interpreter (bison powered) could be broken
* patch is based in an upstream fix and was tested
* would likely not jeopardize ip command (higher issues)
[Other Info]
ORIGINAL DESCRIPTION:
Investigating an issue for CTDB (LP: #722201), after suggesting a fix on ss syntax to CTDB upstream project, we discovered that "ss" seems to be broken in Ubuntu since Ubuntu Cosmic:
----
# Debian Sid
inaddy@workstation:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu Ubuntu 16.04 LTS (Xenial Xerus)
(c)inaddy@xenial:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.04 LTS (Bionic Beaver)
(c)inaddy@bionic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.10 (Cosmic Cuttlefish)
(c)inaddy@cosmic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
-h, --help this message
# Ubuntu 19.04 (Disco Dingo)
(c)inaddy@disco:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
# Ubuntu 19.10 (Eoan Ermine)
(c)inaddy@eoan:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
----
I have generated a pkg using upstream iproute2 source code and it does not suffer the issue. I have generated a package using Ubuntu cosmic source package, without debian/patches/*, and verified the issue still persists (not being introduced by any of our packages, and being present if vanilla upstream version used in Cosmic). |
[Impact]
* ss won't be able to run commands with single filters inside parentheses, like: "( sport == :X )", for example.
* A workaround is to remove "( )" from single filters, since it looks the issue does not affect 2 filters being put together in the same parentheses, like: " ( X and Y ) and Y " instead of ( X and Y ) and ( Y )".
* CTDB is unable to use ss filter to obtain nodes public IP addresses in order to fail over services (LP: #722201).
[Test Case]
* Having an Ubuntu Cosmic, Disco or Eoan, try to execute the following command:
$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Independent of the IPs or ports being used. Copying and pasting the command should be enough for you to know if you are affected.
Bad Result:
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
-h, --help this message
...
Expected Result:
Recv-Q Send-Q Local Address:Port Peer Address:Port
...
* test case was discovered during CTDB scripts execution
[Regression Potential]
* biggest risk would be to affect ss interpreter (worst case scenario).
* the proposed patch is based in upstream fix and was tested against the same issue reported as the reproducer (above) and some other generic ss commands.
* any problem here is unlikely to change iproute2 most important command interpreter, "ip", since the patch is applied against ss code.
[Other Info]
ORIGINAL DESCRIPTION:
Investigating an issue for CTDB (LP: #722201), after suggesting a fix on ss syntax to CTDB upstream project, we discovered that "ss" seems to be broken in Ubuntu since Ubuntu Cosmic:
----
# Debian Sid
inaddy@workstation:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu Ubuntu 16.04 LTS (Xenial Xerus)
(c)inaddy@xenial:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.04 LTS (Bionic Beaver)
(c)inaddy@bionic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port
# Ubuntu 18.10 (Cosmic Cuttlefish)
(c)inaddy@cosmic:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
-h, --help this message
# Ubuntu 19.04 (Disco Dingo)
(c)inaddy@disco:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
# Ubuntu 19.10 (Eoan Ermine)
(c)inaddy@eoan:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
ss [ OPTIONS ] [ FILTER ]
----
I have generated a pkg using upstream iproute2 source code and it does not suffer the issue. I have generated a package using Ubuntu cosmic source package, without debian/patches/*, and verified the issue still persists (not being introduced by any of our packages, and being present if vanilla upstream version used in Cosmic). |
|
2019-06-05 19:24:26 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368408 |
|
2019-06-05 20:01:57 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368410 |
|
2019-06-05 20:07:38 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368411 |
|
2019-06-05 20:40:09 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368407 |
|
|
2019-06-06 00:31:11 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368420 |
|
2019-06-06 00:39:03 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368421 |
|
2019-06-06 00:47:27 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368422 |
|
2019-06-06 00:51:36 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368423 |
|
2019-06-06 00:57:01 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368408 |
|
|
2019-06-06 00:57:31 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368410 |
|
|
2019-06-06 00:57:35 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368411 |
|
|
2019-06-06 00:57:52 |
Rafael David Tinoco |
merge proposal unlinked |
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368421 |
|
|
2019-06-13 21:11:06 |
Launchpad Janitor |
iproute2 (Ubuntu Eoan): status |
Confirmed |
Fix Released |
|
2019-06-17 16:04:10 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smb/ubuntu/+source/iproute2/+git/iproute2/+merge/368924 |
|
2019-06-21 07:44:15 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~smb/ubuntu/+source/iproute2/+git/iproute2/+merge/369140 |
|
2019-06-27 17:53:41 |
Rafael David Tinoco |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-07-01 15:55:36 |
Rafael David Tinoco |
iproute2 (Ubuntu Cosmic): status |
In Progress |
Won't Fix |
|
2019-07-15 13:35:27 |
Łukasz Zemczak |
iproute2 (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-07-15 13:35:31 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-07-15 13:35:34 |
Łukasz Zemczak |
tags |
|
verification-needed verification-needed-disco |
|
2019-07-17 18:22:43 |
Rafael David Tinoco |
bug |
|
|
added subscriber Canonical Server Team |
2019-07-17 18:43:41 |
Rafael David Tinoco |
tags |
verification-needed verification-needed-disco |
verification-done verification-done-disco |
|
2019-07-22 08:42:09 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-07-22 08:52:13 |
Launchpad Janitor |
iproute2 (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|