Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Andrew Savchenko
On Wed, 17 Feb 2016 22:26:32 -0500 Richard Yao wrote: > On 02/17/2016 02:01 PM, Andrew Savchenko wrote: > > On Tue, 16 Feb 2016 15:18:46 -0500 Rich Freeman wrote: > >> On Tue, Feb 16, 2016 at 2:31 PM, Patrick Lauer wrote: > >>> > >>> The failure message comes from rc-mount.sh

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Robin H. Johnson
On Tue, Feb 16, 2016 at 12:05:33PM -0600, William Hubbs wrote: > 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].

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Richard Yao
On 02/17/2016 02:01 PM, Andrew Savchenko wrote: > On Tue, 16 Feb 2016 15:18:46 -0500 Rich Freeman wrote: >> On Tue, Feb 16, 2016 at 2:31 PM, Patrick Lauer wrote: >>> >>> The failure message comes from rc-mount.sh when the list of PIDs using a >>> mountpoint includes "$$" which

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Rich Freeman
On Wed, Feb 17, 2016 at 2:01 PM, Andrew Savchenko wrote: > 1) NFS v4 shares can't be unmounted if server is unreachable (even > with -f). If filesystem (e.g. /home or /) contains such unmounted > mount points, it can't be unmounted as well, because it is still in > use. This

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Andrew Savchenko
On Tue, 16 Feb 2016 15:18:46 -0500 Rich Freeman wrote: > On Tue, Feb 16, 2016 at 2:31 PM, Patrick Lauer wrote: > > > > The failure message comes from rc-mount.sh when the list of PIDs using a > > mountpoint includes "$$" which is shell shorthand for self. How can the > >

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Richard Yao
> On Feb 16, 2016, at 3:18 PM, Rich Freeman wrote: > >> On Tue, Feb 16, 2016 at 2:31 PM, Patrick Lauer wrote: >> >> The failure message comes from rc-mount.sh when the list of PIDs using a >> mountpoint includes "$$" which is shell shorthand for self. How

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Richard Yao
> On Feb 16, 2016, at 1:41 PM, William Hubbs wrote: > >> On Tue, Feb 16, 2016 at 01:22:13PM -0500, Rich Freeman wrote: >>> On Tue, Feb 16, 2016 at 1:05 PM, William Hubbs wrote: >>> >>> The reason it exists is very vague to me; I think it has

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Richard Yao
> On Feb 16, 2016, at 1:05 PM, 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

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-17 Thread Luca Barbato
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

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread Rich Freeman
On Tue, Feb 16, 2016 at 2:31 PM, Patrick Lauer wrote: > > The failure message comes from rc-mount.sh when the list of PIDs using a > mountpoint includes "$$" which is shell shorthand for self. How can the > current shell claim to be using /usr when it is a shell that only has

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread Daniel Campbell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/16/2016 10:05 AM, 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

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread Patrick Lauer
On 02/16/2016 07:05 PM, 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]. I don't

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread William Hubbs
On Tue, Feb 16, 2016 at 01:22:13PM -0500, Rich Freeman wrote: > On Tue, Feb 16, 2016 at 1:05 PM, William Hubbs wrote: > > > > The reason it exists is very vague to me; I think it has something to do > > with claims of data loss in the past. > > > > Is there some other event

Re: [gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread Rich Freeman
On Tue, Feb 16, 2016 at 1:05 PM, William Hubbs wrote: > > The reason it exists is very vague to me; I think it has something to do > with claims of data loss in the past. > Is there some other event that will cause all filesystems to be remounted read-only or unmounted

[gentoo-dev] rfc: Does OpenRC really need mount-ro

2016-02-16 Thread William Hubbs
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]. This service only exists in the Linux world; there is no equivalent