CentOS / sig-cloud-instance-images

CentOS cloud images
781 stars 563 forks source link

systemd needs to keep some unit files removed by the example #141

Open dholth opened 5 years ago

dholth commented 5 years ago

I am successfully using centos:7 with systemd, but if I remove all the unit files per the example then systemd appears to be unable to start sshd (including the classic error "Failed to get D-Bus connection: operation not permitted." and on restart even when the service has been enabled)

The example should remove fewer unit files. Do we need to keep dbus? I proceeded by removing no unit files.

https://github.com/docker-library/docs/blob/master/centos/README.md#dockerfile-for-systemd-base-image

https://github.com/dholth/vagrant-docker/blob/master/Dockerfile#L8-L16

jperrin commented 5 years ago

Those docs were written quite a while ago and are probably out of date now. I'll see if we can get them updated more accurately.