https://bugzilla.redhat.com/show_bug.cgi?id=1264699
Bug ID: 1264699 Summary: kubernetes do not respect tpmfiles.d policu Product: Fedora Version: 22 Component: kubernetes Assignee: jchaloup@redhat.com Reporter: mscherer@redhat.com QA Contact: extras-qa@fedoraproject.org CC: eparis@redhat.com, golang@lists.fedoraproject.org, jcajka@redhat.com, jchaloup@redhat.com, lsm5@redhat.com, nhorman@redhat.com, vbatts@redhat.com
Description of problem: /run/kubernetes is listed as unowned.
] That's against policy: https://fedoraproject.org/wiki/Packaging:Tmpfiles.d
Version-Release number of selected component (if applicable): kubernetes-1.1.0-0.5.gite44c8e6.fc22.x86_64
How reproducible: each time
Steps to Reproduce: 1. install kubernetes 2. verify with rpm -qf
Actual results: # rpm -qf /run/kubernetes/ file /run/kubernetes is not owned by any package
Expected results: file is owned, and with the right permission.
Additional info:
This also mean that something create /run/kubernetes/ owned as root:root, which prevent kubernetes-apiserver from starting:
Sep 20 14:01:15 gluster2 kube-apiserver[17759]: E0920 14:01:15.230961 17759 server.go:485] Unable to listen for secure (open /var/run/kubernetes/apiserver.crt: no such file or directory); will try again.
And likely linked to http://ask.projectatomic.io/en/question/199/missing-apiservercrt-unable-to-l...
Here is a trivial patch to add that.