public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] heads-up: 2011-05-01 baselayout news
Date: Mon, 2 May 2011 11:05:47 +0100	[thread overview]
Message-ID: <201105021105.50173.michaelkintzios@gmail.com> (raw)
In-Reply-To: <201105021044.00925.michaelkintzios@gmail.com>

[-- Attachment #1: Type: Text/Plain, Size: 2953 bytes --]

On Monday 02 May 2011 10:43:59 Mick wrote:
> On Monday 02 May 2011 10:03:11 Thanasis wrote:
> > I am running default/linux/amd64/10.0/no-multilib profile, and I got the
> > following news item, after syncing this morning:
> > 
> > # eselect news read
> > 
> > 2011-05-01-baselayout-update
> > 
> >   Title                     Baselayout update
> >   Author                    Christian Faulhammer <fauli@gentoo.org>
> >   Author                    William Hubbs <williamh@gentoo.org>
> >   Posted                    2011-05-01
> >   Revision                  1
> > 
> > The baselayout package provides files which all systems must have in
> > order to function properly. You are currently using version 1.x, which
> > has several issues. The most significant of these is that the included
> > init scripts are written entirely in bash, which makes them slow and
> > not very flexible.
> > 
> > On 2011/05/08, you will see an update for sys-apps/baselayout to
> > 2.x and a new package, sys-apps/openrc. It is recommended that you
> > perform this update as soon as possible.
> > 
> > Please note, after these packages are emerged, it is
> > __Absolutely_Critical__ that you immediately update your configuration
> > files with dispatch-conf, etc-update or a similar tool then follow the
> > steps in the migration guide located at the following URL.
> > http://www.gentoo.org/doc/en/openrc-migration.xml
> > 
> > FAILURE TO FOLLOW ALL OF THESE STEPS WILL RESULT IN AN UNBOOTABLE
> > SYSTEM! IF THIS SHOULD HAPPEN, YOU WILL NEED TO BOOT FROM A LIVE CD OR
> > DVD, MOUNT YOUR ROOT FILE SYSTEM, CHROOT INTO THAT ENVIRONMENT AND
> > FOLLOW THE ABOVE STEPS!
> 
> I've been through the migration guide.  In the section about udev it
> mentions /etc/runlevels/sysinit.  Is this something added by
> baselayout2/OpenRC?  I don't seem to have this in my runlevels:
> 
> $ ls -l /etc/runlevels/
> total 16
> drwxr-xr-x 2 root root 4096 Jan 18 20:39 boot
> drwxr-xr-x 2 root root 4096 Jun  8  2010 default
> drwxr-xr-x 2 root root 4096 Jan 21  2010 nonetwork
> drwxr-xr-x 2 root root 4096 Jan 21  2010 single

Another thing I found, is some incongruity about the file in which the $EDITOR 
and $PAGER should be defined.

The migration guide says:

"The EDITOR variable is no longer found in /etc/rc.conf. Both EDITOR and PAGER 
are set by default in /etc/profile. You should change this as needed in your 
~/.bashrc (or equivalent) file or create */etc/env.d/99editor* and set the 
system default there."

On the other hand the /etc/profile file seems to recommend /etc/profile.d/

"# You should override these in your ~/.bashrc (or equivalent) for per-user
# settings.  For system defaults, you can add a new file in /etc/profile.d/.
export EDITOR=${EDITOR:-/bin/nano}
export PAGER=${PAGER:-/usr/bin/less}"

Which one is the authoritative place to define a system wide editor?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-05-02 10:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02  9:03 [gentoo-user] heads-up: 2011-05-01 baselayout news Thanasis
2011-05-02  9:11 ` Thanasis
2011-05-02  9:31   ` Mick
2011-05-02 17:11     ` Mark Knecht
2011-05-02 17:36       ` Mick
2011-05-02 17:55         ` Mark Knecht
2011-05-03  2:23         ` William Hubbs
2011-05-02 18:02       ` Neil Bothwick
2011-05-02 18:16         ` Mark Knecht
2011-05-02 18:48           ` Neil Bothwick
2011-05-02 18:54             ` Mark Knecht
2011-05-02 22:07               ` Mark Knecht
2011-05-03  5:07                 ` Mick
2011-05-02 19:00       ` Felix Leif Keppmann
2011-05-02 10:18   ` Dale
2011-05-02  9:43 ` Mick
2011-05-02 10:05   ` Mick [this message]
2011-05-02 10:26     ` Thanasis
2011-05-02 10:50       ` Mick
2011-05-02 11:25         ` Thanasis
2011-05-02 11:52         ` Alex Schuster
2011-05-02 12:35           ` Mick
2011-05-05  8:25             ` Alex Schuster
2011-05-05  9:06               ` Alan McKinnon
2011-05-05 19:57               ` Mick
2011-05-02 10:06   ` Thanasis
2011-05-03  0:16   ` [gentoo-user] " walt

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=201105021105.50173.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@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