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 > > Author William Hubbs > > 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