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

* [gentoo-dev] Re: baselayout-1.8.6.7
  2003-05-12  0:00 [gentoo-dev] baselayout-1.8.6.7 Martin Schlemmer
@ 2003-05-12  1:06 ` Daniel Robbins
  2003-05-12  9:14   ` Priit Laes
  2003-05-12 15:34 ` Sebastian Bergmann
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Daniel Robbins @ 2003-05-12  1:06 UTC (permalink / raw
  To: Martin Schlemmer; +Cc: Gentoo-Dev, Bob Johnson, Jay Pfeifer

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

On Mon, May 12, 2003 at 02:00:34AM +0200, Martin Schlemmer wrote:
> Hiya
> 
> I have commited a new version of baselayout ... please test as
> a lot of things changed.

Martin,

I won't have time to test until after E3 but wanted to thank you for this
good stuff :)

Best Regards,

-- 
Daniel Robbins
Chief Architect, Gentoo Linux
http://www.gentoo.org

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

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

* Re: [gentoo-dev] Re: baselayout-1.8.6.7
  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
  1 sibling, 1 reply; 15+ messages in thread
From: Jon Portnoy @ 2003-05-12  5:20 UTC (permalink / raw
  To: Priit Laes; +Cc: gentoo-dev

[snip]
> Why don't they fix bugs @ Gentoo bugzilla?
> 

Because we're swamped. :)

-- 
Jon Portnoy
avenj/irc.freenode.net

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Re: baselayout-1.8.6.7
  2003-05-12  9:14   ` Priit Laes
  2003-05-12  5:20     ` Jon Portnoy
@ 2003-05-12  5:47     ` Joseph Carter
  2003-05-12 10:00       ` Priit Laes
  1 sibling, 1 reply; 15+ messages in thread
From: Joseph Carter @ 2003-05-12  5:47 UTC (permalink / raw
  To: Priit Laes; +Cc: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, May 12, 2003 at 09:14:12AM +0000, Priit Laes wrote:
> I had this thing in my mind yesterday...
> What's the point keeping scripts in /etc/init.d/ executable for
> everyone? Making them not executable to others users except root would
> be nice ;)
> 711 would be nice permission for them.

744 makes more sense.

- -- 
Joseph Carter <knghtbrd@efn.org>                Do not write in this space
 
<klasikahl> Knghtbrd: --nodeps is my friend :)
<Knghtbrd> klasikahl: You must have come from an RPM-based distribution
           before gentoo  ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: 1024D/20F62261F1857A3E79FC44F98FF7D7A3DCF9DAB3

iEYEARECAAYFAj6/NV8ACgkQj/fXo9z52rNXDACfeFLfOkSpd+E50+0MYAaq9CLr
GKoAn1zDkz1jzYjyb/AinH9TPneK+RUY
=Jaq4
-----END PGP SIGNATURE-----

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Re: baselayout-1.8.6.7
  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  5:47     ` Joseph Carter
  0 siblings, 2 replies; 15+ messages in thread
From: Priit Laes @ 2003-05-12  9:14 UTC (permalink / raw
  To: gentoo-dev

I had this thing in my mind yesterday...
What's the point keeping scripts in /etc/init.d/ executable for
everyone? Making them not executable to others users except root would
be nice ;)
711 would be nice permission for them.

--
Why don't they fix bugs @ Gentoo bugzilla?

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Re: baselayout-1.8.6.7
  2003-05-12  5:47     ` Joseph Carter
@ 2003-05-12 10:00       ` Priit Laes
  0 siblings, 0 replies; 15+ messages in thread
From: Priit Laes @ 2003-05-12 10:00 UTC (permalink / raw
  To: gentoo-dev

On Sun, 11 May 2003 22:47:11 -0700
Joseph Carter <knghtbrd@efn.org> wrote:

> On Mon, May 12, 2003 at 09:14:12AM +0000, Priit Laes wrote:
> > I had this thing in my mind yesterday...
> > What's the point keeping scripts in /etc/init.d/ executable for
> > everyone? Making them not executable to others users except root would
> > be nice ;)
> > 711 would be nice permission for them.
> 
> 744 makes more sense.
Oh yeah... my bad.. (i'm still quite newbie with linux).
[snip]
It's nice to see, that someone really reads my mail ;)
-- 
Priit Laes <amdATttDOTee>                  _o)
http://amd-core.tk                         /\\  _o)  _o)
Why don't they fix bugs in bugzilla???    _\_V _( ) _( )

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Re: baselayout-1.8.6.7
  2003-05-12  5:20     ` Jon Portnoy
@ 2003-05-12 11:01       ` Panard
  0 siblings, 0 replies; 15+ messages in thread
From: Panard @ 2003-05-12 11:01 UTC (permalink / raw
  To: gentoo-dev

Hi,

Since this upgrade, I've got the following error, starting domainname:
/sbin/runscript.sh: line 13: /var/lib/init.d/deptree: No such file or 
directory
 * Dependency info is missing!  Please run

 *   # /sbin/depscan.sh

 * to fix this.

I've do a lot of /sbin/depscan.sh... but no changes...

Any idea?

Thanks

Panard


-- 
________________________________________________________
         panard@inzenet.org                http://www.inzenet.org

"Computers are like air-conditioners, they stop working properly when you open 
Windows."

--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] Re: baselayout-1.8.6.7
  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 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
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 15+ messages in thread
From: Sebastian Bergmann @ 2003-05-12 15:34 UTC (permalink / raw
  To: gentoo-dev

Martin Schlemmer wrote:
> I have commited a new version of baselayout ... please test as
> a lot of things changed.

  I can't emerge it, see

    http://bugs.gentoo.org/show_bug.cgi?id=20856

  for details.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/


--
gentoo-dev@gentoo.org mailing list


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

* [gentoo-dev] Re: baselayout-1.8.6.7
  2003-05-12 15:34 ` Sebastian Bergmann
@ 2003-05-12 16:44   ` Sebastian Bergmann
  0 siblings, 0 replies; 15+ messages in thread
From: Sebastian Bergmann @ 2003-05-12 16:44 UTC (permalink / raw
  To: gentoo-dev

Sebastian Bergmann wrote:
> I can't emerge it, see
>
>   http://bugs.gentoo.org/show_bug.cgi?id=20856
>
> for details.

  Never mind, works okay now.

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/


--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] baselayout-1.8.6.7
  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 15:34 ` Sebastian Bergmann
@ 2003-05-12 19:45 ` 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>
  4 siblings, 1 reply; 15+ messages in thread
From: Matthias Liertzer @ 2003-05-12 19:45 UTC (permalink / raw
  To: gentoo-dev

Tried to bootstrap using the new baselayout and it failed, because the new 
baselayout needs gawk now. So we probably need to add the gawk package to the 
bootstrap.sh script or simply to stage 1.

Regards

Am Montag, 12. Mai 2003 02:00 schrieb Martin Schlemmer:
> Hiya
>
> I have commited a new version of baselayout ... please test as
> a lot of things changed.



--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] baselayout-1.8.6.7
  2003-05-12 19:45 ` [gentoo-dev] baselayout-1.8.6.7 Matthias Liertzer
@ 2003-05-12 21:29   ` Martin Schlemmer
  0 siblings, 0 replies; 15+ messages in thread
From: Martin Schlemmer @ 2003-05-12 21:29 UTC (permalink / raw
  To: Matthias Liertzer; +Cc: Gentoo-Dev

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

On Mon, 2003-05-12 at 21:45, Matthias Liertzer wrote:
> Tried to bootstrap using the new baselayout and it failed, because the new 
> baselayout needs gawk now. So we probably need to add the gawk package to the 
> bootstrap.sh script or simply to stage 1.
> 

Right.  To be honest, I have not yet tested it with a bootstrap, and
this is the first that do not install the bash versions of awkified
scripts anymore.

This patch should fix it:

-----------------------------------------------------------
Index: baselayout-1.8.6.7.ebuild
===================================================================
RCS file:
/home/cvsroot/gentoo-x86/sys-apps/baselayout/baselayout-1.8.6.7.ebuild,v
retrieving revision 1.1
diff -u -r1.1 baselayout-1.8.6.7.ebuild
--- baselayout-1.8.6.7.ebuild	11 May 2003 23:59:05 -0000	1.1
+++ baselayout-1.8.6.7.ebuild	12 May 2003 21:26:33 -0000
@@ -109,21 +109,24 @@
 		emake CC="${CC:-gcc}" LD="${CC:-gcc}" \
 			LDFLAGS="" || die "problem compiling sysvinit"
 
-		# We let gawk now install filefuncs.so, and that is as a symlink to a
-		# versioned .so ...
-		if [ -f /usr/include/awk/awk.h -a ! -L
${ROOT}/lib/rcscripts/filefuncs.so ]
+		if [ -z "`use bootstrap`" ]
 		then
-			# Build gawk module
-#			cd ${S}/src/filefuncs
-#			einfo "Building awk module..."
-#			make CC="${CC:-gcc}" LD="${CC:-gcc}" || {
-#				eerror "Failed to build gawk module.  Make sure you have"
-#				eerror "sys-apps/gawk-3.1.1-r1 or later installed"
-#				die "problem compiling gawk module"
-#			}
+			# We let gawk now install filefuncs.so, and that is as a symlink to
a 
+			# versioned .so ...
+			if [ -f /usr/include/awk/awk.h -a ! -L
${ROOT}/lib/rcscripts/filefuncs.so ]
+			then
+				# Build gawk module
+#				cd ${S}/src/filefuncs
+#				einfo "Building awk module..."
+#				make CC="${CC:-gcc}" LD="${CC:-gcc}" || {
+#					eerror "Failed to build gawk module.  Make sure you have"
+#					eerror "sys-apps/gawk-3.1.1-r1 or later installed"
+#					die "problem compiling gawk module"
+#				}
 			
-			eerror "Please install sys-apps/gawk-3.1.1-r2 or later!"
-			die "gawk too old"
+				eerror "Please install sys-apps/gawk-3.1.1-r2 or later!"
+				die "gawk too old"
+			fi
 		fi
 	fi
 }
@@ -300,7 +303,7 @@
 	# if 'build' or 'bootstrap' is not in USE.  This will
 	# change if we have sys-apps/gawk-3.1.1-r1 or later in
 	# the build image ...
-	if [ -z "`use build`" -a -z "`use bootstrap`" ]
+	if [ -z "`use build`" ]
 	then
 		# This is for new depscan and rc-envupdate.sh
 		# written in awk



-- 

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

* Re: [gentoo-dev] baselayout-1.8.6.7
  2003-05-12  0:00 [gentoo-dev] baselayout-1.8.6.7 Martin Schlemmer
                   ` (2 preceding siblings ...)
  2003-05-12 19:45 ` [gentoo-dev] baselayout-1.8.6.7 Matthias Liertzer
@ 2003-05-13  3:38 ` YAMAKURA Makoto
       [not found] ` <20030513.122830.81156462.makoto@dsb.club.ne.jp>
  4 siblings, 0 replies; 15+ messages in thread
From: YAMAKURA Makoto @ 2003-05-13  3:38 UTC (permalink / raw
  To: gentoo-dev

Hi,

From: Martin Schlemmer <azarah@gentoo.org>
Subject: [gentoo-dev] baselayout-1.8.6.7
Date: 12 May 2003 02:00:34 +0200

> - 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.

I have trouble with pcmcia/net.eth0 dependency. "deptree" script
defines functions such as "depinfo_net.eth0", but bash doesn't allow
those names, so "get_dep_info" in rc-services.sh gets failed.

Thanks,

-- 
YAMAKURA Makoto / makoto@dsb.club.ne.jp

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] baselayout-1.8.6.7
       [not found] ` <20030513.122830.81156462.makoto@dsb.club.ne.jp>
@ 2003-05-13 18:01   ` Martin Schlemmer
  2003-05-13 18:39     ` YAMAKURA Makoto
  0 siblings, 1 reply; 15+ messages in thread
From: Martin Schlemmer @ 2003-05-13 18:01 UTC (permalink / raw
  To: YAMAKURA Makoto; +Cc: Gentoo-Dev

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

On Tue, 2003-05-13 at 05:28, YAMAKURA Makoto wrote:
> Hi,
> 
> From: Martin Schlemmer <azarah@gentoo.org>
> Subject: [gentoo-dev] baselayout-1.8.6.7
> Date: 12 May 2003 02:00:34 +0200
> 
> > - 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.
> 
> I have trouble with pcmcia/net.eth0 dependency. "deptree" script
> defines functions such as "depinfo_net.eth0", but bash doesn't allow
> those names, so "get_dep_info" in rc-services.sh gets failed.
> 

If you look at bash's manual page, they define a variable as:

-------------------------------------------------------
A  parameter is an entity that stores values.  It can be a name, a num-
ber, or one of the special characters listed below under Special Param-
eters.   For the shell's purposes, a variable is a parameter denoted by
a  name.   A  variable  has  a  value  and  zero  or  more  attributes.
--------------------------------------------------------

Let on the 'a variable is a parameter denoted by a name'.

This is for a function:

--------------------------------------------------------
[ function ] name () { list; }
       This defines a function named name.  The body of the function is
       the  list  of  commands  between { and }.
--------------------------------------------------------

And if you then check what they define 'name' as:

--------------------------------------------------------
name   A word consisting only of  alphanumeric  characters  and  under-
       scores,  and beginning with an alphabetic character or an under-
       score.  Also referred to as an identifier.
--------------------------------------------------------

Means that it is totally legal to call a variable/function:

  get_foo_bar


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

* Re: [gentoo-dev] baselayout-1.8.6.7
  2003-05-13 18:01   ` Martin Schlemmer
@ 2003-05-13 18:39     ` YAMAKURA Makoto
  2003-05-13 19:11       ` Martin Schlemmer
  0 siblings, 1 reply; 15+ messages in thread
From: YAMAKURA Makoto @ 2003-05-13 18:39 UTC (permalink / raw
  To: azarah; +Cc: gentoo-dev

My bad english :(

> > I have trouble with pcmcia/net.eth0 dependency. "deptree" script
> > defines functions such as "depinfo_net.eth0", but bash doesn't allow
> > those names, so "get_dep_info" in rc-services.sh gets failed.

> Means that it is totally legal to call a variable/function:
> 
>   get_foo_bar

The name "get_dep_info" is not the problem, but "depinfo_net.eth0". It
contains invalid character "dot".

$ declare -F "depinfo_eth.net0"
-bash: declare: `depinfo_eth.net0': not a valid identifier

Thanks,

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] baselayout-1.8.6.7
  2003-05-13 18:39     ` YAMAKURA Makoto
@ 2003-05-13 19:11       ` Martin Schlemmer
  0 siblings, 0 replies; 15+ messages in thread
From: Martin Schlemmer @ 2003-05-13 19:11 UTC (permalink / raw
  To: YAMAKURA Makoto; +Cc: Gentoo-Dev

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

On Tue, 2003-05-13 at 20:39, YAMAKURA Makoto wrote:
> My bad english :(
> 
> > > I have trouble with pcmcia/net.eth0 dependency. "deptree" script
> > > defines functions such as "depinfo_net.eth0", but bash doesn't allow
> > > those names, so "get_dep_info" in rc-services.sh gets failed.
> 
> > Means that it is totally legal to call a variable/function:
> > 
> >   get_foo_bar
> 
> The name "get_dep_info" is not the problem, but "depinfo_net.eth0". It
> contains invalid character "dot".
> 
> $ declare -F "depinfo_eth.net0"
> -bash: declare: `depinfo_eth.net0': not a valid identifier
> 

Err, right, I will fix asap!

It will also explain bug #20849, and pcmcia not started in the proper
order ...


Thanks,

-- 

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