Remove some stuff from the image #98
Conversation
If needed, it should probably run in a container.
They're a legacy format and we don't want to encourage their use.
We're not shipping any tools to read them.
Licenses should be in /usr/share/licenses.
Explicitly re-add some of the packages that removes. Net removals: 9815016 cracklib-dicts 1340771 criu 108423 fuse-overlayfs 61391018 geolite2-city 3772462 geolite2-country 901443 gnupg2-smime 65039 grubby 42366 hardlink 409724 libbsd 36062 libmaxminddb 256502 libnet 554285 libsecret 69838 libsss_autofs 64075 libsss_sudo 337118 libxkbcommon 108859 mkpasswd 1256348 openssl 262138 openssl-pkcs11 214262 pinentry 124595 podman-manpages 2535150 shared-mime-info 170814 slirp4netns 53300 sssd-nfs-idmap 157915 sssd-proxy 202650 systemd-bootchart 552654 trousers 730381 trousers-lib 5909991 xkeyboard-config 91443199 TOTAL
|
LGTM even it it breaks something. We can add things back explicitly |
| @@ -49,7 +49,8 @@ default-target: multi-user.target | |||
|
|
|||
| remove-from-packages: | |||
| # We're not using resolved yet | |||
| - [systemd, /usr/lib/systemd/system/systemd-resolved.service] | |||
| - [systemd, /usr/lib/systemd/systemd-resolved, | |||
ajeddeloh
May 29, 2019
Contributor
we should see about getting these split out from the systemd package, but this is fine for now
we should see about getting these split out from the systemd package, but this is fine for now
ajeddeloh
May 29, 2019
Contributor
Should we add networkd?
Should we add networkd?
|
Doesn't
|
|
@dustymabe For connection sharing, sure. It's not a hard dependency (or even a recommends) of the package, though. |
|
Updated to remove networkd. |
|
LGTM |
I know in the past it was used by openshift-ansible when installing/configuring openshift. If we need it we can add it back in the future? |
not sure if any of our container runtimes need criu
I think fuse-overlayfs is needed for rootless podman containers
I feel like openssl is a swiss army knife and useful for a lot of different low level things.
needed for networking in rootless podman
|
I don't see it as a dep on gentoo
Any reason those things can't happen in a container?
Can confirm |
yeah we can add it back if someone needs it
It depends - it's kind of like trying to debug your dns resolution by running
|
Hmm fair. We also ship it in CL. I'll defer to others on this one. |
| remove-files: | ||
| # We don't ship man(1) or info(1) | ||
| - usr/share/info | ||
| - usr/share/man |
jlebon
May 30, 2019
Member
This is probably going to be unpopular, but any thoughts about keeping man pages? (But not info/ or doc/ though). You're essentially getting versioned documentation for your operating system for what... 10M? That's pretty good usefulness/size ratio. This has come up many times in RHELAH/FAH. Looking at man pages is pretty standard, and it's always a pain to have to switch away and lookup online (again, which might not even match the installed version).
This is probably going to be unpopular, but any thoughts about keeping man pages? (But not info/ or doc/ though). You're essentially getting versioned documentation for your operating system for what... 10M? That's pretty good usefulness/size ratio. This has come up many times in RHELAH/FAH. Looking at man pages is pretty standard, and it's always a pain to have to switch away and lookup online (again, which might not even match the installed version).
jlebon
May 30, 2019
Member
(Not pushing super strongly on this, but I think it's worth discussing at least.)
(Not pushing super strongly on this, but I think it's worth discussing at least.)
bgilbert
May 30, 2019
Author
Member
It's caused friction in CL too, and I agree that it's not that much space. I'm inclined to drop them anyway for now to avoid creating compatibility constraints, and maybe re-add later.
It's caused friction in CL too, and I agree that it's not that much space. I'm inclined to drop them anyway for now to avoid creating compatibility constraints, and maybe re-add later.
Add fuse-overlayfs and slirp4netns for rootless podman. Add openssl as a helpful command-line utility.
|
Okay, I've re-added fuse-overlayfs, slirp4netns, and openssl. They add no additional dependencies of their own. |
|
LGTM |
|
This is a net 120 MB improvement in the size of |
+1 |
Pursuant to coreos/fedora-coreos-tracker#186. Subsumes, I think, the relevant part of #54.