[CentOS] Reduce existing CentOS 7 installation to "Minimal install" - services?

Fri May 6 09:13:10 UTC 2016
Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr>

On 05/06/2016 09:33 AM, Nicolas Kovacs wrote:
> Le 06/05/2016 08:50, Nicolas Kovacs a écrit :
>> Now what would be the simple systemd equivalent of doing that? E. g. on
>> any CentOS installation (be it graphical, "Web Server", "File Server",
>> whatever), strip down services to the status that they're at just after
>> installing a "Minimal Install"?
>
> PS: I gave this a spin on two sandbox machines here. One with a full
> GNOME GUI installation, one with a "Web Server" profile. On both, I
> defined "systemctl set-default multi-user.target", then I stripped the
> system with my script. Upon reboot, startup hangs, and in my journal, I
> get a lot of "Failed to parse ACL" errors.
>
> I don't know if it's related to this:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1268628
>
>  From here on, I'm clueless.

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.
Maybe add "yum install $MINIMAL" after your yum remove command.
Or replace yum remove with "rpm -e" to see if and who in $SUPPRIMER has 
deps in MINIMAL.