Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1148618 - Saved initramfs contains stage2 image
Summary: Saved initramfs contains stage2 image
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 21
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException RejectedBlocker
Depends On:
Blocks: F21FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2014-10-01 22:00 UTC by Orion Poplawski
Modified: 2014-11-24 19:59 UTC (History)
8 users (show)

Fixed In Version: anaconda-21.48.14-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-24 19:59:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2014-10-01 22:00:16 UTC
Description of problem:

The initramfs-saved.cpio.gz image now contains the downloaded stage2 image, and possibly other unneeded items

Version-Release number of selected component (if applicable):
anaconda-21.48.8

Additional info:
$ zcat initramfs-saved.cpio.gz | cpio -icvt  | sort -k 5rn  | head -50
688631 blocks
-rw-r--r--   1 root     root     288776192 Oct  1 15:35 /tmp/curl_fetch_url1/squashfs.img
-rwxr-xr-x   1 root     root      2515992 Aug 16 00:03 /usr/sbin/thin_restore
-rwxr-xr-x   1 root     root      2515928 Aug 16 00:03 /usr/sbin/thin_dump
-rwxr-xr-x   1 root     root      2515904 Aug 16 00:03 /usr/sbin/thin_repair
-rwxr-xr-x   1 root     root      2082456 Sep 23 11:55 /usr/lib64/libc-2.20.so
-rwxr-xr-x   1 root     root      2013240 Sep  9 03:55 /usr/lib64/libcrypto.so.1.0.1i
-rwxr-xr-x   1 root     root      1854440 Aug 17 03:24 /usr/lib64/libdb-5.3.so
-rwxr-xr-x   1 root     root      1487448 Aug 17 07:40 /usr/lib64/libxml2.so.2.9.1
-rwxr-xr-x   1 root     root      1386936 Sep  3 05:59 /usr/lib/systemd/systemd
-rwxr-xr-x   1 root     root      1324096 Aug 15 18:46 /usr/lib64/libdns-export.so.100.2.2
-r-xr-xr-x   1 root     root      1294280 Sep  1 03:29 /usr/sbin/lvm
-r-xr-xr-x   1 root     root      1275600 Sep  1 03:29 /usr/lib64/liblvm2cmd.so.2.02
-rwxr-xr-x   1 root     root      1221368 Sep 24 18:21 /usr/lib64/libnss3.so
-rwxr-xr-x   1 root     root      1167080 Sep 23 11:55 /usr/lib64/libm-2.20.so
-rwxr-xr-x   1 root     root      1024512 Sep 12 06:23 /usr/lib64/libstdc++.so.6.0.20
-rwxr-xr-x   1 root     root      1012800 Sep 25 14:53 /usr/bin/bash
-rwxr-xr-x   1 root     root       948424 Sep 23 11:55 /usr/sbin/ldconfig
-rwxr-xr-x   1 root     root       940136 Sep  8 17:22 /usr/lib64/libkrb5.so.3.3
-rwxr-xr-x   1 root     root       922032 Aug 17 04:17 /usr/lib64/libgcrypt.so.20.0.1
-rwxr-xr-x   1 root     root       919104 Aug 26 08:29 /usr/bin/vi
-rwxr-xr-x   1 root     root       814880 Aug 22 03:57 /usr/lib64/libsqlite3.so.0.8.6
-rwxr-xr-x   1 root     root       691904 Aug 17 02:49 /usr/lib64/libarchive.so.13.1.2
-rw-r--r--   1 root     root       673046 Apr 23 15:52 /etc/services
-rwxr-xr-x   1 root     root       582696 Aug 16 10:09 /usr/bin/gawk
-rwxr-xr-x   1 root     root       573016 Sep  3 05:59 /usr/bin/systemctl
-rwxr-xr-x   1 root     root       560928 Aug 18 22:26 /usr/sbin/xfs_db
-rwxr-xr-x   1 root     root       559768 Aug 18 22:26 /usr/sbin/xfs_repair
-rwxr-xr-x   1 root     root       530224 Aug 27 00:21 /usr/sbin/mdadm
-rwxr-xr-x   1 root     root       506112 Sep 24 17:35 /usr/lib64/libfreebl3.so
-rwxr-xr-x   1 root     root       476440 Sep 10 08:56 /usr/lib64/libcurl.so.4.3.0
-rwxr-xr-x   2 root     root       460624 Aug 27 11:03 /usr/sbin/btrfs
-rwxr-xr-x   1 root     root       451480 Sep  9 03:55 /usr/lib64/libssl.so.1.0.1i
-rwxr-xr-x   1 root     root       449128 Aug 16 00:03 /usr/sbin/thin_check
-rwxr-xr-x   1 root     root       447240 Aug 17 18:55 /usr/lib64/libpcre.so.1.2.3
-rwxr-xr-x   1 root     root       439800 Sep 18 06:04 /usr/lib64/librpm.so.3.3.1
-rwxr-xr-x   1 root     root       437800 Aug 26 05:05 /usr/sbin/dhclient
-rwxr-xr-x   1 root     root       413768 Sep  3 05:59 /usr/lib64/libnss_myhostname.so.2
-rwxr-xr-x   1 root     root       399736 Aug 17 05:46 /usr/lib64/libnl-route-3.so.200.20.0
-rwxr-xr-x   1 root     root       371728 Aug 18 15:36 /usr/bin/tar
-rwxr-xr-x   1 root     root       369544 Aug 16 20:42 /usr/sbin/iscsistart
-rwxr-xr-x   1 root     root       361680 Aug 17 08:06 /usr/sbin/lldpad
-rwxr-xr-x   1 root     root       341456 Aug 15 18:46 /usr/lib64/libisc-export.so.95.5.0
-rwxr-xr-x   1 root     root       337616 Aug 17 17:19 /usr/lib64/libldap-2.4.so.2.10.2
-rwxr-xr-x   1 root     root       331288 Sep  3 05:59 /usr/bin/udevadm
-rwxr-xr-x   1 root     root       327144 Aug 16 20:43 /usr/sbin/ip
-rwxr-xr-x   1 root     root       318800 Sep  8 17:22 /usr/lib64/libgssapi_krb5.so.2.2
-rwxr-xr-x   1 root     root       315112 Sep  3 05:59 /usr/lib/systemd/systemd-udevd
-rwxr-xr-x   1 root     root       306592 Aug 15 23:31 /usr/lib64/libdbus-1.so.3.8.6
-rwxr-xr-x   1 root     root       302392 Aug 17 15:32 /usr/lib64/libntfs-3g.so.85.0.0
-rwxr-xr-x   1 root     root       299408 Aug 18 06:41 /usr/lib64/libreadline.so.6.3

