View Issue Details

IDProjectCategoryView StatusLast Update
0014455CentOS-7dockerpublic2018-02-08 20:55
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0014455: Docker MountFlags=slave
DescriptionI had an issue installing Rancher on CentOS 7.4 where it would fail to start the kubelet with the following error: "Error response from daemon: linux mounts: Path /var/lib/kubelet is mounted on / but it is not a shared mount."

This was caused by the "MountFlags=slave" option in Docker's systemd unit. Removing it fixed the problem.

Vivek is saying this was removed from Fedora/RHEL too but it still exists in CentOS:

Docker: docker-1.12.6-71.git3e8e77d.el7.centos.1.x86_64
Steps To Reproduce1. Install Docker from CentOS Extras repository
2. Verify that MountFlags=slave is defined in /usr/lib/systemd/system/docker.service
TagsNo tags attached.




2018-02-08 20:48

reporter   ~0031198

Install Docker on CentOS 7.4.1708 with kernel 3.10.0-693.17.1.el7.x86_64 and the
MountFlags=slave option on /usr/lib/systemd/system/docker.service file is present.

Issue History

Date Modified Username Field Change
2018-02-02 14:57 gtirloni New Issue
2018-02-08 20:48 xavinux Note Added: 0031198