Bug 2404920 - Syntax errors in the policy
Summary: Syntax errors in the policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 42
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2406327 2413632 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-18 15:35 UTC by Vadym Chepkov
Modified: 2025-12-02 01:33 UTC (History)
11 users (show)

Fixed In Version: selinux-policy-42.17-1.fc42
Clone Of:
Environment:
Last Closed: 2025-12-02 01:33:52 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 2926 0 None open Fix syntax error in userdomain.if 2025-11-04 10:30:22 UTC

Description Vadym Chepkov 2025-10-18 15:35:22 UTC
While updating to selinux-policy-devel-0:42.13-1.fc42.noarch the following errors are observed:


[ 8/16] Upgrading selinux-policy-devel-0:42.13-1.fc42.noarch                                                                                                                             100% |   4.4 MiB/s |  23.2 MiB |  00m05s
>>> Running %post scriptlet: selinux-policy-devel-0:42.13-1.fc42.noarch                                                                                                                                                          
>>> Finished %post scriptlet: selinux-policy-devel-0:42.13-1.fc42.noarch                                                                                                                                                         
>>> Scriptlet output:                                                                                                                                                                                                            
>>> /usr/share/selinux/devel/include/system/userdomain.if: Syntax error on line 6080 $1 [type=IDENTIFIER]                                                                                                                        
>>> /usr/share/selinux/devel/include/system/userdomain.if: Syntax error on line 6082 ' [type=SQUOTE]                                                                                                                             
>>> /usr/share/selinux/devel/include/system/userdomain.if: Syntax error on line 6088 ' [type=SQUOTE]                                                                                                                             
>>>                                                                                                                                                                                          

Reproducible: Always

Comment 1 Zdenek Pytela 2025-11-03 11:17:14 UTC
*** Bug 2406327 has been marked as a duplicate of this bug. ***

Comment 2 Zdenek Pytela 2025-11-10 09:15:07 UTC
*** Bug 2413632 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2025-11-13 18:03:34 UTC
FEDORA-2025-7c0f442595 (selinux-policy-42.15-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-7c0f442595

Comment 4 Fedora Update System 2025-11-14 02:40:19 UTC
FEDORA-2025-7c0f442595 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-7c0f442595`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-7c0f442595

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-11-22 01:59:06 UTC
FEDORA-2025-0a825f4990 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-0a825f4990`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-0a825f4990

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2025-11-27 01:59:27 UTC
FEDORA-2025-5f224b92e4 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-5f224b92e4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-5f224b92e4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2025-12-02 01:33:52 UTC
FEDORA-2025-5f224b92e4 (selinux-policy-42.17-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.