Comment 1 Orion Poplawski 2014-10-02 17:51:44 UTC
Just in case you are looking to block the thin_* executables as well, know that in device-mapper-persistent-data 0.4 they have been re-worked to be much smaller and are links to pdata_tools.

Comment 2 Will Woods 2014-10-17 18:32:42 UTC
This is fixed (in the master branch, at least) by commit 028b207:

  https://git.fedorahosted.org/cgit/anaconda.git/commit/?id=028b207

Should be a pretty low-risk fix, so hopefully I can get it into F21 and/or RHEL7.

Thanks for figuring this out, btw!

Comment 3 Orion Poplawski 2014-10-20 19:37:59 UTC
Would be great to get this into F21.  I'm not able to do a text based install in 1GB RAM at the moment.

Comment 4 Will Woods 2014-10-20 21:24:56 UTC
You could request a freeze exception if want it for Beta, but otherwise it'll land after that.

Comment 5 Orion Poplawski 2014-11-03 21:48:53 UTC
Can we get this into the F21 branch now?

Comment 6 Adam Williamson 2014-11-05 02:29:28 UTC
I don't see that this violates any release criteria - please provide a rationale for why this should block the release.

Comment 7 Orion Poplawski 2014-11-05 15:43:29 UTC
Perhaps it doesn't - the effect is to increase the minimum RAM requirement for install by about 290MB.  And as an installer issue it can't be fixed post-release.

Comment 8 Kamil Páral 2014-11-05 16:32:32 UTC
Discussed at 2014-11-05 blocker review meeting [1]. Rejected as a blocker, but accepted as a freeze exception. This bug doesn't clearly violate any criteria but would be good to pull in as an FE if it doesn't get pulled before freeze.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2014-11-05/

Comment 9 Will Woods 2014-11-05 18:49:52 UTC
Pushed to anaconda f21-branch:

  https://git.fedorahosted.org/cgit/anaconda.git/commit/?h=f21-branch&id=9771245

should be in the next anaconda build.

Comment 10 Orion Poplawski 2014-11-13 15:28:21 UTC
Confirmed fixed in anaconda-21.48.14-1

Comment 11 Adam Williamson 2014-11-24 19:59:03 UTC
.14 went stable, so closing.


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