Re: Reduce existing CentOS 7 installation to "Minimal install" - services?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux