public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] baselayout-1.8.6.7
@ 2003-05-12  0:00 Martin Schlemmer
  2003-05-12  1:06 ` [gentoo-dev] baselayout-1.8.6.7 Daniel Robbins
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Martin Schlemmer @ 2003-05-12  0:00 UTC (permalink / raw
  To: Gentoo-Dev; +Cc: Daniel Robbins, Bob Johnson, Jay Pfeifer

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

Hiya

I have commited a new version of baselayout ... please test as
a lot of things changed.

New features/improvements to note:
- Updated the dependency system to try and touch files less.
  For example, dependencies are calculated in runscript.sh
  now without the symlink method, but rather with env variables.
  Also, all helper scripts should be sourced only once for
  any series of services started, or during a runlevel change.
- Supports starting services in parallel (need to set
  'RC_PARALLEL_STARTUP="yes"' in /etc/conf.d/rc).  There are
  still a few issues with it, namely it do not sync messages
  for services in order, but I am working on that.
- Lots of fixes.

The main purpose of this release is speed, so I would like to
get feedback on that.  Also, if anything seems to behave differently
than expected. please let me know.

NOTE: be sure to run env-update to catch all changes!

Roadmap:
- Get all issues with the parallel startup resolved.  First
  part of this will be to see if its possible to get a
  message system going that will output properly (and not
  out of order) without too much overhead.
- Add bootsplash support (work already done by Jay Pfeifer and
  Bob Johnson).
- A full (more sane) rewrite of rc-daemon.sh, and then actually
  getting rc-scripts to use it.
- A rewrite of the networking stuff.  Wout did offer to start on
  this, so I will check with him, and if not, at least try to get
  a more modular (being able to add routing, etc modules to each
  net.* service individually) setup going.

Full ChangeLog:
-------------------------------------------------------------------------
* rc-scripts 1.4.3.7 (11 May 2003)

  11 May 2003; Martin Schlemmer <azarah@gentoo.org>:

    Too many things to remember, so here is changes of note:
    - More changes to gendepend.awk.  This basically modifies it to not
use
      symlinks in $svcdir/{need,use,before,after,provide} anymore, but
rather
      create a file that can be sourced.  Seems to speedup things
nicely.
    - Add /sbin/rc-services.sh.  This is basically a module to get
dependency
      info from the new $svcdir/deptree, and some other new service
functions.
    - Modify the whole works to *only* source all needed files once. 
This
      includes /sbin/{functions.sh,rc-services.sh,rc-daemon.sh}.  Also
      rc-services.sh will only source $svcdir/deptree once. 
/sbin/runscript.sh
      is sourced more than once (actually each time a service is started
or
      stopped, but is is cut down much).  Also seems to speed things up
again.
    - Fix a long outstanding bug in gendepend.awk that caused the 'net'
      dependency to not be actually used in shutdown, causing the
services
      needing it to be stoped before net.* services.
    - Add the RC_PARALLEL_STARTUP variable, with
schedule_service_startup() to
      /sbin/rc-services.sh and /etc/conf.d/rc.  This is experimental
parallel
      startup of services, and seems to work nicely.  Only issues to
date is
      that printing of messages is not synced, and a race very
intermittantly
      that causes a service to be started when it was already scheduled.
    - Add a new dependency type 'parallel' that can be used to control
if a
      service can be started in paralled or not.  Possible arguments is
"yes"
      or "no"; if it is not present, it is considered as "yes":

      depend() {
          parallel yes|no
      }
      
      Modified cachedepend.awk, gendepend.awk and /sbin/rc-services.sh.
    - Fix the 'single' runlevel to actually work properly, and without a
      /etc/runlevels/single directory.
    - Remove the BOOT variable, and update /sbin/rc to set SOFTLEVEL
properly.
      Fix /etc/init.d/{checkroot,bootmisc} to use SOFTLEVEL instead of
BOOT.

  08 May 2003; Martin Schlemmer <azarah@gentoo.org>:

    Major rework of /lib/rcscript/awk/gendepend.awk, cleaning it up
nicely,
    and adding more sanity checks.

  04 May 2003; Martin Schlemmer <azarah@gentoo.org>:

    Revert /etc/init.d/hostname the way it was, as it should be the
user's
    choice if he want to have a FQDN in there or not, bug #14946.

    Add /etc/init.d/domainname for those that want to use it.

  29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:

    Change the root check back the way it was, else it breaks with non
bash
    shells;  modified /etc/profile.

  29 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:

    Change test in /etc/profile for root to '[ "$EUID" -eq 0 ]', bug
#20140.

  27 Apr 2003; Martin Schlemmer <azarah@gentoo.org>:

    Add various patches from Rachel Holmes <rach@gmx.net>:

      Dropped use of 'cat' in bash scripts, '$(<$file)' is there for
that
      purpose.  Modified:
    
        /etc/init.d/net.ppp0
        /etc/init.d/nscd
        /sbin/functions.sh
        /sbin/rc
        /sbin/rc-daemon.sh
        /sbin/rc-envupdate.sh.bash
        /sbin/runscript.sh

      Exchanged some gratuitous use of awk for grep. Awk is a little
resource
      hungry just for a simple test. (I [azarah] did not apply the
changes to
      tests for 'devfs', as having 'usbdevfs' in the equation will break
      things).  Modified /sbin/rc for this.

      Gentoo enforces having /proc, so uname -r is a little redundant
when the
      information is available without an external command.  Modified:

        /etc/init.d/modules
        /etc/init.d/serial
        /sbin/functions.sh
        /sbin/modules-update

      Changed 'id -u' commands to use $EUID in bash executed scripts,
same
      result no extra command.  Modified:

        /sbin/rc-envupdate.sh
        /sbin/rc-envupdate.sh.bash
        /sbin/rc-update

      Removed all the cat sections, and the separate echo sections.  The
output
      is _exactly_ the same, minus some spare spaces that have been
removed.
      Fourfold speed increase in the (granted flimsy) tests I have done.
      Modified /sbin/rc-help.sh for this.

      Final remaining 'cat' commands removed, in favour of using bash's
internal
      '$(< )' or 'echo'.  Use of echo leads the way to future support
for bash's
      i18n anyway.  Modified:

        /sbin/rc
        /sbin/rc-envupdate.sh
        /sbin/rc-envupdate.sh.bash
----------------------------------------------------------------------


Regards,

-- 

Martin Schlemmer
Gentoo Linux Developer, Desktop/System Team Developer
Cape Town, South Africa



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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-05-13 19:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-12  0:00 [gentoo-dev] baselayout-1.8.6.7 Martin Schlemmer
2003-05-12  1:06 ` [gentoo-dev] baselayout-1.8.6.7 Daniel Robbins
2003-05-12  9:14   ` Priit Laes
2003-05-12  5:20     ` Jon Portnoy
2003-05-12 11:01       ` Panard
2003-05-12  5:47     ` Joseph Carter
2003-05-12 10:00       ` Priit Laes
2003-05-12 15:34 ` Sebastian Bergmann
2003-05-12 16:44   ` Sebastian Bergmann
2003-05-12 19:45 ` [gentoo-dev] baselayout-1.8.6.7 Matthias Liertzer
2003-05-12 21:29   ` Martin Schlemmer
2003-05-13  3:38 ` YAMAKURA Makoto
     [not found] ` <20030513.122830.81156462.makoto@dsb.club.ne.jp>
2003-05-13 18:01   ` Martin Schlemmer
2003-05-13 18:39     ` YAMAKURA Makoto
2003-05-13 19:11       ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox