public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Harring <ferringb@gmail.com>
To: Duncan <1i5t5.duncan@cox.net>
Cc: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: openrc portage news item
Date: Sat, 30 Apr 2011 04:46:43 -0700	[thread overview]
Message-ID: <20110430114643.GC20648@hrair> (raw)
In-Reply-To: <pan.2011.04.30.07.13.59@cox.net>

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

On Sat, Apr 30, 2011 at 07:13:59AM +0000, Duncan wrote:
> Brian Harring posted on Fri, 29 Apr 2011 21:59:45 -0700 as excerpted:
> 
> > 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*.
> 
> Um... 32-bit chroots for amd64 comes to mind, tho that's just a single 
> supported case of the general idea.  Here, I've adapted the idea slightly 
> by simply installing a complete system to the chroot, just never actually 
> /running/ it from there, as a maintained system image that was initially 
> transferred to USB, now updated thru rsync, for my netbook.

What I'm suggesting is mangling the default configs that get pushed in 
via postinst to reflect the old configs for the spots where it's 
necessary.  The 32bit/64bit scenario there still is addressable- scan 
the pre-existing rc-update show.  If you're just chroot'ing into the 
sucker without kicking any services within it, you're unaffected 
either way if it rc-update's a couple of services- you weren't 
starting the services in the /first/ place after all, so no further 
fall out.

If you were starting services, udev for example, spotting that and 
transferring it across isn't hard.

It's actually slightly more complex than that to track the settings 
from setup through postinst, but that's implementation details, 
secondary issue to my original question.


> Portage's ROOT is unchanged in these cases, but depending on how the 
> detection of the running system is achieved, the script might attempt 
> changes based on the components of the 64-bit HOST system, not the 32-bit 
> chroot system image, or conversely, changes inappropriate for an image 
> that never actually boots on its host system.  That would *NOT* be a good 
> thing!

Already outlined above how this interpretation is incorrect.  It's 
basically identification of scenarios- your posited (presumably what 
you run locally since you seem fairly heated about it) scenario looks 
like it still would fly due to pre-existing configuration being 
referencable- or you weren't actually configuring it in full, nor 
running the services from w/in it, so it's a non issue anyways.

Either way, I did not say it was necessarily simple; I'm fundamentally 
asking why those potentials, from the rough look of it, were ruled 
out.

If they were considered, then it should be reasonably easy to point 
folks at bugs/discussions clarifying why it wasn't considered viable.

32bit chroot is one example of where it might be dicey, although 
frankly I still consider that deployment a bit whacked on it's own.  
I'm looking for more than just that however


> Meanwhile, all this is a rather nice idea in theory, but with literally 
> days left before pulling the trigger, now's rather late in the game to 
> bring the suggestion.

It's an arbitrary deadline.  To be clear, it's an arbitrary deadline 
that has a horrid ass set of "do these things or your system is 
fubared", plus that pkg_pretend frankly is a different form of 
horrible beyond that.

While late in the game, frankly it just came to the attention- I've 
ran openrc basically since day 1.  It crossed the radar only recently
due to the desired announcement requesting feedback- which means 
feedback on the change itself, fundamentally. 

Regardless, what you're offering up here is deflections/excuses to 
just do it.  Which... frankly, that's fine.  If that's peoples 
decision in full, fine, they own that decision.

If the potentials weren't explored, it would be useful *knowing* so 
looking at reducing the pain can be done- if they *were* explored and 
discarded, then it saves folks the time of digging into it further.

Simple enough.


> Are you actually trying to delay the upgrade to OpenRC /forever/?  Why?  

Chill the hell down.  I didn't kick your puppy, nor did I steal your 
lunch money in 7th grade.  I may have mocked your 'flock of seagulls' 
haircut (or 'bieber' haircut for the younguns), but they're stupid 
haircuts- it was deserved ;)

Joke aside, I asked a valid question.  Rhetorical nonsense isn't a 
valid response, nor useful.


> Meanwhile, Gentoo has always been about expecting Gentoo's users to take 
> responsibility as their own sysadmins.  Yes, we document, and automate 
> where reasonably possible, but there's a reason for etc-update, dispatch-
> conf, etc.

While that's a fun quotation to use, you basically just aligned with 
exactly why I'm asking this.  Yes, users must function as the 
sysadmin/SA of their system.

A proper SA avoids upgrade pathways were possible that require 
manual intervention.  This requires manual intervention.

Said proper SA's also have a rather large hatred of anything that can 
leave a system nonbootable (rant: including crappy SA's who don't 
verify the !@#*ing thing comes back up in a proper hot/warm state).  
This qualifies for that.

Again, not saying this approach can't be taken if needed- I'm asking 
what alternatives were ruled out in getting to this point.

~brian

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

  reply	other threads:[~2011-04-30 11:47 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
2011-04-30  7:13             ` [gentoo-dev] " Duncan
2011-04-30 11:46               ` Brian Harring [this message]
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=20110430114643.GC20648@hrair \
    --to=ferringb@gmail.com \
    --cc=1i5t5.duncan@cox.net \
    --cc=gentoo-dev@lists.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