Bug 2273529

Summary: Package exclusions don't work in bootstrap phase for image builds
Product: [Fedora] Fedora Reporter: Neal Gompa <ngompa13>
Component: kiwiAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 40CC: awilliam, debarshir, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://github.com/OSInside/kiwi/issues/2499
Whiteboard: AcceptedFreezeException
Fixed In Version: kiwi-10.0.11-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-05 23:11:51 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:    
Bug Blocks: 2187795    

Description Neal Gompa 2024-04-04 20:45:50 UTC
Debarshi Ray reports that the ignore stanza (for doing package exclusions) has no effect for toolbox images in kiwi.

This was reported upstream and fixed in kiwi 10.0.11.

Reproducible: Always

Comment 1 Neal Gompa 2024-04-04 20:48:11 UTC
Fixed upstream: https://github.com/OSInside/kiwi/pull/2521

Comment 2 Fedora Update System 2024-04-04 22:10:14 UTC
FEDORA-2024-3b4b41af40 (kiwi-10.0.11-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3b4b41af40

Comment 3 Fedora Blocker Bugs Application 2024-04-04 22:11:14 UTC
Proposed as a Freeze Exception for 40-final by Fedora user ngompa using the blocker tracking app because:

 This fixes some stanzas being silently ignored in the kiwi descriptions for our container builds.

Comment 4 Fedora Update System 2024-04-05 01:41:22 UTC
FEDORA-2024-3b4b41af40 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-3b4b41af40`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3b4b41af40

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

Comment 5 Adam Williamson 2024-04-05 19:28:13 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/1561 , marking accepted.

Comment 6 Fedora Update System 2024-04-05 23:11:51 UTC
FEDORA-2024-3b4b41af40 (kiwi-10.0.11-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Debarshi Ray 2024-04-09 21:46:33 UTC
Just checked the builds right now.

They seem to be built with KIWI 10.0.11, which has the fix for the KIWI issue [1]:

$ podman inspect --format '{{ index .History 0 }}' --type image registry.fedoraproject.org/fedora-toolbox:40
{2024-04-09 10:50:36.367498667 +0000 UTC KIWI 10.0.11 Fedora Project Contributors <devel.org>  false}

$ podman inspect --format '{{ index .History 0 }}' --type image registry.fedoraproject.org/fedora-toolbox:41
{2024-04-09 08:45:05.753234962 +0000 UTC KIWI 10.0.11 Fedora Project Contributors <devel.org>  false}

Looking at the package list, I see that the ignored packages are indeed ignored, such as the grubby stack.

[1] https://github.com/OSInside/kiwi/issues/2499
    https://github.com/OSInside/kiwi/pull/2521