Bug 2190510

Summary: With passt-selinux installed, installation of selinux-policy-devel reports harmless, but confusing syntax errors [rhel-9.2.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: passtAssignee: Stefano Brivio <sbrivio>
Status: CLOSED ERRATA QA Contact: Lei Yang <leiyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.2CC: cconte, jinzhao, juzhang, leiyang, lvivier, yalzhang, ymankad, zhguo
Target Milestone: rcKeywords: CustomerScenariosInitiative, Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: passt-0^20230222.g4ddbcb9-3.el9_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2183106 Environment:
Last Closed: 2023-06-21 14:39:40 UTC Type: ---
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: 2183106    
Bug Blocks:    

Comment 5 Lei Yang 2023-05-29 03:08:21 UTC
==>Reproduced this problem on passt-0^20230222.g4ddbcb9-2.el9_2.x86_64

=>Test Version
passt-0^20230222.g4ddbcb9-2.el9_2.x86_64
passt-selinux-0^20230222.g4ddbcb9-2.el9_2.noarch

=>Test steps
1. Install passt-selinux on the host first
2. Then install selinux-policy-devel packages it will print the following error messages:
/usr/share/selinux/devel/include/contrib/pasta.if: Syntax error on line 11 ' [type=SQUOTE]
/usr/share/selinux/devel/include/contrib/pasta.if: Syntax error on line 17 ' [type=SQUOTE]
/usr/share/selinux/devel/include/contrib/pasta.if: Syntax error on line 25 ' [type=SQUOTE]

==> So reproduced this problem on passt-0^20230222.g4ddbcb9-2.el9_2.x86_64

==> Test the same scenario on the passt-0^20230222.g4ddbcb9-3.el9_2.x86_6

=>Test Version:
passt-0^20230222.g4ddbcb9-3.el9_2.x86_64
passt-selinux-0^20230222.g4ddbcb9-3.el9_2.noarch

=>Test Steps:
1. Install  passt-selinux on the host first
2. Then install selinux-policy-devel packages, there is no error messages.

==>Based on the above test result, this problem has been fixed very well on passt-0^20230222.g4ddbcb9-3.el9_2.x86_64

Comment 9 Lei Yang 2023-06-01 01:05:43 UTC
Based on the Comment 5 test result, move to "VERIFIED".

Comment 15 errata-xmlrpc 2023-06-21 14:39:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (passt bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:3717