Bug 2009730 (F35Everythingbootx86_64Oversize) - Fedora 35: Everything boot x86_64 image exceeds maximum size
Summary: Fedora 35: Everything boot x86_64 image exceeds maximum size
Keywords:
Status: CLOSED ERRATA
Alias: F35Everythingbootx86_64Oversize
Product: Fedora
Classification: Fedora
Component: distribution
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aoife Moloney
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F35FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2021-10-01 12:54 UTC by Fedora QA Tools SIG
Modified: 2023-05-09 13:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-10 22:39:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
diff of packages contained in the 0924 (below limit) vs 0927 (over limit) images (21.42 KB, text/plain)
2021-10-06 00:07 UTC, Adam Williamson
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github weldr lorax pull 1175 0 None open Firmware cleanup 2021 2021-10-06 22:57:02 UTC

Description Fedora QA Tools SIG 2021-10-01 12:54:47 UTC
Everything boot x86_64 image https://kojipkgs.fedoraproject.org/compose/branched/Fedora-35-20211001.n.0/compose/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-35-20211001.n.0.iso from compose Fedora-35-20211001.n.0 is 735051776 bytes, exceeding the maximum size 734003200. Canonical maximum sizes can be found at https://fedoraproject.org/wiki/Releases/35/Spins and https://fedoraproject.org/wiki/Releases/35/ReleaseBlocking . This check is run by the 'relval' tool, which has its own list of maximum sizes derived from those pages. If the maximum size used for this comparison is wrong, please add a comment and file a bug against relval at https://pagure.io/fedora-qa/relval/issues and it will be corrected. If you believe the canonical maximum size for an image should be changed, please follow the appropriate process before filing a relval bug.

Comment 1 Fedora QA Tools SIG 2021-10-04 12:36:24 UTC
Everything boot x86_64 image https://kojipkgs.fedoraproject.org/compose/branched/Fedora-35-20211004.n.0/compose/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-35-20211004.n.0.iso from compose Fedora-35-20211004.n.0 is 735051776 bytes, exceeding the maximum size 734003200.

Comment 2 Ben Cotton 2021-10-05 20:35:28 UTC
Marking this as a final blocker, which should have happened automatically. This may be fixed when BZ #2009731 is fixed.

Comment 3 Adam Williamson 2021-10-06 00:06:04 UTC
The size grew between Fedora-35-20210924.n.0 - when the image was 730857472 bytes - and Fedora-35-20210927.n.0 - when it was 735051776 bytes (the exact same size it is now). I think because of details of how the images are built there's some kinda block size effect or something which means the sizes will always fall on some kind of boundary like this.

The diff of included packages between the two builds is quite long, unfortunately. There is one package which was straight up *added*: chkconfig (I haven't figured out why yet). chkconfig is 781358 bytes in size according to `rpm -q`, so it doesn't account for a 5MB growth all on its own unless it was just enough to kick us over a boundary or something. I'll attach the full diff.

Comment 4 Adam Williamson 2021-10-06 00:07:00 UTC
Created attachment 1829639 [details]
diff of packages contained in the 0924 (below limit) vs 0927 (over limit) images

Comment 5 Adam Williamson 2021-10-06 00:14:45 UTC
chkconfig is pulled in because initscripts-10.10 added a dependency on it. The PR for this was https://github.com/fedora-sysv/initscripts/pull/374 , where the only justification is "As a easy way to get full legacy system V support." CCing Jan Macku for comment.

Tomorrow I'll see if I can get an image built with that dependency left out, but no other changes, and see what effect that has on the image size.

Comment 6 Jan Macku 2021-10-06 07:48:52 UTC
Hi,
I added Requires for chkconfig since initscripts are usually used together with it. 

But do we need support for initscripts in Fedora network install images?
Thanks

Comment 7 Adam Williamson 2021-10-06 15:50:05 UTC
Yes, we do. It was added for https://bugzilla.redhat.com/show_bug.cgi?id=1615332 - the installer environment should have import-state.service to import state from the initramfs, and that service is in the initscripts package.

Comment 8 Adam Williamson 2021-10-06 22:57:02 UTC
OK, poked about and found ~30M of firmware files we can cut safely, I think. See https://github.com/weldr/lorax/pull/1175 .

Comment 9 Fedora Update System 2021-10-08 22:43:27 UTC
FEDORA-2021-cdb998bce7 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cdb998bce7

Comment 10 Fedora Update System 2021-10-09 17:33:05 UTC
FEDORA-2021-cdb998bce7 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cdb998bce7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cdb998bce7

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

Comment 11 Fedora Update System 2021-10-09 21:09:08 UTC
FEDORA-2021-cdb998bce7 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Adam Williamson 2021-10-10 00:00:02 UTC
Note, I didn't set the updates to close the bugs just so we can verify the image sizes in the next compose and make sure they're under the limit. If so I'll close the bugs.

Comment 13 Adam Williamson 2021-10-10 22:39:18 UTC
[adamw@xps13k ~]$ curl -I https://kojipkgs.fedoraproject.org/compose/branched/Fedora-35-20211010.n.0/compose/Everything/x86_64/iso/Fedora-Everything-netinst-x86_64-35-20211010.n.0.iso | grep length
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0  646M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
content-length: 677380096


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