Description of problem: The "ip rule" command outputs all rules. The rules which include the network address with its netmaks now have an improper space between the address and the netmask. Example: 32765: from all to 192.168.99.0 /29 iif dummy_BSvVI [detached] lookup 3232260865 Version-Release number of selected component (if applicable): iproute.x86_64 with version 4.17.0-2.fc28 Kernel: 4.17.18-200.fc28.x86_64 How reproducible: 100% Steps to Reproduce: - Add the rule: ip rule add from all to 192.168.99.0/29 iif dummy_BSvVI lookup 3232260865 - List all rules: ip rule Problematic output: 32765: from all to 192.168.99.0 /29 iif dummy_BSvVI [detached] lookup 3232260865 Actual results: Space between the address and the mask. Expected results: No space should exists Additional info: oVirt VDSM component is affected by this issue, as it currently uses iproute2 for controlling the ip routes and rules.
Fix sent upstream: https://marc.info/?l=linux-netdev&m=153555079131596&w=2
Upstream commit to backport: commit 1a75322c5a8dee6e1ed0017d76c87ef85c505b98 Author: Stefan Bader <stefan.bader> Date: Tue Aug 28 16:27:29 2018 +0200 iprule: Fix destination prefix output When adding support for JSON output the new code for printing the destination prefix adds a stray blank character before the bitmask. This causes some user-space parsing to fail. Current output: ...: from x.x.x.x/l to y.y.y.y /l Previous output: ...: from x.x.x.x/l to y.y.y.y/l Fixes: 0dd4ccc5 "iprule: add json support" Signed-off-by: Stefan Bader <stefan.bader> Acked-by: Luca Boccassi <bluca> Signed-off-by: Stephen Hemminger <stephen>
iproute-4.18.0-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c608864ba9
iproute-4.17.0-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b5ca07f212
iproute-4.18.0-3.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c608864ba9
iproute-4.17.0-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b5ca07f212
iproute-4.17.0-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
iproute-4.18.0-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.