<div dir="ltr">Hello,<div>I know this isn't lxc-specific but it is happening to me when using lxc.</div><div>I'm using kubernetes/docker style bind-mounting of resolv.conf from the host into the rootfs of the container to ensure it stays up to date (instead of overriding the file manually on start or setting the parameters manually).</div><div><br></div><div>The problem is that inside the lxc container /proc/mounts has line like:</div><div>/dev/sda1 /etc/resolv.conf from the bind mount and this causes some of the init/halt scripts to try and access /dev/sda1 and fail. <br><br>I know this is not a security concern as the container is running unprivileged and doesn't have access to the root or it's devices, but it does cause some annoying errors.</div><div><br></div><div>Does anyone have any similar use-cases of bind-mounts showing up in /proc/mounts and have any good solutions?</div><div><br></div><div>I was looking at lxcfs and thinking maybe to add code to handle this there, any thoughts?</div><div><br></div><div>Thanks,</div><div>Eytan</div></div>