Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-14 Thread Lucas Ramage
The documentation is being updated. There is no need to worry about that. On Thu, Jul 13, 2017, 8:09 PM DarKRaveR wrote: > Am 12.07.2017 um 22:03 schrieb Mike Gilbert: > > On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs > wrote: > >> OpenRC 0.28 will

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread DarKRaveR
Am 12.07.2017 um 22:03 schrieb Mike Gilbert: On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs wrote: OpenRC 0.28 will mount efivars read only by default due to concerns about users bricking systems by writing to this filesystem unexpectedly. Here is the newsitem covering

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Mike Gilbert
On Jul 13, 2017 7:42 PM, "Mike Gilbert" wrote: On Jul 13, 2017 7:30 PM, "William Hubbs" wrote: On Thu, Jul 13, 2017 at 08:52:23AM -0500, William Hubbs wrote: > On Thu, Jul 13, 2017 at 12:30:12PM +0200, Kristian Fiskerstrand wrote: > > On 07/12/2017

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread William Hubbs
On Thu, Jul 13, 2017 at 08:52:23AM -0500, William Hubbs wrote: > On Thu, Jul 13, 2017 at 12:30:12PM +0200, Kristian Fiskerstrand wrote: > > On 07/12/2017 05:42 PM, William Hubbs wrote: > > > OpenRC 0.28 will mount efivars read only by default due to concerns > > > about users bricking systems by

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Mike Gilbert
On Thu, Jul 13, 2017 at 12:45 PM, Mike Gilbert wrote: > On Thu, Jul 13, 2017 at 10:58 AM, Andrew Savchenko wrote: >> On Thu, 13 Jul 2017 10:29:06 -0400 Mike Gilbert wrote: >>> On Thu, Jul 13, 2017 at 7:35 AM, M. J. Everitt wrote: >>>

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Mike Gilbert
On Thu, Jul 13, 2017 at 10:58 AM, Andrew Savchenko wrote: > On Thu, 13 Jul 2017 10:29:06 -0400 Mike Gilbert wrote: >> On Thu, Jul 13, 2017 at 7:35 AM, M. J. Everitt wrote: >> > On 13/07/17 12:09, Rich Freeman wrote: >> >> Presumably you'd only want to

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Rich Freeman
On Thu, Jul 13, 2017 at 10:58 AM, Andrew Savchenko wrote: > > But in some scenarios this command is normal. E.g. user installs > Gentoo from some live dvd/flash, makes some mistakes, understands > that system is broken beyond repair and decides to start over again. > If there

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Thu, 13 Jul 2017 17:58:29 +0300 Andrew Savchenko wrote: > On Thu, 13 Jul 2017 10:29:06 -0400 Mike Gilbert wrote: > > On Thu, Jul 13, 2017 at 7:35 AM, M. J. Everitt wrote: > > > On 13/07/17 12:09, Rich Freeman wrote: > > >> Presumably you'd only want to remount it if it was

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Thu, 13 Jul 2017 10:29:06 -0400 Mike Gilbert wrote: > On Thu, Jul 13, 2017 at 7:35 AM, M. J. Everitt wrote: > > On 13/07/17 12:09, Rich Freeman wrote: > >> Presumably you'd only want to remount it if it was mounted ro to > >> start, since it sounds like openrc will be

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Ben Kohler
On Thu, Jul 13, 2017 at 9:29 AM, Mike Gilbert wrote: > > We are actually talking about protecting people who run something like > rm -rf /sys/firmware/efi/efivars/ as root. > > If you are dumb enough to do something like that, you almost deserve > to spend a couple hundred on

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Mike Gilbert
On Thu, Jul 13, 2017 at 7:35 AM, M. J. Everitt wrote: > On 13/07/17 12:09, Rich Freeman wrote: >> Presumably you'd only want to remount it if it was mounted ro to >> start, since it sounds like openrc will be diverging from systemd >> behavior here. >> >> While it seems like

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread William Hubbs
On Thu, Jul 13, 2017 at 12:30:12PM +0200, Kristian Fiskerstrand wrote: > On 07/12/2017 05:42 PM, William Hubbs wrote: > > OpenRC 0.28 will mount efivars read only by default due to concerns > > about users bricking systems by writing to this filesystem unexpectedly. > > > > Here is the newsitem

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Rich Freeman
On Thu, Jul 13, 2017 at 8:14 AM, Andrew Savchenko wrote: > > I see no problems with compatibility. In case of software needs to > write to efivars (bootloader installation, etc) algo is simple: > > flag = false; > if (mounted(efivars) == RO) { remount(efivars, RW); flag =

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Thu, 13 Jul 2017 12:35:50 +0100 M. J. Everitt wrote: > On 13/07/17 12:09, Rich Freeman wrote: > > Presumably you'd only want to remount it if it was mounted ro to > > start, since it sounds like openrc will be diverging from systemd > > behavior here. > > > > While it seems like a good idea I'm

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Thu, 13 Jul 2017 07:54:44 -0400 Rich Freeman wrote: [...] > >> Presumably you'd only want to remount it if it was mounted ro to > >> start, since it sounds like openrc will be diverging from systemd > >> behavior here. > >> > >> While it seems like a good idea I'm not sure how big an

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Rich Freeman
On Thu, Jul 13, 2017 at 7:43 AM, Andrew Savchenko wrote: > On Thu, 13 Jul 2017 07:09:45 -0400 Rich Freeman wrote: >> On Thu, Jul 13, 2017 at 2:30 AM, Andrew Savchenko wrote: >> > On Wed, 12 Jul 2017 17:42:50 -0700 Matt Turner wrote: >> >> On Wed, Jul 12,

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Thu, 13 Jul 2017 07:09:45 -0400 Rich Freeman wrote: > On Thu, Jul 13, 2017 at 2:30 AM, Andrew Savchenko wrote: > > On Wed, 12 Jul 2017 17:42:50 -0700 Matt Turner wrote: > >> On Wed, Jul 12, 2017 at 5:29 PM, Lucas Ramage > >> wrote: > >> > What

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread M. J. Everitt
On 13/07/17 12:09, Rich Freeman wrote: > Presumably you'd only want to remount it if it was mounted ro to > start, since it sounds like openrc will be diverging from systemd > behavior here. > > While it seems like a good idea I'm not sure how big an improvement it > is in the larger scheme.

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Rich Freeman
On Thu, Jul 13, 2017 at 2:30 AM, Andrew Savchenko wrote: > On Wed, 12 Jul 2017 17:42:50 -0700 Matt Turner wrote: >> On Wed, Jul 12, 2017 at 5:29 PM, Lucas Ramage >> wrote: >> > What needs to be changed for the bootloaders? I may be able to assist.

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Kristian Fiskerstrand
On 07/12/2017 05:42 PM, William Hubbs wrote: > OpenRC 0.28 will mount efivars read only by default due to concerns > about users bricking systems by writing to this filesystem unexpectedly. > > Here is the newsitem covering this change. Although the changes seems sensible, I'm wondering if a

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-13 Thread Andrew Savchenko
On Wed, 12 Jul 2017 17:42:50 -0700 Matt Turner wrote: > On Wed, Jul 12, 2017 at 5:29 PM, Lucas Ramage > wrote: > > What needs to be changed for the bootloaders? I may be able to assist. > > The documentation should be updated to say that with OpenRC 0.28 that > you'll

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Mike Gilbert
On Wed, Jul 12, 2017 at 5:44 PM, William Hubbs wrote: > On Wed, Jul 12, 2017 at 04:03:25PM -0400, Mike Gilbert wrote: >> On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs wrote: >> > OpenRC 0.28 will mount efivars read only by default due to concerns >> >

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Lucas Ramage
I am working on it! Thanks! On Wed, Jul 12, 2017 at 8:42 PM, Matt Turner wrote: > On Wed, Jul 12, 2017 at 5:29 PM, Lucas Ramage > wrote: > > What needs to be changed for the bootloaders? I may be able to assist. > > The documentation should be

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Matt Turner
On Wed, Jul 12, 2017 at 5:29 PM, Lucas Ramage wrote: > What needs to be changed for the bootloaders? I may be able to assist. The documentation should be updated to say that with OpenRC 0.28 that you'll have to remount efivars as RW before you can install the bootloader

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Lucas Ramage
What needs to be changed for the bootloaders? I may be able to assist. On Wed, Jul 12, 2017 at 7:04 PM, Matt Turner wrote: > On Wed, Jul 12, 2017 at 2:44 PM, William Hubbs > wrote: > > On Wed, Jul 12, 2017 at 04:03:25PM -0400, Mike Gilbert wrote: > >>

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Matt Turner
On Wed, Jul 12, 2017 at 2:44 PM, William Hubbs wrote: > On Wed, Jul 12, 2017 at 04:03:25PM -0400, Mike Gilbert wrote: >> On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs wrote: >> > OpenRC 0.28 will mount efivars read only by default due to concerns >> >

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread William Hubbs
On Wed, Jul 12, 2017 at 04:03:25PM -0400, Mike Gilbert wrote: > On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs wrote: > > OpenRC 0.28 will mount efivars read only by default due to concerns > > about users bricking systems by writing to this filesystem unexpectedly. > > > >

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread Mike Gilbert
On Wed, Jul 12, 2017 at 11:42 AM, William Hubbs wrote: > OpenRC 0.28 will mount efivars read only by default due to concerns > about users bricking systems by writing to this filesystem unexpectedly. > > Here is the newsitem covering this change. > > William > This will

Re: [gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread M. J. Everitt
On 12/07/17 16:42, William Hubbs wrote: > OpenRC 0.28 will mount efivars read only by default due to concerns > about users bricking systems by writing to this filesystem unexpectedly. > > Here is the newsitem covering this change. > > William > Very sensible .. I seem to recall something about

[gentoo-dev] newsitem: openrc-0.28 mounts efivars read only

2017-07-12 Thread William Hubbs
OpenRC 0.28 will mount efivars read only by default due to concerns about users bricking systems by writing to this filesystem unexpectedly. Here is the newsitem covering this change. William Title: Mounting efivars read only Author: William Hubbs Content-Type: text/plain