public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gmail.com>
To: William Hubbs <williamh@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] openrc portage news item
Date: Fri, 29 Apr 2011 21:59:45 -0700	[thread overview]
Message-ID: <20110430045945.GB20648@hrair> (raw)
In-Reply-To: <20110430021950.GC6032@linux1>

[-- Attachment #1: Type: text/plain, Size: 2886 bytes --]

On Fri, Apr 29, 2011 at 09:19:50PM -0500, William Hubbs wrote:
> On Fri, Apr 29, 2011 at 11:41:35AM -0700, Brian Harring wrote:
> > Exact results please; the pkg_pretend crap proposed elsewhere (which 
> > is yet another way to crap up stage builds) frankly sucks.
> > 
> > Mind you I'm just looking in, but this whole upgrade process really 
> > reads fairly suboptimal to me.  It's definitely possible that this is 
> > the best that can be done, but I'd like to see exactly which issues we 
> > can't resolve in some fashion via pkg_postinst tricks w/in openrc.
> >
> > I'd much rather have an ebuild that violates a few rules than forced 
> > "you must accept this beyond normal mechanisms" and potential "can't 
> > boot" upgrade processes.
> >
> > So... details please, and why we can't script our way past chunks of 
> > this. :)
> 
> The biggest part of the migration is running dispatch-conf, etc-update
> or another configuration file updater and accepting all of the openrc
> changes.

Yeah, with respect this is the hand wavey part I wanted details for.  
I wanted to know *which* files were incompatible in conf differences, 
things like that.  From the sounds of it, the main concern is a set of 
files moving (including their format), and CONFIG_PROTECT firing- it 
takes some planning, but it's possible to work around this (suppress 
it if needs be) or do pkg_postinst tricks outside the PM's normal 
protections for it.


> Most of the stuff in the migration guide is just directing
> you to verify changes that the openrc ebuild has made and telling you
> which configuration files may need to be altered to match your system.
> I'm not sure how to script passed any of that.

Migration of settings from /etc/conf.d/rc to /etc/rc strikes me as 
pretty damn scriptable, within limits- I've not used non-openrc for a 
*long* time, but the settings are basically booleans or simple string.  
Just requires a mapping of conf.d/rc:value -> rc:value .

Kernel modules, no different.

Checking the boot levels, udev included, same thing- if ROOT=/ and 
baselayout is there already you likely *could* look at the running 
system to see what's needed/in use, and kick rc-update as needed for 
spots where it *isn't*.

So... yeah, scriptable, at least from where I'm sitting.  To do it, 
need to snapshot that info, and kick it via pkg_postinst.

I realize it's more work, but I'm frankly a bit concerned this isn't 
beng looked at ("you must run etc-update" isn't the level of detail I 
expected neither), nor trying very, very hard to remove the potential 
of non-bootable system here- trying to rely on pkg_pretend nastyness 
just sidesteps it and introduces other issues.

Again, I'm aware it may not be possible, but sharing the details of 
why this it *isn't* an option would be rather useful.

Cheers-
~brian

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-04-30  5:00 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 18:15 [gentoo-dev] openrc portage news item William Hubbs
2011-04-13 18:27 ` Thomas Beierlein
2011-04-13 18:32 ` justin
2011-04-13 18:41 ` "Paweł Hajdan, Jr."
2011-04-13 19:58   ` William Hubbs
2011-04-14  8:09     ` [gentoo-dev] " Duncan
2011-04-14 11:44       ` Rich Freeman
2011-04-15 14:04       ` Peter Hjalmarsson
2011-04-15 19:01         ` Duncan
2011-04-13 19:56 ` [gentoo-dev] " William Hubbs
2011-04-14  5:30   ` justin
2011-04-14  7:21     ` Dirkjan Ochtman
2011-04-14  8:19       ` justin
2011-04-14  8:40       ` [gentoo-dev] " Duncan
2011-04-14 14:44         ` Dale
2011-04-14 15:41           ` Matthew Summers
2011-04-14 16:12             ` Dale
2011-04-14 18:48             ` William Hubbs
2011-04-14 10:32 ` [gentoo-dev] " Kfir Lavi
2011-04-14 10:32   ` Kfir Lavi
2011-04-14 10:51   ` Tomá? Chvátal
2011-04-14 11:03     ` Pacho Ramos
2011-04-14 11:21     ` Thomas Beierlein
2011-04-14 11:27       ` Sylvain Alain
2011-04-21  1:12   ` Donnie Berkholz
2011-04-21  2:23     ` Jeroen Roovers
2011-04-21  2:34       ` Jeroen Roovers
2011-04-22 10:39     ` Lars Wendler
2011-04-29 18:41       ` Brian Harring
2011-04-30  2:19         ` William Hubbs
2011-04-30  4:59           ` Brian Harring [this message]
2011-04-30  7:13             ` [gentoo-dev] " Duncan
2011-04-30 11:46               ` Brian Harring
2011-04-30 12:03                 ` Rich Freeman
2011-04-30 12:58                   ` Brian Harring
2011-04-30 13:06                     ` Jeremy Olexa
2011-04-30 13:40                       ` Brian Harring
2011-04-29  7:08 ` [gentoo-dev] " William Hubbs
2011-04-29 11:21   ` Rich Freeman
2011-04-29 11:28     ` Ciaran McCreesh
2011-04-29 17:18       ` Alex Alexander
2011-04-29 17:25         ` Ulrich Mueller
2011-04-29 17:32           ` Alex Alexander
2011-04-29 17:52           ` Rich Freeman
2011-04-29 17:58             ` Alex Alexander
2011-04-30  0:34               ` William Hubbs
2011-04-30  9:04                 ` Sergei Trofimovich
2011-04-30 12:41                 ` Roy Bamford
2011-04-29 14:27   ` [gentoo-dev] " Duncan
2011-05-01 19:12 ` [gentoo-dev] " William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110430045945.GB20648@hrair \
    --to=ferringb@gmail.com \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=williamh@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox