Bug 1656714

Summary: [iproute] [xfrm] protocol family is abnormal
Product: Red Hat Enterprise Linux 7 Reporter: xmu
Component: iprouteAssignee: Andrea Claudi <aclaudi>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.6CC: atragler, rkhan
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1656717 (view as bug list) Environment:
Last Closed: 2019-12-06 09:44:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1656717    

Comment 1 Phil Sutter 2019-05-23 16:39:59 UTC
Problem should be fixed by this upstream commit:

commit cd21ae40130b4d1ddb3ef500800840e35e7bfad1
Author: Phil Sutter <phil>
Date:   Mon May 6 19:09:56 2019 +0200

    ip-xfrm: Respect family in deleteall and list commands
    
    Allow to limit 'ip xfrm {state|policy} list' output to a certain address
    family and to delete all states/policies by family.
    
    Although preferred_family was already set in filters, the filter
    function ignored it. To enable filtering despite the lack of other
    selectors, filter.use has to be set if family is not AF_UNSPEC.
    
    Signed-off-by: Phil Sutter <phil>
    Signed-off-by: Stephen Hemminger <stephen>

Note that instead of 'flush' one has to use 'deleteall' command.

Comment 2 Andrea Claudi 2019-06-06 14:02:08 UTC
Since this issue is not critical, I'm moving it to RHEL-7.8.

Comment 3 Andrea Claudi 2019-12-05 16:42:09 UTC
Hi, this is fixed in rhel-8, is there a customer request for this to be in rhel-7?
If not I would like to CLOSE/WONTFIX this and direct users to use rhel-8 instead. Let me know what you think.

Comment 4 xmu 2019-12-06 01:55:29 UTC
Andrea, 
 No customer request, it was found when I did qa test.
 I agree with you to WONTFIX it.
 Thanks
Xiumei

Comment 5 Andrea Claudi 2019-12-06 09:44:15 UTC
Thanks Xiumei, closing according to the comments above.