LXC(3.10) container marks host file system as read-only

Hi All,

If I start my container(unprivileged) or start then shutdown, the host file system will become read-only.
So if I try to remount the host file system as read-write, I’ll get this error:
‘cannot remount /dev read-write, is write-protected’

I see that the during startup, the container will set the option ‘errors=remount-ro’. But this should only happens when an error occurs? I’ve also tried disabling capabilities, but this doesn’t work. Does anyone knows what might be going on?

Thanks!

You should always add what distro you are using
and whether SNAP or apt LXD

@bmullan I’m using Yocto/Poky with the LXC recipe.