rancher / k3os

Purpose-built OS for Kubernetes, fully managed by Kubernetes.
https://k3os.io
Apache License 2.0
3.5k stars 397 forks source link

services appear twice #57

Open warmchang opened 5 years ago

warmchang commented 5 years ago

Except k3s-service, the other services appear twice in the return value of the rc-update command. Is this normal?

image

tfiduccia commented 5 years ago

This is still happening in v0.2.0 and seems weird. Marking as a bug.

bdabelow commented 4 years ago

Accidentally discovered that this is caused by the same init scripts existing under /etc/init.d and /usr/etc/init.d. Not sure what would be the best approach for fixing it, but a quick test with not copying the init scripts to /etc and linking from /etc/runlevels/ to /usr/etc/init.d seemed to boot okay.