On 16/02/16 19:05, William Hubbs wrote: > All, > > I have a bug that points out a significant issue with > /etc/init.d/mount-ro in OpenRC. > > Apparently, there are issues that cause it to not work properly for file > systems which happen to be pre-mounted from an initramfs [1].
Who is using that file system? Ideally if "we" are the last user of the file system it should be safe to mount ro it as well. In general this happens when there is a "too smart to fit /" filesystem in use. In general that means that the same stuff used in /usr to mount it should live in the initrd... In general deprecating split-/usr moves the problem in in supporting fat initrds to begin with. (I guess needing a boot filesystem that is fuse based and needs rabbitmq or postgresql might be extra fun btw). > This service only exists in the Linux world; there is no equivalent in > OpenRC for any other operating systems we support. Given it is a safety feature I do not know how the other kernels achieve the same out of box. > The reason it exists is very vague to me; I think it has something to do > with claims of data loss in the past. I think any fuse-supporting system should have it for more or less obvious reasons (see the evil example above). lu