[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?
scottro11 at gmail.com
Fri May 6 12:08:06 UTC 2016
On Fri, May 06, 2016 at 11:13:10AM +0200, Nicolas Thierry-Mieg wrote:
> you're probably removing too many packages, eg some key package is a
> dep of MINIMAL but not in MINIMAL, and "yum remove" removes it and
> all its dependants.
Just as an example of this, and one that RH may move into an update
sooner or later. Fedora 24's minimal comes with NetworkManager. I always
remove it and use network. So, on Fedora 24, which is admittedly in beta,
/etc/resolv.conf is now a part of NetworkManager, a symbolic link
to /var/run/NetworkManager/resolv.conf. So,if one removes NetworkManager
or even disables it, name resolution no longer works.
It seems to me that the easiest thing would be to quickly run a minimal
install in VirtualBox, and if you remove anything, keep an eye on it, or,
as was suggested, below.
> Or replace yum remove with "rpm -e" to see if and who in $SUPPRIMER
> has deps in MINIMAL.
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
More information about the CentOS