Skip to content

Commit

Permalink
etcd: make sure /etcd is owned by HOST_UID/HOST_GID
Browse files Browse the repository at this point in the history
Atomic resets /var/lib/etcd to be owned by etcd:etcd, which breaks
etcd system container after reboot

Related to openshift/openshift-ansible#7443
See https://bugzilla.redhat.com/show_bug.cgi?id=1553084

Closes: projectatomic#168
Approved by: ashcrow
  • Loading branch information
vrutkovs authored and rh-atomic-bot committed Mar 8, 2018
1 parent 9502324 commit d8838d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions etcd/tmpfiles.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
d ${STATE_DIRECTORY}/etcd 0700 ${HOST_UID} ${HOST_GID} - -
d ${STATE_DIRECTORY}/etcd/${NAME}.etcd 0700 ${HOST_UID} ${HOST_GID} - -
Z ${STATE_DIRECTORY}/etcd/${NAME}.etcd 0700 ${HOST_UID} ${HOST_GID} - -
d ${RUN_DIRECTORY}/${NAME} - - - - -

0 comments on commit d8838d8

Please sign in to comment.